/* =============================================================
   Mentara : shared site styles (landing, privacy, support)
   Palette mirrors the app's constants/theme.ts
   ============================================================= */

:root {
  --teal: #0D4F5C;
  --teal-deep: #093A44;
  --amber: #96600D; /* darkened from #C98B30 for WCAG AA text/button contrast (was 2.64-2.91:1, now 4.5:1+) */
  --amber-deep: #7A4D0A; /* darkened from #B27A24, same reason (was 3.68:1, now 6.6:1+) */
  --terracotta: #B8502F; /* darkened from #C45C3A for WCAG AA text contrast (was 4.25:1, now 4.5:1+) */
  --sage: #3D7A5B;
  --indigo: #4A3B7C;
  --bg: #F5F4F1;
  --ink: #1A2B2E;
  --muted: #5B6B6E;
  --card: #FFFFFF;
  --line: rgba(13, 79, 92, 0.10);
  --line-strong: rgba(13, 79, 92, 0.16);
  --radius: 14px;
  --radius-card: 12px;
  --radius-sm: 10px;
  --shadow: 0 18px 48px rgba(13, 79, 92, 0.12);
  --shadow-sm: 0 6px 20px rgba(13, 79, 92, 0.07);
  --shadow-hover: 0 24px 60px rgba(13, 79, 92, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  position: relative;
  overflow-x: clip;
  width: 100%;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Layered colour wash + faint grid behind everything */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(760px 540px at 84% -8%, rgba(201, 139, 48, 0.28), transparent 60%),
    radial-gradient(700px 580px at 3% 6%, rgba(61, 122, 91, 0.24), transparent 60%),
    radial-gradient(620px 520px at 98% 60%, rgba(196, 92, 58, 0.16), transparent 58%),
    radial-gradient(900px 720px at 50% 116%, rgba(74, 59, 124, 0.20), transparent 60%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(13, 79, 92, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 79, 92, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
}

h1, h2, h3 { font-family: 'Newsreader', Georgia, serif; font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  padding: 13px 24px; border: none; border-radius: 10px;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 22px rgba(13, 79, 92, 0.22); }
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(13, 79, 92, 0.28); }
.btn-amber { background: var(--amber); color: #fff; box-shadow: 0 8px 22px rgba(201, 139, 48, 0.26); }
.btn-amber:hover { background: var(--amber-deep); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(201, 139, 48, 0.32); }
.btn-ghost { background: rgba(13,79,92,.07); color: var(--teal); }
.btn-ghost:hover { background: rgba(13,79,92,.12); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ── App Store "coming soon" badge ── */
.appstore-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: #000; color: #fff; padding: 11px 18px; border-radius: 13px;
  border: 1px solid rgba(255,255,255,.12);
}
.appstore-badge svg { width: 26px; height: 26px; flex: 0 0 auto; }
.appstore-badge .as-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.appstore-badge .as-text small { font-size: 10.5px; opacity: .85; letter-spacing: .02em; }
.appstore-badge .as-text strong { font-size: 17px; font-weight: 600; letter-spacing: .01em; }
.appstore-badge.disabled { opacity: .92; cursor: default; }

/* ── Logo ── */
.logo { display: inline-flex; align-items: center; gap: 11px; font-family: 'Newsreader', serif; font-weight: 600; font-size: 22px; color: var(--teal); }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; display: block; box-shadow: 0 4px 12px rgba(13, 79, 92, 0.22); }

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(12px);
  background: rgba(245, 244, 241, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a.link { font-size: 15px; font-weight: 500; color: var(--muted); transition: color .15s ease; }
.nav-links a.link:hover { color: var(--teal); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 22px; color: var(--teal); }

/* Nav dropdown (Resources: Privacy / Terms / Support) */
.nav-dropdown { position: relative; display: inline-flex; }
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer; font: inherit;
  font-size: 15px; font-weight: 500; color: var(--muted); padding: 0;
  transition: color .15s ease;
}
.nav-dropdown-toggle .caret { width: 15px; height: 15px; transition: transform .2s ease; }
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle { color: var(--teal); }
.nav-dropdown:hover .caret,
.nav-dropdown:focus-within .caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 12px); right: 0; min-width: 196px;
  background: #fff; border: 1px solid var(--line-strong); border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-dropdown-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a {
  font-size: 14.5px; font-weight: 500; color: var(--muted);
  padding: 9px 12px; border-radius: 8px; transition: background .15s ease, color .15s ease;
}
.nav-dropdown-menu a:hover { background: rgba(13,79,92,.05); color: var(--teal); }

/* ── Hero ── */
.hero {
  position: relative; padding: 92px 0 78px;
  background:
    linear-gradient(180deg, rgba(13, 79, 92, 0.10), rgba(13, 79, 92, 0) 44%),
    radial-gradient(820px 520px at 100% 0%, rgba(201, 139, 48, 0.42), transparent 60%),
    radial-gradient(740px 520px at -4% 42%, rgba(61, 122, 91, 0.34), transparent 58%),
    radial-gradient(560px 420px at 58% 0%, rgba(74, 59, 124, 0.18), transparent 60%);
}
.hero .wrap { position: relative; z-index: 1; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-28px, 22px) scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .hero::before, .hero::after { animation: none; } }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--teal);
  padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; margin-bottom: 24px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.badge .badge-apple { width: 13px; height: 13px; color: var(--teal); margin-top: -2px; }

.hero h1 { font-size: clamp(40px, 6.2vw, 68px); color: var(--teal); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero p.sub { font-size: clamp(17px, 2vw, 21px); color: var(--muted); max-width: 52ch; margin: 22px 0 30px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; }

/* Playful "become a mentor" nudge, bottom-right of hero */
.mentor-nudge {
  position: absolute; right: 36px; bottom: 56px; z-index: 2;
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  max-width: 180px; text-align: center;
}
.mentor-nudge .nudge-text {
  font-family: 'Newsreader', serif; font-weight: 600; font-size: 15px; line-height: 1.3;
  color: var(--teal); background: #fff; padding: 11px 16px; border-radius: 14px;
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm);
  transform: rotate(-3deg);
}
.mentor-nudge .nudge-text b { color: var(--terracotta); }
.mentor-nudge .nudge-arrow {
  width: 34px; height: 34px; color: var(--amber);
  animation: bob 1.7s ease-in-out infinite;
}
.mentor-nudge:hover .nudge-text { border-color: var(--amber); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .mentor-nudge .nudge-arrow { animation: none; } }

/* ── Forms ── */
.signup { display: flex; gap: 10px; max-width: 480px; flex-wrap: wrap; }
.signup input[type="email"] {
  flex: 1 1 220px; min-width: 0; font-size: 16px; font-family: inherit;
  padding: 15px 18px; border: 1.5px solid var(--line-strong);
  border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.signup input[type="email"]:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(13, 79, 92, 0.10); }
.signup .btn { padding: 15px 26px; border-radius: 12px; }

.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.form-msg { font-size: 15px; font-weight: 600; margin-top: 14px; min-height: 22px; }
.form-msg.ok { color: var(--sage); }
.form-msg.err { color: var(--terracotta); }

/* Stacked mentor form */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; text-align: left; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
  font-family: inherit; font-size: 15.5px; padding: 13px 15px; border-radius: 11px;
  border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(13,79,92,.10); }

/* ── Sections ── */
section { padding: 80px 0; position: relative; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--amber); margin-bottom: 12px; display: inline-flex; align-items: center; gap: 9px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--amber); border-radius: 2px; }
.section-title { font-size: clamp(28px, 4vw, 42px); color: var(--teal); max-width: 20ch; }
.section-head { margin-bottom: 50px; }
.section-head p.lede { color: var(--muted); font-size: 18px; max-width: 56ch; margin-top: 14px; }

/* Tinted panel for the "Why" section */
.section-tint { background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Steps : clean, sharp, numbered */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative; background: var(--card); border-radius: var(--radius-card);
  padding: 34px 28px 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.step:nth-child(2)::before { background: var(--amber); }
.step:nth-child(3)::before { background: var(--sage); }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--line-strong); }
.step:hover::before { transform: scaleX(1); }
.step-num {
  font-family: 'Newsreader', serif; font-size: 40px; font-weight: 600; line-height: 1;
  color: var(--teal); display: block; margin-bottom: 18px;
}
.step:nth-child(2) .step-num { color: var(--amber); }
.step:nth-child(3) .step-num { color: var(--sage); }
.step-num span { font-size: 14px; color: var(--muted); margin-left: 8px; letter-spacing: .14em; text-transform: uppercase; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; }
.step h3 { font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* Why Mentara : sharp divided info grid (no bubble cards) */
.features {
  display: grid; grid-template-columns: repeat(2, 1fr);
  background: var(--card); border: 1px solid var(--line-strong);
  border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.feature {
  position: relative; padding: 38px 40px;
  display: flex; gap: 22px; align-items: flex-start;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.feature:nth-child(2n) { border-right: none; }
.feature:nth-child(n+3) { border-bottom: none; }
.feature::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--teal); transform: scaleY(0); transform-origin: center; transition: transform .3s ease;
}
.feature:nth-child(2)::before { background: var(--amber); }
.feature:nth-child(3)::before { background: var(--sage); }
.feature:nth-child(4)::before { background: var(--indigo); }
.feature:hover { background: rgba(13,79,92,.025); }
.feature:hover::before { transform: scaleY(1); }
.feature .icon {
  flex: 0 0 auto; width: 40px; height: 40px;
  display: grid; place-items: center; color: var(--teal);
}
.feature .icon svg { width: 28px; height: 28px; }
.feature:nth-child(1) .icon { color: var(--teal); }
.feature:nth-child(2) .icon { color: var(--amber-deep); }
.feature:nth-child(3) .icon { color: var(--sage); }
.feature:nth-child(4) .icon { color: var(--indigo); }
.feature h3 { font-size: 18.5px; color: var(--ink); margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; }

/* Mentor recruitment (two-column) */
.mentor { position: relative; background: radial-gradient(660px 460px at 0% 100%, rgba(61, 122, 91, 0.18), transparent 62%); }
.mentor-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; position: relative; z-index: 1; }
.mentor-pitch h2 { font-size: clamp(28px, 4vw, 40px); color: var(--teal); margin-bottom: 16px; }
.mentor-pitch p { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.perk-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.perk-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink); }
.perk-list li::before { content: "✓"; color: var(--sage); font-weight: 800; flex: 0 0 auto; }
.founding-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,139,48,.14); color: var(--amber-deep); font-weight: 700; font-size: 12px; letter-spacing: .02em; text-transform: uppercase; padding: 7px 12px; border-radius: 7px; margin-bottom: 18px; }
.form-card { background: var(--card); border-radius: 12px; padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h3 { font-size: 22px; color: var(--teal); margin-bottom: 6px; }
.form-card .form-card-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.form-card .btn { width: 100%; padding: 15px; border-radius: 12px; }

/* Mentor signup wizard */
.wizard-header { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.wizard-step-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.wizard-progress-track { height: 4px; background: var(--line-strong); border-radius: 2px; overflow: hidden; }
.wizard-progress-fill { height: 100%; background: var(--teal); border-radius: 2px; width: 25%; transition: width .3s ease; }
.wizard-err { font-size: 13px; color: #c0392b; margin: -4px 0 10px; min-height: 18px; }
.btn-link { background: none; border: none; padding: 10px 0 2px; color: var(--muted); font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: underline; display: block; text-align: center; width: 100%; font-family: inherit; }
.btn-link:hover { color: var(--teal); }

/* Fields covered */
.fields-block { position: relative; z-index: 1; margin-top: 60px; text-align: center; }
.fields-label { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--amber); margin-bottom: 10px; }
.fields-title { font-size: clamp(22px, 3vw, 30px); color: var(--teal); max-width: 24ch; margin: 0 auto 26px; }
.fields-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; max-width: 900px; margin: 0 auto; }
.field-tag { font-size: 13.5px; font-weight: 600; color: var(--teal); background: #fff; border: 1px solid var(--line-strong); border-radius: 7px; padding: 8px 13px; transition: border-color .15s ease, color .15s ease, transform .15s ease; }
.field-tag:hover { border-color: var(--amber); color: var(--amber-deep); transform: translateY(-1px); }

/* CTA band */
.cta-band { background: none; border-radius: 0; padding: 50px 0 8px; text-align: center; position: relative; overflow: visible; border-top: 1px solid var(--line); margin-top: 22px; }
.cta-band h2 { color: var(--teal); font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.cta-band p { color: var(--muted); font-size: 18px; margin-bottom: 28px; }
.cta-band .signup { margin: 0 auto; justify-content: center; }
.cta-band input[type="email"] { border-color: var(--line-strong); }

/* Google / Apple OAuth buttons */
.oauth { margin-top: 16px; }
.cta-band .oauth { max-width: 480px; margin-left: auto; margin-right: auto; }
.oauth-divider { display: flex; align-items: center; text-align: center; color: var(--muted); font-size: 13px; margin: 16px 0 12px; }
.oauth-divider::before, .oauth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.oauth-divider span { padding: 0 12px; white-space: nowrap; }
.btn-oauth { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 16px; border-radius: 12px; font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid var(--line-strong); margin-bottom: 10px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn-oauth svg { width: 18px; height: 18px; flex: none; }
.btn-google { background: #fff; color: var(--ink); }
.btn-google:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-apple { background: #000; color: #fff; border-color: #000; }
.btn-apple:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.oauth-hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; text-align: left; }
.cta-band .oauth-hint { text-align: center; }
.cta-band .form-note { color: var(--muted); }
.cta-band .form-msg.ok { color: var(--sage); }
.cta-band .form-msg.err { color: var(--terracotta); }
.cta-band .appstore-badge { margin-top: 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-ghost-light { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.32); }
.btn-ghost-light:hover { background: rgba(255,255,255,.22); transform: translateY(-1px); }

/* ── About page ── */
.about-hero {
  position: relative; overflow: hidden; padding: 78px 0 58px;
  background:
    linear-gradient(180deg, rgba(13, 79, 92, 0.06), rgba(13, 79, 92, 0) 60%),
    radial-gradient(680px 420px at 88% 0%, rgba(201, 139, 48, 0.22), transparent 62%),
    radial-gradient(560px 420px at 2% 100%, rgba(61, 122, 91, 0.18), transparent 60%);
  border-bottom: 1px solid var(--line);
}
.about-hero h1 { font-size: clamp(34px, 5vw, 54px); color: var(--teal); max-width: 18ch; margin-top: 4px; }
.about-lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 56ch; margin-top: 18px; }
.story { padding-bottom: 36px; }
.story .section-head { margin-bottom: 26px; }
.story p { color: var(--muted); font-size: 17px; margin-bottom: 18px; }
.mission-wrap { padding: 36px 0; }
.mission-band {
  background: none; border-radius: 0; padding: 4px 0 4px 26px; position: relative; overflow: visible;
  border-left: 3px solid var(--amber); margin: 12px 0 36px;
}
.mission-band .founding-pill { background: rgba(201,139,48,.14); color: var(--amber-deep); }
.mission-band h2 { color: var(--teal); font-size: clamp(24px, 3.6vw, 36px); margin-bottom: 12px; max-width: 26ch; }
.mission-band p { color: var(--muted); font-size: 17px; max-width: 56ch; }
.about-copy { max-width: 780px; margin-bottom: 28px; }
.about-copy p { color: var(--muted); font-size: 17px; margin-bottom: 16px; }
#about .mission-band { margin-bottom: 30px; }

/* Founder note */
.founder {
  display: flex; gap: 24px; align-items: flex-start; max-width: 840px;
  background: var(--card); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 28px 30px; box-shadow: var(--shadow-sm); margin-bottom: 30px;
}
.founder-avatar {
  flex: 0 0 auto; width: 76px; height: 76px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep)); color: #fff;
  display: grid; place-items: center; font-family: 'Newsreader', serif; font-weight: 600;
  font-size: 26px; letter-spacing: 1px; box-shadow: 0 6px 16px rgba(13,79,92,.22);
}
.founder-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-quote { font-size: 16.5px; color: var(--ink); line-height: 1.62; margin-bottom: 14px; }
.founder-attr { display: flex; flex-direction: column; gap: 1px; }
.founder-name { font-family: 'Newsreader', serif; font-weight: 600; font-size: 17px; color: var(--teal); }
.founder-role { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* ── Footer ── */
footer { padding: 48px 0; border-top: 1px solid var(--line); margin-top: 12px; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-brand { display: inline-flex; align-items: center; gap: 11px; }
.foot-brand img { width: 30px; height: 30px; border-radius: 8px; display: block; }
.foot-brand .copy { font-size: 14px; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 18px; font-size: 14.5px; color: var(--muted); }
.foot-links a:hover { color: var(--teal); }
.copy { font-size: 14px; color: var(--muted); }

/* ── Legal / doc pages (privacy, support) ── */
.doc { padding: 56px 0 40px; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); color: var(--teal); margin-bottom: 8px; }
.doc .updated { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.doc .intro { font-size: 17px; color: var(--ink); margin-bottom: 32px; }
.doc h2 { font-size: 21px; color: var(--teal); margin: 36px 0 12px; }
.doc h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 700; color: var(--ink); margin: 22px 0 6px; }
.doc p { color: var(--muted); margin-bottom: 14px; }
.doc ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0 0 18px; }
.doc ul li { display: flex; gap: 11px; align-items: flex-start; color: var(--muted); }
.doc ul li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); margin-top: 10px; flex: 0 0 auto; }
.doc ul li b { color: var(--ink); }
.doc a { color: var(--teal); font-weight: 600; }
.doc a:hover { text-decoration: underline; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 22px 24px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.faq-item h3 { margin: 0 0 8px; color: var(--teal); font-size: 17px; }
.faq-item p { margin: 0; }

/* ── Scroll-zoom phone demo ── */
.phone-demo { position: relative; height: 520vh; }
.phone-stage {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; justify-content: center;
}
.demo-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; will-change: transform, opacity; }
.demo-bg span { position: absolute; border-radius: 50%; filter: blur(8px); }
.demo-bg .b1 { width: 400px; height: 400px; left: 1%; top: 6%; background: radial-gradient(circle at 40% 40%, rgba(201,139,48,.72), transparent 68%); }
.demo-bg .b2 { width: 420px; height: 420px; right: 0%; top: 10%; background: radial-gradient(circle at 50% 50%, rgba(13,79,92,.62), transparent 68%); }
.demo-bg .b3 { width: 330px; height: 330px; left: 9%; bottom: 3%; background: radial-gradient(circle at 50% 50%, rgba(74,59,124,.6), transparent 70%); }
.demo-bg .b4 { width: 320px; height: 320px; right: 7%; bottom: 5%; background: radial-gradient(circle at 50% 50%, rgba(201,139,48,.6), transparent 70%); }
.demo-bg .b5 { width: 270px; height: 270px; left: 27%; top: 1%; background: radial-gradient(circle at 50% 50%, rgba(61,122,91,.48), transparent 70%); }
.demo-bg .b6 { width: 300px; height: 300px; right: 24%; bottom: -2%; background: radial-gradient(circle at 50% 50%, rgba(13,79,92,.54), transparent 70%); }
.demo-bg .ring { position: absolute; border-radius: 50%; border: 2px solid; animation: floaty 9s ease-in-out infinite; }
.demo-bg .r1 { width: 132px; height: 132px; left: 11%; bottom: 22%; border-color: rgba(201,139,48,.5); }
.demo-bg .r2 { width: 88px; height: 88px; right: 13%; top: 24%; border-color: rgba(13,79,92,.45); animation-duration: 11s; }
.demo-bg .r3 { width: 174px; height: 174px; right: 5%; bottom: 25%; border-color: rgba(74,59,124,.4); animation-duration: 13s; }
.demo-bg .r4 { width: 64px; height: 64px; left: 23%; top: 30%; border-color: rgba(196,92,58,.45); animation-duration: 10s; }
.demo-bg .dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; animation: floaty 8s ease-in-out infinite; }
.demo-bg .d1 { left: 18%; top: 19%; background: var(--amber); }
.demo-bg .d2 { right: 20%; top: 37%; background: var(--teal); animation-duration: 10s; }
.demo-bg .d3 { left: 14%; bottom: 15%; background: var(--indigo); animation-duration: 9s; }
.demo-bg .d4 { right: 16%; bottom: 19%; background: var(--sage); animation-duration: 11s; }
.demo-bg .d5 { left: 39%; top: 8%; background: var(--terracotta); animation-duration: 12s; }
.demo-bg .d6 { right: 36%; bottom: 7%; background: var(--amber); animation-duration: 9.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.demo-eyebrow {
  position: absolute; top: clamp(20px, 5.5vh, 52px); left: 0; right: 0; text-align: center; z-index: 4;
  text-transform: uppercase; letter-spacing: .16em; font-size: 13px; font-weight: 700; color: var(--amber);
}
.demo-eyebrow b { color: var(--teal); }

.phone {
  position: relative; z-index: 3;
  width: clamp(212px, 68vw, 278px); aspect-ratio: 1 / 2.02;
  background: linear-gradient(160deg, #11343d, #0a2228);
  border-radius: 42px; padding: 11px;
  box-shadow: 0 50px 100px rgba(9,58,68,.45), 0 0 0 2px rgba(255,255,255,.05) inset, 0 1px 5px rgba(255,255,255,.16) inset;
  will-change: transform;
}
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 36%; height: 21px; background: #0a2228; border-radius: 0 0 13px 13px; z-index: 6; }
.phone-screen-wrap { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: var(--bg); }
.phone-screen { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; display: flex; flex-direction: column; pointer-events: none; }
.phone-screen.active { opacity: 1; }

/* app UI: shared */
.app-h { font-family: 'Newsreader', serif; font-size: 19px; color: var(--ink); font-weight: 600; }
.app-muted { font-size: 11.5px; color: var(--muted); }

/* app UI: login */
.app-login { flex: 1; display: flex; flex-direction: column; padding: 48px 20px 22px; gap: 9px; background: linear-gradient(180deg, #fff, var(--bg)); }
.app-logo { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; }
.app-logo img { width: 26px; height: 26px; border-radius: 7px; }
.app-logo span { font-family: 'Newsreader', serif; font-weight: 600; font-size: 17px; color: var(--teal); }
.app-login .app-h { margin-top: 8px; }
.app-login .app-muted { margin-bottom: 6px; }
.app-field { font-size: 11px; color: var(--muted); background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 12px; }
.app-btn { border-radius: 10px; padding: 11px; text-align: center; font-size: 12.5px; font-weight: 700; }
.app-btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 14px rgba(13,79,92,.25); }
.app-btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; gap: 7px; }
.app-btn-ghost svg { width: 14px; height: 14px; }
.app-or { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; margin: 2px 0; }
.app-or::before, .app-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* app UI: home */
.app-home { flex: 1; display: flex; flex-direction: column; background: var(--bg); }
.app-topbar { display: flex; align-items: center; justify-content: space-between; padding: 46px 16px 12px; }
.app-hi { font-family: 'Newsreader', serif; font-size: 17px; color: var(--teal); font-weight: 600; }
.app-sub { font-size: 11px; color: var(--muted); margin-top: 1px; }
.app-avatar { width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(135deg, var(--teal), var(--teal-deep)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.app-search { margin: 0 16px 12px; background: #fff; border: 1px solid var(--line-strong); border-radius: 11px; padding: 10px 12px; font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.app-search svg { width: 13px; height: 13px; color: var(--muted); }
.app-section-label { padding: 2px 16px 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--amber); }
.app-cards { padding: 0 16px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.app-mentor { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 11px; display: flex; gap: 10px; align-items: center; box-shadow: 0 4px 12px rgba(13,79,92,.05); }
.app-mentor .av { width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; }
.app-mentor .info { flex: 1; min-width: 0; }
.app-mentor .nm { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.app-mentor .fl { font-size: 10.5px; color: var(--muted); margin-top: 1px; }
.app-mentor .rt { font-size: 10px; color: var(--amber-deep); font-weight: 700; margin-top: 3px; }
.app-mentor .go { width: 26px; height: 26px; border-radius: 9px; background: rgba(13,79,92,.08); color: var(--teal); display: grid; place-items: center; flex: 0 0 auto; }
.app-mentor .go svg { width: 13px; height: 13px; }
.app-tabbar { margin-top: auto; display: flex; justify-content: space-around; padding: 11px 8px 18px; background: #fff; border-top: 1px solid var(--line); }
.app-tab { color: #9fb0b2; display: grid; place-items: center; }
.app-tab svg { width: 20px; height: 20px; }
.app-tab.on { color: var(--teal); }

/* app UI: chat */
.app-chat { flex: 1; display: flex; flex-direction: column; background: var(--bg); }
.app-chat-head { display: flex; align-items: center; gap: 9px; padding: 46px 14px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.app-chat-head .bk { color: var(--teal); font-size: 17px; line-height: 1; }
.app-chat-head .av { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 12px; background: linear-gradient(135deg, var(--terracotta), #a84a2e); }
.app-chat-head .nm { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.app-chat-head .st { font-size: 10px; color: var(--sage); margin-top: 1px; }
.app-chat-body { flex: 1; padding: 13px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
.bubble { max-width: 80%; font-size: 11px; line-height: 1.42; padding: 9px 11px; border-radius: 14px; }
.bubble.in { align-self: flex-start; background: #fff; border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; }
.bubble.out { align-self: flex-end; background: var(--teal); color: #fff; border-bottom-right-radius: 4px; }
.app-chat-input { display: flex; align-items: center; gap: 8px; padding: 10px 12px 16px; background: #fff; border-top: 1px solid var(--line); }
.app-chat-input .ph { flex: 1; font-size: 11px; color: var(--muted); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 20px; padding: 9px 12px; }
.app-chat-input .snd { width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.app-chat-input .snd svg { width: 14px; height: 14px; }

/* demo caption + progress dots */
.demo-caption { position: absolute; bottom: clamp(20px, 5.5vh, 50px); left: 0; right: 0; z-index: 4; display: grid; justify-items: center; gap: 13px; padding: 0 24px; }
.demo-dots { display: flex; gap: 7px; }
.demo-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(13,79,92,.22); transition: all .3s ease; }
.demo-dots i.active { background: var(--teal); width: 22px; border-radius: 4px; }
.demo-cap { display: none; font-family: 'Newsreader', serif; font-size: 16px; font-weight: 600; color: var(--teal); text-align: center; max-width: 28ch; }
.demo-cap.active { display: block; }
@media (prefers-reduced-motion: reduce) { .demo-bg { display: none; } }
@media (max-width: 760px) {
  .phone-demo { height: 420vh; }
  .demo-cap { font-size: 14px; }
  .demo-bg span { filter: blur(12px); }
  .demo-bg .ring, .demo-bg .dot { opacity: .8; }
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .mentor-nudge { display: none; }
}
@media (max-width: 880px) {
  .mentor-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .steps, .features { grid-template-columns: 1fr; }
  .feature { border-right: none; border-bottom: 1px solid var(--line); padding: 30px 26px; }
  .feature:last-child { border-bottom: none; }
  .founder { flex-direction: column; gap: 18px; padding: 26px 24px; }
  .hero { padding: 56px 0 48px; }
  section { padding: 58px 0; }
  .cta-band { padding: 44px 24px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
    position: absolute; top: 70px; left: 0; right: 0; background: var(--bg);
    padding: 20px 24px; border-bottom: 1px solid var(--line);
  }
  .nav-toggle { display: block; }
  /* dropdown becomes a static sub-list inside the open mobile menu */
  .nav-dropdown { flex-direction: column; width: 100%; }
  .nav-dropdown-toggle { color: var(--teal); }
  .nav-dropdown-toggle .caret { display: none; }
  .nav-dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: none; border-radius: 0; padding: 8px 0 0 12px; min-width: 0; gap: 4px;
  }
}

/* Phones: stack the email signup form, tighten footer */
@media (max-width: 520px) {
  .signup { flex-direction: column; align-items: stretch; }
  .signup input[type="email"], .signup .btn { width: 100%; flex: 1 1 auto; }
  .foot-links { gap: 10px 16px; }
  .foot-inner { gap: 14px; }
}
