:root {
    --ink: #0d1730;
    --ink-soft: #22304a;
    --blue: #3b82f6;
    --blue-dark: #2563eb;
    --blue-pale: #eaf2ff;
    --paper: #f3f6fa;
    --white: #fff;
    --muted: #64748b;
    --muted-light: #8492a8;
    --line: #d8e1ec;
    --line-strong: #c9d5e4;
    --green: #17a673;
    --shell: 1480px;
    --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input { font: inherit; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin: 0 auto; }

.homepage { padding-top: 112px; }
.homepage .site-header { position: fixed; inset: 0 0 auto; width: 100%; }
.homepage section[id] { scroll-margin-top: 132px; }

/* Light navigation */
.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); color: var(--ink); background: rgba(243, 246, 250, .98); }
.header-main { min-height: 112px; display: grid; grid-template-columns: minmax(290px, .8fr) minmax(480px, 1.35fr) minmax(300px, .95fr); align-items: center; gap: 34px; }
.brand { width: fit-content; text-decoration: none; }
.brand img, .footer-brand img { display: block; width: auto; height: 56px; }
.primary-navigation { min-width: 0; display: flex; align-items: center; justify-content: center; gap: clamp(24px, 3vw, 54px); }
.primary-navigation a { position: relative; padding: 12px 0; color: var(--ink-soft); font-size: .91rem; font-weight: 600; letter-spacing: .025em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.primary-navigation a[aria-current="page"], .primary-navigation a:hover { color: var(--blue); }
.primary-navigation a::after { content: ''; position: absolute; right: 0; bottom: 4px; left: 0; height: 2px; transform: scaleX(0); background: var(--blue); transition: transform 160ms ease; }
.primary-navigation a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; border: 0; color: var(--ink); background: transparent; font-weight: 600; cursor: pointer; }
.account-actions { position: relative; display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.account-button { min-height: 46px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: 24px; color: var(--ink); background: var(--white); box-shadow: 0 2px 7px rgba(36, 62, 95, .05); cursor: pointer; font-size: .92rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; transition: 160ms ease; }
.account-button:hover { transform: translateY(-1px); border-color: #afbdd0; box-shadow: 0 6px 14px rgba(36, 62, 95, .09); }
.account-button-primary { border-color: var(--blue); color: var(--white); background: var(--blue); }
.account-button-primary:hover { border-color: var(--blue-dark); background: var(--blue-dark); }
.list-domain-button { gap: 8px; padding-inline: 22px; }
.list-domain-button span { font-size: 1.25rem; font-weight: 400; line-height: 1; }

/* Account dropdown */
.account-menu { position: relative; }
.account-menu-trigger { max-width: 260px; min-height: 46px; padding: 4px 12px 4px 5px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line-strong); border-radius: 24px; color: var(--ink); background: var(--white); box-shadow: 0 3px 9px rgba(36, 62, 95, .07); cursor: pointer; transition: 160ms ease; }
.account-menu-trigger:hover, .account-menu-trigger[aria-expanded="true"] { border-color: #aec0d7; box-shadow: 0 8px 20px rgba(36, 62, 95, .1); }
.account-avatar { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; object-fit: cover; background: var(--blue-pale); }
.account-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.account-chevron { color: var(--muted-light); font-size: .7rem; transition: transform 160ms ease; }
.account-menu-trigger[aria-expanded="true"] .account-chevron { transform: rotate(180deg); }
.account-dropdown { position: absolute; top: calc(100% + 12px); right: 0; width: 250px; padding: 9px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 18px 45px rgba(29, 52, 82, .18); }
.account-dropdown[hidden] { display: none; }
.account-dropdown-header { padding: 11px 12px 13px; border-bottom: 1px solid #edf1f6; }
.account-dropdown-header strong, .account-dropdown-header span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-dropdown-header strong { color: var(--ink); font-size: .96rem; }
.account-dropdown-header span { margin-top: 2px; color: var(--muted); font-size: .8rem; }
.account-dropdown-nav { display: grid; gap: 2px; padding: 8px 0; }
.account-dropdown a, .account-logout { width: 100%; min-height: 42px; padding: 0 12px; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 7px; color: var(--ink-soft); background: transparent; cursor: pointer; font: inherit; font-size: .9rem; text-align: left; text-decoration: none; }
.account-dropdown a:hover, .account-logout:hover { color: var(--blue-dark); background: #f0f5fd; }
.account-menu-icon { width: 20px; color: var(--muted); font-size: .95rem; text-align: center; }
.account-logout { border-top: 1px solid #edf1f6; border-radius: 0 0 7px 7px; color: #c24141; }
.account-logout:hover { color: #a52e2e; background: #fff3f3; }

/* Hero */
.hero { padding: 22px 0 0; background: var(--paper); }
.hero-grid { min-height: 500px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(370px, .72fr); align-items: stretch; gap: 0; border: 1px solid var(--line); background: var(--white); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 58px 62px; }
.eyebrow, .section-kicker { color: var(--blue); font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow span::before { content: ''; width: 28px; height: 2px; background: var(--blue); }
.hero h1 { max-width: 800px; margin: 21px 0 26px; color: var(--ink); font-size: clamp(3.3rem, 5.6vw, 5.9rem); font-weight: 600; letter-spacing: -.056em; line-height: .98; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-lede { max-width: 760px; color: var(--muted); font-size: 1.16rem; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; font-size: .98rem; font-weight: 600; text-decoration: none; transition: 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue); box-shadow: 0 10px 22px rgba(59, 130, 246, .2); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { border-color: var(--line-strong); color: var(--ink); background: var(--white); }
.button-secondary:hover { border-color: #aebed2; box-shadow: 0 7px 18px rgba(36, 62, 95, .08); }
.access-note { margin-top: 18px; color: var(--muted-light); font-size: .84rem; }
.access-note span { margin-right: 6px; color: var(--green); }
.market-card { display: flex; flex-direction: column; padding: 34px 38px; border-left: 1px solid var(--line); color: var(--ink); background: #f8faff; }
.market-card-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.market-card-label { color: var(--muted); font-size: .83rem; text-transform: uppercase; letter-spacing: .1em; }
.member-badge { padding: 6px 9px; border: 1px solid #b9ddcf; border-radius: 100px; color: #0a7d57; background: #ebfaf4; font-size: .65rem; font-weight: 700; letter-spacing: .09em; }
.market-card-quote { padding: 34px 0 28px; color: var(--ink); font-size: clamp(1.55rem, 2.25vw, 2.25rem); font-weight: 500; letter-spacing: -.028em; line-height: 1.3; }
.market-principles { display: grid; margin-top: auto; }
.market-principles div { display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.market-principles span { grid-row: 1 / 3; color: var(--blue); font-size: .72rem; letter-spacing: .06em; }
.market-principles strong { color: var(--ink); font-size: .98rem; font-weight: 600; }
.market-principles small { color: var(--muted); font-size: .83rem; }

/* Content sections */
.proof-strip { padding: 22px 0 0; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--white); }
.proof-grid div { min-height: 108px; display: flex; flex-direction: column; justify-content: center; padding: 20px 28px; border-left: 1px solid var(--line); }
.proof-grid div:first-child { border-left: 0; }
.proof-grid strong { color: var(--ink); font-size: 1.08rem; font-weight: 600; }
.proof-grid span { margin-top: 3px; color: var(--muted); font-size: .82rem; }
.section { padding: 100px 0; }
.section-heading { display: grid; grid-template-columns: .7fr 1.25fr 1fr; gap: 36px; align-items: end; margin-bottom: 46px; }
.section-heading h2, .privacy-copy h2, .closing-panel h2 { color: var(--ink); font-size: clamp(2.5rem, 4.2vw, 4.1rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.03; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }
.advantage-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.advantage-card { min-height: 390px; padding: 34px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.advantage-card.featured-card { color: var(--ink); background: var(--blue-pale); }
.card-number, .featured-card .card-number { color: var(--blue); font-size: .73rem; font-weight: 700; letter-spacing: .12em; }
.advantage-card h3 { margin: 82px 0 18px; color: var(--ink); font-size: 1.62rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.18; }
.advantage-card p, .featured-card p { color: var(--muted); font-size: .98rem; }
.liquidity-visual { margin-top: auto; padding-top: 30px; display: flex; align-items: center; gap: 10px; color: var(--blue-dark); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.liquidity-visual i { height: 1px; flex: 1; background: #9fc2fb; }
.privacy-section { padding-top: 0; color: var(--ink); background: var(--paper); }
.privacy-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 90px; align-items: start; padding: 60px; border: 1px solid #ccdbef; background: #eef5ff; }
.light-kicker { color: var(--blue); }
.privacy-copy h2 { max-width: 720px; margin: 20px 0 28px; }
.privacy-copy > p:not(.section-kicker) { max-width: 650px; color: var(--muted); font-size: 1.08rem; }
.text-link { display: inline-flex; gap: 12px; margin-top: 30px; color: var(--blue-dark); font-weight: 600; text-decoration: none; }
.privacy-checklist { border-top: 1px solid #cbdaf0; }
.privacy-checklist > div { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid #cbdaf0; }
.privacy-checklist > div > span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--blue); font-size: .8rem; font-weight: 700; }
.privacy-checklist p { display: flex; flex-direction: column; gap: 4px; }
.privacy-checklist strong { color: var(--ink); font-size: 1rem; font-weight: 600; }
.privacy-checklist small { color: var(--muted); font-size: .86rem; }
.compact-heading { grid-template-columns: .5fr 1.7fr; align-items: start; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps-grid article { min-height: 260px; padding: 30px; border: 1px solid var(--line); background: var(--white); }
.steps-grid article > span { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #b9c9dc; border-radius: 50%; color: var(--blue); background: #f7faff; font-size: .82rem; font-weight: 700; }
.steps-grid h3 { margin: 60px 0 12px; color: var(--ink); font-size: 1.3rem; font-weight: 600; }
.steps-grid p { color: var(--muted); font-size: .95rem; }
.closing-guide-section { padding-top: 0; }
.closing-guide-panel { display: grid; grid-template-columns: minmax(0, .82fr) minmax(540px, 1.18fr); border: 1px solid #c8d9ef; background: var(--white); }
.closing-guide-copy { padding: 58px 60px; background: linear-gradient(145deg, #eaf2ff 0%, #f7faff 72%, #edf9f5 100%); }
.closing-guide-copy h2 { margin: 18px 0 24px; color: var(--ink); font-size: clamp(2.5rem, 4.2vw, 4.1rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.03; }
.closing-guide-copy > p:not(.section-kicker) { max-width: 650px; color: var(--muted); font-size: 1.06rem; }
.closing-guide-copy .button { margin-top: 30px; }
.closing-guide-note { margin-top: 30px; padding: 18px 20px; display: grid; gap: 3px; border-left: 3px solid var(--green); background: rgba(255, 255, 255, .72); }
.closing-guide-note strong { color: var(--ink); font-size: .95rem; }
.closing-guide-note span { color: var(--muted); font-size: .84rem; }
.fee-preview { display: grid; grid-template-columns: 1fr 1fr; align-content: start; }
.fee-preview article { min-height: 205px; padding: 30px 32px; display: grid; align-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.fee-preview article:nth-child(odd) { border-left: 0; }
.fee-preview article div { display: grid; }
.fee-preview article strong { color: var(--ink); font-size: 1.08rem; font-weight: 600; }
.fee-preview article span, .fee-preview article small { color: var(--muted); font-size: .8rem; }
.fee-preview article b { color: var(--blue); font-size: 2rem; font-weight: 600; letter-spacing: -.04em; }
.fee-preview > p { grid-column: 1 / -1; padding: 18px 32px; color: var(--muted-light); font-size: .76rem; }
.closing-section { padding: 0 0 80px; }
.closing-panel { min-height: 310px; padding: 58px 60px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 50px; border: 1px solid #c8d9ef; background: linear-gradient(120deg, #e9f2ff 0%, #f7faff 65%, #e9f7f5 100%); }
.closing-panel h2 { margin: 16px 0; }
.closing-panel p:not(.section-kicker) { color: var(--muted); }
.closing-actions { display: flex; flex-direction: column; gap: 12px; }
.button-light { color: var(--white); background: var(--blue); }
.button-light:hover { background: var(--blue-dark); }
.button-outline-light { border-color: #abc0da; color: var(--ink); background: rgba(255, 255, 255, .66); }
.button-outline-light:hover { border-color: #8da7c6; background: var(--white); }

/* Light footer */
.site-footer { padding: 44px 0; border-top: 1px solid var(--line); color: var(--muted); background: var(--white); }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px 38px; }
.footer-brand img { height: 38px; }
.site-footer p { font-size: .88rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 24px; }
.site-footer nav a { color: var(--ink-soft); font-size: .86rem; text-decoration: none; }
.site-footer nav a:hover { color: var(--blue); }
.copyright { grid-column: 2 / 4; text-align: right; }

@media (max-width: 1380px) {
    .header-main { grid-template-columns: auto 1fr auto; gap: 24px; }
    .brand img { height: 48px; }
    .primary-navigation { gap: 24px; }
    .primary-navigation a { font-size: .82rem; }
    .account-button-secondary { display: none; }
}

@media (max-width: 1180px) {
    .header-main { grid-template-columns: auto 1fr auto; gap: 24px; }
    .brand img { height: 48px; }
    .primary-navigation { gap: 24px; }
    .primary-navigation a { font-size: .82rem; }
    .account-button-secondary { display: none; }
    .hero-grid { grid-template-columns: 1fr .76fr; }
    .hero-copy { padding-inline: 44px; }
    .section-heading { grid-template-columns: .5fr 1.4fr; }
    .section-heading > p:last-child { grid-column: 2; }
}

@media (max-width: 920px) {
    .homepage { padding-top: 92px; }
    .homepage section[id] { scroll-margin-top: 112px; }
    .header-main { min-height: 92px; grid-template-columns: 1fr auto auto; }
    .nav-toggle { min-height: 42px; padding: 0 12px; display: flex; align-items: center; gap: 8px; order: 2; }
    .primary-navigation { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: 12px 24px; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); box-shadow: 0 18px 32px rgba(34, 58, 88, .1); }
    .primary-navigation.open { display: flex; }
    .primary-navigation a { padding: 13px 0; border-bottom: 1px solid #eef2f7; }
    .account-actions { order: 3; }
    .hero-grid { grid-template-columns: 1fr; }
    .market-card { border-top: 1px solid var(--line); border-left: 0; }
    .proof-grid { grid-template-columns: 1fr 1fr; }
    .proof-grid div:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
    .proof-grid div:nth-child(4) { border-top: 1px solid var(--line); }
    .section { padding: 80px 0; }
    .advantage-grid { grid-template-columns: 1fr 1fr; }
    .advantage-card:first-child { grid-row: span 2; }
    .privacy-grid { grid-template-columns: 1fr; gap: 48px; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .closing-guide-panel { grid-template-columns: 1fr; }
    .fee-preview article:nth-child(odd) { border-left: 1px solid var(--line); }
    .fee-preview article:nth-child(1), .fee-preview article:nth-child(3) { border-left: 0; }
    .closing-panel { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .homepage { padding-top: 80px; }
    .homepage section[id] { scroll-margin-top: 100px; }
    .shell { width: min(calc(100% - 28px), var(--shell)); }
    .header-main { min-height: 80px; gap: 7px; }
    .brand img { height: 29px; }
    .nav-toggle { padding-inline: 7px; font-size: .84rem; }
    .account-button-primary { min-height: 40px; padding-inline: 11px; font-size: .8rem; }
    .list-domain-button { display: none; }
    .account-menu-trigger { width: 44px; min-height: 44px; padding: 3px; justify-content: center; }
    .account-name, .account-chevron { display: none; }
    .account-dropdown { position: fixed; top: 76px; right: 14px; width: min(280px, calc(100vw - 28px)); }
    .hero { padding-top: 14px; }
    .hero-copy, .market-card { padding: 38px 25px; }
    .hero h1 { font-size: clamp(2.75rem, 14vw, 4.2rem); }
    .hero-lede { font-size: 1.02rem; }
    .hero-actions, .hero-actions .button { width: 100%; }
    .market-card-top { align-items: flex-start; flex-direction: column; gap: 10px; }
    .proof-grid { grid-template-columns: 1fr; }
    .proof-grid div, .proof-grid div:nth-child(2), .proof-grid div:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
    .proof-grid div:first-child { border-top: 0; }
    .section-heading, .compact-heading { grid-template-columns: 1fr; gap: 16px; }
    .section-heading > p:last-child { grid-column: auto; }
    .section-heading h2, .privacy-copy h2, .closing-guide-copy h2, .closing-panel h2 { font-size: 2.55rem; }
    .advantage-grid, .steps-grid { grid-template-columns: 1fr; }
    .advantage-grid { border-left: 0; }
    .advantage-card, .advantage-card:first-child { min-height: 315px; grid-row: auto; border-left: 1px solid var(--line); }
    .advantage-card h3 { margin-top: 52px; }
    .liquidity-visual { align-items: flex-start; flex-direction: column; }
    .liquidity-visual i { width: 1px; height: 18px; flex: none; }
    .privacy-grid, .closing-panel { width: 100%; padding: 38px 24px; }
    .closing-guide-panel { width: 100%; }
    .closing-guide-copy { padding: 38px 24px; }
    .closing-guide-copy .button { width: 100%; }
    .fee-preview { grid-template-columns: 1fr; }
    .fee-preview article, .fee-preview article:nth-child(odd), .fee-preview article:nth-child(3) { min-height: 175px; border-left: 0; }
    .fee-preview > p { grid-column: auto; padding: 18px 24px; }
    .steps-grid article { min-height: 220px; }
    .steps-grid h3 { margin-top: 44px; }
    .closing-actions, .closing-actions .button { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; align-items: start; }
    .site-footer nav { justify-content: flex-start; }
    .copyright { grid-column: auto; text-align: left; }
}

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