:root {
    --ink: #101426;
    --muted: #626b80;
    --paper: #fbfaf7;
    --line: #e6e2dc;
    --accent: #ff3d7f;
    --violet: #6952e8;
    --green: #b8f34a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}
a { color: inherit; touch-action: manipulation; -webkit-tap-highlight-color: rgba(105,82,232,.18); }
img { max-width: 100%; height: auto; }
.skip-link {
    position: fixed; top: 8px; left: 8px; z-index: 100;
    padding: 10px 16px; background: #fff; color: #111; transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.site-header {
    position: sticky; top: 0; z-index: 40;
    border-bottom: 1px solid rgba(255,255,255,.1);
    background: rgba(10,11,16,.94);
    backdrop-filter: blur(14px);
}
.header-inner, .container {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}
.header-inner {
    min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
    display: inline-flex; align-items: baseline;
    color: #fff; text-decoration: none; font-weight: 900; font-size: 2.25rem;
    line-height: 1; letter-spacing: -.065em;
}
.brand svg { width: 1.18em; height: 1.18em; transform: translateY(.34em); flex: 0 0 auto; }
.brand svg path { fill: #fff; }
.brand svg text { fill: var(--ink); letter-spacing: 0; }
.brand span { margin-left: -3px; color: #fff; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a { color: #d8d9e0; text-decoration: none; font-size: .86rem; font-weight: 750; }
.main-nav a:hover, .main-nav a:focus-visible { color: #fff; }
.button {
    display: inline-flex; min-height: 46px; align-items: center; justify-content: center;
    padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
    background: var(--accent); color: #fff; text-decoration: none; font-weight: 850;
}
.button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.button-secondary { background: transparent; border-color: #4a4d59; color: #fff; }
.hero {
    overflow: hidden; color: #fff;
    background:
        radial-gradient(circle at 82% 20%, rgba(105,82,232,.42), transparent 30rem),
        radial-gradient(circle at 18% 100%, rgba(255,61,127,.22), transparent 25rem),
        #0a0b10;
    padding: 70px 0 76px;
}
.breadcrumbs { margin: 0 0 30px; color: #aeb1bd; font-size: .82rem; }
.breadcrumbs a { text-decoration: none; }
.eyebrow { color: var(--green); font-size: .78rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 {
    max-width: 920px; margin: 14px 0 22px;
    font-size: clamp(2.35rem, 6vw, 4.9rem); line-height: .98; letter-spacing: -.065em;
}
.hero h1, .article h2, .related h2, .final-cta h2 { text-wrap: balance; }
.article p, .hero-lead { text-wrap: pretty; }
.hero-lead { max-width: 760px; color: #d7d8df; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-meta { margin-top: 20px; color: #aeb1bd; font-size: .85rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.content-shell {
    display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 72px;
    align-items: start; padding-block: 72px;
}
.article { min-width: 0; }
.article > section { padding: 44px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.article > section:first-child { padding-top: 0; }
.article h2 { margin: 0 0 18px; font-size: clamp(1.75rem, 3vw, 2.65rem); line-height: 1.1; letter-spacing: -.045em; }
.article h3 { margin: 24px 0 8px; font-size: 1.15rem; line-height: 1.3; }
.article p { max-width: 75ch; color: #343a4b; }
.article li { margin-bottom: 10px; color: #343a4b; }
.article a:not(.button) { color: #3e33aa; font-weight: 700; text-underline-offset: 3px; }
.summary {
    padding: 26px 28px; border-left: 5px solid var(--accent); background: #fff;
    box-shadow: 0 16px 45px rgba(18,20,35,.07);
}
.summary strong { display: block; margin-bottom: 8px; }
.cards {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px;
}
.card { padding: 24px; border: 1px solid var(--line); background: #fff; }
.card h3 { margin-top: 0; }
.steps { list-style: none; padding: 0; counter-reset: steps; }
.steps li {
    position: relative; padding: 4px 0 24px 52px; counter-increment: steps;
}
.steps li::before {
    content: counter(steps); position: absolute; left: 0; top: 0;
    display: grid; width: 34px; height: 34px; place-items: center;
    border-radius: 50%; background: var(--ink); color: #fff; font-weight: 900;
}
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { padding: 15px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f0ede7; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
tr:last-child td { border-bottom: 0; }
.note { padding: 18px 20px; border: 1px solid #d9d2ff; background: #f5f2ff; font-size: .92rem; }
.sidebar { position: sticky; top: 100px; padding: 22px; border: 1px solid var(--line); background: #fff; }
.sidebar strong { display: block; margin-bottom: 10px; }
.sidebar a { display: block; padding: 8px 0; color: var(--muted); font-size: .9rem; text-decoration: none; }
.sidebar a:hover { color: var(--violet); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
    padding: 20px 34px 20px 0; cursor: pointer; list-style: none; font-weight: 850;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list p { padding: 0 0 20px; margin: 0; }
.related { padding: 72px 0; background: #efede8; }
.related h2 { margin-top: 0; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.045em; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.resource {
    min-height: 150px; padding: 22px; background: #fff; border: 1px solid transparent;
    text-decoration: none; font-weight: 850;
}
.resource span { display: block; margin-top: 8px; color: var(--muted); font-size: .86rem; font-weight: 500; }
.resource:hover { border-color: var(--violet); }
.final-cta { padding: 76px 0; color: #fff; text-align: center; background: var(--violet); }
.final-cta h2 { max-width: 760px; margin: 0 auto 16px; font-size: clamp(2rem, 5vw, 4rem); line-height: 1; letter-spacing: -.055em; }
.final-cta p { color: #eceaff; }
.final-cta .button { background: #fff; color: var(--ink); }
.site-footer { padding: 38px 0; color: #aaaeba; background: #0a0b10; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #d5d6dd; font-size: .84rem; text-decoration: none; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

@media (max-width: 900px) {
    .main-nav a:not(.button) { display: none; }
    .content-shell { grid-template-columns: 1fr; gap: 20px; }
    .sidebar { display: none; }
    .resource-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .header-inner, .container { width: min(100% - 28px, 1160px); }
    .hero { padding: 48px 0 56px; }
    .hero h1 { font-size: 2.7rem; }
    .brand { font-size: 1.7rem; }
    .content-shell { padding-block: 50px; }
    .article > section { padding: 36px 0; }
    .cards, .resource-grid { grid-template-columns: 1fr; }
    .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
