:root {
    --bg: #fff8f6;
    --surface: rgba(255, 255, 255, 0.88);
    --surface-border: rgba(12, 16, 24, 0.08);
    --text: #121826;
    --muted: #5b6474;
    --accent: #fc1b17;
    --accent-dark: #bb1815;
    --accent-soft: rgba(252, 27, 23, 0.12);
    --shadow: 0 24px 80px rgba(18, 24, 38, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(252, 27, 23, 0.12), transparent 38%),
        linear-gradient(180deg, #fff6f4 0%, #fffdfc 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(16px);
    background: rgba(255, 248, 246, 0.84);
    border-bottom: 1px solid rgba(18, 24, 38, 0.08);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--muted);
    font-size: 0.95rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 0.88rem;
}

.hero {
    padding: 72px 0 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
}

.hero-copy h1 {
    margin: 18px 0 18px;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.hero-copy p {
    max-width: 640px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 14px;
    font-weight: 800;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 12px 30px rgba(252, 27, 23, 0.26);
}

.button-primary:hover {
    background: #df1a17;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(18, 24, 38, 0.1);
    color: var(--text);
}

.hero-card {
    position: relative;
    padding: 28px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.8));
    border: 1px solid rgba(18, 24, 38, 0.08);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: auto -8% -30% auto;
    width: 240px;
    height: 240px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(252, 27, 23, 0.22), transparent 72%);
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.metric {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(18, 24, 38, 0.08);
}

.metric strong {
    display: block;
    font-size: 1.4rem;
    letter-spacing: -0.04em;
    margin-bottom: 6px;
}

.metric span {
    color: var(--muted);
    font-size: 0.93rem;
}

.section {
    padding: 30px 0 12px;
}

.section h2 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.05em;
}

.section-copy {
    max-width: 720px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 1.02rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.card {
    padding: 24px;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    box-shadow: 0 16px 50px rgba(18, 24, 38, 0.08);
}

.card h3 {
    margin: 0 0 12px;
    font-size: 1.18rem;
    letter-spacing: -0.03em;
}

.card p,
.card li {
    color: var(--muted);
    line-height: 1.7;
}

.card ul {
    margin: 0;
    padding-left: 18px;
}

.steps {
    counter-reset: guide-step;
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.step {
    padding: 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(18, 24, 38, 0.08);
    position: relative;
    padding-left: 84px;
}

.step::before {
    counter-increment: guide-step;
    content: counter(guide-step);
    position: absolute;
    top: 24px;
    left: 24px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--accent);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.mini-links a {
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(18, 24, 38, 0.08);
    color: var(--muted);
    font-weight: 600;
}

.faq {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.faq-item {
    padding: 22px 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(18, 24, 38, 0.08);
}

.faq-item h3 {
    margin: 0 0 10px;
    font-size: 1.06rem;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent-dark);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
}

.hero-media {
    display: grid;
    gap: 14px;
}

.hero-media img,
.article-hero img {
    width: 100%;
    border-radius: 26px;
    border: 1px solid rgba(18, 24, 38, 0.08);
    box-shadow: var(--shadow);
    object-fit: cover;
}

.hero-media figcaption,
.article-hero figcaption,
.article-credit {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.6;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.article-card {
    display: grid;
    gap: 18px;
    padding: 20px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(18, 24, 38, 0.08);
    box-shadow: 0 18px 50px rgba(18, 24, 38, 0.08);
}

.article-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 22px;
}

.article-card h2,
.article-card h3 {
    margin: 0;
    font-size: 1.55rem;
    letter-spacing: -0.04em;
}

.article-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 0.92rem;
}

.article-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(252, 27, 23, 0.08);
}

.article-shell {
    width: min(880px, calc(100% - 32px));
    margin: 0 auto;
}

.article-hero {
    padding: 64px 0 18px;
}

.article-hero h1 {
    margin: 14px 0 18px;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.article-lead {
    font-size: 1.14rem;
    color: var(--muted);
    line-height: 1.8;
}

.article-body {
    padding: 12px 0 28px;
}

.article-body section {
    margin: 0 0 34px;
}

.article-body h2 {
    margin: 0 0 14px;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    letter-spacing: -0.05em;
}

.article-body h3 {
    margin: 0 0 10px;
    font-size: 1.18rem;
    letter-spacing: -0.03em;
}

.article-body p,
.article-body li {
    color: var(--muted);
    line-height: 1.8;
    font-size: 1rem;
}

.article-body ul,
.article-body ol {
    padding-left: 22px;
}

.toc-card {
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(18, 24, 38, 0.08);
    box-shadow: 0 16px 50px rgba(18, 24, 38, 0.08);
}

.toc-card ul {
    margin: 14px 0 0;
}

.callout {
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(252, 27, 23, 0.1), rgba(252, 27, 23, 0.04));
    border: 1px solid rgba(252, 27, 23, 0.12);
}

.inline-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.inline-link-list a {
    padding: 12px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(18, 24, 38, 0.08);
    color: var(--muted);
    font-weight: 700;
}

.footer {
    padding: 48px 0 56px;
    color: var(--muted);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    border-top: 1px solid rgba(18, 24, 38, 0.08);
    padding-top: 28px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

@media (max-width: 920px) {
    .hero-grid,
    .card-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .topbar-inner,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        gap: 16px;
        flex-wrap: wrap;
    }

    .hero {
        padding-top: 44px;
    }

    .step {
        padding-left: 24px;
        padding-top: 80px;
    }

    .step::before {
        left: 24px;
    }
}
