:root {
    color-scheme: dark;
    --bg: #000;
    --surface: #0d0d0f;
    --raised: #17171a;
    --text: #fff;
    --muted: #98989f;
    --subtle: #696970;
    --line: #29292e;
    --accent: #be9cf3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.public-header {
    width: 100%;
    min-height: 82px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
    border-bottom: 1px solid var(--line);
}
.public-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.045em; }
.public-brand img { flex: 0 0 auto; width: 30px; height: 30px; display: block; }
.public-nav { display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: 13px; }
.public-nav a { padding: 12px 0; }
.public-nav a:hover, .public-nav a[aria-current="page"] { color: var(--text); }
.header-cta { justify-self: end; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.header-cta span { color: var(--accent); }
.header-cta span, .primary-link span { transition: transform 160ms ease; }
.header-cta:hover span, .primary-link:hover span { transform: translateX(4px); }

.eyebrow { margin: 0 0 14px; color: var(--subtle); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.info-hero {
    position: relative;
    width: min(1120px, calc(100% - 48px));
    min-height: 680px;
    margin: 0 auto;
    padding: 130px 0 100px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.hero-mark { position: absolute; top: 118px; right: 0; width: 154px; height: 154px; object-fit: contain; }
.info-hero--guide { min-height: 620px; }
.info-hero h1 { max-width: 1050px; margin: 0; font-size: clamp(62px, 9vw, 126px); line-height: .88; letter-spacing: -.075em; }
.hero-copy { max-width: 670px; margin: 38px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.65; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.primary-link { min-height: 52px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; background: var(--accent); color: #070707; font-size: 13px; font-weight: 800; }
.secondary-link { color: var(--muted); font-size: 13px; font-weight: 600; }
.secondary-link:hover { color: var(--text); }
.hero-note { margin: 14px 0 0 4px; color: var(--subtle); font-size: 11px; }

.feature-section, .steps-section, .faq-section, .split-section, .guide-grid, .closing-cta {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}
.feature-section, .steps-section, .faq-section { padding: 120px 0; border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 58px; }
.section-heading h2, .split-section h2, .closing-cta h2 { margin: 0; font-size: clamp(38px, 6vw, 76px); line-height: .98; letter-spacing: -.06em; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.feature-card { min-height: 330px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.feature-card--wide { grid-column: span 2; }
.feature-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: var(--raised); color: var(--accent); font-size: 21px; }
.feature-number { margin: auto 0 22px; color: var(--subtle); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.feature-card h3, .steps-list h3, .guide-grid h2 { margin: 0 0 12px; font-size: 23px; letter-spacing: -.035em; }
.feature-card h3 { min-height: 56px; display: flex; align-items: flex-end; }
.feature-card > p:last-child, .steps-list p, .guide-grid article > p:last-child, .split-copy p, .faq-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.split-section { padding: 120px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; border-top: 1px solid var(--line); }
.split-copy { padding-top: 26px; }
.split-copy p + p { margin-top: 24px; }

.steps-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps-list li { min-height: 180px; padding: 36px 0; display: grid; grid-template-columns: 110px minmax(0, 650px); gap: 30px; border-bottom: 1px solid var(--line); }
.step-number { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; }

.guide-grid { padding: 0 0 120px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.guide-grid article { min-height: 320px; padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.guide-grid article .eyebrow { margin-bottom: auto; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 82px; padding: 0 4px; display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--muted); font-size: 24px; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { max-width: 720px; padding: 0 4px 30px; }

.closing-cta { margin-bottom: 80px; padding: 90px clamp(28px, 7vw, 90px); border-radius: 30px; background: var(--accent); color: #090909; }
.closing-cta .eyebrow { color: rgba(0,0,0,.48); }
.closing-cta h2 { max-width: 850px; }
.primary-link--light { margin-top: 36px; background: #090909; color: #fff; }

.public-footer {
    width: 100%;
    min-height: 112px;
    padding: 38px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--line);
}
.public-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 22px; color: var(--muted); font-size: 12px; }
.public-footer nav a:hover { color: var(--text); }

.legal-page { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 96px 0 120px; }
.legal-heading { padding-bottom: 52px; border-bottom: 1px solid var(--line); }
.legal-heading h1 { margin: 0; font-size: clamp(48px, 7vw, 82px); line-height: .98; letter-spacing: -.065em; }
.legal-heading > p:not(.eyebrow) { max-width: 680px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.legal-heading .legal-updated { margin: 24px 0 0; font-size: 12px !important; }
.legal-notice { margin: 32px 0 0; padding: 18px 22px; border: 1px solid #725d3d; border-radius: 14px; background: #241b12; color: #f4d3a2; font-size: 14px; line-height: 1.6; }
.legal-content section { padding: 36px 0; border-bottom: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 14px; font-size: 25px; letter-spacing: -.035em; }
.legal-content p, .legal-content li { max-width: 760px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.legal-content p { margin: 0 0 16px; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content ul { margin: 0 0 16px; padding-left: 22px; }
.legal-content a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.legal-content strong { color: var(--text); }
.legal-content code { color: var(--text); }

@media (max-width: 900px) {
    .public-header { grid-template-columns: 1fr auto; }
    .public-nav { display: none; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .guide-grid { grid-template-columns: 1fr; }
    .guide-grid article { min-height: 250px; }
}

@media (max-width: 620px) {
    .legal-page { width: calc(100% - 32px); padding: 70px 0 80px; }
    .legal-heading { padding-bottom: 36px; }
    .legal-content section { padding: 30px 0; }
    .info-hero, .feature-section, .steps-section, .faq-section, .split-section, .guide-grid, .closing-cta { width: min(100% - 32px, 1240px); }
    .public-header { width: 100%; min-height: 70px; padding: 0 16px; display: flex; justify-content: space-between; gap: 12px; }
    .public-brand { font-size: 18px; }
    .header-cta { display: none; }
    .info-hero { min-height: 570px; padding: 90px 0 70px; }
    .hero-mark { top: 72px; right: 0; width: 78px; height: 78px; }
    .info-hero h1 { max-width: 100%; font-size: clamp(46px, 13.2vw, 58px); }
    .hero-copy { width: 100%; margin-top: 28px; font-size: 16px; }
    .feature-section, .steps-section, .faq-section { padding: 80px 0; }
    .section-heading { margin-bottom: 38px; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card--wide { grid-column: auto; }
    .feature-card { min-height: 280px; }
    .feature-card h3 { min-height: 0; }
    .split-section { padding: 80px 0; grid-template-columns: 1fr; gap: 32px; }
    .steps-list li { min-height: 0; grid-template-columns: 45px 1fr; gap: 15px; }
    .guide-grid { padding-bottom: 80px; }
    .closing-cta { margin-bottom: 40px; padding: 58px 24px; border-radius: 22px; }
    .public-footer { min-height: 120px; padding: 34px 16px; }
    .public-footer nav { flex-wrap: wrap; gap: 14px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
