/* ==========================================================================
   Findo — landing page styles
   Brand: navy (primary), amber (reward moments only), off-white (ground)
   ========================================================================== */

:root {
  /* Brand */
  --navy: #1B2A4A;
  --navy-700: #243658;
  --navy-900: #121D35;
  --amber: #D9A441;
  --paper: #FAF8F3;
  --white: #FFFFFF;

  /* Supporting neutrals */
  --ink: #1B2A4A;
  --ink-soft: #4A5670;
  --ink-muted: #5A657C;
  --on-navy: #C9D0DE;
  --on-navy-muted: #B8C2D6;
  --line: #E7E2D7;
  --line-strong: #DCD7CB;
  --tint: #EEF0F5;
  --track: #EDE9E0;

  /* Logo mark colours (overridden per context) */
  --mark-a: var(--navy);
  --mark-b: var(--navy);
  --mark-c: var(--amber);
  --mark-stroke: var(--paper);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 120px);
  --section-y: clamp(72px, 10vw, 120px);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 36px;

  --shadow-float: 0 20px 40px rgba(27, 42, 74, 0.12);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol { margin: 0; }
ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

[id] { scroll-margin-top: 96px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }

.btn-primary { background: var(--navy); color: var(--paper); }
.btn-primary:hover { background: #2E4470; }

.btn-light { background: var(--paper); color: var(--navy); font-weight: 700; }
.btn-light:hover { background: var(--white); }

.btn-outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--paper); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(27, 42, 74, 0.08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.logo-mark { width: 44px; height: 38px; }
.logo-word {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.main-nav { display: flex; align-items: center; gap: 36px; font-size: 15px; font-weight: 500; }
.main-nav a { text-decoration: none; }
.main-nav a:not(.btn):hover { color: #2E4470; text-decoration: underline; text-underline-offset: 6px; }
.nav-signin, .nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 24px; }
.signin-link { font-size: 15px; font-weight: 600; text-decoration: none; }
.signin-link:hover { text-decoration: underline; text-underline-offset: 6px; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .25s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Shared type ---------- */
.kicker {
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-muted);
}
.kicker-amber { color: var(--amber); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 54px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.section-title-sm { font-size: clamp(34px, 3.8vw, 48px); line-height: 1.1; }

.section-lede {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-flush-top { padding-top: 0; }
.section-white { background: var(--white); border-block: 1px solid var(--line); }

.section-navy { background: var(--navy); color: var(--paper); }
.section-navy .kicker { color: var(--on-navy-muted); }
.section-navy .section-lede { color: var(--on-navy); }

.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .section-lede { margin: 16px auto 0; }

.split-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
  margin-bottom: 64px;
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 7vw, 88px) clamp(72px, 9vw, 120px); overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy { display: flex; flex-direction: column; gap: 32px; }

.pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--tint);
  font-size: 14px;
  font-weight: 600;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero-lede {
  max-width: 540px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- Sign-up form ---------- */
.signup-form { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.signup-form label { font-size: 14px; font-weight: 600; }

.signup-row { display: flex; gap: 10px; }
.signup-row input {
  flex: 1 1 auto;
  min-width: 0;
  height: 56px;
  padding: 0 20px;
  border: 1px solid #CFC9BC;
  border-radius: 14px;
  background: var(--white);
  font-size: 16px;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.signup-row input::placeholder { color: #8A93A6; }
.signup-row input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(27, 42, 74, 0.12); }
.signup-row .btn { border-radius: 14px; }

.form-msg { min-height: 1.6em; font-size: 14px; color: var(--ink-muted); }
.form-msg.is-error { color: #A3291C; font-weight: 600; }
.form-msg.is-success { color: var(--navy); font-weight: 600; }

.signup-form[aria-invalid="true"] input { border-color: #A3291C; }

.signup-form-dark label { color: var(--paper); }
.signup-form-dark input { background: var(--navy-700); border-color: #3A4E78; color: var(--paper); }
.signup-form-dark input::placeholder { color: #8E9AB5; }
.signup-form-dark input:focus { border-color: var(--paper); box-shadow: 0 0 0 4px rgba(250, 248, 243, 0.14); }
.signup-form-dark .form-msg { color: var(--on-navy); }
.signup-form-dark .form-msg.is-error { color: #F2B8AE; }
.signup-form-dark .form-msg.is-success { color: var(--amber); }
.signup-form-dark[aria-invalid="true"] input { border-color: #F2B8AE; }

/* ---------- Phone mockup ---------- */
.hero-visual { position: relative; height: 700px; }

.phone {
  position: absolute;
  left: 50%;
  top: 0;
  width: 336px;
  height: 700px;
  padding: 12px;
  border-radius: 52px;
  background: var(--navy);
  box-shadow: 0 40px 80px rgba(27, 42, 74, 0.22);
  transform: translateX(-50%);
}
.phone-screen {
  height: 100%;
  border-radius: 41px;
  background: var(--paper);
  padding: 36px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.app-top { display: flex; justify-content: space-between; align-items: center; }
.app-greeting { display: block; font-size: 12px; color: var(--ink-muted); }
.app-title { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.3; }

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #E3E7F0;
  font-size: 10px;
  font-weight: 700;
}
.avatar-lg { width: 40px; height: 40px; font-size: 13px; }
.avatar-you { background: var(--navy); color: var(--paper); }

.group-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  background: var(--navy);
  color: var(--paper);
}
.group-card-head { display: flex; justify-content: space-between; align-items: center; }
.group-name { font-size: 14px; font-weight: 600; }
.level-chip { padding: 4px 10px; border-radius: 999px; background: rgba(250, 248, 243, 0.14); font-size: 11px; font-weight: 600; }
.group-amount { display: block; font-family: var(--font-display); font-size: 32px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.group-sub { display: block; font-size: 12px; color: var(--on-navy); }
.group-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--on-navy); }

.bar { height: 8px; border-radius: 999px; background: var(--track); overflow: hidden; }
.bar-light { background: rgba(250, 248, 243, 0.16); }
.bar-fill {
  display: block;
  width: var(--fill, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--navy);
  transform-origin: left center;
}
.bar-light .bar-fill { background: var(--paper); }

.app-card { padding: 14px 16px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }

.streak-card { display: flex; align-items: center; gap: 12px; }
.icon-tile { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--tint); }
.icon-tile svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.streak-title { display: block; font-size: 14px; font-weight: 700; }
.streak-sub { display: block; font-size: 12px; color: var(--ink-muted); }

.leaderboard { display: flex; flex-direction: column; gap: 10px; }
.leaderboard-title { font-size: 12px; font-weight: 700; color: var(--ink-muted); }
.leaderboard ol { display: flex; flex-direction: column; gap: 10px; counter-reset: rank; }
.leaderboard li { display: flex; align-items: center; gap: 10px; counter-increment: rank; }
.leaderboard li::before { content: counter(rank); width: 18px; font-size: 12px; font-weight: 700; }
.lb-name { flex: 1; font-size: 13px; font-weight: 600; }
.lb-days { font-size: 12px; color: var(--ink-muted); }

.float-card {
  position: absolute;
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
}
.float-label { display: block; font-size: 12px; font-weight: 700; }
.float-title { display: block; font-size: 14px; font-weight: 700; line-height: 1.35; }

.mission-card {
  left: 0;
  top: 590px;
  width: 210px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
}
.mission-card .float-label { color: var(--ink-muted); }
.segments { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.segments span { height: 6px; border-radius: 3px; background: var(--line-strong); }
.segments span.on { background: var(--navy); }

/* The one amber moment in the hero */
.milestone-card {
  right: 0;
  bottom: 110px;
  width: 236px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--amber);
  color: var(--navy);
}
.milestone-icon { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy); }
.milestone-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Page-load sequence: the single orchestrated motion moment */
.js .hero-copy > *,
.js .phone,
.js .mission-card { opacity: 0; }
.js .milestone-card { opacity: 0; transform: translateY(12px) scale(.96); }

.js.is-loaded .hero-copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
.js.is-loaded .hero-copy > :nth-child(2) { animation-delay: .08s; }
.js.is-loaded .hero-copy > :nth-child(3) { animation-delay: .16s; }
.js.is-loaded .hero-copy > :nth-child(4) { animation-delay: .24s; }
.js.is-loaded .phone { animation: phone-in .9s cubic-bezier(.2,.7,.2,1) .15s forwards; }
.js.is-loaded .mission-card { animation: rise .7s cubic-bezier(.2,.7,.2,1) .6s forwards; }
.js.is-loaded .hero .bar-fill { animation: fill 1.2s cubic-bezier(.2,.7,.2,1) .7s both; }
.js.is-loaded .milestone-card { animation: celebrate .6s cubic-bezier(.3,1.4,.5,1) 1.7s forwards; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes phone-in { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes celebrate { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .js .hero-copy > *, .js .phone, .js .mission-card, .js .milestone-card { opacity: 1; transform: none; }
  .js .phone { transform: translateX(-50%); }
}

/* ---------- Problem ---------- */
.shift-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.shift-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.shift-from { font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.shift-to { font-family: var(--font-display); font-size: 28px; font-weight: 500; line-height: 1.2; }
.shift-card p:last-child { color: var(--ink-soft); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.step { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; border-top: 2px solid var(--navy); }
.step-payoff { border-top-color: var(--amber); }
.step-num { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--ink-muted); }
.step h3 { font-size: 24px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.step p { font-size: 17px; color: var(--ink-soft); }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--navy-700);
}
.feature-icon { width: 28px; height: 28px; fill: none; stroke: var(--paper); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-icon-amber { stroke: var(--amber); }
.feature h3 { font-size: 21px; font-weight: 700; }
.feature p { color: var(--on-navy); }
.feature-example {
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Journeys ---------- */
.journeys-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.journeys-copy { display: flex; flex-direction: column; align-items: flex-start; }
.journeys-copy .section-title { margin-bottom: 24px; }
.journeys-copy .section-lede { margin-bottom: 32px; }

.challenge-list { display: flex; flex-direction: column; gap: 16px; }
.challenge {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
}
.challenge-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.challenge h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.chip { flex-shrink: 0; padding: 6px 12px; border-radius: 999px; background: var(--tint); font-size: 13px; font-weight: 600; }
.challenge-meta { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--ink-muted); }

/* ---------- Saver ladder ---------- */
.ladder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; align-items: end; }
.rung { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.rung-dot {
  width: var(--size);
  height: var(--size);
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rung-dot svg { width: 44px; height: 44px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rung h3 { font-size: 17px; font-weight: 700; }
.rung p { font-size: 14px; color: var(--ink-muted); }

/* ---------- Trust ---------- */
.trust-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 80px); }
.trust-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.trust-item { display: flex; flex-direction: column; gap: 12px; }
.trust-item svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-item h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.trust-item p { color: var(--ink-soft); }

/* ---------- Founders ---------- */
.founders-wrap { padding-bottom: var(--section-y); }
.founders {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 64px;
  align-items: center;
  padding: clamp(40px, 6vw, 80px);
  border-radius: var(--radius-xl);
  background: var(--navy);
  color: var(--paper);
}
.founders-copy .section-title { margin-bottom: 24px; }
.founders-copy .section-lede { color: var(--on-navy); margin-bottom: 28px; }

.badge-wrap { display: flex; justify-content: center; }
.founder-badge {
  --mark-a: var(--navy);
  --mark-b: var(--navy);
  --mark-c: var(--paper);
  --mark-stroke: var(--amber);
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 0 0 14px rgba(217, 164, 65, 0.16);
}
.badge-mark { width: 72px; height: 62px; }
.badge-title { font-family: var(--font-display); font-size: 30px; font-weight: 600; line-height: 1.1; }
.badge-sub { font-size: 13px; font-weight: 600; }

.founder-badge.is-celebrating { animation: badge-pop .7s cubic-bezier(.3,1.5,.5,1); }
@keyframes badge-pop {
  0% { transform: scale(1); box-shadow: 0 0 0 14px rgba(217,164,65,.16); }
  40% { transform: scale(1.06); box-shadow: 0 0 0 28px rgba(217,164,65,.22); }
  100% { transform: scale(1); box-shadow: 0 0 0 14px rgba(217,164,65,.16); }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); }
.faq-item { border-top: 1px solid var(--line-strong); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  border: 0;
  background: none;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}
.faq-q:hover { color: #2E4470; }
.faq-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 18px;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s ease;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding-bottom: 26px; max-width: 62ch; }
.faq-a p { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 40px; background: var(--navy-900); color: var(--on-navy); }
.footer-top { display: flex; justify-content: space-between; gap: 48px; margin-bottom: 56px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 340px; }
.logo-footer { --mark-a: #3A4E78; --mark-b: #3A4E78; --mark-stroke: var(--navy-900); color: var(--paper); }
.footer-links { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(40px, 7vw, 96px); }
.footer-links div { display: flex; flex-direction: column; gap: 12px; }
.footer-links h3 { margin-bottom: 4px; font-size: 14px; font-weight: 700; color: var(--paper); }
.footer-links a { text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding-top: 28px;
  border-top: 1px solid #2A3A5E;
  font-size: 14px;
}


/* ---------- Help centre ---------- */
.help-lede { margin-top: 16px; }
.help-lede a { color: var(--navy); font-weight: 600; text-underline-offset: 4px; }

.help-topics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.help-topic {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--white);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.help-topic svg { width: 26px; height: 26px; margin-bottom: 8px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.help-topic-title { font-size: 17px; font-weight: 700; }
.help-topic-desc { font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.help-topic:hover { border-color: var(--navy); }
.help-topic[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.help-topic[aria-pressed="true"] svg { stroke: var(--paper); }
.help-topic[aria-pressed="true"] .help-topic-desc { color: var(--on-navy); }

.faq-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 32px; margin-bottom: 8px; }
.faq-status { font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.faq-clear { padding: 4px 0; border: 0; background: none; font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.faq-item[hidden] { display: none; }
.faq-list { border-bottom: 1px solid var(--line-strong); }
.faq-a a { color: var(--navy); font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-info .section-title { margin-bottom: 20px; }
.contact-info .section-lede { margin-bottom: 32px; }

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px solid var(--line);
}
.contact-card-icon { width: 48px; height: 48px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--navy); }
.contact-card-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--paper); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-card-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.contact-card-label { font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.contact-email { font-size: 18px; font-weight: 700; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.contact-email:hover { text-decoration: underline; text-underline-offset: 4px; }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.copy-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.copy-btn:hover { border-color: var(--navy); }
.copy-btn.is-copied { background: var(--navy); border-color: var(--navy); color: var(--paper); }

.contact-notes { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.contact-notes li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink-soft); }
.contact-notes li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
}
.contact-form-title { font-family: var(--font-display); font-size: 28px; font-weight: 500; line-height: 1.2; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #CFC9BC;
  border-radius: 12px;
  background: var(--white);
  font-size: 16px;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input, .field select { height: 52px; padding-block: 0; }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #8A93A6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(27, 42, 74, 0.12); }
.field [aria-invalid="true"] { border-color: #A3291C; }
.field-error { min-height: 0; font-size: 13px; font-weight: 600; color: #A3291C; }
.field-error:empty { display: none; }

.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg);
  pointer-events: none;
}
.contact-submit { align-self: flex-start; }
.contact-msg:empty { display: none; }

.footer-email { color: var(--paper); font-weight: 600; text-decoration: none; }
.footer-email:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .main-nav { gap: 24px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .mission-card { left: -8px; }
  .milestone-card { right: -8px; }
  .trust-grid, .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  /* Mobile navigation */
  .menu-toggle { display: inline-flex; }
  .header-actions { display: none; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(27, 42, 74, 0.08);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .main-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-signin { display: block; }
  .nav-cta-mobile { display: inline-flex; margin-top: 20px; min-height: 52px; }

  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { max-width: 560px; width: 100%; margin-inline: auto; }

  .split-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .shift-grid, .steps { grid-template-columns: 1fr; }
  .steps { gap: 32px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journeys-grid { grid-template-columns: 1fr; }
  .ladder { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .rung { scroll-snap-align: center; }
  .trust-items { grid-template-columns: 1fr; gap: 28px; }
  .help-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .founders { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 600px) {
  .logo-mark { width: 38px; height: 33px; }
  .logo-word { font-size: 26px; }
  .header-inner { min-height: 72px; }
  [id] { scroll-margin-top: 80px; }

  .signup-row { flex-direction: column; }
  .signup-row .btn { width: 100%; }

  .hero-visual { height: 620px; }
  .phone { width: 296px; height: 620px; border-radius: 46px; padding: 10px; }
  .phone-screen { border-radius: 37px; padding: 28px 16px 16px; gap: 12px; }
  .mission-card { display: none; }
  .milestone-card { bottom: 64px; right: 0; width: 206px; padding: 12px 14px; }
  .milestone-card .float-title { font-size: 13px; }
  .milestone-icon { width: 34px; height: 34px; }

  .feature-grid { grid-template-columns: 1fr; }
  .feature, .shift-card { padding: 26px; }
  .challenge { padding: 22px; }
  .challenge-head { align-items: flex-start; }
  .founder-badge { width: 220px; height: 220px; }
  .faq-q { font-size: 18px; }
  .help-topic { padding: 18px; }
  .help-topic-desc { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .contact-submit { align-self: stretch; }
  .contact-card { flex-wrap: wrap; }
  .copy-btn { margin-left: 64px; }
  .footer-links { grid-template-columns: repeat(2, auto); }
}

