/* ==========================================================================
   VerifyUniverse — design system
   Soft Gen Z color · professional trust · 8pt rhythm
   ========================================================================== */

:root {
  /* Warm paper + soft color washes */
  --paper: #FBF8FF;
  --paper-2: #F3F0FB;
  --surface: #FFFFFF;
  --ink: #1A1633;
  --ink-2: #3D3A52;
  --muted: #6B6780;
  --faint: #9A96AD;
  --line: #E8E4F0;
  --line-2: #D9D4E6;

  /* Soft Gen Z palette (muted, not neon) */
  --violet: #7C6CF0;
  --violet-soft: #EDE9FE;
  --coral: #F07A8A;
  --coral-soft: #FDE8EC;
  --mint: #4DB6A0;
  --mint-soft: #E4F7F2;
  --sky: #5B9FE8;
  --sky-soft: #E5F1FC;
  --lavender: #A78BFA;

  --accent: #5B4FE0;
  --accent-hover: #4A3FD0;
  --signal: #4DB6A0;

  /* Type */
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Spacing (8pt) */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px;
  --s6: 48px; --s8: 64px; --s10: 80px; --s12: 96px; --s16: 128px;

  --radius: 14px;
  --radius-sm: 10px;
  --container: 1160px;
  --shadow: 0 1px 2px rgba(26, 22, 51, .04), 0 12px 32px -12px rgba(92, 79, 224, .14);
  --shadow-lg: 0 1px 2px rgba(26, 22, 51, .04), 0 32px 64px -24px rgba(92, 79, 224, .20);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 500; }
p { margin: 0; }
em { font-style: italic; }
::selection { background: var(--violet-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s3); }
@media (min-width: 768px) { .container { padding: 0 var(--s5); } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--s2); top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: var(--s1) var(--s2); border-radius: var(--radius-sm); }
.skip-link:focus { top: var(--s2); }

/* ---------- Type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7.2vw, 92px);
  line-height: 1.0;
  letter-spacing: -0.02em;
}
.display em, .h2 em, .display-sm em {
  background: linear-gradient(120deg, var(--violet) 0%, var(--coral) 55%, var(--sky) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.display-sm {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: var(--s3);
}
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: var(--ink-2); max-width: 30em; }
.muted { color: var(--muted); }

/* Soft accent underline on key headings */
.accent-line {
  display: inline-block;
  position: relative;
}
.accent-line::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--violet), var(--coral), var(--mint));
  opacity: .55;
}

/* Soft pill tags */
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s4); }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .02em;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid transparent;
}
.pill-violet { background: var(--violet-soft); color: #5B4FE0; border-color: rgba(124, 108, 240, .18); }
.pill-coral { background: var(--coral-soft); color: #C94F62; border-color: rgba(240, 122, 138, .22); }
.pill-mint { background: var(--mint-soft); color: #2F8A76; border-color: rgba(77, 182, 160, .22); }
.pill-sky { background: var(--sky-soft); color: #3A7BC4; border-color: rgba(91, 159, 232, .22); }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  font-family: var(--sans); font-weight: 500; font-size: 15px; line-height: 1;
  height: 44px; padding: 0 var(--s3);
  border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #6B5FF0 0%, #8B6CF5 45%, #F07A8A 100%);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 4px 16px -4px rgba(107, 95, 240, .45);
  animation: gradientShift 8s ease infinite;
}
.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 6px 20px -4px rgba(107, 95, 240, .55);
}
.btn-primary:active { transform: translateY(1px); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--violet); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; }
.btn-ghost:hover { background: var(--violet-soft); color: var(--accent); }

.btn-sm { height: 36px; padding: 0 var(--s2); font-size: 14px; }
.btn-lg { height: 52px; padding: 0 var(--s4); font-size: 16px; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 500; color: var(--accent); display: inline-flex; gap: 6px; align-items: center; }
.link-arrow span { transition: transform .2s ease; }
.link-arrow:hover span { transform: translateX(3px); }

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---------- Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 255, .78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: var(--s3); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.brand-mark { color: var(--violet); }
.nav-links { display: flex; gap: var(--s4); }
.nav-links a { font-size: 14px; color: var(--muted); transition: color .2s ease; }
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: var(--s2); }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .25s ease, top .25s ease; }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 22px; }
.nav.open .nav-toggle span:first-child { top: 19px; transform: rotate(45deg); }
.nav.open .nav-toggle span:last-child { top: 19px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: var(--s1) var(--s3) var(--s3);
    display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { font-size: 17px; color: var(--ink); padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: var(--s10) 0 var(--s12);
  overflow: hidden;
}
.hero-mesh {
  position: absolute; inset: -20% -10% auto -10%;
  height: 120%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 45% at 18% 28%, rgba(124, 108, 240, .18), transparent 70%),
    radial-gradient(ellipse 42% 40% at 78% 18%, rgba(240, 122, 138, .14), transparent 65%),
    radial-gradient(ellipse 38% 36% at 62% 72%, rgba(77, 182, 160, .12), transparent 60%),
    radial-gradient(ellipse 30% 28% at 40% 50%, rgba(91, 159, 232, .10), transparent 55%);
  filter: blur(2px);
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: var(--s8); align-items: center; }
@media (min-width: 1000px) {
  .hero { padding: var(--s12) 0 var(--s16); }
  .hero-grid { grid-template-columns: 1.08fr 1fr; gap: var(--s6); }
}
.hero-copy .display { margin-bottom: var(--s4); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); margin-top: var(--s5); }
.hero-note { margin-top: var(--s3); font-size: 14px; color: var(--muted); }

.hero-visual { position: relative; min-height: 440px; display: grid; place-items: center; color: var(--ink); }
.orbit { position: absolute; width: 560px; max-width: 130%; height: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; color: var(--violet); opacity: .55; }

.mock {
  position: relative; width: min(100%, 380px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: var(--s3);
}
.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s3); }
.mock-tabs { display: inline-flex; background: var(--paper-2); border-radius: 999px; padding: 3px; }
.mock-tabs span { font-family: var(--mono); font-size: 11px; color: var(--muted); padding: 5px 10px; border-radius: 999px; }
.mock-tabs .is-active {
  background: linear-gradient(135deg, var(--violet-soft), var(--sky-soft));
  color: var(--accent);
  box-shadow: 0 1px 2px rgba(92, 79, 224, .12);
}
.mock-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.mock-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px rgba(77, 182, 160, .2); }
.mock-number { padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.mock-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.mock-digits { font-family: var(--mono); font-size: 22px; letter-spacing: -0.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.mock-list { list-style: none; margin: 0; padding: 0; }
.mock-list li { display: flex; justify-content: space-between; gap: var(--s2); padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
.mock-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.mock-from { display: block; font-size: 13px; font-weight: 500; color: var(--ink); }
.mock-msg { display: block; font-size: 13px; color: var(--muted); }
.mock-msg b { font-family: var(--mono); font-weight: 500; color: var(--accent); letter-spacing: .02em; }
.mock-list time { font-size: 12px; color: var(--faint); white-space: nowrap; }

.mock-badge {
  position: absolute; right: -32px; bottom: -28px;
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 14px; box-shadow: var(--shadow); color: var(--ink);
}
.mock-badge svg { color: var(--mint); }
.mock-badge span { display: block; font-size: 11px; color: var(--muted); line-height: 1.3; }
.mock-badge strong { display: block; font-size: 13px; font-weight: 500; line-height: 1.3; }
@media (max-width: 520px) {
  .hero-visual { min-height: 420px; }
  .mock-badge { right: -8px; }
}

/* ---------- Facts ---------- */
.facts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(237, 233, 254, .4), rgba(229, 241, 252, .35), rgba(228, 247, 242, .35));
}
.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.facts-grid > div { padding: var(--s4) var(--s3); display: flex; flex-direction: column; gap: 6px; }
.facts-grid > div:nth-child(odd) { padding-left: 0; }
.facts-grid > div:nth-child(even) { border-left: 1px solid var(--line); }
.facts-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .facts-grid { grid-template-columns: repeat(4, 1fr); }
  .facts-grid > div { padding: var(--s5) var(--s3); border-top: 0 !important; }
  .facts-grid > div:first-child { padding-left: 0; }
  .facts-grid > div:nth-child(3) { padding-left: var(--s3); border-left: 1px solid var(--line); }
}
.fact-k { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.fact-v { font-size: 15px; color: var(--ink); line-height: 1.45; }

/* ---------- Sections ---------- */
.section { padding: var(--s12) 0; }
@media (min-width: 900px) { .section { padding: var(--s16) 0; } }
.section-tint {
  background:
    linear-gradient(180deg, var(--paper-2), rgba(237, 233, 254, .5));
}

.split-head { max-width: 760px; margin-bottom: var(--s10); }

.principles { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.principles article { padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .principles { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .principles article { padding: var(--s5) var(--s4) var(--s6); border-bottom: 0; }
  .principles article:first-child { padding-left: 0; }
  .principles article + article { border-left: 1px solid var(--line); }
}
.index {
  display: block; font-family: var(--mono); font-size: 12px; margin-bottom: var(--s5);
  background: linear-gradient(120deg, var(--violet), var(--coral));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.principles h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: var(--s2); }
.principles p { color: var(--muted); max-width: 32ch; }

/* How */
.how-grid { display: grid; gap: var(--s8); }
@media (min-width: 900px) { .how-grid { grid-template-columns: 1fr 1fr; gap: var(--s10); align-items: start; } }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: var(--s3); padding: var(--s4) 0; border-top: 1px solid var(--line-2); }
.steps li:last-child { border-bottom: 1px solid var(--line-2); }
.step-n {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; color: var(--accent);
  background: var(--violet-soft); border: 1px solid rgba(124, 108, 240, .2);
}
.steps h3 { font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.steps p { color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing-head { display: grid; gap: var(--s3); margin-bottom: var(--s8); }
@media (min-width: 900px) { .pricing-head { grid-template-columns: 1fr 1fr; align-items: end; } .pricing-head .muted { justify-self: end; max-width: 28em; } }

.table-wrap {
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--violet), var(--coral), var(--mint), var(--sky)) 1;
}
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table thead th {
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); text-align: right; padding: var(--s2) var(--s3); border-bottom: 1px solid var(--line-2);
}
.price-table thead th:first-child { text-align: left; padding-left: 0; }
.price-table tbody th { text-align: left; padding: var(--s4) var(--s3) var(--s4) 0; font-weight: 400; vertical-align: top; }
.price-table td { text-align: right; padding: var(--s4) var(--s3); vertical-align: top; }
.price-table td:last-child, .price-table thead th:last-child { padding-right: 0; }
.price-table tbody tr { border-bottom: 1px solid var(--line); transition: background-color .2s ease; }
.price-table tbody tr:hover { background: rgba(124, 108, 240, .04); }
.mkt { display: block; font-family: var(--serif); font-size: 26px; line-height: 1.15; color: var(--ink); letter-spacing: -0.01em; }
.mkt-code { display: block; margin-top: 6px; font-family: var(--mono); font-size: 12px; color: var(--violet); }
.price { display: block; font-size: 20px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.per { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }

.pricing-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s4); margin-top: var(--s6); }
.included { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); }
.included li { position: relative; padding-left: 22px; font-size: 14px; color: var(--ink-2); }
.included li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 12px; height: 7px;
  border-left: 1.5px solid var(--mint); border-bottom: 1.5px solid var(--mint);
  transform: rotate(-45deg);
}

@media (max-width: 760px) {
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr { display: block; width: 100%; }
  .price-table tbody tr { padding: var(--s3) 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s3); }
  .price-table tbody tr:hover { background: none; }
  .price-table tbody th { grid-column: 1 / -1; display: block; padding: 0 0 var(--s2); }
  .price-table td { display: block; text-align: left; padding: var(--s2) 0; border-top: 1px solid var(--line); }
  .price-table td::before { content: attr(data-term); display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
  .price-table td:last-child { padding-right: 0; }
  .pricing-foot .btn { width: 100%; }
}

/* ---------- Privacy (soft gradient band) ---------- */
.section-ink {
  background:
    linear-gradient(135deg, #1A1633 0%, #2A2450 40%, #3D2A5C 70%, #2A2450 100%);
  color: rgba(255,255,255,.72);
  position: relative;
  overflow: hidden;
}
.section-ink::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 50% at 10% 30%, rgba(124, 108, 240, .25), transparent 60%),
    radial-gradient(ellipse 35% 40% at 90% 70%, rgba(240, 122, 138, .18), transparent 55%);
  pointer-events: none;
}
.section-ink > .container { position: relative; z-index: 1; }
.section-ink .h2 { color: #fff; }
.section-ink .h2 em {
  background: linear-gradient(120deg, #C4B5FD, #FDA4AF, #A5F3E0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow-light { color: rgba(196, 181, 253, .9); }
.privacy-grid { display: grid; gap: var(--s8); }
@media (min-width: 900px) { .privacy-grid { grid-template-columns: 1fr 1fr; gap: var(--s10); } }
.commitments { margin: 0; display: grid; grid-template-columns: 1fr; }
@media (min-width: 600px) { .commitments { grid-template-columns: 1fr 1fr; column-gap: var(--s5); } }
.commitments > div { padding: var(--s3) 0 var(--s4); border-top: 1px solid rgba(255,255,255,.14); }
.commitments dt { color: #fff; font-weight: 500; margin-bottom: var(--s1); }
.commitments dd { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.68); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1.4fr; gap: var(--s10); } }
.faq-contact { margin-top: var(--s3); font-size: 15px; }
.faq-contact a { color: var(--accent); border-bottom: 1px solid rgba(91, 79, 224, .25); }
.faq-contact a:hover { border-color: var(--accent); }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s3);
  padding: var(--s3) 0; font-size: 17px; font-weight: 500; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 10px; height: 10px;
  border-right: 1.5px solid var(--violet); border-bottom: 1.5px solid var(--violet);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s ease;
}
.faq-list details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-list details p { padding: 0 var(--s4) var(--s3) 0; color: var(--muted); max-width: 60ch; }

/* ---------- Closing ---------- */
.closing {
  padding: var(--s12) 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 80% at 20% 50%, rgba(124, 108, 240, .08), transparent 60%),
    radial-gradient(ellipse 40% 70% at 80% 50%, rgba(240, 122, 138, .07), transparent 55%);
}
@media (min-width: 900px) { .closing { padding: var(--s16) 0; } }
.closing-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s5); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: var(--s10) 0 var(--s4); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s3); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand p { margin-top: var(--s2); color: var(--muted); line-height: 1.7; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); margin-bottom: 4px; }
.footer-col a { color: var(--ink-2); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s10); padding-top: var(--s3); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

.site-footer-min { padding: 0 0 var(--s4); border-top: 0; }
.site-footer-min .footer-bottom { margin-top: 0; }

/* ---------- Signup ---------- */
.signup-page {
  padding: var(--s8) 0 var(--s12);
  position: relative;
}
.signup-page::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 45% 40% at 15% 20%, rgba(124, 108, 240, .12), transparent 65%),
    radial-gradient(ellipse 35% 35% at 85% 15%, rgba(240, 122, 138, .10), transparent 60%);
  pointer-events: none; z-index: 0;
}
.signup-page > .container { position: relative; z-index: 1; }
@media (min-width: 900px) { .signup-page { padding: var(--s12) 0 var(--s16); } }
.signup-grid { display: grid; gap: var(--s8); align-items: start; }
@media (min-width: 960px) { .signup-grid { grid-template-columns: 1fr 460px; gap: var(--s12); } }
.signup-copy .display-sm { margin-bottom: var(--s3); }
.signup-points { list-style: none; margin: var(--s6) 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 30em; }
.signup-points li { display: grid; grid-template-columns: 120px 1fr; gap: var(--s2); padding: var(--s2) 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.signup-points span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); padding-top: 3px; }
.signup-points strong { font-weight: 400; color: var(--ink); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: var(--s4); }
@media (min-width: 600px) { .form-card { padding: var(--s5); } }
.form-card h2 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 4px; }
.form-card > form > p, .form-card .form-sub { color: var(--muted); font-size: 14px; margin-bottom: var(--s4); }
.field { margin-bottom: var(--s3); }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: var(--s1); }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select {
  width: 100%; height: 48px; padding: 0 14px;
  font: inherit; font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-2); border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6780' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field input::placeholder { color: var(--faint); }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--violet); background: var(--surface);
  box-shadow: 0 0 0 3px rgba(124, 108, 240, .15);
}
.field input[aria-invalid="true"] { border-color: #B42318; }
.field-error { display: none; margin-top: 6px; font-size: 13px; color: #B42318; }
.field-error.show { display: block; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s1); }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  display: grid; place-items: center; height: 48px; margin: 0;
  border: 1px solid var(--line-2); border-radius: 12px; background: var(--paper);
  font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--ink-2); cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.segmented label:hover { border-color: var(--violet); }
.segmented input:checked + label {
  background: linear-gradient(135deg, var(--violet-soft), var(--sky-soft));
  border-color: rgba(124, 108, 240, .4);
  color: var(--accent);
  box-shadow: 0 1px 4px rgba(92, 79, 224, .12);
}
.segmented input:focus-visible + label { outline: 2px solid var(--violet); outline-offset: 2px; }
.fieldset { border: 0; padding: 0; margin-left: 0; margin-right: 0; min-width: 0; }
.fieldset legend { padding: 0; font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: var(--s1); }
.form-note { margin-top: var(--s2); font-size: 13px; color: var(--muted); text-align: center; }

.form-success { display: none; text-align: left; }
.form-success.show { display: block; }
.success-mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--mint-soft); border: 1px solid rgba(77, 182, 160, .3);
  display: grid; place-items: center; color: var(--mint); margin-bottom: var(--s3);
}
.form-success h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; margin-bottom: var(--s2); }
.form-success p { color: var(--muted); margin-bottom: var(--s4); }

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