:root {
  --navy: #0f1b2d;
  --navy-2: #16263f;
  --orange: #f5862b;
  --orange-dark: #d96e14;
  --paper: #f7f5f1;
  --ink: #1c2733;
  --muted: #5a6a7a;
  --line: #e2ddd4;
  --white: #ffffff;
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: 1.75rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
p  { margin-bottom: 1rem; }

a { color: var(--orange-dark); }

/* ---------- top bar ---------- */
.topbar { background: var(--navy); }
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.brand {
  color: var(--white); text-decoration: none; font-weight: 800;
  font-size: 1.05rem; letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 10px;
}
.brand span { color: var(--orange); }
.brand img { height: 44px; width: auto; display: block; }
.topbar nav a {
  color: #cdd6e2; text-decoration: none; font-size: 0.9rem;
  margin-left: 18px; font-weight: 600;
}
.topbar nav a:hover { color: var(--white); }
.topbar nav a.nav-cta {
  background: var(--orange); color: var(--navy);
  padding: 8px 14px; border-radius: 6px;
}
.topbar nav a.nav-cta:hover { background: #ff9a45; color: var(--navy); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  border-radius: 980px; padding: 14px 30px; font-size: 1rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: #ff9a45; }
.btn-outline {
  border: 2px solid var(--navy); color: var(--navy); padding: 12px 24px;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-card {
  display: block; text-align: center; background: var(--navy);
  color: var(--white); padding: 12px; border-radius: 8px;
  text-decoration: none; font-weight: 700; margin-top: auto;
}
.btn-card:hover { background: var(--navy-2); }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: var(--white); padding: 72px 0 80px; }
.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem); font-weight: 800;
  max-width: 15em;
}
.hero h1 em { color: var(--orange); font-style: normal; }
.hero .sub {
  margin-top: 20px; max-width: 38em; font-size: 1.12rem; color: #c6d0dd;
}
.hero .cta-row { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero .link-quiet { color: #c6d0dd; font-weight: 600; text-decoration: none; }
.hero .link-quiet:hover { color: var(--white); }
.kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.78rem; font-weight: 700; color: var(--orange); margin-bottom: 18px;
}

/* ---------- sections ---------- */
section { padding: 64px 0; }
section.alt { background: var(--white); }
.section-head { max-width: 42em; margin-bottom: 36px; }
.section-head .lead { color: var(--muted); }

/* ---------- how it works ---------- */
.steps { display: grid; gap: 24px; }
.step {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; padding: 26px;
}
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--orange); color: var(--navy); font-weight: 800;
  margin-bottom: 14px; font-size: 1.05rem;
}
.step p { margin-bottom: 0; color: var(--muted); }

/* ---------- role cards ---------- */
.roles { display: grid; gap: 24px; }
.role-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 26px; display: flex; flex-direction: column;
}
.role-card .tag {
  text-transform: uppercase; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.12em; color: var(--orange-dark); margin-bottom: 8px;
}
.role-card p { color: var(--muted); margin-bottom: 20px; }

/* ---------- trust ---------- */
.trust-list { display: grid; gap: 18px; }
.trust-item {
  background: var(--white); border-left: 4px solid var(--orange);
  border-radius: 0 8px 8px 0; padding: 18px 22px;
  box-shadow: 0 1px 2px rgba(15, 27, 45, 0.06);
}
.trust-item strong { display: block; margin-bottom: 4px; }
.trust-item p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item h3 { font-size: 1.05rem; }
.faq-item p { margin: 8px 0 0; color: var(--muted); }
.faq-more { margin-top: 24px; font-weight: 600; }

/* ---------- founder ---------- */
.founder { background: var(--white); }
.founder-note {
  max-width: 40em; margin: 0 auto; font-size: 1.08rem;
  border: 1px solid var(--line); border-radius: 10px; padding: 40px 36px;
  background: var(--paper);
}
.founder-note .sig { font-weight: 800; margin-bottom: 0; margin-top: 24px; }

/* ---------- final CTA ---------- */
.final-cta { background: var(--navy); color: var(--white); text-align: center; }
.final-cta p { color: #c6d0dd; }
.final-cta .btn-primary { margin-top: 12px; }

/* ---------- footer ---------- */
footer { background: #0a1220; color: #8fa0b3; padding: 36px 0; font-size: 0.9rem; }
footer a { color: #c6d0dd; text-decoration: none; margin-right: 18px; }
footer a:hover { color: var(--white); }
footer .foot-brand { color: var(--white); font-weight: 800; margin-bottom: 6px; }

/* ---------- help page ---------- */
.help-header { background: var(--navy); color: var(--white); padding: 56px 0; }
.help-header p { color: #c6d0dd; margin: 12px 0 0; max-width: 40em; }
.toc {
  background: var(--white); border-bottom: 1px solid var(--line);
  padding: 16px 0; position: sticky; top: 56px; z-index: 10;
}
.toc .wrap { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.toc a {
  font-size: 0.85rem; font-weight: 600; text-decoration: none; color: var(--navy);
  white-space: nowrap;
}
.toc a:hover { color: var(--orange-dark); }
.help-section { padding: 44px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.help-section h2 { color: var(--navy); }
.help-section h2 .sec-num { color: var(--orange-dark); margin-right: 8px; }
.help-section h3 { margin-top: 22px; }
.help-section ul { margin: 0 0 1rem 1.3rem; }
.help-section li { margin-bottom: 6px; }
.callout {
  background: var(--white); border-left: 4px solid var(--orange);
  padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 16px 0;
  color: var(--muted);
}

/* ---------- subpages ---------- */
.page-hero { background: var(--navy); color: var(--white); padding: 52px 0 56px; }
.page-hero h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); font-weight: 800; max-width: 18em; }
.page-hero h1 em { color: var(--orange); font-style: normal; }
.page-hero p { color: #c6d0dd; margin: 14px 0 0; max-width: 40em; font-size: 1.08rem; }
.page-hero .cta-row { margin-top: 26px; display: flex; gap: 16px; flex-wrap: wrap; }
.crumb { font-size: 0.82rem; margin-bottom: 16px; }
.crumb a { color: #8fa0b3; text-decoration: none; }
.crumb a:hover { color: var(--white); }
.crumb span { color: #5a6a7a; margin: 0 6px; }
.content-section h2 { color: var(--navy); margin-top: 8px; }
.content-section h3 { margin-top: 24px; }
.content-section ul { margin: 0 0 1rem 1.3rem; }
.content-section li { margin-bottom: 6px; }
.checklist { list-style: none; margin-left: 0 !important; }
.checklist li {
  padding-left: 28px; position: relative; margin-bottom: 10px;
}
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--orange-dark); font-weight: 800;
}
.cross-links { display: grid; gap: 16px; margin-top: 8px; }
.cross-link {
  display: block; background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; padding: 18px 22px; text-decoration: none; color: var(--ink);
}
.cross-link:hover { border-color: var(--orange); }
.cross-link strong { display: block; color: var(--navy); margin-bottom: 2px; }
.cross-link em { color: var(--muted); font-style: normal; font-size: 0.92rem; }

@media (min-width: 768px) {
  .cross-links { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- responsive ---------- */
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .roles { grid-template-columns: repeat(3, 1fr); }
  .trust-list { grid-template-columns: repeat(2, 1fr); }
  h2 { font-size: 2.1rem; }
}

/* ==================== apple-style landing ==================== */
body.apple { background: var(--white); }

.topbar.slim {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 18, 32, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.topbar.slim .wrap { padding-top: 10px; padding-bottom: 10px; }
.topbar.slim .brand img { height: 36px; }

.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.7); color: var(--white);
  padding: 12.5px 28px;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-2); }

.desktop-only { display: none; }

/* full-viewport photo hero */
.hero-photo {
  min-height: 88vh; display: flex; align-items: center;
  background-size: cover; background-position: center;
  color: var(--white); text-align: center; padding: 80px 0;
}
.hero-inner { width: 100%; }
.hero-photo h1 {
  font-size: clamp(2.3rem, 6.5vw, 4.2rem); font-weight: 800;
  letter-spacing: -0.02em; margin: 0 auto;
}
.hero-photo p {
  margin: 22px auto 0; font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: #dbe3ec; max-width: 36em;
}
.cta-row.center { justify-content: center; display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }

/* big minimal steps */
.big-steps { padding: 96px 0; background: var(--white); text-align: center; }
.center-head {
  font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800;
  letter-spacing: -0.02em; color: var(--navy); margin-bottom: 8px;
}
.center-sub { color: var(--muted); font-size: 1.15rem; margin-bottom: 56px; }
.steps-row { display: grid; gap: 44px; }
.big-step h3 { font-size: 1.35rem; margin: 14px 0 8px; color: var(--navy); }
.big-step p { color: var(--muted); margin: 0 auto; max-width: 22em; }
.big-num {
  font-size: 3.2rem; font-weight: 800; color: var(--orange);
  line-height: 1; display: block;
}

/* full-bleed statement band */
.statement-band {
  background-size: cover; background-position: center;
  background-attachment: scroll;
  color: var(--white); text-align: center; padding: 140px 0;
}
.statement-band h2 {
  font-size: clamp(2rem, 5.5vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em;
}
.statement-band p { margin: 18px auto 0; font-size: 1.2rem; color: #dbe3ec; max-width: 32em; }

/* photo role cards */
.photo-cards-section { padding: 96px 0; background: var(--paper); text-align: center; }
.photo-cards { display: grid; gap: 26px; margin-top: 52px; text-align: left; }
.photo-card {
  display: block; background: var(--white); border-radius: 20px; overflow: hidden;
  text-decoration: none; color: var(--ink);
  box-shadow: 0 2px 12px rgba(15,27,45,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.photo-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(15,27,45,0.16); }
.pc-img { height: 220px; background-size: cover; background-position: center; }
.pc-body { padding: 24px 26px 28px; }
.pc-body h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 6px; }
.pc-body p { color: var(--muted); margin-bottom: 14px; font-size: 0.98rem; }
.pc-link { color: var(--orange-dark); font-weight: 700; }
.under-cards { margin-top: 44px; }

/* trust strip */
.trust-strip { background: var(--white); padding: 88px 0; }
.trust-grid { display: grid; gap: 36px; text-align: center; }
.trust-grid strong { display: block; font-size: 1.15rem; color: var(--navy); margin-bottom: 6px; }
.trust-grid p { color: var(--muted); margin: 0 auto; max-width: 20em; font-size: 0.95rem; }

/* minimal founder + faq */
.founder.minimal { background: var(--paper); padding: 96px 0; }
.faq-min { background: var(--white); padding: 96px 0; }
.faq-min .center-head { margin-bottom: 40px; text-align: center; }
.faq-min .faq-item { max-width: 46em; margin-left: auto; margin-right: auto; }
.faq-more.center { text-align: center; }

@media (min-width: 768px) {
  .desktop-only { display: inline; }
  .steps-row { grid-template-columns: repeat(3, 1fr); }
  .photo-cards { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ==================== get-started chooser ==================== */
body.choose-page { background: var(--paper); min-height: 100vh; }
.choose { padding: 34px 0 60px; }
.choose h1 {
  font-size: clamp(1.7rem, 5vw, 2.6rem); font-weight: 800;
  letter-spacing: -0.02em; color: var(--navy); text-align: center;
  margin-bottom: 26px;
}
.choose-tiles { display: grid; gap: 14px; max-width: 560px; margin: 0 auto; }
.choose-tile {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border-radius: 16px; padding: 14px 18px 14px 14px;
  text-decoration: none; color: var(--ink);
  box-shadow: 0 1px 8px rgba(15,27,45,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.choose-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(15,27,45,0.14); }
.ct-thumb {
  width: 56px; height: 56px; border-radius: 12px; flex-shrink: 0;
  background-size: cover; background-position: center;
}
.ct-text { flex: 1; min-width: 0; }
.ct-text strong { display: block; font-size: 1.12rem; color: var(--navy); }
.ct-text em { font-style: normal; color: var(--muted); font-size: 0.88rem; }
.ct-arrow { color: var(--orange-dark); font-weight: 800; font-size: 1.2rem; }
.choose-signin { text-align: center; margin-top: 26px; color: var(--muted); font-size: 0.95rem; }

@media (min-width: 768px) {
  .choose { padding: 70px 0; }
  .choose-tiles { max-width: 960px; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .choose-tile { flex-direction: column; text-align: center; padding: 28px 22px; gap: 14px; }
  .ct-thumb { width: 84px; height: 84px; border-radius: 50%; }
  .ct-arrow { display: none; }
}

/* ==================== mobile nav (hamburger) + back pills ==================== */
.topbar { position: sticky; top: 0; z-index: 100; }

.menu-btn {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 44px; padding: 11px 12px; flex-shrink: 0;
  background: rgba(255,255,255,0.14); border: none; border-radius: 12px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.menu-btn span {
  display: block; height: 2.5px; background: #fff; border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
body.nav-open .menu-btn span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
body.nav-open .menu-btn span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.back-pill {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 24px; margin-bottom: 20px;
  border: 1.5px solid rgba(255,255,255,0.55); border-radius: 980px;
  color: var(--white); text-decoration: none; font-weight: 700; font-size: 0.95rem;
  -webkit-tap-highlight-color: transparent;
}
.back-pill:hover { background: rgba(255,255,255,0.12); }
.back-pill.dark {
  border-color: rgba(15,27,45,0.4); color: var(--navy); margin-bottom: 16px;
}
.back-pill.dark:hover { background: rgba(15,27,45,0.06); }

@media (max-width: 767px) {
  .topbar .wrap { flex-wrap: nowrap; gap: 12px; }
  .topbar .brand { font-size: 0.95rem; white-space: nowrap; }
  .menu-btn { display: flex; }
  .topbar nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; gap: 10px;
    padding: 14px 20px 20px;
    background: rgba(10, 18, 32, 0.97);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
  }
  body.nav-open .topbar nav { display: flex; }
  .topbar nav a {
    display: flex; align-items: center; justify-content: center;
    min-height: 48px; margin: 0; font-size: 1.05rem; font-weight: 700;
    color: #fff; text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.28); border-radius: 980px;
    -webkit-tap-highlight-color: transparent;
  }
  .topbar nav a.nav-cta { background: var(--orange); color: var(--navy); border: none; }

  /* get-started chooser keeps its single inline Sign In pill — no hamburger */
  .choose-page .menu-btn { display: none; }
  .choose-page .topbar nav {
    position: static; display: flex; flex-direction: row;
    padding: 0; background: none; box-shadow: none;
  }
  .choose-page .topbar nav a {
    min-height: 40px; padding: 8px 18px; font-size: 0.92rem;
    border: 1.5px solid rgba(255,255,255,0.45);
  }
}
