:root {
  color-scheme: light;
  --ink: #091321;
  --ink-2: #101d2f;
  --text: #273447;
  --muted: #647084;
  --faint: #8d97a8;
  --line: #dfe4ec;
  --line-soft: #ebeff4;
  --paper: #fff;
  --wash: #f5f7fa;
  --blue: #315cf3;
  --blue-dark: #2448c5;
  --blue-soft: #edf1ff;
  --red: #df5964;
  --green: #258153;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Consolas, monospace;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1120px;
  --shadow: 0 24px 70px -34px rgba(9, 19, 33, .32), 0 2px 6px rgba(9, 19, 33, .05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); letter-spacing: -.035em; line-height: 1.04; }
h1 { max-width: 900px; font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.18rem; line-height: 1.25; }
:focus-visible { outline: 3px solid #6d8cff; outline-offset: 4px; }
.wrap { width: min(100% - 48px, var(--max)); margin-inline: auto; }
.skip { position: fixed; z-index: 100; top: 12px; left: 12px; transform: translateY(-150%); padding: 9px 14px; border-radius: 8px; background: white; box-shadow: var(--shadow); }
.skip:focus { transform: none; }

.site-nav { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid rgba(223,228,236,.86); background: rgba(255,255,255,.9); backdrop-filter: blur(18px) saturate(160%); }
.nav-inner { min-height: 74px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; color: var(--ink); font-size: .78rem; font-weight: 780; letter-spacing: .31em; text-transform: uppercase; }
.brand img { width: 29px; height: 34px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 27px; }
.nav-links a { color: #516075; font-size: .87rem; font-weight: 620; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px; font-size: .91rem; font-weight: 680; cursor: pointer; }
.button.primary { background: var(--blue); color: white; box-shadow: 0 12px 24px -15px rgba(49,92,243,.9); }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary { border-color: var(--line); background: white; color: var(--ink); }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-panel { position: absolute; top: 50px; right: 0; width: 245px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow); }
.mobile-panel a { display: block; padding: 10px 9px; border-radius: 7px; color: var(--text); font-size: .88rem; font-weight: 620; }
.mobile-panel a:hover { background: var(--wash); }

.page-hero { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 165px) 0; background: var(--ink); color: #aeb9c9; }
.page-hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -190px; bottom: -340px; border: 1px solid rgba(109,140,255,.22); border-radius: 50%; box-shadow: 0 0 0 80px rgba(49,92,243,.035), 0 0 0 160px rgba(49,92,243,.022); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { margin-top: 20px; color: white; }
.page-hero p { max-width: 720px; margin-top: 27px; color: #a3b1c4; font-size: clamp(1rem, 1.7vw, 1.2rem); }
.page-hero .strong-line { color: white; font-weight: 680; }
.eyebrow { color: #9eb3ff; font-family: var(--mono); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.page-section { padding: clamp(78px, 10vw, 128px) 0; }
.page-section.alt { background: var(--wash); }
.section-head { max-width: 780px; }
.section-head .eyebrow { color: var(--blue); }
.section-head h2 { margin-top: 15px; }
.section-head > p { margin-top: 20px; color: var(--muted); font-size: 1.05rem; }
.prose { max-width: 780px; }
.prose h2 { margin-top: 54px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 34px; }
.prose p { margin-top: 16px; color: var(--muted); }
.prose ul { margin: 18px 0 0; padding-left: 22px; color: var(--muted); }
.prose li { margin: 8px 0; padding-left: 5px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--blue-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.section-head p a { color: var(--blue-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-meta { margin-bottom: 34px; color: var(--faint); font-family: var(--mono); font-size: .72rem; letter-spacing: .03em; }
.callout { margin-top: 30px; padding: 20px 22px; border-left: 3px solid var(--blue); border-radius: 0 10px 10px 0; background: var(--blue-soft); color: #344361; }
.status-label { display: inline-flex; margin-top: 23px; padding: 6px 9px; border: 1px solid #b9c6f8; border-radius: 6px; color: var(--blue-dark); font-family: var(--mono); font-size: .62rem; font-weight: 700; letter-spacing: .08em; }

.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 42px; }
.info-card { padding: 27px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.info-card p { margin-top: 12px; color: var(--muted); font-size: .9rem; }
.step-list { display: grid; gap: 1px; margin-top: 42px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.step-row { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 27px; background: white; }
.step-number { color: var(--blue); font-family: var(--mono); font-size: .7rem; font-weight: 700; }
.step-row p { margin-top: 9px; color: var(--muted); font-size: .9rem; }
.commitment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 42px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.commitment { min-height: 205px; padding: 28px; background: white; }
.commitment p { margin-top: 12px; color: var(--muted); font-size: .9rem; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }

.signup-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(45px, 8vw, 100px); align-items: start; }
.signup-card { padding: clamp(25px, 4vw, 38px); border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
.field-label { display: block; color: var(--ink); font-size: .83rem; font-weight: 680; }
.email-field { width: 100%; min-height: 50px; margin-top: 8px; padding: 0 14px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: white; }
.email-field:focus { border-color: var(--blue); outline: 3px solid var(--blue-soft); }
.signup-card .button { width: 100%; margin-top: 12px; }
.form-note { margin-top: 14px; color: var(--faint); font-size: .72rem; line-height: 1.55; }
.form-note a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 2px; }
.form-status { min-height: 1.5em; margin-top: 13px; font-size: .82rem; font-weight: 620; }
.form-status.error { color: var(--red); }
.form-status.success { color: var(--green); }
.form-unavailable { padding: 18px; border-radius: 10px; background: var(--blue-soft); color: #3a4968; }
.form-unavailable strong { display: block; color: var(--ink); }
.form-unavailable a { display: inline-flex; margin-top: 9px; color: var(--blue); font-weight: 680; }

.site-footer { padding: 55px 0 35px; background: var(--ink); color: #8290a3; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 42px; }
.site-footer .brand { color: white; }
.footer-tagline { max-width: 260px; margin-top: 15px; font-size: .83rem; }
.footer-col strong { color: #e6ebf3; font-family: var(--mono); font-size: .64rem; letter-spacing: .09em; text-transform: uppercase; }
.footer-col a, .footer-col span { display: block; width: fit-content; margin-top: 11px; color: #8694a7; font-size: .8rem; }
.footer-col a:hover { color: white; }
.footer-col span { color: #667488; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); color: #657287; font-family: var(--mono); font-size: .62rem; }

@media (max-width: 860px) {
  .nav-links, .nav-inner > .button { display: none; }
  .mobile-nav { display: block; }
  .card-grid, .commitment-grid, .signup-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .wrap { width: min(100% - 34px, var(--max)); }
  h1 { font-size: clamp(2.7rem, 13vw, 3.5rem); }
  .page-hero { padding: 78px 0 92px; }
  .page-section { padding: 72px 0; }
  .step-row { grid-template-columns: 36px 1fr; padding: 23px; }
  .commitment-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
