/* Quesly — quesly.me
   AAA Design System: Brand tokens mirror the app (Quesly/Core/Theme.swift).
   Chillax 500 = display/titles, Chillax 500 = interface/labels, System UI = body copy. */
/* Founder rule: no bold anywhere. Medium (500) is the heaviest weight on the site. */
b, strong, h1, h2, h3, h4, h5, h6, th, summary { font-weight: 500; }

@font-face {
  font-family: "Chillax";
  src: url("../fonts/Chillax-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
:root {
  /* Brand palette supplied by the founder, 27 October 2026. */
  --deep: #05301F;
  --forest: #08563D;
  --lime: #D7FF00;
  --pink: #FF8FC0;
  --coral: #FF6B4A;
  --bone: #FFFFFF;
  --sage: #8FA699;

  --green: var(--forest);
  --night: var(--deep);
  --flame: var(--coral);
  --ice: var(--pink);
  --ice-soft: color-mix(in srgb, var(--pink) 24%, var(--bone));
  --mint: color-mix(in srgb, var(--sage) 22%, var(--bone));
  --page-bg: #FFFFFF;
  --paper: var(--page-bg);
  --card: var(--bone);
  --ink: var(--deep);
  --gray: color-mix(in srgb, var(--forest) 75%, var(--deep));
  --line: color-mix(in srgb, var(--sage) 40%, var(--bone));
  --brand-text: var(--forest);
  --on-dark-2: var(--sage);

  --gutter: 20px;
  --max: clamp(1120px, 72vw, 1328px);
  --display: "Chillax", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --expo: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --fs-hero: clamp(40px, 3.7vw, 64px);
  --fs-cta: clamp(32px, 3.2vw, 48px);
  --fs-h2: clamp(30px, 3vw, 44px);
  --fs-h3: clamp(20px, 1.5vw, 22px);
  --fs-faq: clamp(17px, 1.2vw, 19px);
  --fs-lead: clamp(16px, 1.2vw, 18px);
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-eyebrow: 13px;

  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
::selection { background: var(--lime); color: var(--green); }
:focus-visible { outline: 2.5px solid var(--green); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--lime); color: var(--green); padding: 10px 16px; border-radius: 12px; font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.lime { color: var(--lime); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 var(--fs-eyebrow)/1 var(--ui);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-text);
}
.eyebrow.lime { color: var(--lime); }
.h2 {
  font: 500 var(--fs-h2)/1.05 var(--display);
  letter-spacing: -.025em;
  margin-top: 14px;
  text-wrap: balance;
}
.lead {
  font: 400 var(--fs-lead)/1.55 var(--ui);
  color: var(--gray);
  max-width: 32em;
}

/* Split text masks */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.sw > span { display: inline-block; will-change: transform; }
.cw { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; white-space: pre; will-change: transform, opacity; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font: 500 16px/1 var(--display);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .35s var(--expo), color .35s var(--expo), transform .45s var(--expo), box-shadow .35s var(--expo);
}
.btn:active { transform: scale(.97); }
.btn-lime { background: var(--lime); color: var(--green); }
.btn-lime:hover { background: #fff; color: var(--green); box-shadow: 0 10px 26px -10px rgba(8, 86, 61, .35); }
.btn svg { width: 18px; height: 18px; transition: transform .45s var(--expo); }
.btn:hover svg { transform: translateX(4px); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14.5px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  color: #fff;
  transition: transform .55s var(--expo);
}
.nav-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  height: 82px;
}
.nav .logo {
  --logo-mark: var(--lime);
  --logo-face: #08563D;
  --logo-text: #fff;
  display: flex;
  flex: none;
  overflow: visible;
}
.nav .logo svg {
  height: 26px;
  width: calc(26px * 3000 / 602);
  overflow: visible;
  flex: none;
}
.nav:is(.on-light, .is-scrolled) .logo {
  --logo-mark: #08563D;
  --logo-face: var(--lime);
  --logo-text: #000;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75), 0 8px 24px -12px rgba(5, 48, 31, .18);
  transition: background-color .35s, box-shadow .35s;
}
.nav:not(.on-light):not(.is-scrolled) .nav-links {
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.nav.is-scrolled .nav-links {
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav-links a,
.nav-links .lang summary {
  font: 500 14px/1 var(--display);
  padding: 10px 15px;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(255, 255, 255, .88);
  transition: background-color .25s, color .25s;
}
.nav:is(.on-light, .is-scrolled) .nav-links a,
.nav:is(.on-light, .is-scrolled) .lang summary {
  color: var(--ink);
}
.nav-links a:hover,
.nav-links .lang summary:hover {
  background: rgba(255, 255, 255, .75);
  color: var(--green);
}
.nav:not(.on-light):not(.is-scrolled) .nav-links a:hover,
.nav:not(.on-light):not(.is-scrolled) .nav-links .lang summary:hover {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: rgb(255 255 255 / .88);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  transition: opacity .35s, background-color .35s;
}
.nav.is-scrolled::before { opacity: 1; }
.nav:is(.on-light, .is-scrolled)::before {
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  box-shadow: 0 1px 0 var(--line);
}
.nav .btn-sm {
  transition: background-color .25s, color .25s;
}
.nav:is(.on-light, .is-scrolled) .btn-lime {
  background: var(--deep);
  color: #fff;
}
.nav:is(.on-light, .is-scrolled) .btn-lime:hover {
  background: var(--deep);
  color: #fff;
}
.nav.hide-cta .btn-sm {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Language picker */
.lang { position: relative; flex: none; }
.lang summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  outline: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang svg { width: 17px; height: 17px; flex: none; }
.lang[open] summary { background: rgba(255, 255, 255, .65); }
.lang ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 172px;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  box-shadow: 0 18px 40px -16px rgba(5, 48, 31, .38), 0 0 0 1px rgba(5, 48, 31, .08);
}
.lang li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font: 500 14px/1 var(--display);
}
.lang li[aria-current] { background: #EEF1EA; color: var(--green); }
.lang li.soon { color: var(--gray); }
.lang li em {
  font-style: normal;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--green);
}

@media (max-width: 820px) {
  .nav-inner { height: 70px; gap: 10px; }
  .nav-links {
    background: none;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0;
    margin: 0 4px 0 auto;
  }
  .nav-links a { display: none; }
  .lang summary { padding: 8px; }
  .lang summary span { display: none; }
  .lang summary svg { width: 21px; height: 21px; }
  .nav .btn-sm { padding: 0 15px; min-height: 40px; font-size: 13.5px; }
}

/* ---------- Subtle Grain ---------- */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Classic Sticker Avatars & Reaction Stickers ---------- */
.av {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font: 500 12px/1 var(--display);
  text-transform: uppercase;
  background: radial-gradient(circle at 30% 25%, var(--a1, #F1FF9A), var(--a2, #D7FF00) 50%, var(--a3, #1FAF6E));
  color: #08563D;
  rotate: var(--tilt, -4deg);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--lime), 0 4px 8px -3px rgba(5, 48, 31, .38);
}
.av.av-photo {
  background: var(--img) center 30% / cover no-repeat;
  color: transparent;
}
.emo {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -.2em;
  object-fit: contain;
}
.st {
  --s: 42px;
  width: var(--s);
  height: var(--s);
  flex: none;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  position: relative;
  vertical-align: middle;
  background: #fff;
  box-shadow: 0 0 0 calc(var(--s) * .06) #fff, 0 4px 10px -2px rgba(5, 48, 31, .28);
  rotate: var(--tilt, 0deg);
  transition: transform .35s var(--spring);
}
.st::before {
  content: "";
  position: absolute;
  inset: calc(var(--s) * .06);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F1FF9A, var(--lime) 55%, #B5DA00);
}
.st img { position: relative; width: 64%; height: 64%; }
.st.word {
  width: auto;
  height: calc(var(--s) * .8);
  padding: 0 calc(var(--s) * .28);
  border-radius: 999px;
}
.st.word::before { border-radius: 999px; background: var(--green); }
.st.word b {
  position: relative;
  font: 500 calc(var(--s) * .36)/1 var(--display);
  color: var(--lime);
  letter-spacing: -.01em;
}
.rx { display: inline-flex; align-items: center; }
.rx .st { --s: 26px; margin-right: -5px; }

/* ==========================================================================
   1. HERO: AAA Interactive Daily Ritual Stage
   ========================================================================== */
.hero-coffee {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--paper);
  color: var(--ink);
  padding: 108px 0 64px;
  overflow: hidden;
  isolation: isolate;
}
.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(48% 54% at 76% 42%, rgba(215, 255, 0, .28), transparent 70%),
    radial-gradient(40% 45% at 62% 72%, rgba(8, 86, 61, .10), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 100%);
}
.hero-coffee .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 4.5vw, 68px);
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(5, 48, 31, .06), 0 0 0 1px rgba(8, 86, 61, .12);
  font: 500 13px/1 var(--display);
  color: var(--ink);
  margin-bottom: 22px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1FAF6E;
  box-shadow: 0 0 0 3px rgba(31, 175, 110, .22);
  animation: livePulse 2s ease-out infinite;
}
@keyframes livePulse {
  50% { box-shadow: 0 0 0 6px rgba(31, 175, 110, 0); }
}
.hero-badge i {
  width: 1px;
  height: 12px;
  background: var(--line);
}
.hb-timer { color: var(--gray); font-variant-numeric: tabular-nums; }
.hb-timer b { color: var(--green); font-weight: 500; }

.hero-title {
  font: 500 var(--fs-hero)/1.01 var(--display);
  letter-spacing: -.035em;
  color: var(--ink);
}
.hero-title em {
  font-style: normal;
  color: var(--green);
  white-space: nowrap;
  background: linear-gradient(180deg, transparent 66%, var(--lime) 66%, var(--lime) 94%, transparent 94%);
  padding: 0 .06em;
  margin: 0 -.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero-sub {
  margin-top: 20px;
  font: 400 var(--fs-lead)/1.55 var(--ui);
  color: var(--gray);
  max-width: 34ch;
}

/* Waitlist Signup Form */
.signup { width: 100%; max-width: 490px; }
.hero-form { margin-top: 28px; }
.signup-row {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(17, 20, 19, .1), 0 20px 44px -20px rgba(5, 48, 31, .24);
  transition: box-shadow .3s var(--expo);
}
.signup-row:focus-within {
  box-shadow: 0 0 0 2px var(--green), 0 24px 48px -20px rgba(5, 48, 31, .32);
}
.signup input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0 20px;
  font: 500 16px/1 var(--display);
  outline: none;
}
.signup input::placeholder { color: #7a807d; }
.hero-form .btn-lime { background: var(--green); color: var(--lime); }
.hero-form .btn-lime:hover { background: var(--deep); color: #fff; }
.signup-msg { margin-top: 10px; font: 500 14.5px/1.4 var(--display); min-height: 1.4em; }
.signup-msg:empty { display: none; }
.signup-msg[data-state="ok"] { color: var(--green); }
.signup-msg[data-state="error"] { color: var(--deep); border-inline-start: 3px solid var(--coral); padding-inline-start: 10px; }
.cta-box .signup-msg[data-state="error"] { color: var(--bone); }
.signup.is-done .signup-row { opacity: .55; pointer-events: none; }

/* Browser autofill clean */
.signup input:-webkit-autofill,
.signup input:-webkit-autofill:hover,
.signup input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: var(--ink) !important;
  caret-color: var(--ink);
  border-radius: 999px;
}

/* Social Proof under Hero form */
.hero-proof {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.proof-avatars {
  display: flex;
  align-items: center;
}
.proof-avatars > span {
  display: inline-flex;
  margin-right: -8px;
}
.proof-avatars .av { width: 30px; height: 30px; }
.proof-text {
  margin-left: 6px;
  font: 400 13.5px/1.4 var(--ui);
  color: var(--gray);
}
.proof-text b { color: var(--ink); font-weight: 500; }

/* Right Column: Spatial Interactive Product Stage */
.hero-stage-aaa {
  position: relative;
  width: 100%;
  max-width: 580px;
  justify-self: end;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hs-photo-frame {
  position: relative;
  width: 78%;
  margin: 0 auto 0 4%;
  aspect-ratio: 4 / 4.8;
  border-radius: 34px;
  overflow: hidden;
  box-shadow:
    0 36px 72px -28px rgba(5, 48, 31, .42),
    0 0 0 1px rgba(8, 86, 61, .12);
  background: var(--mint);
}
.hs-photo-frame .hero-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 20%;
  transform-origin: center;
}
.hs-photo-tag {
  position: absolute;
  top: 16px;
  left: 16px;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(5, 48, 31, .74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font: 500 12px/1 var(--display);
}
.live-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}

/* Interactive Question of the Day Card */
.hq-card {
  position: absolute;
  left: -18px;
  bottom: 4%;
  width: min(336px, 88%);
  padding: 17px 19px;
  border-radius: 24px;
  background: var(--green);
  color: #fff;
  box-shadow:
    0 32px 64px -22px rgba(5, 48, 31, .62),
    inset 0 0 0 1px rgba(255, 255, 255, .14);
  z-index: 3;
}
.hq-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.hq-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 11.5px/1 var(--ui);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lime);
}
.hq-brand svg { width: 22px; height: auto; flex: none; }
.hq-clock {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  font: 500 12px/1 var(--display);
  color: rgba(255, 255, 255, .86);
  font-variant-numeric: tabular-nums;
}
.hq-clock svg { width: 13px; height: 13px; color: var(--lime); }
.hq-question {
  margin-top: 12px;
  font: 500 20px/1.18 var(--display);
  letter-spacing: -.015em;
  color: #fff;
}
.hq-try {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.hq-try-label {
  display: block;
  font: 500 12px/1.2 var(--display);
  color: rgba(255, 255, 255, .72);
  margin-bottom: 8px;
}
.hq-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hq-pill {
  padding: 7px 11px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, .11);
  color: #fff;
  font: 500 12.5px/1.1 var(--display);
  transition: background-color .25s, color .25s, transform .25s var(--spring);
}
.hq-pill:hover {
  background: rgba(255, 255, 255, .2);
  transform: translateY(-1px);
}
.hq-pill.is-picked {
  background: var(--lime);
  color: var(--green);
  font-weight: 500;
}

/* Floating Unlocked Answer Stream Card */
.hero-stage-aaa .float-card {
  position: absolute;
  right: -14px;
  top: 5%;
  width: min(296px, 84%);
  padding: 15px 17px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--ink);
  box-shadow:
    0 28px 56px -20px rgba(5, 48, 31, .42),
    0 0 0 1px rgba(8, 86, 61, .08);
  z-index: 4;
  transition: opacity .38s var(--expo), transform .42s var(--expo);
}
.hero-stage-aaa .float-card.swap {
  opacity: 0;
  transform: translateY(12px) scale(.96);
}
.fc-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #ECEFEA;
}
.fc-unlock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 12px/1 var(--display);
  color: var(--green);
}
.fc-unlock-badge svg { width: 16px; height: 16px; color: var(--green); }
.fc-counter {
  font: 500 11.5px/1 var(--display);
  color: var(--gray);
  font-variant-numeric: tabular-nums;
}
.hero-stage-aaa .float-card .who {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 13px/1 var(--display);
  color: var(--gray);
  margin-bottom: 7px;
}
.hero-stage-aaa .float-card .av { width: 24px; height: 24px; font-size: 10px; }
.hero-stage-aaa .float-card .fc-ans {
  font: 500 15.5px/1.32 var(--display);
  color: var(--ink);
}
.hero-stage-aaa .float-card .rx { margin-top: 10px; }
.hero-stage-aaa .float-card .rx .st { --s: 26px; }
.moment-tag {
  margin-left: auto;
  font-style: normal;
  font: 500 11px/1 var(--display);
  color: var(--green);
  background: var(--mint);
  padding: 4px 9px;
  border-radius: 999px;
}

@media (max-width: 980px) {
  .hero-coffee { padding: 94px 0 52px; }
  .hero-coffee .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-stage-aaa {
    justify-self: center;
    max-width: 500px;
    min-height: 460px;
  }
  .hs-photo-frame { width: 88%; margin: 0 auto; }
  .hq-card { left: 0; bottom: 0; top: auto; width: min(310px, 88%); padding: 15px 16px; }
  .hq-question { font-size: 17.5px; }
  .hero-stage-aaa .float-card { right: 0; top: 2%; bottom: auto; width: min(280px, 84%); padding: 14px 16px; }
}
@media (max-width: 540px) {
  .hero-title { font-size: clamp(34px, 9.2vw, 44px); }
  .signup-row { flex-direction: column; border-radius: 24px; padding: 8px; }
  .signup input { min-height: 46px; text-align: center; }
  .hero-stage-aaa { min-height: 450px; }
  .hs-photo-frame { width: 94%; aspect-ratio: 4 / 5; }
  .hq-card { bottom: -6px; left: 0; top: auto; width: 92%; padding: 14px 15px; }
  .hq-question { font-size: 16px; margin-top: 8px; }
  .hq-pill { font-size: 11.5px; padding: 6px 10px; }
  .hero-stage-aaa .float-card { right: 0; top: 0; bottom: auto; width: 88%; }
}

/* ==========================================================================
   2. HOW IT WORKS: Pinned 3-Step Vector Phone UI
   ========================================================================== */
.how { position: relative; background: var(--paper); }
.how-pin {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 88px 0 40px;
}
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.steps {
  list-style: none;
  padding: 0;
  margin-top: clamp(20px, 3.6vh, 38px);
  display: grid;
  gap: 6px;
}
.step {
  display: flex;
  gap: 20px;
  padding: clamp(10px, 1.5vh, 16px) 16px;
  margin-left: -16px;
  border-radius: 20px;
  opacity: .34;
  cursor: pointer;
  transition: opacity .45s var(--expo), background-color .35s var(--expo), transform .35s var(--expo);
}
.step:hover { opacity: .68; background: rgba(8, 86, 61, .04); }
.step.is-active { opacity: 1; background: rgba(255, 255, 255, .75); box-shadow: 0 10px 28px -18px rgba(5, 48, 31, .2); }
.step-n {
  font: 500 14px/1.8 var(--display);
  color: var(--brand-text);
  min-width: 26px;
}
.step h3 { font: 500 var(--fs-h3)/1.18 var(--display); letter-spacing: -.01em; }
.step p { margin-top: 6px; color: var(--gray); max-width: 27em; font-size: 15.5px; line-height: 1.5; }
.aud {
  display: inline-flex;
  gap: 4px;
  margin-top: 10px;
  padding: 4px;
  border-radius: 999px;
  background: var(--line);
}
.aud span {
  padding: 5px 12px;
  border-radius: 999px;
  font: 500 12.5px/1 var(--display);
  color: var(--gray);
}
.aud span.on { background: var(--green); color: var(--lime); }
.how-progress {
  margin-top: 20px;
  height: 3px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
  max-width: 420px;
}
.how-progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--green);
  transform-origin: left;
  transform: scaleX(.33);
}
.how-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(620px, calc(100svh - 150px));
}
.how-ring {
  position: absolute;
  width: min(440px, 34vw, calc(100svh - 240px));
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lime);
}

/* Titanium Device Mockup */
.device {
  --w: clamp(220px, min(20vw, calc((100svh - 190px) * .4815)), 305px);
  position: relative;
  z-index: 1;
  width: var(--w);
  aspect-ratio: 0.4815;
  border-radius: calc(var(--w) * .17);
  padding: calc(var(--w) * .013);
  background: linear-gradient(140deg, #8a8f92 0%, #3b3f42 18%, #1d2022 40%, #2b2f31 62%, #5d6265 82%, #a3a8ab 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .55),
    inset 0 0 0 1px rgba(255, 255, 255, .28),
    0 34px 64px -20px rgba(1, 20, 14, .48),
    0 10px 24px -10px rgba(1, 20, 14, .3);
}
.device::before, .device::after {
  content: "";
  position: absolute;
  width: calc(var(--w) * .012);
  border-radius: 2px;
  background: linear-gradient(90deg, #2a2d2f, #6f7477);
}
.device::before { right: calc(var(--w) * -.011); top: 27%; height: 13%; }
.device::after { left: calc(var(--w) * -.011); top: 19%; height: 7%; box-shadow: 0 calc(var(--w) * .14) 0 #4a4e51, 0 calc(var(--w) * .26) 0 #4a4e51; }
.device .screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--green);
  border-radius: calc(var(--w) * .157);
  border: calc(var(--w) * .022) solid #050606;
  transform: translateZ(0);
  container-type: inline-size;
}
.device .screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .03) 26%, rgba(255, 255, 255, 0) 42%);
}

/* ---------- Vector App UI Inside Phone ---------- */
.ui-statusbar {
  position: absolute;
  top: 2.2%;
  left: 7%;
  right: 7%;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 500 4.2cqw/1 var(--ui);
  color: #fff;
  transition: color .4s;
}
.app-ui[data-active-step="1"] .ui-statusbar { color: var(--ink); }
.ui-island {
  width: 31%;
  aspect-ratio: 3.3 / 1;
  border-radius: 99px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 3.5%;
}
.ui-island-dot {
  width: 2.2cqw;
  height: 2.2cqw;
  border-radius: 50%;
  background: var(--lime);
  opacity: .85;
}
.ui-signals { display: flex; align-items: center; gap: 1.8cqw; }
.ui-signals svg { height: 3.4cqw; width: auto; }

.device .layer.ui-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 13% 6.5% 7%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
}
.device .layer.ui-screen.is-on { opacity: 1; }

/* Screen 0: Composer */
.ui-s0 { background: radial-gradient(120% 80% at 50% 0%, #096B4A 0%, var(--green) 55%, var(--deep) 100%); color: #fff; }
.ui-top-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2cqw;
  margin-top: 2%;
}
.ui-logo {
  --logo-text: #fff;
  width: 44%;
  height: auto;
}
.ui-logo-dark { --logo-text: var(--ink); }
.ui-sub-eyebrow {
  font: 500 3.2cqw/1 var(--ui);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lime);
  padding-bottom: 1.5cqw;
  border-bottom: 1.5px solid rgba(215, 255, 0, .5);
}
.ui-composer-card {
  margin-top: 6%;
  background: #fff;
  color: var(--ink);
  border-radius: 7cqw;
  overflow: hidden;
  box-shadow: 0 16px 32px -12px rgba(1, 20, 14, .45);
  display: flex;
  flex-direction: column;
  flex: 1;
  max-height: 54%;
}
.ui-q-head {
  background: var(--lime);
  color: var(--green);
  padding: 5.5cqw 6cqw;
}
.ui-q-head b {
  display: block;
  font: 500 5.4cqw/1.15 var(--display);
  letter-spacing: -.01em;
}
.ui-q-body {
  padding: 5.5cqw 6cqw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.ui-typed-text {
  font: 400 4.6cqw/1.38 var(--ui);
  color: var(--ink);
}
.ui-caret {
  display: inline-block;
  width: 1.5px;
  height: 1.05em;
  margin-left: 1px;
  vertical-align: -2px;
  background: var(--green);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.ui-q-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 500 3.4cqw/1 var(--ui);
  color: var(--gray);
  padding-top: 3cqw;
}
.ui-char-ring { display: inline-flex; align-items: center; gap: 1.8cqw; }
.ui-char-ring svg { width: 5.2cqw; height: 5.2cqw; transform: rotate(-90deg); }
.ui-draft { color: var(--green); font-weight: 500; }
.ui-aud-bar {
  margin-top: auto;
  align-self: center;
  display: inline-flex;
  gap: 1.2cqw;
  padding: 1.4cqw;
  border-radius: 99px;
  background: rgba(255, 255, 255, .12);
}
.ui-aud-pill {
  display: inline-flex;
  align-items: center;
  gap: 1.5cqw;
  padding: 2.2cqw 4.2cqw;
  border-radius: 99px;
  font: 500 3.5cqw/1 var(--display);
  color: rgba(255, 255, 255, .82);
}
.ui-aud-pill svg { width: 3.8cqw; height: 3.8cqw; }
.ui-aud-pill.is-on { background: var(--lime); color: var(--green); font-weight: 500; }
.ui-time-left {
  margin: 3.5% 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8cqw;
  font: 500 3.4cqw/1 var(--ui);
  color: rgba(255, 255, 255, .75);
}
.ui-time-left svg { width: 3.8cqw; height: 3.8cqw; color: var(--lime); }
.ui-submit-btn {
  width: 100%;
  padding: 4.5cqw 0;
  border-radius: 99px;
  background: var(--lime);
  color: var(--green);
  font: 500 4.6cqw/1 var(--display);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2cqw;
  box-shadow: 0 10px 24px -8px rgba(215, 255, 0, .4);
}
.ui-submit-btn svg { width: 4.4cqw; height: 4.4cqw; }

/* Screen 1: Unlocked Feed */
.ui-s1 { background: #fff; color: var(--ink); }
.ui-feed-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1%;
}
.ui-feed-top .ui-logo { width: 38%; }
.ui-streak-pill {
  padding: 1.8cqw 3.4cqw;
  border-radius: 99px;
  background: #F4F6F3;
  font: 500 3.8cqw/1 var(--display);
}
.ui-feed-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  margin-top: 4%;
  border-bottom: 1px solid var(--line);
  font: 500 3.8cqw/1 var(--display);
  color: var(--gray);
}
.ui-feed-tabs span { padding: 3cqw 0; }
.ui-feed-tabs span.is-on {
  color: var(--green);
  box-shadow: inset 0 -2px 0 var(--green);
}
.ui-story-row {
  display: flex;
  justify-content: space-between;
  gap: 2cqw;
  margin-top: 4.5%;
}
.ui-st-av {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5cqw;
}
.ui-st-av .av { width: 14cqw; height: 14cqw; }
.ui-st-av small {
  font: 500 2.9cqw/1 var(--ui);
  color: var(--gray);
  max-width: 17cqw;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ui-q-banner {
  margin-top: 4.5%;
  padding: 3.8cqw 4.2cqw;
  border-radius: 5cqw;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 3.2cqw;
}
.ui-q-mark { width: 11cqw; flex: none; }
.ui-q-banner small {
  display: block;
  font: 500 2.8cqw/1 var(--ui);
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.ui-q-banner b {
  display: block;
  margin-top: 1cqw;
  font: 500 3.8cqw/1.18 var(--display);
}
.ui-feed-list {
  margin-top: 4%;
  display: flex;
  flex-direction: column;
  gap: 3.4cqw;
}
.ui-post {
  padding: 3.8cqw 4.2cqw;
  border-radius: 5cqw;
  background: #FFFFFF;
}
.ui-post-who {
  display: flex;
  align-items: center;
  gap: 2.2cqw;
  font: 500 3.4cqw/1 var(--display);
}
.ui-post-who .av { width: 7.5cqw; height: 7.5cqw; }
.ui-post-who em { font-style: normal; color: var(--gray); font-weight: 400; }
.ui-tag {
  margin-left: auto;
  font-style: normal;
  padding: 1.2cqw 2.6cqw;
  border-radius: 99px;
  background: var(--mint);
  color: var(--green);
  font-size: 2.8cqw;
}
.ui-post p {
  margin-top: 2.4cqw;
  font: 400 3.7cqw/1.32 var(--ui);
  color: var(--ink);
}
.ui-post-rx {
  margin-top: 2.4cqw;
  display: flex;
  align-items: center;
}
.ui-post-rx .st { --s: 7.2cqw; margin-right: -1.4cqw; }

/* Screen 2: Story Share & Reactions */
.ui-s2 {
  background: radial-gradient(120% 90% at 50% 20%, #0A6C4B 0%, var(--green) 55%, var(--deep) 100%);
  color: #fff;
}
.ui-story-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6cqw;
  margin-top: 1%;
}
.ui-story-bars i {
  height: 1cqw;
  border-radius: 99px;
  background: rgba(255, 255, 255, .24);
}
.ui-story-bars i.done,
.ui-story-bars i.active { background: var(--lime); }
.ui-story-user {
  margin-top: 4.5%;
  display: flex;
  align-items: center;
  gap: 2.8cqw;
}
.ui-story-user .av { width: 10cqw; height: 10cqw; }
.ui-story-user b { display: block; font: 500 3.7cqw/1.1 var(--display); }
.ui-story-user small { display: block; font: 400 2.9cqw/1.2 var(--ui); color: rgba(255, 255, 255, .68); }
.ui-story-share-chip {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 1.4cqw;
  padding: 2cqw 3.4cqw;
  border-radius: 99px;
  background: rgba(215, 255, 0, .18);
  color: var(--lime);
  font: 500 3cqw/1 var(--display);
}
.ui-story-share-chip svg { width: 3.4cqw; height: 3.4cqw; }
.ui-story-center {
  margin: auto 0;
  padding: 6cqw 5cqw;
  border-radius: 6.5cqw;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.ui-story-q {
  display: block;
  font: 500 3.8cqw/1.22 var(--display);
  color: var(--lime);
}
.ui-story-a {
  margin-top: 4cqw;
  font: 500 6.8cqw/1.12 var(--display);
  color: #fff;
  letter-spacing: -.02em;
}
.ui-story-brand {
  margin-top: 6cqw;
  display: inline-flex;
  align-items: center;
  gap: 2.2cqw;
  font: 500 3.2cqw/1 var(--display);
  color: rgba(255, 255, 255, .78);
}
.ui-story-brand svg { width: 7cqw; height: auto; }
.ui-story-rx-dock {
  margin-top: auto;
  padding: 3cqw 3.5cqw;
  border-radius: 99px;
  background: rgba(5, 48, 31, .65);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.ui-story-rx-dock .rx-stuck {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ui-story-rx-dock .st { --s: 9.8cqw; margin: 0; }
.ui-story-rx-dock .st.word { --s: 9.2cqw; }

/* Floating Step Callouts around phone */
.how-float {
  position: absolute;
  z-index: 3;
  opacity: 0;
  transform: translateY(18px) scale(.95);
  transition: opacity .55s var(--expo), transform .75s var(--expo);
}
.how-float.is-on { opacity: 1; transform: none; }
.hf-0 { left: -18px; bottom: 20%; }
.hf-1 { right: -10px; top: 20%; }
.hf-2 { left: 2%; top: 28%; }
.typing {
  width: 240px;
  padding: 14px 16px;
  border-radius: 20px;
  background: var(--card);
  color: var(--ink);
  font: 500 14.5px/1.38 var(--display);
  box-shadow: 0 28px 56px -22px rgba(1, 20, 14, .35);
}
.caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: -3px;
  background: var(--green);
  animation: blink 1s steps(1) infinite;
}
.unlock {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px 13px 13px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font: 500 14.5px/1 var(--display);
  box-shadow: 0 28px 56px -22px rgba(1, 20, 14, .5);
}
.unlock svg { width: 24px; height: 24px; color: var(--lime); }
.burst {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 28px 56px -22px rgba(1, 20, 14, .35);
}
.burst .st { --s: 44px; }
.how-float.is-on .burst .st { animation: popIn .65s var(--spring) both; }
.how-float.is-on .burst .st:nth-child(2) { animation-delay: .07s; }
.how-float.is-on .burst .st:nth-child(3) { animation-delay: .14s; }
.how-float.is-on .burst .st:nth-child(4) { animation-delay: .21s; }
.how-float.is-on .burst .st:nth-child(5) { animation-delay: .28s; }
@keyframes popIn { from { transform: scale(0) rotate(-18deg); } }

@media (max-width: 900px) {
  .how-pin { padding: 84px 0 32px; }
  .how-grid { grid-template-columns: 1fr; gap: 20px; }
  .steps { position: relative; margin-top: 14px; min-height: 145px; }
  .step { position: absolute; inset: 0 0 auto; margin: 0; padding: 12px 14px; opacity: 0; pointer-events: none; }
  .step.is-active { opacity: 1; pointer-events: auto; }
  .how-progress { margin-top: 0; }
  .how-stage { min-height: 0; order: -1; }
  .how-stage .device { --w: clamp(165px, 44vw, 220px); }
  .how-ring { width: 68vw; }
  .hf-0 { left: 0; bottom: 6%; }
  .hf-1 { right: 0; top: 12%; }
  .hf-2 { left: 0; top: 12%; }
  .typing { width: 200px; font-size: 13px; padding: 11px 13px; }
  .burst .st { --s: 34px; }
  .unlock { font-size: 13px; padding: 10px 14px 10px 10px; }
}

/* ==========================================================================
   3. TWO FEEDS: Friends first. Then the world.
   ========================================================================== */
.moments {
  position: relative;
  background: var(--paper);
  padding: clamp(84px, 10vw, 136px) 0 clamp(88px, 9vw, 130px);
  overflow: hidden;
}
.moments-head {
  display: grid;
  gap: 20px;
  align-items: end;
}
@media (min-width: 900px) {
  .moments-head { grid-template-columns: 1.1fr .9fr; }
}
.feed-bar { margin-top: 32px; }
.feed-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  border-radius: 999px;
  background: #E7EAE4;
  box-shadow: inset 0 1px 2px rgba(5, 48, 31, .06);
}
.feed-pill-bg {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 6px 18px -6px rgba(8, 86, 61, .45);
  transition: transform .45s var(--spring);
}
.feed-switch[data-active="world"] .feed-pill-bg {
  transform: translateX(100%);
}
.feed-switch button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  font: 500 15px/1 var(--display);
  transition: color .3s;
}
.feed-switch button em {
  font-style: normal;
  font: 500 11.5px/1 var(--ui);
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(17, 20, 19, .07);
  color: var(--gray);
  transition: background-color .3s, color .3s;
}
.feed-switch button[aria-selected="true"] {
  color: var(--lime);
}
.feed-switch button[aria-selected="true"] em {
  background: rgba(215, 255, 0, .16);
  color: #fff;
}
.feed-panel[hidden] { display: none !important; }

.moments-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 38px);
  align-items: start;
  width: min(1320px, 100%);
  margin: 44px auto 0;
  padding: 0 var(--gutter);
}
.moment { position: relative; margin: 0 0 58px; }
.moment:nth-child(even) { margin-top: clamp(36px, 5vw, 76px); }
.moment > .moment-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 26px;
  background: var(--mint);
  box-shadow: 0 20px 44px -24px rgba(5, 48, 31, .28);
}
.moment-q {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  padding: 9px 13px;
  border-radius: 14px;
  background: rgba(5, 48, 31, .74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font: 500 13.5px/1.22 var(--display);
}
.moment-q::before {
  content: "Today's question";
  display: block;
  margin-bottom: 3px;
  font: 500 10px/1 var(--ui);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--lime);
}
.moment-card {
  position: absolute;
  bottom: -42px;
  width: 88%;
  display: grid;
  gap: 6px;
  padding: 14px 16px 16px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  rotate: var(--tilt);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 24px 44px -18px rgba(5, 48, 31, .42);
  transition: transform .35s var(--expo);
}
.moment:hover .moment-card { transform: translateY(-4px); }
.moment-left { left: -6px; }
.moment-right { right: -6px; }
.moment-who {
  display: flex;
  align-items: center;
  gap: 7px;
  font: 500 12.5px/1 var(--display);
  color: var(--gray);
}
.moment-who .av { width: 22px; height: 22px; font-size: 10px; }
.moment-a { font: 500 15.5px/1.28 var(--display); color: var(--ink); }
.moment-st {
  position: absolute;
  top: -18px;
  right: -10px;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}
.moment-st .st { --s: 46px; }
.moment-st .st.word { --s: 44px; }
.moment-st:hover .st { transform: scale(1.14) rotate(6deg); }
.moment-st.is-popped .st { animation: stickerPop .45s var(--spring); }
.moment-st-count {
  position: absolute;
  top: -8px;
  right: -8px;
  padding: 3px 7px;
  border-radius: 99px;
  background: var(--green);
  color: var(--lime);
  font: 500 11px/1 var(--display);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
  animation: popIn .35s var(--spring) both;
}
@keyframes stickerPop {
  40% { transform: scale(1.3) rotate(-8deg); }
  100% { transform: scale(1) rotate(0); }
}

@media (min-width: 901px) and (max-width: 1220px) {
  .moments-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(820px, 100%); row-gap: 64px; }
}
@media (max-width: 900px) {
  .moments-rail {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 22px;
    padding-top: 6px;
    padding-bottom: 16px;
  }
  .moments-rail::-webkit-scrollbar { display: none; }
  .moment { flex: none; width: 74vw; max-width: 300px; scroll-snap-align: center; }
  .moment:nth-child(even) { margin-top: 0; }
  .moment-left { left: 8px; }
  .moment-right { right: 8px; }
  .feed-switch button em { display: none; }
}

/* ==========================================================================
   4. FEATURES BENTO GRID: Not another social network
   ========================================================================== */
.features {
  background: var(--deep);
  color: #fff;
  overflow: hidden;
  padding: clamp(64px, 6vw, 88px) 0;
}
.features-head { margin-bottom: clamp(36px, 4.5vw, 56px); }
.badges-line {
  margin-top: 14px;
  font: 400 var(--fs-lead)/1.55 var(--ui);
  color: var(--on-dark-2);
  max-width: 34em;
}
.rail-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 22px);
}
.card {
  position: relative;
  border-radius: 30px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--green);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  min-height: 320px;
  transition: transform .4s var(--expo), box-shadow .4s var(--expo);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(215, 255, 0, .13), transparent 70%);
  opacity: 0;
  transition: opacity .35s;
}
.card:hover { transform: translateY(-4px); }
.card:hover::before { opacity: 1; }

.card-copy { position: relative; z-index: 2; margin-top: auto; padding-top: 18px; }
.card h3 { font: 500 var(--fs-h3)/1.15 var(--display); letter-spacing: -.01em; }
.card p { margin-top: 8px; font: 400 15px/1.5 var(--ui); opacity: .78; }

.c-paper { background: #fff; color: var(--ink); box-shadow: 0 20px 44px -24px rgba(0, 0, 0, .35); }
.c-paper::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(8, 86, 61, .07), transparent 70%); }
.c-paper p { color: var(--gray); opacity: 1; }
.c-mint { background: var(--mint); color: var(--ink); }
.c-mint::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(8, 86, 61, .08), transparent 70%); }
.c-mint p { color: var(--gray); opacity: 1; }
.c-dark { background: #05301F; color: #fff; }
.c-green-deep { background: #08563D; color: #fff; }

.art {
  flex: 1;
  min-height: 160px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  container-type: inline-size;
}

/* Art 1: The feed ends */
.art-end { place-content: center; gap: 18px; }
.art-end .rows { display: grid; gap: 9px; width: min(210px, 80%); }
.art-end .rows i { height: 12px; border-radius: 6px; background: rgba(8, 86, 61, .14); }
.art-end .rows i:nth-child(2) { width: 78%; }
.art-end .rows i:nth-child(3) { width: 56%; }
.art-end .done { display: grid; justify-items: center; gap: 10px; color: var(--green); }
.art-end svg { width: 58px; height: 58px; fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.art-end svg circle { fill: #fff; stroke: none; }
.art-end svg path { stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset 1s var(--expo) .2s; }
.art-end.is-in svg path { stroke-dashoffset: 0; }
.art-end b { font: 500 18px/1 var(--display); }

/* Art 2: Private counts */
.art-private { gap: 14px; place-content: center; }
.art-private .count {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 18px;
  background: #F3F5F4;
}
.art-private .count .st { --s: 32px; margin-right: -6px; }
.art-private .count em { font-style: normal; font: 500 13.5px/1 var(--display); color: var(--gray); margin-left: 8px; }
.art-private .lock {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font: 500 13.5px/1 var(--display);
}
.art-private .lock svg { width: 15px; height: 15px; color: var(--lime); }

/* Art 3: Streak */
.art-streak { grid-template-columns: auto auto; align-items: end; place-content: center; column-gap: 8px; }
.art-streak .flame { font-size: 62px; line-height: 1; animation: flicker 1.8s ease-in-out infinite; transform-origin: bottom; }
@keyframes flicker { 50% { transform: scale(1.06, .95) rotate(-3deg); } }
.art-streak .num { font: 500 clamp(96px, 32cqw, 136px)/.82 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.art-streak .lbl {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 14px;
  font: 500 13.5px/1 var(--display);
  color: rgba(255, 255, 255, .72);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.freeze-pill {
  font-style: normal;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(47, 127, 224, .22);
  color: #8BC2FF;
  font-size: 12px;
}

/* Art 4: Memories Calendar */
.art-cal { align-content: center; width: 100%; justify-items: center; }
.cal-head {
  width: min(100%, 270px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.art-cal .m { font: 500 16px/1 var(--display); color: var(--ink); }
.cal-hint {
  font: 500 11.5px/1 var(--display);
  color: var(--green);
  background: var(--mint);
  padding: 4px 9px;
  border-radius: 999px;
}
.art-cal .grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  width: min(100%, 270px);
}
.art-cal .grid i {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 500 11px/1 var(--ui);
  font-style: normal;
  color: #9aa0a3;
  background: #F3F5F4;
  transition: background-color .3s, color .3s, transform .35s var(--spring);
}
.art-cal .grid i.on { background: var(--green); color: #fff; cursor: pointer; }
.art-cal .grid i.frz { background: #E6F0FC; color: var(--ice); cursor: pointer; }
.art-cal .grid i.on:hover,
.art-cal .grid i.frz:hover { transform: scale(1.18); box-shadow: 0 4px 10px rgba(8, 86, 61, .28); }
.art-cal .grid i.empty { visibility: hidden; }

/* Art 5: Widgets */
.art-widgets {
  grid-template-columns: 1.15fr .85fr;
  gap: 12px;
  width: min(100%, 310px);
  align-content: center;
}
.art-widgets .w {
  aspect-ratio: 1;
  border-radius: 24px;
  padding: 15px;
  background: var(--night);
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .4s var(--spring);
}
.card:hover .art-widgets .w-q { transform: translateY(-4px) rotate(-1.5deg); }
.card:hover .art-widgets .w-s { transform: translateY(-4px) rotate(2deg); }
.art-widgets small { font: 500 9.5px/1.2 var(--ui); letter-spacing: .08em; color: var(--lime); }
.art-widgets .w-q b { font: 500 14.5px/1.15 var(--display); color: #fff; }
.art-widgets em { margin-top: auto; font-style: normal; font: 500 12px/1 var(--display); color: var(--lime); }
.art-widgets .w-s {
  align-items: center;
  justify-content: center;
  background: var(--lime);
  color: var(--green);
}
.art-widgets .w-s span { font-size: 26px; line-height: 1; }
.art-widgets .w-s b { font: 500 42px/1 var(--display); }
.art-widgets .w-s small { color: var(--green); text-align: center; }

/* Art 6: 1-Tap Stories */
.art-stories .sc {
  position: absolute;
  width: 110px;
  aspect-ratio: 9 / 15.5;
  border-radius: 18px;
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 24px 44px -18px rgba(1, 20, 14, .45);
  transition: transform .75s var(--expo);
}
.art-stories small { font: 500 9px/1 var(--ui); letter-spacing: .08em; }
.art-stories b { margin-top: 12px; font: 500 13.5px/1.12 var(--display); }
.art-stories p {
  margin-top: auto;
  padding: 7px 8px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink) !important;
  font: 500 10.5px/1.25 var(--display);
  opacity: 1 !important;
}
.sc-1 { background: var(--green); color: #fff; transform: rotate(-4deg); }
.sc-1 small, .sc-1 b { color: var(--lime); }
.sc-2 { background: #fff; color: var(--green); transform: rotate(-1deg); z-index: 2; }
.sc-2 p { background: #F3F5F4; }
.sc-3 { background: var(--deep); color: #fff; transform: rotate(3deg); }
.art-stories.is-in .sc-1 { transform: translateX(-52%) rotate(-10deg); }
.art-stories.is-in .sc-3 { transform: translateX(52%) rotate(10deg); }
.card:hover .art-stories.is-in .sc-1 { transform: translateX(-60%) translateY(-4px) rotate(-13deg); }
.card:hover .art-stories.is-in .sc-2 { transform: translateY(-6px); }
.card:hover .art-stories.is-in .sc-3 { transform: translateX(60%) translateY(-4px) rotate(13deg); }

/* Art 7: Full-Width Badges Card */
.card.c-badges {
  grid-column: 1 / -1;
  background: #fff;
  color: var(--ink);
  min-height: 0;
  flex-direction: row;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(24px, 2.8vw, 38px) clamp(24px, 3vw, 42px);
}
.c-badges .card-copy { margin: 0; padding: 0; flex: 0 0 min(380px, 38%); }
.c-badges .card-copy p { color: var(--gray); opacity: 1; }
.badge-inspector {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #F3F5F1;
  font: 400 12.5px/1.3 var(--ui);
  color: var(--gray);
}
.badge-inspector b { font-family: var(--display); font-weight: 500; color: var(--green); }
.bi-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px var(--green); flex: none; }
.c-badges .art-badges {
  flex: 1;
  min-height: 110px;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 0;
  padding-bottom: 18px;
  align-items: center;
  justify-items: center;
}
.c-badges .art-badges img {
  width: 100%;
  max-width: 74px;
  height: auto;
  cursor: pointer;
  transition: transform .35s var(--spring), filter .35s;
}
.c-badges .art-badges img:nth-child(even) { translate: 0 18px; }
.c-badges .art-badges img:hover {
  transform: translateY(-8px) scale(1.14);
  filter: drop-shadow(0 10px 14px rgba(8, 86, 61, .22));
  z-index: 2;
}

@media (max-width: 1100px) {
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card.c-badges { flex-direction: column; align-items: flex-start; }
  .c-badges .card-copy { flex: none; width: 100%; }
  .c-badges .art-badges { width: 100%; grid-template-columns: repeat(5, 1fr); gap: 12px; padding-bottom: 0; }
  .c-badges .art-badges img:nth-child(even) { translate: none; }
}
@media (max-width: 720px) {
  .rail-wrap {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 8px;
  }
  .rail-wrap::-webkit-scrollbar { display: none; }
  .rail {
    display: flex;
    width: max-content;
    gap: 16px;
  }
  .card, .card.c-badges {
    flex: none;
    width: 82vw;
    max-width: 340px;
    min-height: 420px;
    scroll-snap-align: start;
  }
}

/* ==========================================================================
   5. MANIFESTO: Scroll-lit kinetic typography
   ========================================================================== */
.manifesto {
  background: var(--green);
  color: #fff;
  padding: clamp(88px, 11vw, 156px) 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.manifesto .big {
  margin-top: 22px;
  font: 500 clamp(28px, 3.6vw, 52px)/1.12 var(--display);
  letter-spacing: -.025em;
  max-width: 25ch;
  text-wrap: balance;
}
.manifesto .mw { opacity: .2; transition: opacity .25s, color .25s; }
.manifesto .mw.on { opacity: 1; }
.manifesto .mw.hl.on { color: var(--lime); }

/* ==========================================================================
   6. FAQ
   ========================================================================== */
.faq-sec { padding: clamp(64px, 6vw, 88px) 0; }
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: 1fr 1.3fr; gap: 72px; }
  .faq-head { position: sticky; top: 120px; align-self: start; }
}
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  font: 500 var(--fs-faq)/1.3 var(--display);
  letter-spacing: -.01em;
  transition: color .25s;
}
.faq summary:hover { color: var(--brand-text); }
.faq summary::-webkit-details-marker { display: none; }
.plus {
  flex: none;
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .55s var(--expo), background-color .3s;
}
.plus::before, .plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
  translate: -50% -50%;
}
.plus::after { rotate: 90deg; }
.faq details[open] .plus { transform: rotate(135deg); background: var(--lime); box-shadow: none; }
.faq details[open] .plus::before,
.faq details[open] .plus::after { background: var(--green); }
.faq .answer { overflow: hidden; }
.faq .answer p { padding: 0 56px 26px 0; color: var(--gray); font-size: var(--fs-body); }

/* ==========================================================================
   7. TEAM & INVESTOR CALLOUT
   ========================================================================== */
.team-sec {
  background: var(--paper);
  padding: clamp(40px, 6vw, 80px) 0 0;
}
.team-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.team-grid {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.member {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 16px 20px;
  border-radius: 26px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 32px -20px rgba(5, 48, 31, .18), 0 0 0 1px rgba(8, 86, 61, .06);
  transition: transform .35s var(--expo), box-shadow .35s var(--expo);
}
.member:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -22px rgba(5, 48, 31, .28), 0 0 0 1px rgba(8, 86, 61, .12);
}
.member-photo-wrap {
  position: relative;
  margin-bottom: 8px;
}
.member img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 18px;
}
.member-in {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  color: #0A66C2;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
  transition: background-color .2s, color .2s, transform .25s var(--spring);
}
.member-in svg { width: 15px; height: 15px; }
.member-in:hover { background: #0A66C2; color: #fff; transform: scale(1.08); }
.member b { font: 500 18px/1.2 var(--display); }
.member > span { font: 400 13.5px/1.3 var(--ui); color: var(--gray); }
.member-q {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #EEF1EC;
  font: 500 13.5px/1.35 var(--display);
  color: var(--green);
}
.member-join {
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(234, 244, 238, .55);
  box-shadow: inset 0 0 0 2px rgba(8, 86, 61, .2);
  gap: 8px;
  padding: 24px 20px;
}
.member-join .plus {
  width: 64px;
  height: 64px;
  margin: 0 auto 6px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--green);
  font: 500 36px/1 var(--display);
  box-shadow: none;
}
.member-join .plus::before,
.member-join .plus::after { content: none; }
.member-join a.join-in {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font: 500 14px/1 var(--display);
  text-decoration: none;
  transition: background-color .25s, transform .25s;
}
.member-join a.join-in:hover { background: var(--deep); transform: translateY(-2px); }
.member-join a.join-in::before {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.45 20.45h-3.56v-5.57c0-1.33-.03-3.04-1.85-3.04-1.86 0-2.14 1.45-2.14 2.94v5.67H9.34V9h3.42v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28ZM5.34 7.43a2.06 2.06 0 1 1 0-4.13 2.06 2.06 0 0 1 0 4.13ZM7.12 20.45H3.56V9h3.56v11.45ZM22.22 0H1.77C.79 0 0 .77 0 1.73v20.54C0 23.23.79 24 1.77 24h20.45c.98 0 1.78-.77 1.78-1.73V1.73C24 .77 23.2 0 22.22 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.45 20.45h-3.56v-5.57c0-1.33-.03-3.04-1.85-3.04-1.86 0-2.14 1.45-2.14 2.94v5.67H9.34V9h3.42v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28ZM5.34 7.43a2.06 2.06 0 1 1 0-4.13 2.06 2.06 0 0 1 0 4.13ZM7.12 20.45H3.56V9h3.56v11.45ZM22.22 0H1.77C.79 0 0 .77 0 1.73v20.54C0 23.23.79 24 1.77 24h20.45c.98 0 1.78-.77 1.78-1.73V1.73C24 .77 23.2 0 22.22 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Investor & Early Partner Bar */
.investor-bar {
  margin-top: 24px;
  padding: clamp(24px, 3vw, 34px) clamp(24px, 3.5vw, 40px);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--deep) 0%, #08563D 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 22px 48px -24px rgba(5, 48, 31, .4);
}
.ib-copy { max-width: 640px; }
.ib-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(215, 255, 0, .16);
  color: var(--lime);
  font: 500 11px/1 var(--ui);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.ib-copy h3 {
  margin-top: 10px;
  font: 500 clamp(20px, 2vw, 25px)/1.2 var(--display);
}
.ib-copy p {
  margin-top: 6px;
  font: 400 15px/1.5 var(--ui);
  color: rgba(255, 255, 255, .76);
}
.ib-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  flex: none;
}
.ib-secondary {
  font: 500 14.5px/1 var(--display);
  color: rgba(255, 255, 255, .86);
  text-decoration: none;
  padding: 10px 6px;
  transition: color .2s;
}
.ib-secondary:hover { color: var(--lime); }

@media (max-width: 960px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .investor-bar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .member { padding: 12px 12px 16px; border-radius: 20px; }
  .member b { font-size: 16px; }
  .member-q { font-size: 12.5px; }
  .member-join .plus { width: 48px; height: 48px; font-size: 28px; }
}

/* ==========================================================================
   8. FINAL CTA
   ========================================================================== */
.cta {
  padding: clamp(56px, 7vw, 108px) 0;
  background: var(--paper);
}
.cta-box {
  position: relative;
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--max) - 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(36px, 4.5vw, 60px) clamp(24px, 4.5vw, 64px);
  border-radius: clamp(28px, 3vw, 40px);
  background: #08563D;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: min(720px, 64%);
}
.cta-box .eyebrow { color: var(--lime); }
.cta-title {
  margin-top: 14px;
  font: 500 var(--fs-cta)/1.02 var(--display);
  letter-spacing: -.035em;
  color: #fff;
}
.cta-title .ct { display: block; }
.cta-title .ct2 { color: var(--lime); }
.cta-box .signup { margin-top: clamp(22px, 2.6vw, 34px); }
.cta-box .signup-row { box-shadow: none; }
.cta-box .btn { background: var(--lime); color: #08563D; }
.cta-box .btn:hover { background: #fff; }
.cta-box .signup-note {
  margin-top: 14px;
  font: 400 var(--fs-small)/1.4 var(--ui);
  color: rgba(255, 255, 255, .75);
}
.cta-box .signup-note a { color: #fff; }
.cta-box .signup-msg[data-state="ok"] { color: var(--lime); }
.cta-mark {
  position: absolute;
  right: clamp(28px, 5vw, 80px);
  top: 50%;
  translate: 0 -50%;
  width: clamp(150px, 20vw, 250px);
}
.cta-mark svg { width: 100%; height: auto; }

@media (max-width: 900px) {
  .cta-box { flex-direction: column; align-items: flex-start; padding: 36px 22px; }
  .cta-inner { max-width: none; width: 100%; }
  .cta-mark {
    position: static;
    translate: none;
    width: clamp(84px, 22vw, 116px);
    margin-bottom: 18px;
  }
}

/* ==========================================================================
   9. FOOTER & THANK YOU MODAL
   ========================================================================== */
.footer {
  background: var(--night);
  color: rgba(255, 255, 255, .7);
  padding: clamp(56px, 5vw, 76px) 0 28px;
  font: 500 15px/1.5 var(--display);
  overflow: hidden;
}
.fx-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.fx-logo {
  --logo-text: #fff;
  display: inline-block;
  color: #fff;
}
.fx-logo svg { height: 34px; width: auto; aspect-ratio: 3000 / 602; }
.fx-tag { margin-top: 18px; font: 500 19px/1.3 var(--display); color: #fff; }
.fx-cta {
  display: inline-flex;
  gap: 8px;
  margin-top: 22px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--green);
  font: 500 14.5px/1 var(--display);
  text-decoration: none;
  transition: transform .3s;
}
.fx-cta:hover { transform: translateY(-2px); }
.fx-col { display: flex; flex-direction: column; gap: 11px; align-items: flex-start; }
.fx-col h3 {
  margin-bottom: 4px;
  font: 500 12px/1 var(--ui);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
.fx-col a { color: rgba(255, 255, 255, .82); text-decoration: none; transition: color .2s; }
.fx-col a:hover { color: var(--lime); }
.fx-col p { font: 400 14.5px/1.5 var(--ui); color: rgba(255, 255, 255, .6); }
.fx-mail { color: var(--lime) !important; font-weight: 500; }

.footer-bottom {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  font: 400 var(--fs-small)/1.4 var(--ui);
  color: rgba(255, 255, 255, .48);
}
.audit-badges {
  order: 2;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.green-badge { order: 3; display: inline-flex; opacity: .85; transition: opacity .2s; }
.green-badge:hover, .audit-badges a:hover { opacity: 1; }
.audit-badges a { display: inline-flex; opacity: .85; transition: opacity .2s; }
.footer-bottom .audit-badges img,
.footer-bottom .green-badge img { height: 40px; width: auto; display: block; }
.footer-bottom .audit-badges > img { opacity: .85; }

@media (max-width: 900px) {
  .fx-top { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .fx-brand, .fx-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-bottom > span:first-child { width: 100%; }
  .audit-badges { margin-left: 0; justify-content: center; }
}

/* Thank-you Modal */
.thanks {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(2, 24, 16, 0);
  backdrop-filter: blur(0);
  transition: background-color .35s, backdrop-filter .35s;
}
.thanks[hidden] { display: none; }
.thanks.is-open { background: rgba(2, 24, 16, .58); backdrop-filter: blur(8px); }
.thanks-card {
  position: relative;
  width: min(440px, 100%);
  padding: 60px 30px 28px;
  border-radius: 32px;
  background: var(--green);
  color: #fff;
  text-align: center;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .65);
  transform: translateY(28px) scale(.94);
  opacity: 0;
  transition: transform .55s var(--spring), opacity .3s;
}
.thanks.is-open .thanks-card { transform: none; opacity: 1; }
.thanks-stickers {
  position: absolute;
  top: -32px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 4px;
}
.thanks-stickers .st { --s: 54px; opacity: 0; transform: translateY(18px) scale(.4); }
.thanks.is-open .thanks-stickers .st { animation: slap .6s var(--spring) forwards; }
.thanks.is-open .thanks-stickers .st:nth-child(2) { animation-delay: .07s; }
.thanks.is-open .thanks-stickers .st:nth-child(3) { animation-delay: .14s; }
.thanks.is-open .thanks-stickers .st:nth-child(4) { animation-delay: .21s; }
.thanks.is-open .thanks-stickers .st:nth-child(5) { animation-delay: .28s; }
@keyframes slap { to { opacity: 1; transform: none; } }
.thanks-title { font: 500 clamp(28px, 5vw, 38px)/1.05 var(--display); color: var(--lime); }
.thanks-text { margin-top: 12px; color: rgba(255, 255, 255, .82); }
.thanks-q {
  margin-top: 20px;
  padding: 13px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .08);
}
.thanks-q small { display: block; font: 500 12px/1 var(--display); color: var(--lime); }
.thanks-q b { display: block; margin-top: 6px; font: 500 16px/1.2 var(--display); }
.thanks-actions { display: flex; gap: 10px; margin-top: 20px; }
.thanks-actions button {
  flex: 1;
  padding: 14px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: 500 15px/1 var(--display);
}
.thanks-share { background: var(--lime); color: var(--green); }
.thanks-close { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- Generic Scroll Reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--expo), transform 1.1s var(--expo);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Legal Pages ---------- */
.nav.solid { background: var(--deep); }
.legal { padding: 144px 0 100px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font: 500 clamp(40px, 6vw, 68px)/1.02 var(--display); letter-spacing: -.025em; }
.legal h2 { font: 500 22px/1.25 var(--display); margin: 40px 0 12px; }
.legal p, .legal li { color: var(--gray); }
.legal p + p { margin-top: 12px; }
.legal .updated { margin-top: 14px; font-size: 14.5px; }
.legal a { color: var(--brand-text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}
/* Shared browser and form states: preserve the same quality across all pages. */
html { scroll-padding-top:110px; }
.edition :is(a,button,summary,input):focus-visible { outline:2px solid var(--forest); outline-offset:4px; }
.edition .nav:not(.is-scrolled):not(.on-light):not(.is-menu-open) :is(a,button,summary):focus-visible { outline-color:#fff; }
.edition .signup input::placeholder { color:#58675e; opacity:1; }
.edition .signup input { caret-color:var(--forest); }
.edition .signup-row:has(input[aria-invalid="true"]) { border-color:var(--coral); }
.edition .signup-msg[data-state="error"] { border-inline-start-width:1px; }
.edition .signup[aria-busy="true"] .signup-row { cursor:progress; }
.edition .signup[aria-busy="true"] button { opacity:.7; cursor:wait; }
.edition :is(button,summary,.btn) { touch-action:manipulation; }
.edition .nav.is-menu-open { overscroll-behavior:contain; }
.edition :is(a,button,summary,input) { scroll-margin-block:110px 24px; }

/* Footer links: comfortable to tap on phones */
@media (max-width: 600px) { .fx-col { gap: 0; } .fx-col h3 { margin-bottom: 6px; } .fx-col a { display: inline-flex; align-items: center; min-height: 44px; } }
