html {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	margin: 0;
	padding: 40px 20px;
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	line-height: 1.6;
	color: #1f2937;
	background-color: #ffffff;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

h1,
h2,
h3 {
	line-height: 1.25;
	color: #111827;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

p,
ul,
ol {
	margin-bottom: 1rem;
}

a {
	color: #0ea5e9;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.table-of-contents {
	background-color: #f9fafb;
	padding: 20px;
	border-radius: 8px;
	margin-bottom: 30px;
	border-left: 4px solid #0ea5e9;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.table-of-contents h2 {
	margin-top: 0;
	font-size: 1.25rem;
	color: #111827;
}

.table-of-contents ul {
	list-style-type: none;
	padding-left: 0;
}

.table-of-contents li {
	margin-bottom: 8px;
}

.table-of-contents a {
	color: #0ea5e9;
	font-weight: 500;
}

/* Nested lists */
.table-of-contents ul ul {
	padding-left: 1rem;
	margin-top: 10px;
}

.table-of-contents ul ul li {
	margin-bottom: 5px;
}

@media (max-width: 600px) {
	body {
		padding: 20px 15px;
	}

	.table-of-contents {
		padding: 15px;
		margin-bottom: 20px;
	}
}

.header {
	position: sticky;
	top: 0;
	width: 100%;
	background-color: #ffffffee;
	backdrop-filter: blur(8px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	border-bottom: 1px solid #eaeaea;
}

.up-nav {
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem 1rem;
}

.logo {
	font-weight: 700;
	color: #0ea5e9;
	text-decoration: none;
	font-size: 1.1rem;
}

.nav-right {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: nowrap;
}

.nav-links {
	display: flex;
	gap: 1.5rem;
	margin-right: 1rem;
}

.nav-links a {
	text-decoration: none;
	color: #333;
	font-size: 1rem;
	transition: color 0.2s ease;
}

.nav-links a:hover {
	color: #4285f4;
}

/* ----------------------
   Buttons
----------------------- */
.btn {
	display: inline-block;
	background-color: #0ea5e9;
	color: white;
	padding: 0.5rem 1.1rem;
	text-decoration: none;
	border-radius: 6px;
	font-size: 1.1rem;
	transition: background-color 0.2s ease;
}

.btn:hover {
	background-color: #0b81b7;
}

.hero {
	margin-top: 2rem;
	padding: 4rem 1rem;
	text-align: center;
	background: linear-gradient(135deg, #e0f2fe, #f0fdfa);
	border-radius: 8px;
}

.hero-title {
	margin: 0 0 1rem;
	font-size: 2rem;
	color: #111827;
	font-weight: bold;
}

.hero p {
	margin-bottom: 1.5rem;
	font-size: 1.125rem;
}

.cta-button {
	display: inline-block;
	background-color: #0ea5e9;
	color: #fff;
	padding: 0.75rem 1.5rem;
	border-radius: 6px;
	font-size: 1.125rem;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.cta-button:hover {
        background-color: #0b81b7;
}

/* Illustrations */
.guide-block {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
}

.guide-block .guide-img {
        margin-left: 1rem;
        margin-right: 3%;
}

.guide-content {
  flex: 1;          /* let text take remaining width */
  min-width: 0;     /* prevent overflow in narrow layouts */
}

.guide-img {
        display: block;
        max-width: 180px;
        width: 100%;
        margin: 1.5rem auto;
        border-radius: 8px;
}

.code-img {
                                max-width: 100px;
                                margin: 1.5rem auto;
}

@media (max-width: 600px) {
        .guide-block {
                flex-direction: column;
        }

        .guide-block .guide-img {
                margin-left: auto;
                margin-right: auto;
        }
}

.tilt-left {
        transform: rotate(-3deg);
}

.tilt-right {
        transform: rotate(3deg);
}

.reviews {
        margin-top: 4rem;
        padding: 2rem;
        background-color: #f9fafb;
        border-radius: 8px;
}

.reviews blockquote {
	margin: 1rem 0;
	padding-left: 1rem;
	border-left: 4px solid #0ea5e9;
	font-style: italic;
}

.footer {
	margin-top: 4rem;
	padding: 2rem 1rem;
	text-align: center;
	background-color: #f9fafb;
	color: #6b7280;
	border-top: 1px solid #e5e7eb;
}
