/* INVY landing — page-specific styles
 * Built directly on top of tokens.css. No frameworks.
 */

/* Respect the [hidden] attribute even when overridden by display rules. */
[hidden] { display: none !important; }

/* Belt-and-braces against horizontal overflow from absolutely-positioned
 * decorations (mascot stickers, hero floats). Layouts already fit; this just
 * prevents a single bad px from creating a scrollbar on phones. */
html, body { overflow-x: clip; }

/* ───── Layout helpers ───── */
.eyebrow.invert { color: var(--orange-300); }
.eyebrow.invert .dot { background: var(--orange-300); }
.text-accent { color: var(--accent); }
.text-orange { color: var(--orange-400); }
em.no-italic { font-style: normal; color: var(--accent); }

/* ───── Buttons (matches primitives.jsx Button) ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; border-radius: 9999px; border: 0;
  font-family: var(--font-body); font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  white-space: nowrap; text-decoration: none;
  height: 48px; padding: 0 22px; font-size: 14.5px;
}
.btn:active { transform: translateY(1px); }
.btn.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn.btn-lg { height: 56px; padding: 0 28px; font-size: 15.5px; }
.btn.btn-primary {
  background: var(--coffee); color: #fff;
  box-shadow: var(--shadow-cta), var(--shadow-cta-inner);
}
.btn.btn-primary:hover { background: #1d0301; }
.btn.btn-secondary {
  background: transparent; color: var(--coffee);
  box-shadow: inset 0 0 0 1.5px var(--border-coffee);
}
.btn.btn-ghost { background: transparent; color: var(--coffee); }
.btn.btn-invert { background: #fff; color: var(--coffee); box-shadow: 0 6px 24px rgba(0,0,0,0.18); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn .ico { width: 16px; height: 16px; }

/* ───── Inputs ───── */
.input {
  width: 100%; height: 56px; padding: 0 20px;
  border-radius: 9999px;
  border: 1.5px solid var(--border-subtle);
  background: #fff;
  font-family: var(--font-body); font-size: 15px; color: var(--coffee);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.input:focus { border-color: var(--coffee); box-shadow: 0 0 0 4px rgba(41,4,1,0.08); }
.input[disabled] { opacity: 0.55; }

/* ───── Pills ───── */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 9999px;
  font-size: 12px; font-weight: 600; letter-spacing: -0.005em;
  border: 1px solid transparent;
}
.pill.cream { background: var(--cream-3); color: var(--coffee); border-color: var(--border-subtle); }
.pill.orange { background: var(--accent-soft); color: var(--orange-700); }
.pill.coffee { background: rgba(41,4,1,0.06); color: var(--coffee); }
.pill.invert { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.92); border-color: rgba(255,255,255,0.10); }

/* ───── Cards ───── */
.card {
  background: #fff; color: var(--coffee);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-5); padding: 28px;
  box-shadow: var(--shadow-1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card.cream { background: var(--cream-3); border-color: transparent; }
.card.coffee { background: var(--coffee); color: #fff; border-color: transparent; }
.card.hoverable:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }

/* ───── Custom checkbox ───── */
.checkbox-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; line-height: 1.5; color: var(--fg-3);
  cursor: pointer; user-select: none;
}
/* Visually-hidden input — still focusable / clickable / readable by AT. */
.checkbox-row input[type="checkbox"] {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}
.checkbox-row input[type="checkbox"]:focus-visible + .box {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.checkbox-row .box {
  position: relative; flex: none;
  width: 18px; height: 18px; border-radius: 5px;
  border: 1.5px solid var(--border-strong); background: #fff;
  transition: background 0.15s ease, border-color 0.15s ease;
  margin-top: 1px;
}
.checkbox-row .box svg { position: absolute; top: 2px; left: 2px; }
.checkbox-row input:checked + .box {
  border-color: var(--coffee); background: var(--coffee);
}
.checkbox-row .box svg { opacity: 0; transition: opacity 0.15s; }
.checkbox-row input:checked + .box svg { opacity: 1; }
.checkbox-row a { color: var(--coffee); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ───── NAV ───── */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: transform 0.35s ease, background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease, border-color 0.25s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.nav-wrap.scrolled {
  background: rgba(255, 248, 244, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-wrap.hidden { transform: translateY(-110%); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 32px; max-width: 1280px; margin: 0 auto;
  transition: padding 0.25s ease;
}
.nav-wrap.scrolled .nav-inner { padding: 14px 32px; }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 900;
  font-size: 22px; letter-spacing: -0.04em; color: var(--coffee);
}
.nav-logo img { border-radius: 9px; box-shadow: var(--shadow-1); }
.nav-links {
  display: flex; gap: 36px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  color: var(--fg-2);
}
.nav-links a { padding: 8px 2px; transition: color 0.18s; }
.nav-links a:hover { color: var(--coffee); }

@media (max-width: 860px) { .nav-links { display: none; } }

.nav-lang {
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  color: var(--fg-2); letter-spacing: 0.04em;
  padding: 6px 10px; border-radius: 8px;
  border: 1px solid var(--border-subtle);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
  text-decoration: none;
}
.nav-lang:hover { color: var(--coffee); border-color: var(--coffee); background: var(--cream-2); }

/* ───── HERO ───── */
.hero {
  position: relative; padding: 120px 0 80px;
  background: var(--cream-1); overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px; align-items: center;
}
.hero-grid > * { min-width: 0; }
.hero-headline { display: flex; flex-direction: column; gap: 28px; position: relative; z-index: 2; }
.hero h1 { font-family: var(--font-display); margin: 0; }
.hero-sub {
  font-size: var(--fs-lead); line-height: var(--lh-lead);
  color: var(--fg-3); max-width: 540px; margin: 0;
}
.hero-sub strong { color: var(--coffee); font-weight: 700; }
.waitlist-form { display: flex; flex-direction: column; gap: 14px; max-width: 480px; width: 100%; }
.waitlist-fields {
  display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap;
  max-width: 480px; width: 100%;
}
.waitlist-fields .input { flex: 1 1 240px; min-width: 240px; }
.waitlist-fields .btn { flex: 0 0 auto; }
.waitlist-success {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px; border-radius: 9999px;
  background: rgba(31, 138, 91, 0.08);
  border: 1.5px solid rgba(31, 138, 91, 0.28);
  color: var(--success); font-weight: 600;
}
.hero-social { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--fg-2); }
.hero-social strong { color: var(--coffee); font-weight: 700; }
.hero-social .sep { width: 1px; height: 18px; background: var(--border-strong); opacity: 0.4; }
.hero-social .live { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--fg-3); }
.hero-social .live-dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--success); }
.avatars { display: flex; }
.avatars .avatar {
  width: 36px; height: 36px; border-radius: 9999px;
  border: 2.5px solid var(--cream-1); margin-left: -10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 13px;
  box-shadow: var(--shadow-1);
}
.avatars .avatar:first-child { margin-left: 0; }

.right-stage { position: relative; height: 620px; display: flex; justify-content: center; align-items: center; }

/* Floating info card behind phone */
.float-insight {
  position: absolute; top: 40px; left: -10px; z-index: 1;
  width: 240px; padding: 16px; border-radius: 18px;
  background: #fff; box-shadow: var(--shadow-2);
  transform: rotate(-6deg);
}
.float-insight .head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.float-insight .ico-bubble { width: 32px; height: 32px; border-radius: 9999px; background: var(--cream-2); display: inline-flex; align-items: center; justify-content: center; }
.float-insight .label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.float-insight .num-row { display: flex; align-items: baseline; gap: 6px; }
.float-insight .num { font-family: var(--font-display); font-weight: 800; font-size: 32px; letter-spacing: -0.04em; color: var(--coffee); }
.float-insight .unit { font-size: 12px; color: var(--fg-3); }
.float-insight .trend { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 9999px; font-size: 11px; font-weight: 700; background: rgba(31,138,91,0.12); color: var(--success); }

.phone-frame {
  position: absolute; right: 0; top: 0; z-index: 2;
  width: 310px; aspect-ratio: 9/19.5;
  border-radius: 42px; background: #1a0d0a; padding: 7px;
  transform: rotate(3deg);
  box-shadow: 0 40px 80px rgba(41,4,1,0.22), inset 0 0 0 1.5px rgba(255,255,255,0.06);
}
.phone-screen { width: 100%; height: 100%; border-radius: 35px; background: var(--cream-1); overflow: hidden; position: relative; display: flex; flex-direction: column; font-family: var(--font-display); color: var(--coffee); }
.phone-status { display: flex; justify-content: space-between; padding: 16px 18px 0; font-size: 12px; font-weight: 700; }
.phone-signal { display: flex; gap: 2px; align-items: end; }
.phone-signal div { width: 3px; background: var(--coffee); border-radius: 1px; }
.phone-content { flex: 1; padding: 12px 16px 0; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.phone-bottom-nav { margin-top: auto; padding: 10px 8px 16px; border-top: 1px solid var(--border-subtle); background: #fff; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }
.phone-bottom-nav .nav-item { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--fg-4); }
.phone-bottom-nav .nav-item.active { color: var(--coffee); }
.phone-bottom-nav .nav-item span { font-size: 8px; font-weight: 500; }
.phone-bottom-nav .nav-item.active span { font-weight: 700; }

.float-ai-nudge {
  position: absolute; bottom: 40px; left: 20px; z-index: 3;
  width: 280px; padding: 16px; border-radius: 18px;
  background: var(--coffee); color: #fff;
  box-shadow: var(--shadow-3); transform: rotate(4deg);
}
.float-ai-nudge .head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.float-ai-nudge img { width: 32px; height: 32px; border-radius: 9999px; background: rgba(255,255,255,0.06); }
.float-ai-nudge .eyebrow-mini { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-300); }
.float-ai-nudge .time { font-size: 10px; color: rgba(255,255,255,0.5); }
.float-ai-nudge p { margin: 0; font-size: 13px; line-height: 1.45; color: rgba(255,255,255,0.92); }

.mascot-wave {
  position: absolute; top: -36px; right: -20px; width: 130px; height: 130px;
  object-fit: contain; z-index: 4;
  filter: drop-shadow(0 18px 24px rgba(41,4,1,0.18));
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .right-stage { height: 540px; }
}
@media (max-width: 640px) {
  .hero { padding: 100px 0 56px; }
  .right-stage { height: 480px; transform: scale(0.85); }
}

/* ───── PROBLEM ───── */
.problem-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px; align-items: center; margin-bottom: 56px;
}
.problem-head .text-right {
  font-size: var(--fs-lead); line-height: var(--lh-lead);
  color: var(--fg-3); max-width: 460px; justify-self: end;
}
.problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.problem-grid > * { min-width: 0; }
.problem-card .icon-wrap {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--cream-3);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.problem-card h3 { font-size: 20px; letter-spacing: -0.02em; margin: 0 0 8px; font-family: var(--font-display); font-weight: 700; }
.problem-card p { font-size: 14.5px; line-height: 1.55; color: var(--fg-3); }
@media (max-width: 960px) {
  .problem-head { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .problem-head .text-right { justify-self: start; }
  .problem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) { .problem-grid { grid-template-columns: minmax(0, 1fr); } }

/* ───── PANDA FEATURE BLOCK ───── */
.panda-block { background: var(--cream-3); }
.panda-block-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.panda-block-grid > * { min-width: 0; }
.panda-block h2 { margin: 20px 0 22px; }
.panda-block .lead { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--fg-3); max-width: 520px; }
.bullet-list { margin-top: 36px; display: flex; flex-direction: column; gap: 14px; }
.bullet-row { display: flex; align-items: flex-start; gap: 12px; }
.bullet-row .dot {
  width: 24px; height: 24px; border-radius: 9999px; background: var(--coffee);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  flex: none; margin-top: 1px;
}
.bullet-row span:last-child { font-size: 15.5px; color: var(--fg-2); line-height: 1.55; }

.dashboard-mock {
  position: relative; padding: 26px; border-radius: 32px;
  background: var(--cream-1);
  box-shadow: var(--shadow-2); border: 1px solid var(--border-subtle);
}
.dashboard-mock .mood-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.dashboard-mock .panda-avatar {
  position: relative; width: 64px; height: 64px; border-radius: 9999px;
  background: var(--cream-3);
  display: inline-flex; align-items: center; justify-content: center;
}
.dashboard-mock .panda-avatar img { width: 56px; height: 56px; object-fit: contain; }
.dashboard-mock .panda-avatar .status-dot {
  position: absolute; bottom: -2px; right: -2px;
  width: 18px; height: 18px; border-radius: 9999px;
  background: var(--success); border: 3px solid var(--cream-1);
}
.dashboard-mock .mood-name { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--coffee); }
.dashboard-mock .mood-state { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--success); font-weight: 600; }
.metabolic-panel {
  background: var(--coffee); color: #fff; border-radius: 24px; padding: 22px;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center;
  margin-bottom: 14px;
}
.metabolic-panel .label { font-size: 11px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; color: var(--orange-300); }
.metabolic-panel .time { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; margin-top: 6px; }
.metabolic-panel .desc { font-size: 13px; color: rgba(255,255,255,0.66); margin-top: 4px; line-height: 1.4; }
.metabolic-panel .legend { display: flex; gap: 14px; margin-top: 14px; font-size: 12px; }
.metabolic-panel .legend span { display: flex; align-items: center; gap: 6px; }
.metabolic-panel .legend .ld { width: 8px; height: 8px; border-radius: 9999px; }
.ai-nudge { padding: 16px; border-radius: 16px; background: var(--cream-3); display: flex; gap: 12px; align-items: flex-start; }
.ai-nudge .ico {
  width: 32px; height: 32px; border-radius: 9999px; background: var(--accent);
  color: #fff; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.ai-nudge .ttl { font-size: 12px; font-weight: 700; color: var(--coffee); }
.ai-nudge p { font-size: 13.5px; line-height: 1.5; color: var(--fg-2); margin-top: 4px; }
.dashboard-mock .mascot-peek {
  position: absolute; bottom: -28px; right: -24px;
  width: 120px; height: 120px; object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(41,4,1,0.18));
}
@media (max-width: 960px) { .panda-block-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; } }
@media (max-width: 640px) {
  .dashboard-mock { padding: 18px; overflow: hidden; }
  .dashboard-mock .mascot-peek { width: 84px; height: 84px; right: -10px; bottom: -10px; }
  .metabolic-panel { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px; }
  .metabolic-panel svg { width: 96px; height: 96px; }
  .metabolic-panel .time { font-size: 22px; }
}

/* ───── AI FEATURE BLOCK ───── */
.ai-feature-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.ai-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ai-feature-grid > * { min-width: 0; }
.ai-feature-card .head { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.ai-feature-card .ico {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--coffee); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.ai-feature-card h3 { margin-bottom: 12px; font-size: 24px; font-family: var(--font-display); font-weight: 700; }
.ai-feature-card p { font-size: 14.5px; line-height: 1.55; color: var(--fg-3); }
@media (max-width: 1024px) { .ai-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ai-feature-grid { grid-template-columns: minmax(0, 1fr); } }

/* ───── TRACKING GRID ───── */
.tracking { background: var(--cream-3); }
.tracking-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 32px; margin-bottom: 48px; flex-wrap: wrap;
}
.tracking-head p { max-width: 380px; font-size: 16px; color: var(--fg-3); }
.tracking-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: var(--border-subtle); border-radius: 24px; overflow: hidden;
  border: 1px solid var(--border-subtle);
}
.tracking-grid > * { min-width: 0; }
.tracking-tile { background: var(--cream-1); padding: 36px; transition: background 0.2s ease; }
.tracking-tile .ico {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--cream-3);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.tracking-tile h3 { font-size: 22px; margin: 0 0 10px; letter-spacing: -0.02em; font-family: var(--font-display); font-weight: 700; }
.tracking-tile p { font-size: 14.5px; line-height: 1.55; color: var(--fg-3); }
@media (max-width: 960px) { .tracking-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tracking-grid { grid-template-columns: minmax(0, 1fr); } }

/* ───── HOW IT WORKS ───── */
.how-head { text-align: center; max-width: 740px; margin: 0 auto 64px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; position: relative; z-index: 1; }
.steps-grid > * { min-width: 0; }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.step-medallion {
  position: relative; margin-bottom: 26px;
  width: 88px; height: 88px; border-radius: 9999px;
  background: var(--coffee); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-2);
}
.step-medallion .step-num {
  position: absolute; top: -6px; right: -10px;
  padding: 4px 10px; border-radius: 9999px;
  background: var(--accent); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 12px;
  letter-spacing: -0.01em;
}
.step-card { width: 100%; }
.step-card .time {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--fg-3); justify-content: center;
}
.step-card h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 10px; font-family: var(--font-display); font-weight: 700; }
.step-card p { font-size: 14.5px; line-height: 1.6; color: var(--fg-3); }
@media (max-width: 860px) { .steps-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* ───── WAITLIST CTA ───── */
.cta-section { background: var(--coffee); color: #fff; position: relative; overflow: hidden; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.cta-grid > * { min-width: 0; }
.cta-section h2 { color: #fff; margin: 22px 0; }
.cta-section .lead { font-size: var(--fs-lead); line-height: var(--lh-lead); color: rgba(255,255,255,0.72); max-width: 540px; margin-bottom: 28px; }
.spots-progress { margin-bottom: 28px; max-width: 480px; }
.spots-progress .row {
  display: flex; justify-content: space-between; margin-bottom: 10px;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85);
}
.spots-progress strong { color: #fff; }
.spots-progress .left { color: var(--orange-300); }
.spots-progress .bar { height: 8px; border-radius: 9999px; background: rgba(255,255,255,0.10); overflow: hidden; }
.spots-progress .fill {
  height: 100%; border-radius: 9999px;
  background: linear-gradient(90deg, var(--orange-500) 0%, var(--orange-300) 100%);
  transition: width 0.4s ease;
}
.cta-section ul.benefits { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.cta-section ul.benefits li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.92); }
.cta-section ul.benefits .dot {
  width: 24px; height: 24px; border-radius: 9999px;
  background: var(--orange-500); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.cta-card { background: #fff; color: var(--coffee); padding: 36px; border-radius: var(--r-5); box-shadow: 0 32px 80px rgba(0,0,0,0.35); }
.cta-card .head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.cta-card .head img { width: 56px; height: 56px; border-radius: 9999px; background: var(--cream-3); }
.cta-card .ttl { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--coffee); }
.cta-card .sub-text { font-size: 13px; color: var(--fg-3); }
.cta-card form { display: flex; flex-direction: column; gap: 12px; }
.cta-card .checkbox-row { margin-top: 6px; }
.cta-card .label { font-size: 12px; font-weight: 700; color: var(--fg-3); letter-spacing: 0.06em; text-transform: uppercase; }
.cta-card .input { border-radius: 14px; height: 54px; }
.cta-card .btn { border-radius: 14px; margin-top: 6px; height: 54px; width: 100%; }
.cta-success {
  padding: 24px; border-radius: 14px;
  background: rgba(31,138,91,0.08);
  border: 1.5px solid rgba(31,138,91,0.24);
  text-align: center;
}
.cta-success h3 { margin-top: 12px; color: var(--success); font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.cta-success p { margin-top: 6px; font-size: 14px; color: var(--fg-2); }
@media (max-width: 960px) { .cta-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; } }
@media (max-width: 640px) { .cta-card { padding: 24px; } }

/* ───── FAQ ───── */
.faq { background: var(--cream-1); }
.faq-inner { max-width: 920px; }
.faq-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: end; margin-bottom: 32px; }
.faq-head p { font-size: 16px; color: var(--fg-3); text-align: right; max-width: 380px; justify-self: end; }
.faq-head a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-item .q-btn {
  width: 100%; background: transparent; border: 0; padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; text-align: left; color: var(--coffee);
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  letter-spacing: -0.02em;
}
.faq-item .q-btn span:first-child { flex: 1; text-wrap: balance; }
.faq-item .toggle {
  width: 36px; height: 36px; border-radius: 9999px; flex: none;
  background: var(--cream-3); color: var(--coffee);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.3s ease;
}
.faq-item[aria-expanded="true"] .toggle { background: var(--coffee); color: #fff; transform: rotate(45deg); }
.faq-item .a-wrap { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.faq-item .a-inner { padding: 0 64px 28px 0; font-family: var(--font-body); font-size: 15.5px; line-height: 1.65; color: var(--fg-3); text-wrap: pretty; }
@media (max-width: 720px) {
  .faq-head { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .faq-head p { text-align: left; justify-self: start; }
  .faq-item .a-inner { padding-right: 12px; }
}

/* ───── FOOTER ───── */
.footer { background: var(--coffee); color: #fff; padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.footer-grid > * { min-width: 0; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.footer-brand img { border-radius: 11px; }
.footer-brand .name { font-family: var(--font-display); font-weight: 900; font-size: 24px; letter-spacing: -0.04em; }
.footer-brand .tagline { font-size: 10px; opacity: 0.5; letter-spacing: 0.16em; text-transform: uppercase; }
.footer .socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer .socials a {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.18s ease;
}
.footer .socials a:hover { background: rgba(255,255,255,0.12); }
.footer .col-title {
  font-family: var(--font-body); font-weight: 700; font-size: 12px;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: rgba(255,255,255,0.38); margin-bottom: 18px;
}
.footer ul.links { display: flex; flex-direction: column; gap: 12px; }
.footer ul.links a {
  font-size: 14.5px; color: rgba(255,255,255,0.85);
  transition: color 0.18s ease;
}
.footer ul.links a:hover { color: var(--orange-300); }
.disclaimer {
  margin-top: 56px; padding: 20px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  display: flex; align-items: flex-start; gap: 14px;
}
.disclaimer p { margin: 0; font-size: 13px; line-height: 1.55; color: rgba(255,255,255,0.68); }
.disclaimer strong { color: #fff; }
.bottom-bar {
  margin-top: 40px; padding: 24px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  font-size: 13px; color: rgba(255,255,255,0.42);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ───── Toast ───── */
.toast {
  position: fixed; top: 20px; right: 20px; z-index: 100;
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 56px 16px 18px;
  background: var(--coffee); color: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(41,4,1,0.32), 0 4px 12px rgba(0,0,0,0.18);
  max-width: 380px; min-width: 280px;
  transform: translateX(calc(100% + 30px)); opacity: 0;
  transition: transform 0.42s cubic-bezier(0.18, 0.89, 0.32, 1.18), opacity 0.25s ease;
  pointer-events: auto;
}
.toast[hidden] { display: none; }
.toast.in { transform: translateX(0); opacity: 1; }
.toast-icon {
  flex: none; width: 36px; height: 36px; border-radius: 9999px;
  background: rgba(31,138,91,0.20); color: #7be3a8;
  display: inline-flex; align-items: center; justify-content: center;
}
.toast-title {
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
  letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 4px;
}
.toast-msg { font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,0.78); }
.toast-close {
  position: absolute; top: 12px; right: 12px;
  width: 28px; height: 28px; border-radius: 9999px;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
  border: 0; cursor: pointer; font-size: 18px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.18s, color 0.18s;
}
.toast-close:hover { background: rgba(255,255,255,0.16); color: #fff; }
@media (max-width: 540px) {
  .toast { left: 12px; right: 12px; top: 12px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .toast { transition: opacity 0.2s ease; transform: none; }
}

/* ───── Signed-up state ───── */
.is-signed-up .btn-cta-nav .label-default { display: none; }
.btn-cta-nav .label-joined { display: none; }
.is-signed-up .btn-cta-nav .label-joined { display: inline-flex; align-items: center; gap: 6px; }
.is-signed-up .btn-cta-nav .ico-arrow { display: none; }

/* ───── Cookie consent banner ───── */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 90;
  margin: 0 auto; max-width: 760px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 16px 20px;
  background: var(--coffee); color: #fff;
  border-radius: var(--r-4);
  box-shadow: var(--shadow-3), 0 4px 12px rgba(0,0,0,0.18);
  transform: translateY(calc(100% + 30px)); opacity: 0;
  transition: transform 0.42s cubic-bezier(0.18, 0.89, 0.32, 1.18), opacity 0.25s ease;
}
.cookie-banner.in { transform: translateY(0); opacity: 1; }
.cookie-text {
  flex: 1 1 280px; margin: 0;
  font-size: var(--fs-sm); line-height: 1.5; color: rgba(255,255,255,0.82);
}
.cookie-text a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; flex: none; }
/* The dark banner needs light-on-dark button treatments. */
.cookie-banner .btn.btn-secondary {
  background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.4);
}
.cookie-banner .btn.btn-secondary:hover { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.75); }
.cookie-banner .btn.btn-primary { background: #fff; color: var(--coffee); box-shadow: none; }
.cookie-banner .btn.btn-primary:hover { background: rgba(255,255,255,0.88); }
@media (max-width: 540px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 14px 16px; gap: 12px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: opacity 0.2s ease; transform: none; }
}
.cookie-settings-link {
  background: none; border: 0; padding: 0; font: inherit; color: inherit;
  text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
  transition: color 0.18s ease;
}
.cookie-settings-link:hover { color: rgba(255,255,255,0.78); }
