/* ============================================================
   Air Note — one-page marketing site
   Night sky → paper → dusk. One easing family. Quiet luxury.
   ============================================================ */

:root {
  --night-deep: #0A1220;
  --night:      #0F2438;
  --dawn:       #2E4A63;
  --paper:      #F5F1E6;
  --card:       #FDFAF2;
  --hairline:   #E5DFCE;
  --ink:        #0F2438;
  --body:       #5F5B4E;
  --muted:      #9A937F;
  --accent:     #C96F3F;
  --chip-ochre-bg: #EDE3CC; --chip-ochre-fg: #6E5A2E;
  --chip-olive-bg: #E4E9E2; --chip-olive-fg: #44603F;
  --chip-slate-bg: #E3E8EC; --chip-slate-fg: #2E4A63;

  --cream: #F5F1E6;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, system-ui, sans-serif;
  /* Display face — Image 2. Söhne loads if the licensed files are present,
     otherwise it falls back cleanly to Inter (same grotesque look). */
  --display: "ABC Otto", "Inter", -apple-system, system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --glass-stroke-night: rgba(255,255,255,.14);
  --shadow-soft: 0 30px 80px rgba(6,12,22,.45);
  --shadow-tile: 0 1px 2px rgba(15,36,56,.03), 0 16px 44px rgba(15,36,56,.06);
}

/* ---- TRIAL PREVIEW ONLY — ABC Otto (Dinamo trial license, do NOT publish) ---- */
@font-face {
  font-family: "ABC Otto";
  src: url("assets/fonts/ABCOttoTrial-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ABC Otto";
  src: url("assets/fonts/ABCOttoTrial-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ABC Otto";
  src: url("assets/fonts/ABCOttoTrial-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--cream);
  background: var(--night-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(201,111,63,.28); }

/* ---------- fixed atmosphere stack ---------- */
.sky {
  position: fixed; inset: 0; z-index: -3;
  background: var(--night-deep);
  /* JS drives background-color; this radial adds depth on top of it */
}
.sky::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.05), transparent 55%);
}

#contextFlow {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  width: 100vw; height: 100vh;
  -webkit-mask-image: linear-gradient(to bottom, transparent 2%, #000 14%, #000 88%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 2%, #000 14%, #000 88%, transparent 100%);
}

.aurora { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.aurora i {
  position: absolute; border-radius: 50%;
  filter: blur(90px); mix-blend-mode: screen; opacity: .55;
  will-change: transform;
}
.aurora .a1 { width: 70vw; height: 46vh; left: -12vw; top: 6vh;  background: radial-gradient(closest-side, rgba(46,90,99,.55), transparent 70%); animation: drift-a 16s var(--ease) infinite alternate; }
.aurora .a2 { width: 58vw; height: 40vh; right: -14vw; top: 22vh; background: radial-gradient(closest-side, rgba(46,74,99,.5), transparent 70%);  animation: drift-b 13s var(--ease) infinite alternate; }
.aurora .a3 { width: 44vw; height: 30vh; left: 28vw;  top: 46vh; background: radial-gradient(closest-side, rgba(201,111,63,.16), transparent 70%); animation: drift-c 18s var(--ease) infinite alternate; }
@keyframes drift-a { from { transform: translate3d(var(--px1,0), var(--py1,0), 0) scale(1); }    to { transform: translate3d(calc(var(--px1,0px) + 5vw),  calc(var(--py1,0px) + 3vh), 0) scale(1.12); } }
@keyframes drift-b { from { transform: translate3d(var(--px2,0), var(--py2,0), 0) scale(1.08); } to { transform: translate3d(calc(var(--px2,0px) - 4vw),  calc(var(--py2,0px) + 4vh), 0) scale(.96); } }
@keyframes drift-c { from { transform: translate3d(var(--px3,0), var(--py3,0), 0) scale(1); }    to { transform: translate3d(calc(var(--px3,0px) + 3vw),  calc(var(--py3,0px) - 3vh), 0) scale(1.15); } }

.grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none;
  width: 200%; height: 200%;
  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='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .03;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  z-index: 50;
  display: flex; align-items: center; gap: 22px;
  padding: 10px 12px 10px 22px;
  border-radius: 999px;
  background: rgba(15,36,56,.34);
  border: 1px solid var(--glass-stroke-night);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 32px rgba(6,12,22,.35);
  transition: background .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease);
}
.nav::before {
  content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transition: opacity .6s var(--ease);
}
.nav .wordmark { font-family: var(--display); font-size: 19px; color: var(--cream); text-decoration: none; letter-spacing: .005em; white-space: nowrap; transition: color .6s var(--ease); }
.nav .nav-cta {
  font-size: 14px; font-weight: 500; text-decoration: none;
  color: var(--night); background: var(--cream);
  padding: 9px 18px; border-radius: 999px; white-space: nowrap;
  transition: background .6s var(--ease), color .6s var(--ease);
}
@media (max-width: 520px) {
  .nav { gap: 12px; padding: 8px 8px 8px 16px; }
  .nav .wordmark { font-size: 16px; }
  .nav .nav-cta { font-size: 12.5px; padding: 8px 14px; }
}
body.is-day .nav { background: rgba(253,250,242,.55); border-color: var(--hairline); box-shadow: 0 8px 28px rgba(15,36,56,.08); }
body.is-day .nav::before { opacity: .35; }
body.is-day .nav .wordmark { color: var(--ink); }
body.is-day .nav .nav-cta { background: var(--night); color: var(--cream); }

/* ---------- shared layout ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
section { position: relative; padding: 140px 0; }
@media (max-width: 720px) { section { padding: 80px 0; } }

h1, h2, .pullquote { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.12; margin-bottom: 22px; }

.eyebrow {
  font-family: var(--sans); font-size: 12.5px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: 15.5px; font-weight: 500;
  padding: 15px 30px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none;
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
  will-change: transform;
}
.btn-cream { background: var(--cream); color: var(--night); box-shadow: 0 10px 34px rgba(0,0,0,.3); }
.btn-navy  { background: var(--night); color: var(--cream); box-shadow: 0 10px 30px rgba(15,36,56,.28); }
.btn .sweep {
  position: absolute; top: -20%; bottom: -20%; width: 36%;
  left: -50%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  opacity: 0; pointer-events: none;
}
.btn:hover .sweep, .btn.swept .sweep { animation: sweep .9s var(--ease) 1; }
@keyframes sweep { 0% { left: -50%; opacity: 0; } 12% { opacity: 1; } 100% { left: 120%; opacity: 0; } }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid #7FA6C7; outline-offset: 3px; }

/* ---------- early access signup ---------- */
body.signup-open { overflow: hidden; }
.cta-start { min-width: 220px; }
.signup-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .28s var(--ease), visibility .28s; }
.signup-modal.is-open { visibility: visible; opacity: 1; }
.signup-backdrop { position: absolute; inset: 0; background: rgba(6, 12, 22, .74); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.signup-dialog { position: relative; width: min(680px, 100%); min-height: 530px; max-height: calc(100vh - 40px); overflow: auto; padding: 34px 42px 30px; color: var(--ink); background: #FDFAF2; border: 1px solid rgba(255,255,255,.7); border-radius: 28px; box-shadow: 0 36px 100px rgba(3, 9, 18, .5), inset 0 1px 0 #fff; transform: translateY(18px) scale(.985); transition: transform .35s var(--ease); }
.signup-modal.is-open .signup-dialog { transform: none; }
.signup-modal.is-arriving .signup-dialog { animation: signup-arrive .72s var(--ease) both; }
.signup-modal.is-arriving .signup-backdrop { animation: signup-backdrop-in .7s var(--ease) both; }
@keyframes signup-arrive { 0% { opacity: 0; transform: translateY(34px) scale(.94); } 55% { opacity: 1; transform: translateY(-4px) scale(1.006); } 100% { opacity: 1; transform: none; } }
@keyframes signup-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
.cta-launching { animation: cta-launch .68s var(--ease) both !important; }
@keyframes cta-launch { 0% { transform: scale(1); } 35% { transform: scale(.95); box-shadow: 0 4px 16px rgba(0,0,0,.22); } 70% { transform: scale(1.055); } 100% { transform: scale(1); } }
.signup-launch-burst { position: fixed; z-index: 120; width: 0; height: 0; pointer-events: none; }
.launch-ring, .launch-spark { position: absolute; left: 0; top: 0; display: block; pointer-events: none; }
.launch-ring { width: 22px; height: 22px; margin: -11px; border: 1px solid rgba(245,241,230,.75); border-radius: 50%; animation: launch-ring .78s var(--ease) both; }
.launch-spark { width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: #AFC7D8; transform: rotate(var(--angle)) translateX(0) scale(1); animation: launch-spark .72s var(--ease) var(--delay) both; }
@keyframes launch-ring { from { opacity: .9; transform: scale(.6); } to { opacity: 0; transform: scale(6); } }
@keyframes launch-spark { 0% { opacity: 0; transform: rotate(var(--angle)) translateX(0) scale(.4); } 25% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--angle)) translateX(var(--distance)) scale(0); } }
.signup-celebration { position: absolute; z-index: 3; top: 37%; left: 50%; width: 0; height: 0; pointer-events: none; }
.signup-celebration i { position: absolute; width: var(--size); height: var(--size); margin: calc(var(--size) / -2); border-radius: 50%; background: #7FA6C7; box-shadow: 0 0 10px rgba(127,166,199,.45); animation: celebration-spark .95s var(--ease) var(--delay) both; }
.signup-celebration i:nth-child(3n) { background: #2E5E8E; }
.signup-celebration i:nth-child(3n + 1) { background: #F5F1E6; border: 1px solid #B8CAD7; }
@keyframes celebration-spark { 0% { opacity: 0; transform: rotate(var(--angle)) translateX(0) scale(.3); } 18% { opacity: 1; } 72% { opacity: .8; } 100% { opacity: 0; transform: rotate(var(--angle)) translateX(var(--distance)) scale(0); } }
.signup-modal.is-final-step .signup-backdrop { background: rgba(10,24,38,.78); }
.signup-dialog.final-step-arrival { animation: final-step-glow .9s var(--ease) both; }
@keyframes final-step-glow { 0%,100% { box-shadow: 0 36px 100px rgba(3,9,18,.5), inset 0 1px 0 #fff; } 45% { box-shadow: 0 38px 110px rgba(3,9,18,.56), 0 0 0 7px rgba(127,166,199,.12), inset 0 1px 0 #fff; } }
.signup-modal.is-complete .signup-dialog { animation: complete-card .9s var(--ease) both; }
.signup-modal.is-complete .signup-backdrop { background: radial-gradient(circle at 50% 42%, rgba(46,94,142,.3), transparent 42%), rgba(6,12,22,.82); }
@keyframes complete-card { 0% { transform: scale(.975); } 45% { transform: scale(1.012); } 100% { transform: none; } }
.signup-close { position: absolute; z-index: 2; top: 18px; right: 20px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--hairline); border-radius: 50%; color: var(--body); background: rgba(255,255,255,.62); font: 300 26px/1 var(--sans); cursor: pointer; }
.signup-close:hover { background: #fff; }
.signup-progress { height: 3px; margin: 6px 50px 28px 0; overflow: hidden; border-radius: 3px; background: var(--hairline); }
.signup-progress span { display: block; width: 20%; height: 100%; border-radius: inherit; background: var(--accent); transition: width .45s var(--ease); }
.signup-kicker { margin-bottom: 22px; color: var(--muted); font: 500 12px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.signup-step { display: none; animation: signup-in .4s var(--ease) both; }
.signup-step.is-active { display: block; }
@keyframes signup-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.signup-step h2, .signup-success h2 { max-width: 560px; margin-bottom: 10px; color: var(--ink); font-size: clamp(2rem, 5vw, 2.8rem); }
.signup-step > p, .signup-success p { color: var(--body); line-height: 1.55; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.choice { min-height: 62px; padding: 14px 16px; border: 1px solid var(--hairline); border-radius: 16px; color: var(--ink); background: rgba(255,255,255,.64); font: 500 14px/1.35 var(--sans); text-align: left; cursor: pointer; transition: transform .2s var(--ease), border-color .2s, background .2s, box-shadow .2s; }
.choice:hover, .choice:focus-visible { transform: translateY(-2px); border-color: #B9C7D1; background: #fff; box-shadow: 0 10px 26px rgba(15,36,56,.09); outline: 0; }
.choice.is-selected { border-color: var(--night); background: var(--night); color: var(--cream); }
.choice--wide { grid-column: 1 / -1; }
.signup-label { display: block; margin: 28px 0 8px; color: var(--ink); font: 500 13px var(--sans); }
.signup-email { width: 100%; height: 58px; padding: 0 18px; border: 1px solid var(--hairline); border-radius: 15px; color: var(--ink); background: #fff; font: 400 16px var(--sans); }
.signup-email.invalid { border-color: #A94442; box-shadow: 0 0 0 3px rgba(169,68,66,.1); }
.signup-consent { display: flex; align-items: flex-start; gap: 10px; margin: 15px 0 0; color: var(--body); font: 400 13px/1.45 var(--sans); cursor: pointer; }
.signup-consent input { width: 17px; height: 17px; margin-top: 1px; accent-color: var(--night); }
.signup-error { min-height: 22px; margin-top: 8px; color: #963D3D !important; font-size: 13px; }
.signup-submit { width: 100%; margin-top: 8px; border-radius: 16px; color: var(--cream); background: var(--night); box-shadow: 0 10px 28px rgba(15,36,56,.2); }
.signup-submit:disabled { cursor: wait; opacity: .7; }
.signup-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--hairline); color: var(--muted); font: 400 12px var(--sans); }
.signup-back { padding: 8px 0; border: 0; color: var(--body); background: transparent; font: 500 13px var(--sans); cursor: pointer; }
.signup-back:disabled { visibility: hidden; }
.signup-success { display: none; padding: 64px 0 26px; text-align: center; }
.signup-success.is-active { display: block; animation: signup-in .5s var(--ease) both; }
.signup-success h2 { margin-inline: auto; }
.signup-success p { max-width: 440px; margin: 0 auto 24px; }
.signup-success-mark { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 22px; border-radius: 50%; color: var(--cream); background: var(--night); font-size: 24px; }
.signup-success.is-active .signup-success-mark { animation: success-mark .78s var(--ease) .12s both; }
@keyframes success-mark { 0% { opacity: 0; transform: scale(.45) rotate(-18deg); } 60% { opacity: 1; transform: scale(1.12) rotate(3deg); } 100% { opacity: 1; transform: none; } }
.signup-success .signup-submit { max-width: 220px; }
@media (max-width: 620px) {
  .signup-modal { padding: 0; align-items: end; }
  .signup-dialog { width: 100%; min-height: min(610px, 94vh); max-height: 94vh; padding: 28px 20px 24px; border-radius: 26px 26px 0 0; }
  .signup-progress { margin-right: 48px; }
  .choice-grid, .choice-grid--three { grid-template-columns: 1fr; gap: 9px; }
  .choice { min-height: 54px; }
  .choice--wide { grid-column: auto; }
  .signup-footer { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .signup-modal.is-arriving .signup-dialog, .signup-modal.is-arriving .signup-backdrop,
  .cta-launching, .signup-dialog.final-step-arrival, .signup-modal.is-complete .signup-dialog,
  .signup-success.is-active .signup-success-mark { animation: none !important; }
  .signup-launch-burst, .signup-celebration { display: none; }
}

/* ---------- reveals ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0s; }
.reveal.d2 { transition-delay: .09s; }
.reveal.d3 { transition-delay: .18s; }

/* hero word reveal */
.word { display: inline-block; opacity: 0; transform: translateY(.55em); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.word.in { opacity: 1; transform: none; }

/* ============================================================
   ACT I — HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column;
  text-align: center;
}
.hero > .wrap { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; width: 100%; }

/* The copy (headline, subhead, button) fills the top ~78% of the small
   viewport and is centred within it; the phone starts right after, so its top
   ALWAYS peeks above the fold — the remaining ~22svh — on any screen, desktop
   AND mobile. min-height (not a fixed flex basis) lets tiny screens grow the
   block instead of overlapping. svh stays stable under mobile URL bars. The
   subhead → convergence → button spacing stays equal because the stream's
   focus point is drawn at the exact midpoint of that gap (see app.js). */
.hero-copy {
  flex: 0 0 auto;
  min-height: 78vh;
  min-height: 78svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding-top: clamp(64px, 8vh, 104px);
  width: 100%;
}
.hero .sub {
  max-width: 34em; margin: clamp(18px, 2.6vh, 30px) auto 0;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(245,241,230,.75);
}
.hero .cta-row {
  display: flex; align-items: center; justify-content: center;
  margin-top: clamp(60px, 9vh, 116px);
}
@media (max-width: 720px) {
  /* Phones keep the same 78svh pin so the app mockup always peeks;
     just tighter breathing room around the copy. */
  .hero-copy { padding-top: clamp(84px, 12svh, 118px); }
  .hero .sub { margin-top: 18px; }
  .hero .cta-row { margin-top: 44px; }
}

.clouds {
  position: absolute; inset: 0 0 auto; height: 100svh;
  pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 28%, #000 72%, #000 90%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 28%, #000 72%, #000 90%, transparent 100%);
  opacity: .5;
}
.clouds i {
  position: absolute; border-radius: 50%; filter: blur(46px);
  background: radial-gradient(closest-side, rgba(214,226,238,.4), transparent 70%);
}
.clouds .c1 { width: 60vw; height: 18vh; left: -8vw;  bottom: -4vh; animation: cloud-drift 40s linear infinite alternate; }
.clouds .c2 { width: 48vw; height: 15vh; left: 30vw;  bottom: -6vh; animation: cloud-drift 52s linear infinite alternate-reverse; }
.clouds .c3 { width: 55vw; height: 16vh; right: -12vw; bottom: -3vh; animation: cloud-drift 46s linear infinite alternate; }
@keyframes cloud-drift { from { transform: translateX(0); } to { transform: translateX(9vw); } }

/* ============================================================
   THE PHONE — pure CSS
   ============================================================ */
.phone-wrap { margin: 0 auto; position: relative; width: max-content; max-width: 100%; }
@media (max-width: 720px) { .phone-wrap { margin-top: 12px; } }
.phone-wrap.levitate { animation: levitate 6s ease-in-out infinite; }
@keyframes levitate {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 44px 40px rgba(4,10,18,.5)); }
  50%      { transform: translateY(-6px); filter: drop-shadow(0 56px 48px rgba(4,10,18,.42)); }
}

.phone {
  width: min(300px, 82vw); aspect-ratio: 9 / 19;
  background: #0B0D11;
  border-radius: 48px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,.18);
  position: relative;
}
.phone .island {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 25px; border-radius: 999px; background: #000; z-index: 6;
}
.phone .screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 40px; overflow: hidden;
  background: var(--paper);
  font-size: 12px; line-height: 1.45; color: var(--body);
  text-align: left;
}

/* real app screenshots — the OS status-bar band is flattened in the asset,
   so .phone .island supplies the cutout and the shot sits flush in the screen */
.pshot {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}

/* screen states */
.pscreen { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); }
.pscreen.active { opacity: 1; }

.p-day-title { font-family: var(--display); font-size: 25px; color: var(--ink); line-height: 1.1; }
.p-date { font-size: 10px; color: var(--muted); margin-bottom: 2px; }
.p-card {
  background: var(--card); border: 1px solid var(--hairline); border-radius: 13px;
  padding: 9px 11px; box-shadow: 0 1px 2px rgba(15,36,56,.05);
}
.p-card .t { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.p-card .t b { font-weight: 500; color: var(--ink); font-size: 11.5px; }
.p-card .t time { font-size: 9px; color: var(--muted); white-space: nowrap; }
.p-card p { font-size: 10px; color: var(--body); margin-top: 2px; }
.p-chips { display: flex; gap: 4px; margin-top: 6px; align-items: center; }
.chip { font-size: 8.5px; padding: 2px 8px; border-radius: 999px; }
.chip.ochre { background: var(--chip-ochre-bg); color: var(--chip-ochre-fg); }
.chip.olive { background: var(--chip-olive-bg); color: var(--chip-olive-fg); }
.chip.slate { background: var(--chip-slate-bg); color: var(--chip-slate-fg); }
.p-min { font-size: 8.5px; color: var(--muted); }

.p-askbar {
  margin-top: auto;
  display: flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: 18px; padding: 8px 8px 8px 13px;
  box-shadow: 0 4px 14px rgba(15,36,56,.08);
}
.p-askbar span { flex: 1; color: var(--muted); font-size: 10.5px; }
.p-rec {
  width: 30px; height: 30px; border-radius: 999px; background: var(--night);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.p-rec svg { width: 12px; height: 12px; stroke: var(--cream); }

/* processed state */
.p-proc-title { font-family: var(--display); font-size: 19px; color: var(--ink); line-height: 1.18; }
.p-meta { font-size: 9px; color: var(--muted); }
.p-tldr { font-size: 10.5px; color: var(--body); border-left: 2px solid var(--hairline); padding-left: 8px; }
.p-sec { font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.p-li { font-size: 10px; color: var(--body); }
.p-share {
  margin-top: auto; align-self: center;
  background: var(--night); color: var(--cream);
  font-size: 10.5px; font-weight: 500; padding: 8px 22px; border-radius: 999px;
}

/* ask state */
.p-q, .p-a { max-width: 88%; border-radius: 13px; padding: 8px 10px; font-size: 10.5px; }
.p-q { background: var(--night); color: var(--cream); align-self: flex-end; }
.p-a { background: var(--card); border: 1px solid var(--hairline); color: var(--body); align-self: flex-start; }
.p-src { font-size: 8.5px; color: var(--muted); }

/* ============================================================
   ACT II — day sections
   ============================================================ */
.act2 { position: relative; }
.act2-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 72px; align-items: start; }

.phone-col { position: sticky; top: 10vh; padding-top: 6vh; display: flex; justify-content: center; }
@media (max-width: 940px) {
  .act2-grid { grid-template-columns: 1fr; }
  .phone-col { display: none; }
}

.benefit { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; padding: 60px 0; }
/* unshipped feature — deliberately quieter than the three shipped pillars */
.benefit--soon { min-height: 0; padding: 20px 0 80px; opacity: .82; }
.benefit--soon h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.benefit h2 { color: var(--ink); }
.benefit .copy { color: var(--body); max-width: 34em; font-size: clamp(1rem, 1.4vw, 1.13rem); }

/* mobile-only inline phone */
.phone-inline { display: none; margin: 40px auto 0; }
@media (max-width: 940px) { .phone-inline { display: block; } }

/* glass chat card (day) */
.chat-card {
  margin-top: 40px; max-width: 460px;
  background: rgba(253,250,242,.62);
  border: 1px solid var(--hairline);
  border-radius: 24px; padding: 22px;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(15,36,56,.10);
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
}
.chat-card::before {
  content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent);
}
.bub { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.bub.out { background: var(--chip-olive-bg); color: #2F4630; align-self: flex-end; border-bottom-right-radius: 5px; }
.bub.in-b { background: #FFFFFF; border: 1px solid var(--hairline); color: var(--body); align-self: flex-start; border-bottom-left-radius: 5px; }
.bub.voice { display: flex; align-items: center; gap: 9px; }
.bub.voice .bars { display: flex; gap: 2px; align-items: center; }
.bub.voice .bars i { width: 2.5px; border-radius: 2px; background: #44603F; opacity: .7; }
.bub .tick { color: var(--chip-olive-fg); font-weight: 500; }
.src-chips { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.src-chips .chip { font-size: 11px; padding: 4px 11px; }

/* pull-quote */
.pullquote-block { padding: 60px 0 20px; }
.pullquote {
  font-style: italic; font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.3; color: var(--ink); max-width: 21em;
}
.pullquote .mark { color: var(--accent); font-style: normal; }

/* ---------- proof strip ---------- */
.proof { padding: 90px 0; }
.proof .strip {
  display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  padding: 44px 8px;
}
.stat { flex: 1; min-width: 180px; text-align: center; }
.stat .num { font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.stat .num small { font-size: .45em; color: var(--body); margin-left: 4px; }
.stat .lbl { font-size: 14px; color: var(--body); margin-top: 8px; }
/* label-only proof points — no number, so the serif carries the weight */
.stat--phrase .p-icon {
  width: clamp(32px, 2.6vw, 38px); height: auto; display: block; margin: 0 auto 16px;
  color: var(--ink); opacity: .8;
}
.stat--phrase .phrase {
  font-family: var(--display); font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  color: var(--ink); line-height: 1.2;
}

/* ============================================================
   ACT III — dusk CTA
   ============================================================ */
.cta { min-height: 88vh; display: flex; align-items: center; text-align: center; }
.cta h2 { color: var(--cream); max-width: 15em; margin: 0 auto 40px; }
.cta-card {
  max-width: 520px; margin: 0 auto;
  background: rgba(20,40,60,.38);
  border: 1px solid var(--glass-stroke-night);
  border-radius: 24px; padding: 30px;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(4,10,18,.5);
  position: relative;
}
.cta-card::before {
  content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
}
.cta-form { display: flex; gap: 10px; }
@media (max-width: 520px) { .cta-form { flex-direction: column; } }
.cta-form input {
  flex: 1; min-width: 0;
  font-family: var(--sans); font-size: 15px; color: var(--cream);
  background: rgba(10,18,32,.5); border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px; padding: 14px 22px;
  transition: border-color .3s var(--ease);
}
.cta-form input::placeholder { color: rgba(245,241,230,.45); }
.cta-form input.invalid { border-color: rgba(201,111,63,.8); }
.cta-form .btn { white-space: nowrap; }
.cta-micro { margin-top: 16px; font-size: 13px; color: rgba(245,241,230,.55); }

/* ============================================================
   RESOURCE HUB + FOOTER
   ============================================================ */
/* The day returns: resources, FAQ and footer live on a light sheet that
   rises over the dusk with rounded shoulders — same front-plate idea as
   the admin dashboard. */
.resources {
  position: relative; z-index: 2;
  padding: 120px 0 110px;
  margin-top: 48px;
  background: linear-gradient(180deg, #FBF7EC 0%, var(--paper) 55%);
  border-radius: 48px 48px 0 0;
  box-shadow: 0 -30px 70px rgba(4,10,18,.28);
}
.resource-head {
  display: grid; grid-template-columns: minmax(0,1.1fr) minmax(280px,.7fr);
  gap: 80px; align-items: end; margin-bottom: 76px;
}
.resource-head h2 { max-width: 12em; margin-bottom: 0; color: var(--ink); }
.resources .eyebrow, .faq .eyebrow { color: var(--muted); }
.resource-summary { color: var(--body); max-width: 31em; font-size: 16.5px; line-height: 1.7; }
.resource-groups {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
}
.resource-group {
  padding: 34px 34px 38px;
  background: var(--card);
  border-radius: 30px;
  box-shadow: var(--shadow-tile);
}
.resource-group h3 {
  margin-bottom: 24px; color: var(--muted);
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.resource-group a {
  display: block; padding: 20px 0; border-top: 1px solid var(--hairline);
  color: var(--ink); text-decoration: none;
}
.resource-group a:first-of-type { border-top: 0; padding-top: 0; }
.resource-group a:last-of-type { padding-bottom: 0; }
.resource-group strong {
  display: block; margin-bottom: 9px;
  font-family: var(--display); font-size: 20px; font-weight: 400; line-height: 1.25;
  letter-spacing: -.01em;
  transition: color .25s var(--ease);
}
.resource-group span { display: block; color: var(--body); font-size: 14px; line-height: 1.65; }
.resource-group a:hover strong { color: var(--accent); }

.faq { padding: 110px 0 130px; background: var(--paper); position: relative; z-index: 2; }
.faq-layout { display: grid; grid-template-columns: minmax(220px,.65fr) minmax(0,1.35fr); gap: 96px; align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-intro h2 { margin-bottom: 0; color: var(--ink); }
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  display: grid; grid-template-columns: minmax(180px,.7fr) minmax(0,1fr);
  gap: 48px; padding: 32px 36px 34px;
  background: var(--card); border-radius: 26px;
  box-shadow: var(--shadow-tile);
  scroll-margin-top: 110px;
}
.faq-item h3 { color: var(--ink); font-family: var(--display); font-size: 21px; font-weight: 400; line-height: 1.4; letter-spacing: -.01em; }
.faq-item p { color: var(--body); font-size: 15px; line-height: 1.75; }

.site-footer {
  padding: 78px 0 34px; background: var(--paper);
  border-top: 1px solid var(--hairline); color: var(--body);
  position: relative; z-index: 2;
}
.footer-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 60px; padding-bottom: 64px; }
.footer-brand > a { color: var(--ink); font-family: var(--display); font-size: 28px; line-height: 1; text-decoration: none; }
.footer-brand p { margin-top: 13px; color: var(--muted); font-size: 13.5px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 32px; max-width: 560px; }
.footer-nav a, .footer-bottom a { color: var(--body); font-size: 14px; text-decoration: none; transition: color .25s var(--ease); }
.footer-nav a:hover, .footer-bottom a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--hairline); font-size: 12.5px; color: var(--muted);
}
.footer-est { font-size: 12px; letter-spacing: .01em; }

@media (max-width: 820px) {
  .resource-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 54px; }
  .resource-groups { grid-template-columns: 1fr; gap: 16px; }
  .resource-group, .resource-group:first-child, .resource-group:last-child { padding: 28px 28px 32px; }
  .faq-layout { grid-template-columns: 1fr; gap: 50px; }
  .faq-intro { position: static; }
}
@media (max-width: 620px) {
  .resources { padding: 84px 0 78px; margin-top: 36px; border-radius: 32px 32px 0 0; }
  .faq { padding: 78px 0 94px; }
  .faq-item { grid-template-columns: 1fr; gap: 12px; padding: 24px 24px 26px; border-radius: 22px; }
  .footer-main { flex-direction: column; gap: 46px; padding-bottom: 52px; }
  .footer-nav { justify-content: flex-start; }
  .footer-bottom { align-items: flex-start; gap: 24px; }
}

/* ============================================================
   Reduced motion — non-negotiable
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .aurora i, .clouds i, .phone-wrap.levitate { animation: none !important; }
  .reveal, .word { transition-duration: .3s; transform: none; }
  .btn .sweep { display: none; }
}
