/* ============================================================
   PALAYN HOME, OPTION A: "NAVY AURORA"
   Shared stylesheet for every page (home page sections + shared header/footer/modal). Tokens from the brand doc
   (plans/2026-10-08-brand-identity.md, "Final tokens").
   Theme: site.js sets html[data-theme]; until it runs (it is
   deferred) the OS preference applies, so there is no flash.
   ============================================================ */

/* ============ TOKENS ============ */
:root{
  /* fixed brand colours (same in both themes) */
  --navy:#0A1424;
  --on-navy-2:#BCC8DC;
  --link-on-navy:#7CCBFE;
  --teal:#2EE6D6;
  --brand-grad:linear-gradient(135deg,#38B0FD,#0257D1);
  --text-grad:linear-gradient(100deg,#7CCBFE 0%,#38B0FD 45%,#5FD8F0 80%,#2EE6D6 100%);
  --pill-grad:linear-gradient(135deg,#0B6FD9,#0243C5); /* on-navy CTAs: 4.9:1 at the light end */

  /* light theme */
  --bg:#F6F8FB;
  --card:#FFFFFF;
  --border:#E3E8F0;
  --raised:#EDF1F7;
  --text:#0E1B2E;
  --text-2:#5B6577;
  --accent:#0B6FD9;
  --accent-text:linear-gradient(100deg,#188EFE,#0243C5);
  --link:#0B6FD9;
  --danger:#C8363B;            /* brand #E5484D darkened to 4.5:1 on white for small text */
  --cta-grad:linear-gradient(135deg,#0B6FD9,#0243C5);
  --tile-bg:#E3F1FF;
  --tile-fg:#0B6FD9;
  --panel-bg:#0E1B2E;
  --panel-line:rgba(124,203,254,.16);
  --panel-card:rgba(28,63,116,.42);
  --open-bg:#FFFFFF;
  --open-line:#0B6FD9;
  --footer-bg:#FFFFFF;
  --ft-text:#5B6577; --ft-head:#0E1B2E; --ft-hover:#0B6FD9; --ft-line:#E3E8F0;
  --ft-glow:rgba(24,142,254,.07); --ft-btn-bg:#EDF1F7; --ft-btn-line:#E3E8F0; --ft-btn-fg:#0E1B2E; --ft-btn-hover:#E3F1FF;
  --ft-field:#F6F8FB; --ft-field-line:#CBD5E3; --ft-field-focus:#0B6FD9; --ft-input:#0E1B2E; --ft-msg:#0B6FD9; --ft-focus:#0B6FD9; --ft-err:#C8363B;
  --eyebrow-card:#0B6FD9;      /* eyebrows/kickers inside cards */
  --num-fg:#0243C5;            /* numbered badges on --tile-bg: 7:1 */
  --menu-bg:#F6F8FB; --menu-line:#E3E8F0;
  --icon-ring:0 0 0 1px rgba(124,203,254,.28);
  --shadow-card:0 2px 12px rgba(24,142,254,.06), 0 1px 2px rgba(14,27,46,.04);
  --shadow-lift:0 24px 48px -20px rgba(2,67,197,.28), 0 2px 12px rgba(24,142,254,.08);
  --focus:#0B6FD9;
  --moon:1; --sun:0;

  /* hero + header (light: airy, blue glows on #F6F8FB) */
  --hero-bg:#F6F8FB;
  --hero-text:#0E1B2E;
  --hero-text-2:#46516A;
  --hero-link:#0B6FD9;
  --hero-line:#D5DEEA;
  --hero-fill:#FFFFFF;
  --hero-grad:linear-gradient(100deg,#188EFE 0%,#0B6FD9 40%,#0243C5 100%); /* large text, >=3:1 at the light end */
  --hero-dot:rgba(11,111,217,.26);
  --hero-err:#C8363B;
  --hero-ok:#0E1B2E;
  --glow:.78; --grain:0; --wm:.16; --hero-ic:#0B6FD9; --hero-fade:320px;
  --pill-bg:#FFFFFF;
  --pill-line:#CBD5E3;
  --pill-shadow:0 22px 44px -18px rgba(2,87,209,.38), 0 2px 6px rgba(14,27,46,.05);
  --chip-bg:#FFFFFF;
  --chip-line:#E3E8F0;
  --chip-shadow:0 20px 40px -16px rgba(2,87,209,.35), 0 2px 6px rgba(14,27,46,.05);
  --placeholder:#6B7588;
  --hdr-bg:rgba(255,255,255,.9);
  --hdr-line:#E3E8F0;
  --show-light:inline-flex; --show-dark:none;

  --header-h:76px;
  color-scheme:light;
}
html[data-theme="dark"]{
  --bg:#0A1424; --card:#1C3F74; --border:#2F5A96; --raised:#26529A;
  --text:#FFFFFF; --text-2:#BCC8DC; --accent:#38B0FD; --accent-text:linear-gradient(#38B0FD,#38B0FD);
  --link:#7CCBFE; --danger:#FF8A8B; --cta-grad:linear-gradient(135deg,#188EFE,#0243C5);
  --tile-bg:#26529A; --tile-fg:#7CCBFE;
  --panel-bg:#0D2140; --panel-line:#2F5A96; --panel-card:rgba(28,63,116,.85);
  --open-bg:#204683; --open-line:#4C86CF; --footer-bg:#0D2140;
    --ft-text:#BCC8DC; --ft-head:#FFFFFF; --ft-hover:#FFFFFF; --ft-line:rgba(124,203,254,.3); --ft-glow:rgba(24,142,254,.18); --ft-btn-bg:rgba(255,255,255,.06); --ft-btn-line:rgba(124,203,254,.24); --ft-btn-fg:#FFFFFF; --ft-btn-hover:rgba(56,176,253,.22); --ft-field:rgba(255,255,255,.06); --ft-field-line:rgba(124,203,254,.28); --ft-field-focus:rgba(124,203,254,.75); --ft-input:#FFFFFF; --ft-msg:#7CCBFE; --ft-focus:#7CCBFE; --ft-err:#FF9C9D;
    --eyebrow-card:#7CCBFE; --num-fg:#FFFFFF; --menu-bg:#1C3F74; --menu-line:#2F5A96;
    --icon-ring:0 0 0 2px rgba(124,203,254,.6), 0 0 0 9px rgba(56,176,253,.14), 0 0 70px 10px rgba(56,176,253,.5);
  --shadow-card:0 10px 30px -12px rgba(0,0,0,.55);
  --shadow-lift:0 28px 56px -22px rgba(0,0,0,.7);
  --focus:#7CCBFE; --moon:0; --sun:1;
  --hero-bg:#0A1424; --hero-text:#FFFFFF; --hero-text-2:#BCC8DC; --hero-link:#7CCBFE;
  --hero-line:rgba(124,203,254,.24); --hero-fill:rgba(255,255,255,.07); --hero-grad:var(--text-grad);
  --hero-dot:rgba(188,200,220,.22); --hero-err:#FF9C9D; --hero-ok:#FFFFFF;
  --glow:1; --grain:.05; --wm:.075; --hero-ic:#2EE6D6; --hero-fade:160px;
  --pill-bg:rgba(255,255,255,.08); --pill-line:rgba(124,203,254,.32);
  --pill-shadow:0 20px 50px -20px rgba(2,67,197,.8), inset 0 1px 0 rgba(255,255,255,.1);
  --chip-bg:rgba(28,63,116,.86); --chip-line:rgba(124,203,254,.3); --chip-shadow:0 18px 40px -18px rgba(0,0,0,.6);
  --placeholder:#9FB0CB; --hdr-bg:rgba(10,20,36,.94); --hdr-line:rgba(124,203,254,.14);
  --show-light:none; --show-dark:inline-flex;
  color-scheme:dark;
}
@media (prefers-color-scheme: dark){
  html:not([data-theme]){
    --bg:#0A1424; --card:#1C3F74; --border:#2F5A96; --raised:#26529A;
    --text:#FFFFFF; --text-2:#BCC8DC; --accent:#38B0FD; --accent-text:linear-gradient(#38B0FD,#38B0FD);
    --link:#7CCBFE; --danger:#FF8A8B; --cta-grad:linear-gradient(135deg,#188EFE,#0243C5);
    --tile-bg:#26529A; --tile-fg:#7CCBFE;
    --panel-bg:#0D2140; --panel-line:#2F5A96; --panel-card:rgba(28,63,116,.85);
    --open-bg:#204683; --open-line:#4C86CF; --footer-bg:#0D2140;
    --ft-text:#BCC8DC; --ft-head:#FFFFFF; --ft-hover:#FFFFFF; --ft-line:rgba(124,203,254,.3); --ft-glow:rgba(24,142,254,.18); --ft-btn-bg:rgba(255,255,255,.06); --ft-btn-line:rgba(124,203,254,.24); --ft-btn-fg:#FFFFFF; --ft-btn-hover:rgba(56,176,253,.22); --ft-field:rgba(255,255,255,.06); --ft-field-line:rgba(124,203,254,.28); --ft-field-focus:rgba(124,203,254,.75); --ft-input:#FFFFFF; --ft-msg:#7CCBFE; --ft-focus:#7CCBFE; --ft-err:#FF9C9D;
    --eyebrow-card:#7CCBFE; --num-fg:#FFFFFF; --menu-bg:#1C3F74; --menu-line:#2F5A96;
    --icon-ring:0 0 0 2px rgba(124,203,254,.6), 0 0 0 9px rgba(56,176,253,.14), 0 0 70px 10px rgba(56,176,253,.5);
    --shadow-card:0 10px 30px -12px rgba(0,0,0,.55);
    --shadow-lift:0 28px 56px -22px rgba(0,0,0,.7);
    --focus:#7CCBFE; --moon:0; --sun:1;
    --hero-bg:#0A1424; --hero-text:#FFFFFF; --hero-text-2:#BCC8DC; --hero-link:#7CCBFE;
    --hero-line:rgba(124,203,254,.24); --hero-fill:rgba(255,255,255,.07); --hero-grad:var(--text-grad);
    --hero-dot:rgba(188,200,220,.22); --hero-err:#FF9C9D; --hero-ok:#FFFFFF;
    --glow:1; --grain:.05; --wm:.075; --hero-ic:#2EE6D6; --hero-fade:160px;
    --pill-bg:rgba(255,255,255,.08); --pill-line:rgba(124,203,254,.32);
    --pill-shadow:0 20px 50px -20px rgba(2,67,197,.8), inset 0 1px 0 rgba(255,255,255,.1);
    --chip-bg:rgba(28,63,116,.86); --chip-line:rgba(124,203,254,.3); --chip-shadow:0 18px 40px -18px rgba(0,0,0,.6);
    --placeholder:#9FB0CB; --hdr-bg:rgba(10,20,36,.94); --hdr-line:rgba(124,203,254,.14);
    --show-light:none; --show-dark:inline-flex;
    color-scheme:dark;
  }
}

/* ============ BASE ============ */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  font-family:'Poppins',system-ui,-apple-system,'Segoe UI',sans-serif;
  background:var(--bg); color:var(--text);
  font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:clip;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
input{ font:inherit; color:inherit; }
h1,h2,h3,h4{ line-height:1.15; letter-spacing:-.02em; text-wrap:balance; }
p{ text-wrap:pretty; }
[hidden]{ display:none !important; }
.sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
:focus-visible{ outline:2.5px solid var(--focus); outline-offset:3px; border-radius:8px; }
.panel-section :focus-visible{ outline-color:#7CCBFE; }
.cta-banner :focus-visible{ outline-color:#FFFFFF; }
footer :focus-visible{ outline-color:var(--ft-focus); }
.wrap{ width:100%; max-width:1200px; margin:0 auto; padding:0 32px; }
section[id]{ scroll-margin-top:calc(var(--header-h) + 16px); }

.skip-link{ position:absolute; left:-9999px; top:8px; z-index:2000; background:#fff; color:var(--navy); padding:10px 16px; border-radius:10px; font-size:14px; font-weight:600; }
.skip-link:focus{ left:12px; }

.grad-text, .accent{
  background:var(--text-grad);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  -webkit-box-decoration-break:clone; box-decoration-break:clone;
}
.accent{ background-image:var(--accent-text); }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:var(--accent); margin-bottom:14px;
}
.eyebrow::before{ content:""; width:22px; height:2px; border-radius:2px; background:var(--brand-grad); }
.eyebrow.on-navy{ color:#7CCBFE; }
.status-card .eyebrow, .feedback-card .eyebrow{ color:var(--eyebrow-card); }

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-weight:600; font-size:15px; line-height:1;
  padding:15px 24px; border-radius:999px; white-space:nowrap;
  transition:transform .2s ease, opacity .2s ease;
}
.btn .arrow, .see-how .arrow{ display:inline-block; transition:transform .2s ease; }
.btn:hover .arrow, .see-how:hover .arrow{ transform:translateX(3px); }
.btn:hover{ transform:translateY(-1px); }
.btn:disabled{ opacity:.75; cursor:progress; }
.btn-sm{ padding:11px 18px; font-size:14px; }
.btn-block{ width:100%; }
.btn-primary{ background:var(--cta-grad); color:#fff; box-shadow:0 8px 22px -8px rgba(2,87,209,.7), inset 0 1px 0 rgba(255,255,255,.18); }
.site-header .btn-primary, .glass-pill .btn, .mobile-join .btn{ background:var(--pill-grad); }
.btn-white{ background:#fff; color:#0243C5; box-shadow:0 10px 30px -10px rgba(0,0,0,.45); }
.btn-glass{ color:#fff; background:rgba(255,255,255,.08); border:1px solid rgba(124,203,254,.35); }
.btn-glass:hover{ background:rgba(255,255,255,.14); }

.spinner{
  width:16px; height:16px; border-radius:50%; flex:none;
  border:2px solid rgba(255,255,255,.35); border-top-color:#fff;
  animation:spin .7s linear infinite;
}
@keyframes spin{ to{ transform:rotate(360deg); } }

/* ============ HEADER (sits over the hero; follows its theme) ============ */
.site-header{ position:sticky; top:0; z-index:100; height:var(--header-h); color:var(--hero-text); }
.site-header::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:var(--hdr-bg);
  -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
  border-bottom:1px solid var(--hdr-line);
}
/* Transparent at the very top, solid once content scrolls under it (no JS). */
@supports (animation-timeline: scroll()){
  .site-header::before{ animation:fade-in linear both; animation-timeline:scroll(root block); animation-range:0 120px; }
  @keyframes fade-in{ from{ opacity:0; } to{ opacity:1; } }
}
.nav-inner{ height:100%; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.logo{ display:inline-flex; min-width:0; border-radius:8px; }
.logo img{ height:36px; width:auto; }
.logo-on-light{ display:var(--show-light); }
.logo-on-dark{ display:var(--show-dark); }
.nav-links{ display:flex; align-items:center; gap:2px; }
.nav-links a{ font-size:14.5px; font-weight:500; color:var(--hero-text-2); padding:9px 14px; border-radius:10px; transition:color .2s ease, background-color .2s ease; }
.nav-links a:hover{ color:var(--hero-text); background:var(--hero-fill); }
.nav-links a.active{ color:var(--hero-text); font-weight:600; }
.nav-links a.active::after{ content:""; display:block; height:2px; margin-top:4px; border-radius:2px; background:var(--hero-grad); }
.nav-right{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.icon-btn{
  position:relative; width:40px; height:40px; border-radius:12px;
  display:inline-flex; align-items:center; justify-content:center;
  color:var(--hero-text); background:var(--hero-fill); border:1px solid var(--hero-line);
  cursor:pointer; transition:background-color .2s ease;
}
.icon-btn:hover{ border-color:var(--hero-link); }
.theme-toggle svg{ position:absolute; transition:opacity .3s ease, transform .4s ease; }
.theme-toggle .i-moon{ opacity:var(--moon); transform:rotate(calc(var(--sun) * 60deg)) scale(calc(.5 + var(--moon) * .5)); }
.theme-toggle .i-sun{ opacity:var(--sun); transform:rotate(calc(var(--moon) * -60deg)) scale(calc(.5 + var(--sun) * .5)); }
.mobile-toggle{ display:none; }
.site-header :focus-visible, .hero :focus-visible{ outline-color:var(--hero-link); }

/* ============ HERO ============ */
.hero{
  position:relative; isolation:isolate; overflow:hidden;
  margin-top:calc(var(--header-h) * -1);
  padding:calc(var(--header-h) + 88px) 0 168px;
  background:var(--hero-bg); color:var(--hero-text);
}
/* aurora: four radial-gradient glows drifting slowly (transform only, no blur filters) */
.aurora{ position:absolute; inset:0; z-index:-3; pointer-events:none; opacity:var(--glow); }
.blob{ position:absolute; border-radius:50%; animation:drift 26s ease-in-out infinite alternate; }
.b1{ width:78vmax; height:62vmax; left:-22vmax; top:-30vmax;
  background:radial-gradient(closest-side, rgba(2,87,209,.62), rgba(2,87,209,.34) 40%, rgba(2,87,209,.12) 70%, rgba(2,87,209,0)); }
.b2{ width:62vmax; height:52vmax; right:-20vmax; top:-14vmax; animation:drift-2 32s -8s ease-in-out infinite alternate;
  background:radial-gradient(closest-side, rgba(24,142,254,.55), rgba(24,142,254,.28) 42%, rgba(24,142,254,.09) 72%, rgba(24,142,254,0)); }
.b3{ width:48vmax; height:36vmax; left:22%; bottom:-22vmax; animation-duration:28s; animation-delay:-14s;
  background:radial-gradient(closest-side, rgba(56,176,253,.42), rgba(56,176,253,.2) 45%, rgba(56,176,253,.06) 75%, rgba(56,176,253,0)); }
.b4{ width:30vmax; height:22vmax; right:14%; bottom:-6vmax; animation:drift-2 36s -20s ease-in-out infinite alternate;
  background:radial-gradient(closest-side, rgba(46,230,214,.22), rgba(46,230,214,.1) 50%, rgba(46,230,214,0)); }
@keyframes drift{
  50% { transform:translate3d(6vmax,3vmax,0) scale(1.08); }
  100%{ transform:translate3d(-3vmax,5vmax,0) scale(.96); }
}
@keyframes drift-2{
  50% { transform:translate3d(-7vmax,4vmax,0) scale(1.1); }
  100%{ transform:translate3d(3vmax,-3vmax,0) scale(.95); }
}
.hero-dots{
  position:absolute; inset:0; z-index:-2; pointer-events:none;
  background-image:radial-gradient(var(--hero-dot) 1px, transparent 1.5px);
  background-size:26px 26px;
  -webkit-mask-image:radial-gradient(ellipse 70% 75% at 72% 40%, #000, rgba(0,0,0,.5) 45%, transparent 80%);
          mask-image:radial-gradient(ellipse 70% 75% at 72% 40%, #000, rgba(0,0,0,.5) 45%, transparent 80%);
}
/* fine grain dithers the glows so they never band (one static tile) */
.hero-grain{
  position:absolute; inset:0; z-index:-1; pointer-events:none; opacity:var(--grain);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* light theme: glows dissolve into the page instead of stopping at a hard edge */
.hero::after{
  content:""; position:absolute; left:0; right:0; bottom:0; z-index:-1; pointer-events:none;
  height:var(--hero-fade); background:linear-gradient(rgba(246,248,251,0), var(--hero-bg));
}
.hero-watermark{
  position:absolute; z-index:-2; pointer-events:none;
  height:min(118%, 980px); width:auto; right:-9%; bottom:-24%;
  opacity:var(--wm); transform:rotate(-8deg);
}
.hero-grid{ display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:48px; align-items:center; }
.hero-copy{ max-width:640px; }
.badge{
  display:inline-flex; align-items:center; gap:10px;
  font-size:13px; font-weight:500; color:var(--hero-text-2);
  padding:7px 14px 7px 12px; border-radius:999px;
  background:var(--hero-fill); border:1px solid var(--hero-line);
  margin-bottom:26px;
}
.dot{ position:relative; width:8px; height:8px; border-radius:50%; background:var(--teal); }
.dot::after{ content:""; position:absolute; inset:0; border-radius:50%; background:var(--teal); animation:ping 2.4s ease-out infinite; }
@keyframes ping{ 0%{ transform:scale(1); opacity:.6; } 80%,100%{ transform:scale(2.8); opacity:0; } }
.hero h1{ font-size:clamp(38px,5.2vw,66px); font-weight:700; line-height:1.06; letter-spacing:-.035em; margin-bottom:22px; text-wrap:balance; }
.hero .grad-text{ background-image:var(--hero-grad); }
.hero .sub{ font-size:clamp(16px,1.35vw,18px); line-height:1.65; color:var(--hero-text-2); max-width:560px; margin-bottom:34px; }

/* frosted-glass join pill */
.hero-join, .joined-row{ max-width:560px; }
.glass-pill{
  display:flex; align-items:center; gap:8px;
  padding:7px 7px 7px 20px; border-radius:999px;
  background:var(--pill-bg); border:1px solid var(--pill-line);
  box-shadow:var(--pill-shadow);
  -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
  transition:border-color .2s ease, box-shadow .2s ease;
}
.glass-pill:focus-within{ border-color:var(--hero-link); box-shadow:0 0 0 4px rgba(56,176,253,.22), var(--pill-shadow); }
.pill-icon{ color:var(--hero-link); flex:none; }
.glass-pill input{ flex:1; min-width:0; background:transparent; border:0; outline:0; color:var(--hero-text); font-size:16px; padding:12px 4px; }
.glass-pill input::placeholder{ color:var(--placeholder); opacity:1; }
.newsletter-form input::placeholder{ color:var(--placeholder); opacity:1; }
.glass-pill .btn{ flex:none; padding:15px 22px; }
.glass-pill .btn:focus-visible{ outline-offset:2px; }
.hero-msg{ font-size:14px; margin:10px 0 0 20px; color:var(--hero-link); }
.hero-msg:empty{ display:none; }
.hero-msg.err{ color:var(--hero-err); }
.newsletter-msg.err{ color:var(--ft-err); }
.hero-done{
  display:flex; align-items:center; gap:14px; padding:16px 20px; border-radius:20px;
  background:rgba(46,230,214,.1); border:1px solid rgba(46,230,214,.4);
  color:var(--hero-text-2); font-size:14.5px; line-height:1.5;
}
.hero-done b{ color:var(--hero-ok); font-weight:600; }
.done-check{ flex:none; width:36px; height:36px; border-radius:50%; display:grid; place-items:center; background:var(--teal); color:var(--navy); }
.reassure{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 8px; font-size:13.5px; color:var(--hero-text-2); margin:14px 0 0 20px; }
.reassure svg{ color:var(--hero-ic); }
.see-how{ margin-left:auto; color:var(--hero-link); font-weight:600; border-radius:6px; }
.see-how:hover{ color:var(--hero-text); }

.joined-row{ display:flex; align-items:center; gap:14px; margin-top:38px; padding-top:26px; border-top:1px solid var(--hero-line); }
.avatar-stack{ display:flex; }
.avatar-stack span{ width:34px; height:34px; border-radius:50%; border:2.5px solid var(--hero-bg); margin-left:-10px; background:var(--brand-grad); }
.avatar-stack span:first-child{ margin-left:0; background:linear-gradient(135deg,#7CCBFE,#188EFE); }
.avatar-stack span:nth-child(3){ background:linear-gradient(135deg,#2EE6D6,#188EFE); }
.avatar-stack span:nth-child(4){ background:linear-gradient(135deg,#188EFE,#0243C5); }
.joined-text{ font-size:13.5px; line-height:1.45; color:var(--hero-text-2); }
.joined-text b{ color:var(--hero-text); font-weight:600; }

/* hero art: app icon + orbiting chips (desktop only) */
.hero-art{ position:relative; height:440px; }
.orbit{ position:absolute; left:50%; top:50%; border-radius:50%; border:1px dashed var(--hero-line); transform:translate(-50%,-50%); }
.orbit-1{ width:300px; height:300px; }
.orbit-2{ width:460px; height:460px; border-style:solid; opacity:.5; }
.icon-glow{
  position:absolute; left:50%; top:50%; width:360px; height:360px; transform:translate(-50%,-50%);
  background:radial-gradient(closest-side, rgba(24,142,254,.55), rgba(24,142,254,.18) 55%, rgba(24,142,254,0));
  opacity:var(--glow);
}
.app-icon{
  position:absolute; left:50%; top:50%; width:188px; height:188px; margin:-94px 0 0 -94px;
  border-radius:42px; box-shadow:0 40px 80px -24px rgba(0,0,0,.7), var(--icon-ring);
  animation:float 9s ease-in-out infinite;
}
.chip{
  position:absolute; display:flex; align-items:center; gap:12px; white-space:nowrap;
  padding:12px 18px 12px 12px; border-radius:18px;
  background:var(--chip-bg); border:1px solid var(--chip-line);
  box-shadow:var(--chip-shadow);
  animation:float 11s ease-in-out infinite;
}
.chip b{ display:block; font-size:14px; font-weight:600; line-height:1.3; }
.chip small{ display:block; font-size:12px; color:var(--hero-text-2); line-height:1.3; }
.chip-ic{ width:36px; height:36px; border-radius:11px; display:grid; place-items:center; background:var(--brand-grad); color:#fff; }
.chip-1{ left:-2%; top:8%; animation-delay:-2s; }
.chip-2{ right:-4%; top:44%; animation-delay:-5s; }
.chip-2 .chip-ic{ background:linear-gradient(135deg,#2EE6D6,#188EFE); }
.chip-3{ left:6%; bottom:4%; animation-delay:-8s; }
@keyframes float{ 50%{ transform:translate3d(0,-10px,0); } }

/* ============ PILLARS (floats over the hero's bottom edge) ============ */
.pillars-wrap{ position:relative; z-index:2; margin-top:-84px; }
.pillars{
  display:grid; grid-template-columns:repeat(4,1fr);
  background:var(--card); border:1px solid var(--border);
  border-radius:20px; box-shadow:var(--shadow-lift);
}
.pillar{ display:flex; gap:14px; align-items:flex-start; padding:26px 24px; }
.pillar + .pillar{ border-left:1px solid var(--border); }
.icon-tile{ flex:none; width:42px; height:42px; border-radius:12px; display:grid; place-items:center; background:var(--tile-bg); color:var(--tile-fg); }
.ptitle{ font-weight:600; font-size:15px; margin-bottom:3px; }
.psub{ font-size:13.5px; line-height:1.5; color:var(--text-2); }

/* ============ SECTIONS ============ */
.section{ padding:112px 0; }
.section h2, .panel-head h2{ font-size:clamp(28px,3.4vw,42px); font-weight:700; }
.sec-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:32px; margin-bottom:52px; }
.side-text{ max-width:300px; color:var(--text-2); text-align:right; }

/* features: numbered journey cards */
.feat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.feat-card{
  position:relative; overflow:hidden;
  background:var(--card); border:1px solid var(--border); border-radius:20px;
  padding:30px 26px 32px; box-shadow:var(--shadow-card);
  transition:transform .25s ease;
}
.feat-card::before{ content:""; position:absolute; left:0; right:0; top:0; height:3px; background:var(--brand-grad); opacity:0; transition:opacity .25s ease; }
.feat-card:hover{ transform:translateY(-4px); }
.feat-card:hover::before{ opacity:1; }
.feat-card .icon-tile{ width:50px; height:50px; border-radius:15px; background:var(--brand-grad); color:#fff; margin-bottom:26px; box-shadow:0 10px 22px -10px rgba(2,87,209,.7); }
.step{ position:absolute; top:22px; right:24px; font-size:13px; font-weight:600; letter-spacing:.08em; color:var(--text-2); }
.feat-card h3{ font-size:18px; font-weight:600; margin-bottom:8px; }
.feat-card p{ font-size:14.5px; line-height:1.6; color:var(--text-2); }

/* ============ WHAT WE'RE BUILDING (static aurora panel, navy in both themes) ============ */
.panel-section{
  position:relative; isolation:isolate; overflow:hidden;
  border-radius:28px; padding:64px 56px; color:#fff;
  border:1px solid var(--panel-line);
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(2,87,209,.6), rgba(2,87,209,0) 70%),
    radial-gradient(50% 70% at 100% 0%, rgba(24,142,254,.45), rgba(24,142,254,0) 70%),
    radial-gradient(40% 50% at 70% 110%, rgba(46,230,214,.16), rgba(46,230,214,0) 70%),
    var(--panel-bg);
}
.panel-dots{ -webkit-mask-image:radial-gradient(ellipse 60% 80% at 85% 10%, #000, transparent 75%); mask-image:radial-gradient(ellipse 60% 80% at 85% 10%, #000, transparent 75%); }
.panel-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:40px; }
.panel-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.panel-card{
  display:flex; gap:16px; align-items:flex-start; padding:24px; border-radius:14px;
  background:var(--panel-card); border:1px solid var(--panel-line);
  transition:transform .25s ease, border-color .25s ease;
}
.panel-card:hover{ transform:translateY(-2px); border-color:rgba(124,203,254,.5); }
.panel-card .icon-tile{ background:rgba(56,176,253,.16); color:var(--link-on-navy); border:1px solid rgba(124,203,254,.28); }
.panel-card h3{ font-size:16.5px; font-weight:600; margin-bottom:4px; }
.panel-card p{ font-size:14px; line-height:1.55; color:var(--on-navy-2); }

/* ============ FAQ (native <details name="faq">: exclusive accordion, no JS) ============ */
.faq-grid{ display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:64px; align-items:start; }
.faq-head{ position:sticky; top:calc(var(--header-h) + 32px); }
.faq-list{ display:flex; flex-direction:column; gap:12px; }
.faq-item{ background:var(--card); border:1px solid var(--border); border-radius:14px; box-shadow:var(--shadow-card); }
.faq-item[open]{ background:var(--open-bg); border-color:var(--open-line); }
.faq-sum{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  list-style:none; cursor:pointer; font-size:16px; font-weight:600; padding:20px 22px; border-radius:14px;
}
.faq-sum::-webkit-details-marker{ display:none; }
.chev{ flex:none; width:32px; height:32px; border-radius:50%; display:grid; place-items:center; background:var(--raised); transition:transform .3s ease; }
.faq-item[open] .chev{ transform:rotate(180deg); background:var(--cta-grad); color:#fff; }
.faq-a p{ font-size:15px; color:var(--text-2); line-height:1.7; padding:0 22px 22px; max-width:640px; }
.faq-a a{ color:var(--link); text-decoration:underline; text-underline-offset:2px; }

/* ============ CTA BANNER ============ */
.cta-section{ padding:0 0 112px; }
.cta-banner{
  position:relative; isolation:isolate; overflow:hidden;
  display:flex; align-items:center; justify-content:space-between; gap:32px;
  padding:56px; border-radius:28px; color:#fff;
  background:
    radial-gradient(45% 90% at 0% 0%, rgba(10,20,36,.55), rgba(10,20,36,0) 70%),
    radial-gradient(35% 70% at 80% 120%, rgba(46,230,214,.14), rgba(46,230,214,0) 70%),
    linear-gradient(120deg,#0243C5 0%,#0257D1 50%,#0A66CF 100%); /* white text stays >=4.5:1 at the light end */
  box-shadow:0 30px 60px -30px rgba(2,67,197,.7);
}
.cta-mark{
  position:absolute; z-index:-1; right:-30px; top:50%; height:260%; width:auto;
  transform:translateY(-50%) rotate(-10deg); opacity:.16; filter:brightness(2.2) saturate(.4);
}
.cta-banner h2{ font-size:clamp(26px,3vw,36px); font-weight:700; margin-bottom:8px; }
.cta-banner p{ color:#FFFFFF; }
.cta-right{ flex:none; }

.mobile-join{ display:none; }

/* ============ FOOTER (white in light, navy in dark) ============ */
footer{
  position:relative; overflow:hidden; padding:72px 0 32px;
  color:var(--ft-text); border-top:1px solid var(--ft-line);
  background:radial-gradient(900px 420px at 50% -220px, var(--ft-glow), rgba(24,142,254,0) 70%), var(--footer-bg);
}
.footer-top{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr 1.6fr; gap:40px; padding-bottom:48px; border-bottom:1px solid var(--ft-line); }
.footer-brand .logo img{ height:34px; }
.footer-brand p{ font-size:14px; margin:18px 0 22px; max-width:280px; }
.social-row{ display:flex; gap:10px; }
.social-row a{ width:38px; height:38px; border-radius:12px; display:grid; place-items:center; color:var(--ft-btn-fg); background:var(--ft-btn-bg); border:1px solid var(--ft-btn-line); }
.social-row a:hover{ background:var(--ft-btn-hover); }
.footer-title{ font-size:13px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--ft-head); margin-bottom:16px; }
.footer-col a{ display:block; width:fit-content; font-size:14px; padding:5px 0; border-radius:4px; }
.footer-col a:hover, .footer-legal a:hover{ color:var(--ft-hover); }
.newsletter p{ font-size:14px; margin-bottom:14px; }
.newsletter-form{ display:flex; gap:6px; padding:5px; border-radius:999px; background:var(--ft-field); border:1px solid var(--ft-field-line); }
.newsletter-form:focus-within{ border-color:var(--ft-field-focus); }
.newsletter-form input{ flex:1; min-width:0; background:transparent; border:0; outline:0; color:var(--ft-input); font-size:14.5px; padding:9px 4px 9px 14px; }
.newsletter-form button{ flex:none; width:40px; height:40px; border-radius:50%; display:grid; place-items:center; background:var(--pill-grad); color:#fff; }
.newsletter-msg{ font-size:13px; margin-top:10px; min-height:18px; color:var(--ft-msg); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; padding-top:26px; font-size:13.5px; }
.footer-legal{ display:flex; gap:22px; }

/* ============ MODAL ============ */
.modal-overlay{
  position:fixed; inset:0; z-index:1000; display:grid; place-items:center; padding:20px;
  background:rgba(5,11,22,.72);
  opacity:0; visibility:hidden; pointer-events:none; transition:opacity .25s ease, visibility 0s linear .25s;
}
.modal-overlay.open{ opacity:1; visibility:visible; pointer-events:auto; transition-delay:0s; }
.modal{
  position:relative; overflow:hidden; width:100%; max-width:440px;
  background:var(--card); color:var(--text); border:1px solid var(--border); border-radius:24px;
  padding:36px 32px 28px; box-shadow:0 40px 90px -30px rgba(2,20,60,.6);
  transform:translateY(14px) scale(.98); transition:transform .3s ease;
}
.modal::before{ content:""; position:absolute; left:0; right:0; top:0; height:4px; background:var(--brand-grad); }
.modal-overlay.open .modal{ transform:none; }
.modal-close{ position:absolute; top:16px; right:16px; width:36px; height:36px; border-radius:50%; display:grid; place-items:center; color:var(--text-2); background:var(--raised); border:1px solid var(--border); }
.modal-close:hover{ color:var(--text); }
.modal-mark{ width:40px; height:48px; margin-bottom:18px; }
.modal h3{ font-size:22px; font-weight:700; margin-bottom:8px; }
.modal-sub, .modal-success p{ font-size:14.5px; color:var(--text-2); margin-bottom:22px; }
.modal-form{ display:flex; flex-direction:column; gap:12px; }
.modal-form input[type=email]{ width:100%; padding:15px 18px; border-radius:14px; font-size:15.5px; background:var(--raised); border:1px solid var(--border); }
.modal-form input[type=email]::placeholder{ color:var(--text-2); opacity:1; }
.modal-form input[type=email]:focus{ outline:2.5px solid var(--focus); outline-offset:1px; }
.modal-msg{ font-size:13.5px; }
.modal-msg:empty{ display:none; }
.modal-msg.err{ color:var(--danger); }
.modal-foot{ font-size:12.5px; color:var(--text-2); margin-top:12px; line-height:1.55; }
.modal-foot a{ color:var(--link); text-decoration:underline; }
.modal-success{ text-align:center; padding-top:12px; }
.modal-success .check{ width:60px; height:60px; border-radius:50%; margin:0 auto 18px; display:grid; place-items:center; background:var(--brand-grad); color:#fff; }
.modal-success p{ margin:8px 0 0; }

/* ============ RESPONSIVE ============ */
@media (max-width:1100px){
  .hero-grid{ grid-template-columns:minmax(0,1fr) minmax(0,.75fr); gap:24px; }
  .chip-2{ right:0; }
  .feat-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-top{ grid-template-columns:repeat(3,1fr); }
  .footer-brand{ grid-column:1 / -1; }
  .newsletter{ grid-column:1 / -1; max-width:420px; }
}
@media (max-width:980px){
  /* CSS-only menu: the visually-hidden #navCheck checkbox toggles the nav */
  .mobile-toggle{ display:inline-flex; }
  .nav-check:focus-visible ~ .nav-right .mobile-toggle{ outline:2.5px solid var(--hero-link); outline-offset:3px; }
  .nav-check:checked ~ .nav-right .mobile-toggle{ background:rgba(56,176,253,.25); }
  .nav-links{
    display:none; position:absolute; top:100%; left:0; right:0;
    flex-direction:column; align-items:stretch; gap:2px; padding:10px 16px 18px;
    background:var(--menu-bg); border-bottom:1px solid var(--menu-line);
    box-shadow:0 20px 40px -20px rgba(0,0,0,.6);
  }
  .nav-check:checked ~ .nav-links{ display:flex; }
  .nav-links a{ padding:12px 14px; font-size:15.5px; }
  .nav-links a.active::after{ display:none; }
  .nav-links a.active{ background:var(--hero-fill); }

  .hero{ padding:calc(var(--header-h) + 56px) 0 140px; }
  .hero-grid{ grid-template-columns:minmax(0,1fr); }
  .hero-art{ display:none; }
  .hero-copy{ max-width:680px; }
  .hero-watermark{ height:620px; right:-180px; bottom:-120px; opacity:.09; }
  .pillars{ grid-template-columns:1fr 1fr; }
  .pillar + .pillar{ border-left:0; }
  .pillar:nth-child(even){ border-left:1px solid var(--border); }
  .pillar:nth-child(n+3){ border-top:1px solid var(--border); }
  .section{ padding:88px 0; }
  .sec-head{ flex-direction:column; align-items:flex-start; gap:12px; }
  .side-text{ text-align:left; }
  .panel-section{ padding:48px 32px; }
  .panel-head{ flex-direction:column; align-items:flex-start; }
  .panel-grid{ grid-template-columns:1fr 1fr; }
  .faq-grid{ grid-template-columns:1fr; gap:32px; }
  .faq-head{ position:static; }
  .cta-banner{ flex-direction:column; align-items:flex-start; padding:44px 36px; }
}
@media (max-width:640px){
  :root{ --header-h:68px; }
  .wrap{ padding:0 16px; }
  .logo img{ height:32px; }
  .nav-right{ gap:6px; }
  .nav-right .btn-sm{ padding:10px 14px; font-size:13.5px; }
  .nav-right .btn-sm .arrow, .hide-xs{ display:none; }
  .icon-btn{ width:38px; height:38px; }
  .hero{ padding:calc(var(--header-h) + 40px) 0 120px; }
  .badge{ font-size:12px; margin-bottom:22px; }
  .hero h1{ font-size:clamp(34px,9.6vw,44px); }
  .hero .sub{ margin-bottom:26px; }
  .glass-pill{ flex-direction:column; align-items:stretch; border-radius:22px; padding:8px; gap:6px; }
  .pill-icon{ display:none; }
  .glass-pill input{ width:100%; padding:13px 14px; }
  .glass-pill .btn{ padding:16px 20px; }
  .hero-msg, .reassure{ margin-left:6px; }
  .see-how{ margin-left:0; flex-basis:100%; margin-top:6px; }
  .joined-row{ margin-top:28px; }
  .hero-watermark{ height:440px; right:-150px; bottom:-60px; }
  .pillars-wrap{ margin-top:-72px; }
  .pillars{ grid-template-columns:1fr; }
  .pillar{ padding:20px; }
  .pillar:nth-child(even){ border-left:0; }
  .pillar:nth-child(n+2){ border-top:1px solid var(--border); }
  .section{ padding:72px 0; }
  .feat-grid{ grid-template-columns:1fr; gap:14px; }
  .feat-card{ padding:24px 22px 26px; }
  .feat-card .icon-tile{ margin-bottom:18px; }
  .panel-section{ padding:40px 20px; border-radius:22px; }
  .panel-grid{ grid-template-columns:1fr; gap:12px; }
  .panel-card{ padding:18px; }
  .faq-sum{ font-size:15px; padding:18px; }
  .faq-a p{ padding:0 18px 18px; }
  .cta-section{ padding-bottom:48px; }
  .cta-banner{ padding:36px 22px; border-radius:22px; }
  .cta-right, .cta-banner .btn{ width:100%; }
  .footer-top{ grid-template-columns:1fr 1fr; gap:32px 24px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }

  /* Sticky join bar: last child of .after-hero (starts below the pillars), so it
     can only stick once the hero has scrolled away; it comes to rest just above the footer. */
  .mobile-join{
    display:block; position:sticky; bottom:0; z-index:50;
    padding:12px 16px calc(12px + env(safe-area-inset-bottom));
    background:var(--hdr-bg); border-top:1px solid var(--hdr-line);
    -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
  }
  .mobile-join .btn{ padding:15px 20px; }
}
@media (max-width:380px){
  .logo img{ height:28px; }
  .nav-right .btn-sm{ padding:10px 12px; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .blob, .app-icon, .chip, .dot::after{ animation:none; }
  *,*::before,*::after{ transition-duration:.01ms !important; }
}

/* Line breaks that only make sense on wide screens */
@media (max-width:640px){ .br-lg{ display:none; } }

/* ============================================================
   INNER PAGES (about, contact, privacy, terms, 404)
   Everything below is used only by the inner pages; it reuses the
   home page's tokens, aurora, dots, cards, panel and CTA banner.
   ============================================================ */

/* extra tokens: form-field outlines strong enough for 3:1 against the card */
:root{ --field-line:#7E8CA3; }
html[data-theme="dark"]{ --field-line:#6A9AD8; }
@media (prefers-color-scheme: dark){ html:not([data-theme]){ --field-line:#6A9AD8; } }

/* JS shows these by setting style.display (no inline style="display:none" needed) */
#waitlistSuccess, #feedbackSuccess{ display:none; }

.btn-outline{ color:var(--text); background:var(--card); border:1px solid var(--border); }
.btn-outline:hover{ border-color:var(--link); }

/* ---------- page hero: a shorter version of the home hero ---------- */
.page-hero{
  position:relative; isolation:isolate; overflow:hidden;
  margin-top:calc(var(--header-h) * -1);
  padding:calc(var(--header-h) + 76px) 0 84px;
  background:var(--hero-bg); color:var(--hero-text);
}
.page-hero::after{
  content:""; position:absolute; left:0; right:0; bottom:0; z-index:-1; pointer-events:none;
  height:140px; background:linear-gradient(transparent, var(--hero-bg));
}
.page-hero .hero-watermark{ height:min(150%, 620px); right:-3%; bottom:-38%; }
.page-hero :focus-visible{ outline-color:var(--hero-link); }
.page-hero-copy > *{ max-width:760px; }
.page-hero h1{ font-size:clamp(34px,4.6vw,58px); font-weight:700; line-height:1.08; letter-spacing:-.03em; margin-bottom:18px; text-wrap:balance; }
.page-hero .grad-text{ background-image:var(--hero-grad); }
.page-hero .lede{ font-size:clamp(16px,1.35vw,18px); line-height:1.65; color:var(--hero-text-2); max-width:620px; }
.page-meta{
  display:inline-flex; align-items:center; gap:8px; margin-top:24px;
  font-size:13.5px; font-weight:500; color:var(--hero-text-2);
  padding:7px 14px; border-radius:999px; background:var(--hero-fill); border:1px solid var(--hero-line);
}
.page-meta svg{ color:var(--hero-ic); }
.page-hero .btn-outline{ color:var(--hero-text); background:var(--hero-fill); border-color:var(--hero-line); }
.page-hero .btn-outline:hover{ border-color:var(--hero-link); }

/* ---------- sections ---------- */
.inner-section{ padding:96px 0; }
.inner-section + .inner-section{ padding-top:0; }
.inner-section h2, .status-head h2{ font-size:clamp(28px,3.4vw,42px); font-weight:700; }
.split{ display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:64px; align-items:start; }
.lead-prose p{ font-size:17px; line-height:1.75; color:var(--text-2); }
.lead-prose p + p{ margin-top:18px; }
.lead-prose p:last-child{ color:var(--text); font-weight:500; }
.feat-card p a, .contact-card p a, .feedback-intro a, .form-foot a{ color:var(--link); text-decoration:underline; text-underline-offset:2px; }

/* about: where we are now */
.status-card{
  background:var(--card); border:1px solid var(--border); border-radius:28px;
  padding:48px; box-shadow:var(--shadow-card);
}
.status-head{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px 56px; align-items:end; margin-bottom:36px; }
.status-head p{ color:var(--text-2); }
.status-steps{ list-style:none; display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.status-step{ padding:24px; border-radius:18px; background:var(--bg); border:1px solid var(--border); }
.status-step.is-now{ background:var(--tile-bg); border:2px solid var(--open-line); }
.status-dot{
  width:30px; height:30px; border-radius:50%; margin-bottom:14px;
  display:grid; place-items:center; background:var(--brand-grad); color:#fff;
}
.status-step.is-now .status-dot{ background:var(--teal); box-shadow:0 0 0 6px rgba(46,230,214,.22); }
.status-step.is-next .status-dot{ background:transparent; border:2px dashed var(--text-2); }
.status-label{ display:block; font-size:12px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--text-2); margin-bottom:4px; }
.status-step.is-now .status-label{ color:var(--text); }
.status-step h3{ font-size:18px; font-weight:600; margin-bottom:6px; }
.status-step p{ font-size:14.5px; color:var(--text-2); }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.contact-card{
  position:relative; isolation:isolate; overflow:hidden;
  display:flex; flex-direction:column; align-items:flex-start; gap:10px;
  background:var(--card); border:1px solid var(--border); border-radius:20px;
  padding:28px 24px; box-shadow:var(--shadow-card);
}
.contact-card .icon-tile{ margin-bottom:8px; }
.contact-card h2{ font-size:18px; font-weight:600; letter-spacing:-.01em; }
.contact-card p{ font-size:14.5px; color:var(--text-2); }
.card-link{ margin-top:auto; padding-top:8px; color:var(--link); font-weight:600; font-size:15px; border-radius:6px; word-break:break-word; }
.card-link .arrow{ display:inline-block; transition:transform .2s ease; }
.card-link:hover .arrow{ transform:translateX(3px); }
.social-list{ list-style:none; width:100%; margin-top:auto; }
.social-list li + li{ border-top:1px solid var(--border); }
.social-list a{ display:flex; align-items:center; gap:12px; padding:10px 0; font-weight:600; font-size:15px; color:var(--text); border-radius:6px; }
.social-list a:hover{ color:var(--link); }
.social-list svg{ flex:none; color:var(--link); }
.social-list small{ display:block; font-size:13px; font-weight:400; color:var(--text-2); }
.contact-card.is-navy{
  color:#fff; border-color:var(--panel-line);
  background:
    radial-gradient(80% 70% at 0% 0%, rgba(2,87,209,.65), rgba(2,87,209,0) 70%),
    radial-gradient(70% 60% at 100% 100%, rgba(46,230,214,.2), rgba(46,230,214,0) 70%),
    var(--panel-bg);
}
.contact-card.is-navy p{ color:var(--on-navy-2); }
.contact-card.is-navy .icon-tile{ background:rgba(56,176,253,.16); color:var(--link-on-navy); border:1px solid rgba(124,203,254,.28); }
.contact-card.is-navy .btn{ margin-top:auto; }
.contact-card.is-navy :focus-visible{ outline-color:#7CCBFE; }
.contact-mark{ position:absolute; z-index:-1; right:-36px; bottom:-40px; height:180px; width:auto; opacity:.12; transform:rotate(-10deg); filter:brightness(2.2) saturate(.4); }

.feedback-card{
  display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:56px;
  background:var(--card); border:1px solid var(--border); border-radius:28px;
  padding:52px; box-shadow:var(--shadow-card);
}
.feedback-intro h2{ font-size:clamp(26px,3vw,36px); margin-bottom:16px; }
.feedback-intro p{ color:var(--text-2); }
.fi-note{ margin-top:16px; font-size:14px; padding-top:16px; border-top:1px solid var(--border); }
.feedback-form{ display:flex; flex-direction:column; gap:18px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field label{ display:block; font-size:14px; font-weight:600; margin-bottom:7px; }
.opt{ font-weight:400; color:var(--text-2); }
.field input, .field select, .field textarea{
  display:block; width:100%; font:inherit; font-size:15.5px; color:var(--text);
  padding:13px 16px; border-radius:12px; background:var(--raised); border:1px solid var(--field-line);
}
.field textarea{ min-height:170px; resize:vertical; line-height:1.55; }
.field input::placeholder, .field textarea::placeholder{ color:var(--text-2); opacity:1; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:2.5px solid var(--focus); outline-offset:1px; border-color:var(--focus); }
.select-wrap{ position:relative; }
.select-wrap select{ appearance:none; -webkit-appearance:none; padding-right:44px; cursor:pointer; }
.select-wrap::after{
  content:""; position:absolute; right:18px; top:50%; width:8px; height:8px; pointer-events:none;
  border-right:2px solid var(--text-2); border-bottom:2px solid var(--text-2); transform:translateY(-70%) rotate(45deg);
}
.char-count{ font-size:12.5px; color:var(--text-2); text-align:right; margin-top:6px; }
.hp{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.form-msg{ font-size:14px; }
.form-msg.err{ color:var(--danger); }
.form-foot{ font-size:13px; color:var(--text-2); text-align:center; }
.feedback-success{ text-align:center; padding:40px 8px; }
.feedback-success .check{ width:60px; height:60px; border-radius:50%; margin:0 auto 18px; display:grid; place-items:center; background:var(--brand-grad); color:#fff; }
.feedback-success h3{ font-size:22px; margin-bottom:8px; }
.feedback-success p{ color:var(--text-2); margin-bottom:22px; }

/* ---------- legal pages (privacy, terms) ---------- */
.legal-section{ padding-top:72px; }
.legal-layout{ display:grid; grid-template-columns:250px minmax(0,1fr); gap:72px; align-items:start; }
.toc{
  position:sticky; top:calc(var(--header-h) + 24px);
  max-height:calc(100vh - var(--header-h) - 48px); overflow-y:auto;
  background:var(--card); border:1px solid var(--border); border-radius:18px;
  padding:20px 14px; box-shadow:var(--shadow-card);
}
.toc-title{ font-size:12px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--text-2); padding:0 10px 10px; }
.toc ol, .toc-mobile ol{ list-style:none; }
.toc a, .toc-mobile a{
  display:flex; gap:10px; padding:7px 10px; border-radius:10px;
  font-size:14px; line-height:1.4; color:var(--text-2); transition:background-color .2s ease, color .2s ease;
}
.toc a:hover, .toc-mobile a:hover{ background:var(--raised); color:var(--text); }
.toc-num{ flex:none; min-width:1.4em; font-weight:600; color:var(--link); }
.toc-mobile{ display:none; }
.legal-body{ max-width:70ch; min-width:0; }
.legal-body [id]{ scroll-margin-top:calc(var(--header-h) + 24px); }
.legal-body h2{
  display:flex; align-items:center; gap:14px;
  font-size:clamp(20px,2vw,24px); font-weight:700; margin:56px 0 16px;
}
.legal-body h3{ font-size:17px; font-weight:600; margin:26px 0 8px; }
.sec-num{
  flex:none; width:36px; height:36px; border-radius:11px; display:grid; place-items:center;
  font-size:15px; letter-spacing:0; background:var(--tile-bg); color:var(--num-fg);
}
.legal-body p, .legal-body li{ font-size:16px; line-height:1.75; color:var(--text-2); }
.legal-body p + p, .legal-body ul + p, .legal-body p + ul{ margin-top:14px; }
.legal-body ul{ padding-left:1.25em; }
.legal-body li + li{ margin-top:8px; }
.legal-body li::marker{ color:var(--link); }
.legal-body strong{ color:var(--text); font-weight:600; }
.legal-body a{ color:var(--link); text-decoration:underline; text-underline-offset:2px; }
.summary-box{
  position:relative; overflow:hidden; padding:30px 32px 30px 36px; border-radius:20px;
  background:var(--card); border:1px solid var(--border); box-shadow:var(--shadow-card);
}
.summary-box::before{ content:""; position:absolute; left:0; top:0; bottom:0; width:5px; background:var(--brand-grad); }
.legal-body .summary-title{ display:block; font-size:19px; margin:0 0 14px; }
.check-list{ list-style:none; padding-left:0 !important; }
.check-list li{ position:relative; padding-left:32px; color:var(--text); }
.check-list li::before{
  content:""; position:absolute; left:0; top:4px; width:20px; height:20px; border-radius:50%;
  background:var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1424' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- 404 ---------- */
.error-hero{ min-height:calc(100vh - 120px); display:flex; align-items:center; padding-bottom:96px; text-align:center; }
.error-copy{ display:flex; flex-direction:column; align-items:center; }
.err-code{ font-size:clamp(96px,17vw,184px); font-weight:700; line-height:1; letter-spacing:-.05em; margin-bottom:12px; }
.error-copy .lede{ margin:0 auto; }
.err-actions{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:32px; }
.err-links{ display:flex; flex-wrap:wrap; justify-content:center; gap:4px 8px; margin-top:28px; font-size:14.5px; }
.err-links a{ padding:6px 12px; border-radius:8px; color:var(--hero-link); font-weight:600; }
.err-links a:hover{ background:var(--hero-fill); }

/* ---------- inner pages: responsive ---------- */
@media (max-width:1100px){
  .contact-grid{ grid-template-columns:repeat(2,1fr); }
  .legal-layout{ grid-template-columns:220px minmax(0,1fr); gap:48px; }
}
@media (max-width:980px){
  .page-hero{ padding:calc(var(--header-h) + 56px) 0 72px; }
  .page-hero .hero-watermark{ height:420px; right:-140px; bottom:-120px; }
  .inner-section{ padding:80px 0; }
  .split{ grid-template-columns:1fr; gap:24px; }
  .status-card{ padding:36px 28px; }
  .status-head{ grid-template-columns:1fr; }
  .feedback-card{ grid-template-columns:1fr; gap:32px; padding:40px 32px; }
  .legal-section{ padding-top:48px; }
  .legal-layout{ grid-template-columns:1fr; gap:32px; }
  .toc{ display:none; }
  .toc-mobile{
    display:block; background:var(--card); border:1px solid var(--border); border-radius:16px; box-shadow:var(--shadow-card);
  }
  .toc-mobile summary{
    display:flex; align-items:center; justify-content:space-between; gap:12px;
    list-style:none; cursor:pointer; padding:14px 18px; font-weight:600; border-radius:16px;
  }
  .toc-mobile summary::-webkit-details-marker{ display:none; }
  .toc-mobile[open] .chev{ transform:rotate(180deg); }
  .toc-mobile ol{ padding:0 8px 12px; }
  .legal-body{ max-width:none; }
}
@media (max-width:760px){
  .status-steps{ grid-template-columns:1fr; }
  .field-row{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  .page-hero{ padding:calc(var(--header-h) + 40px) 0 56px; }
  .page-hero h1{ font-size:clamp(32px,9vw,42px); }
  .page-hero .hero-watermark{ height:320px; right:-120px; bottom:-90px; }
  .inner-section{ padding:64px 0; }
  .legal-section{ padding-top:32px; }
  .contact-grid{ grid-template-columns:1fr; gap:14px; }
  .status-card{ padding:28px 20px; border-radius:22px; }
  .feedback-card{ padding:28px 20px; border-radius:22px; }
  .summary-box{ padding:24px 20px 24px 26px; }
  .legal-body h2{ margin-top:44px; }
  .error-hero{ min-height:0; padding:calc(var(--header-h) + 56px) 0 80px; }
  .err-actions{ flex-direction:column; align-self:stretch; }
}
