/* ============================================================================
   SECURE — shared stylesheet
   Palette extracted from the logo: a calm lavender → periwinkle gradient on
   pearl white, warmed with soft cream + clay accents. Emotionally intelligent,
   never cold or corporate.
   ========================================================================== */

/* ----------------------------------  Tokens  ----------------------------- */
:root {
  /* Brand — lavender / periwinkle family */
  --brand-50:  #f6f2fd;
  --brand-100: #ece3fb;
  --brand-200: #dacef7;
  --brand-300: #c3b2f0;
  --brand-400: #a892e6;
  --brand-500: #8b72d9;
  --brand-600: #735bc4;
  --brand-700: #5b46a1;

  /* Signature gradient (matches the logo + in-app buttons) */
  --grad: linear-gradient(120deg, #e9c8ea 0%, #c3b2f0 48%, #9aa6ec 100%);
  --grad-soft: linear-gradient(160deg, #f7f1fd 0%, #efe9fb 55%, #e7ecfb 100%);

  /* Warm supporting tones */
  --cream: #fbf6f0;
  --sand:  #f3e9df;
  --clay:  #e0916b;
  --peach: #f5d9c4;

  /* Ink + neutrals (warm, never pure black) */
  --ink:      #2c2740;
  --ink-soft: #5b556e;
  --ink-mute: #8a849c;
  --line:     #ece8f3;
  --surface:  #ffffff;
  --bg:       #fbfaff;

  /* Journey accents */
  --j-anxiety:        #8aa8e0;
  --j-boundaries:     #e0916b;
  --j-communication:  #5fb89a;
  --j-conflict:       #e27d6b;
  --j-emotional:      #9b8fe6;
  --j-selfworth:      #e0b15f;
  --j-trust:          #7b83c9;

  /* Type */
  --font: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Shape + depth */
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 28px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(91, 70, 161, 0.06);
  --shadow:    0 12px 36px rgba(91, 70, 161, 0.12);
  --shadow-lg: 0 26px 60px rgba(91, 70, 161, 0.18);

  --nav-h: 68px;
  --maxw: 1140px;
}

/* ----------------------------------  Reset  ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Guard against horizontal scroll from scroll-reveal translateX offsets and
     any wide child. Off-screen reveal transforms are clipped, not scrollable. */
  overflow-x: hidden;
  position: relative;
  width: 100%;
}
body.nav-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 2px; border-radius: 6px; }

/* --------------------------------  Layout  ------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand-600); margin-bottom: 14px;
}
/* a centered eyebrow must be block-level for text-align:center to take effect
   (inline-block shrink-wraps and otherwise sits at the left of its container) */
.eyebrow.center { display: block; }
.section-head h2 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.lead { font-size: 1.18rem; color: var(--ink-soft); }
.center { text-align: center; }

/* --------------------------------  Buttons  ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 800; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: var(--r-pill); border: 0; cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  color: #2a2540; background: var(--grad);
  box-shadow: 0 10px 26px rgba(122, 110, 220, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(122, 110, 220, 0.42); }
.btn-ghost {
  background: var(--surface); color: var(--brand-700);
  border: 1.5px solid var(--brand-200); box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--brand-300); }
.btn-lg { padding: 18px 34px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* badges */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 8px 15px; border-radius: var(--r-pill);
  background: var(--surface); color: var(--brand-700);
  border: 1.5px solid var(--brand-200); box-shadow: var(--shadow-sm);
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--clay);
  box-shadow: 0 0 0 4px rgba(224, 145, 107, 0.18);
}

/* ====================================  NAV  =============================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  background: rgba(251, 250, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 1.18rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: var(--shadow-sm); }
.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-link {
  color: var(--ink-soft); font-weight: 700; font-size: 0.98rem;
  padding: 10px 14px; border-radius: var(--r-pill);
}
.nav-link:hover { color: var(--ink); background: var(--brand-50); text-decoration: none; }
.nav-link[aria-current="page"] { color: var(--brand-700); }
.nav-cta { margin-left: 6px; padding: 11px 20px; font-size: 0.96rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; border-radius: 12px; padding: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* push content below fixed nav */
.page { padding-top: var(--nav-h); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--surface); padding: 16px 22px calc(22px + env(safe-area-inset-bottom));
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-link { padding: 14px 12px; font-size: 1.05rem; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ==================================  HERO  =============================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-soft);
  padding: 72px 0 88px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 50% at 18% 8%, rgba(233, 200, 234, 0.55), transparent 70%),
    radial-gradient(55% 50% at 92% 18%, rgba(154, 166, 236, 0.45), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin-top: 18px; }
.hero h1 .accent { background: linear-gradient(120deg, var(--brand-600), var(--clay)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.18rem; color: var(--ink-soft); max-width: 30ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-fine { margin-top: 16px; font-size: 0.9rem; color: var(--ink-mute); }
.hero-logo-mark { width: 64px; height: 64px; border-radius: 18px; box-shadow: var(--shadow); }

/* generic text hero (journey + simple pages) */
.hero-center { text-align: center; }
.hero-center .hero-sub { margin-left: auto; margin-right: auto; max-width: 46ch; }
.hero-center .hero-cta { justify-content: center; }

/* ----------------------------  Phone mockup  ----------------------------- */
.phone {
  position: relative; width: 270px; max-width: 80vw; margin: 0 auto;
  border-radius: 42px; padding: 12px;
  background: linear-gradient(160deg, #2c2740, #423b5c);
  box-shadow: var(--shadow-lg);
}
.phone::before {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 22px; background: #1d1930; border-radius: 0 0 14px 14px; z-index: 3;
}
.phone-screen {
  position: relative; border-radius: 32px; overflow: hidden; background: #fff;
  aspect-ratio: 9 / 19.5; display: flex; align-items: center; justify-content: center;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.phone--lg { width: 300px; }

/* placeholder screen content (used when no screenshot is supplied) */
.phone-ph {
  width: 100%; height: 100%; padding: 30px 22px;
  display: flex; flex-direction: column; gap: 14px;
  background: var(--grad-soft);
}
.phone-ph .ph-emoji { font-size: 2.6rem; line-height: 1; }
.phone-ph .ph-avatar { width: 78px; height: 78px; border-radius: 20px; object-fit: cover; box-shadow: var(--shadow-sm); }
.phone-ph h4 { font-size: 1.15rem; margin: 6px 0 2px; }
.phone-ph p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }
.phone-ph .ph-bar { height: 12px; border-radius: 8px; background: #fff; box-shadow: var(--shadow-sm); }
.phone-ph .ph-bar.w70 { width: 70%; } .phone-ph .ph-bar.w50 { width: 50%; } .phone-ph .ph-bar.w85 { width: 85%; }
.phone-ph .ph-card {
  margin-top: auto; background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow-sm);
  font-weight: 800; font-size: 0.92rem; display: flex; align-items: center; gap: 10px;
}
.phone-ph .ph-pill { margin-top: auto; background: var(--grad); border-radius: var(--r-pill); padding: 13px; text-align: center; font-weight: 800; font-size: 0.9rem; color: #2a2540; }

/* ===========================  POSITIONING band  ========================= */
.positioning { background: var(--surface); }
.diff-card {
  max-width: 860px; margin: 0 auto 40px; text-align: center;
  background: var(--grad-soft); border: 1px solid var(--brand-100);
  border-radius: var(--r-lg); padding: 44px 32px; box-shadow: var(--shadow-sm);
}
.diff-card .quote { font-size: clamp(1.4rem, 3.6vw, 2rem); font-weight: 800; letter-spacing: -0.02em; }
.diff-card .quote .hi { color: var(--brand-600); }
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 860px; margin: 0 auto; }
.who-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-sm); }
.who-card .ic { font-size: 1.8rem; }
.who-card h3 { font-size: 1.2rem; margin: 10px 0 6px; }
.who-card p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }

/* ===========================  HOW IT WORKS (steps)  ===================== */
.steps { position: relative; background: var(--bg); }
/* the vertical connecting thread that ties the 3 steps into one journey */
.steps-track { position: relative; max-width: 980px; margin: 0 auto; }
.steps-track::before {
  content: ""; position: absolute; top: 60px; bottom: 90px; left: 50%; transform: translateX(-50%);
  width: 3px; background: linear-gradient(var(--brand-200), var(--brand-300), var(--brand-200));
  border-radius: 3px; z-index: 0;
}
.step {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  margin-bottom: 64px;
}
/* Alternate (zig-zag): odd = text left / screen right, even = screen left / text right */
.step-text  { order: 1; }
.step-media { order: 2; }
.step:nth-child(even) .step-text  { order: 2; }
.step:nth-child(even) .step-media { order: 1; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; font-size: 1.3rem; color: #fff; background: var(--grad);
  box-shadow: 0 8px 22px rgba(122, 110, 220, 0.4); margin-bottom: 16px;
  border: 4px solid var(--bg);
}
.step-text h3 { font-size: clamp(1.4rem, 3.4vw, 2rem); }
.step-text p { color: var(--ink-soft); font-size: 1.06rem; max-width: 42ch; }
.step-media { display: flex; justify-content: center; }
.steps-close { text-align: center; max-width: 620px; margin: 8px auto 0; }
.steps-close p { font-size: clamp(1.25rem, 3.2vw, 1.7rem); font-weight: 800; letter-spacing: -0.02em; }

/* Avatar/icon images fill their rounded frame (Science explorer + journey transform cards) */
.ep-ic img, .tc-ic img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* journey accent helpers */
.acc-anxiety       { background: var(--j-anxiety); }
.acc-boundaries    { background: var(--j-boundaries); }
.acc-communication { background: var(--j-communication); }
.acc-conflict      { background: var(--j-conflict); }
.acc-emotional     { background: var(--j-emotional); }
.acc-selfworth     { background: var(--j-selfworth); }
.acc-trust         { background: var(--j-trust); }

/* ==============================  SCIENCE explorer  ====================== */
.explorer { max-width: 1000px; margin: 0 auto; }
.explorer-tabs {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px;
}
.explorer-tab {
  font-family: inherit; font-weight: 800; font-size: 0.95rem; cursor: pointer;
  padding: 11px 18px; border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink-soft); border: 1.5px solid var(--line);
  display: inline-flex; align-items: center; gap: 8px; transition: 0.16s;
}
.explorer-tab:hover { border-color: var(--brand-300); color: var(--ink); }
.explorer-tab[aria-selected="true"] { background: var(--grad); color: #2a2540; border-color: transparent; box-shadow: var(--shadow-sm); }
.explorer-tab .tdot { width: 10px; height: 10px; border-radius: 50%; }

.explorer-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.ep-top { padding: 32px 34px; display: flex; align-items: center; gap: 18px; }
.ep-top .ep-ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; color: #fff; flex-shrink: 0; overflow: hidden; }
.ep-top h3 { font-size: 1.6rem; margin: 0; }
.ep-top p { margin: 4px 0 0; color: var(--ink-soft); }
.ep-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.ep-col { padding: 28px 30px; }
.ep-col + .ep-col { border-left: 1px solid var(--line); }
.ep-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand-600); margin: 0 0 10px; }
.ep-col p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.ep-foot { padding: 22px 34px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.ep-foot .lk { font-weight: 800; }

/* ==============================  ABOUT page  ============================= */
.mission { background: var(--surface); }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 880px; margin: 0 auto; }
.founder-card { background: var(--grad-soft); border: 1px solid var(--brand-100); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.founder-card .avatar {
  width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; font-size: 1.5rem; color: #fff; background: var(--grad); margin-bottom: 14px;
}
.founder-card h3 { font-size: 1.3rem; margin: 0 0 4px; }
.founder-card .role { color: var(--brand-600); font-weight: 800; font-size: 0.9rem; margin-bottom: 10px; }
.founder-card p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }
.belief {
  max-width: 760px; margin: 48px auto 0; text-align: center;
  font-size: clamp(1.3rem, 3.4vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em;
}
.belief .hi { color: var(--brand-600); }

/* ===============================  JOURNEY page  ========================= */
.journey-hero { background: var(--grad-soft); }
.journey-hero .badge { margin-bottom: 18px; }
.problem { background: var(--surface); }
.problem-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.feel-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.feel-list li {
  background: var(--cream); border: 1px solid var(--sand); border-radius: var(--r);
  padding: 16px 18px; font-size: 1.02rem; color: var(--ink); display: flex; gap: 12px;
}
.feel-list li::before { content: "“"; font-size: 1.6rem; line-height: 1; color: var(--clay); font-weight: 900; }
.transform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.transform-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow-sm); }
.transform-card .tc-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; margin-bottom: 12px; }
.transform-card h3 { font-size: 1.1rem; margin: 0 0 6px; }
.transform-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* =================================  FAQ  ================================ */
.faq { background: var(--bg); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; font-family: inherit; font-weight: 800; font-size: 1.08rem; color: var(--ink);
  background: transparent; border: 0; cursor: pointer; padding: 22px 56px 22px 24px; position: relative;
}
.faq-q::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid var(--brand-500); border-bottom: 2.5px solid var(--brand-500);
  transform: translateY(-65%) rotate(45deg); transition: transform 0.22s ease;
}
.faq-q[aria-expanded="true"]::after { transform: translateY(-35%) rotate(-135deg); }
.faq-a { padding: 0 24px 22px; color: var(--ink-soft); }
.faq-a p { margin: 0; }

/* ============================  CTA closing band  ======================= */
.cta-band { background: var(--grad); }
.cta-inner { text-align: center; max-width: 680px; margin: 0 auto; padding: 18px 0; }
.cta-inner h2 { font-size: clamp(1.8rem, 4.6vw, 2.8rem); color: #2a2540; }
.cta-inner p { color: #3a3454; font-size: 1.12rem; }
.cta-inner .btn-ghost { background: #fff; }

/* ===============================  FOOTER  ============================== */
.footer { background: #211d33; color: #cfc9e0; padding: 56px 0 30px; }
.footer a { color: #cfc9e0; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 34px; margin-bottom: 36px; }
.footer .brand { color: #fff; }
.footer .brand img { box-shadow: none; }
.footer-tag { color: #9a93b4; max-width: 30ch; margin-top: 14px; font-size: 0.98rem; }
.footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 4px 0 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { font-size: 0.98rem; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 800;
  padding: 8px 14px; border-radius: var(--r-pill); background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14); color: #fff; margin-top: 4px;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.88rem; color: #9a93b4; }

/* ===========================  Privacy / prose  ========================= */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin-top: 38px; }
.prose h3 { font-size: 1.12rem; margin-top: 26px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 20px; }
.prose .placeholder-note {
  background: var(--cream); border: 1px dashed var(--clay); border-radius: var(--r);
  padding: 16px 18px; color: var(--ink); font-size: 0.95rem;
}
.prose .updated { color: var(--ink-mute); font-size: 0.95rem; }

/* ===========================  WAITLIST popover  ======================== */
.wl-backdrop { position: fixed; inset: 0; background: rgba(33, 29, 51, 0.5); z-index: 200; backdrop-filter: blur(3px); }
/* Centered, prominent modal on every screen size (desktop + phone). */
.wl-popover {
  position: fixed; z-index: 201;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 400px; max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 30px 28px 26px; border: 1px solid var(--brand-100);
  animation: wl-pop 0.2s ease;
}
@keyframes wl-pop {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
/* First + last name side by side */
.wl-row { display: flex; gap: 10px; }
.wl-field { flex: 1 1 0; min-width: 0; }
.wl-close {
  position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: 0; cursor: pointer;
  background: var(--brand-50); border-radius: 50%; font-size: 1.3rem; line-height: 1; color: var(--ink-soft);
}
.wl-close:hover { background: var(--brand-100); color: var(--ink); }
.wl-heading { font-size: 1.25rem; margin: 0 0 6px; }
.wl-sub { font-size: 0.92rem; color: var(--ink-soft); margin: 0 0 16px; }
.wl-label { display: block; font-weight: 800; font-size: 0.85rem; margin-bottom: 6px; }
.wl-input {
  width: 100%; font-family: inherit; font-size: 1rem; padding: 13px 15px; margin-bottom: 12px;
  border: 1.5px solid var(--brand-200); border-radius: var(--r-sm); background: var(--brand-50); color: var(--ink);
}
.wl-input:focus { outline: 3px solid var(--brand-300); outline-offset: 1px; background: #fff; }
.wl-submit { width: 100%; }
.wl-status { margin: 12px 0 0; font-size: 0.92rem; min-height: 1.1em; }
.wl-status--error   { color: #b4452f; }
.wl-status--success { color: #2f7d57; font-weight: 700; }
.wl-status--pending { color: var(--ink-mute); }

/* (popover is centered on all sizes — see .wl-popover above) */

/* ===========================  Scroll reveal  =========================== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; will-change: opacity, transform; }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal][data-reveal="right"] { transform: translateX(32px); }
[data-reveal].is-visible { transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==============================  Responsive  =========================== */
@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .hero-sub { max-width: 46ch; margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-media { order: -1; }
  .who-grid, .founders { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; gap: 32px; }
  .ep-body { grid-template-columns: 1fr; }
  .ep-col + .ep-col { border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  /* trim the large desktop hero padding on phones (solo/split heroes keep their own) */
  .hero:not(.hero--solo):not(.hero--split) { padding: 44px 0 48px; }
  /* steps stack; move the connecting thread to the left rail */
  .step { grid-template-columns: 1fr; gap: 22px; margin-bottom: 44px; text-align: center; }
  /* stacked: always number+text first, then the screen, for every step */
  .step .step-text, .step:nth-child(even) .step-text  { order: 1; }
  .step .step-media, .step:nth-child(even) .step-media { order: 2; }
  .step-num { margin-left: auto; margin-right: auto; }
  /* the decorative connecting thread reads as a disconnected left rail once the
     steps stack and center, so hide it on phones — the numbers carry the sequence */
  .steps-track::before { display: none; }
  .step { padding-left: 0; }
  .diff-card { padding: 32px 22px; }
  .ep-top { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ============================================================================
   HOMEPAGE HERO (split: copy + animated app) — added in hero rebuild
   ========================================================================== */
.hero--split { padding: 52px 0 68px; }
.hero-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.hero-copy h1 { font-size: clamp(2.05rem, 5.2vw, 3.4rem); margin: 16px 0 0; }
.hero-copy .hero-sub { font-size: 1.12rem; color: var(--ink-soft); max-width: 44ch; margin-top: 16px; }
.hero-copy .hero-cta { margin-top: 24px; }

/* Social proof strip */
.social-proof { margin-top: 22px; display: grid; gap: 11px; }
/* icons are inline so the text wraps naturally (cleaner on narrow phones) */
.sp-line { margin: 0; font-size: 0.96rem; line-height: 1.5; color: var(--ink-soft); }
.sp-line strong { color: var(--ink); font-weight: 800; }
.sp-avatars { display: inline-flex; align-items: center; vertical-align: middle; margin-right: 10px; }
.sp-av { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; margin-left: -9px; box-shadow: var(--shadow-sm); }
.sp-av:first-child { margin-left: 0; }
.sp-av:nth-child(1) { background: linear-gradient(135deg, #c3b2f0, #9aa6ec); }
.sp-av:nth-child(2) { background: linear-gradient(135deg, #f5d9c4, #e0916b); }
.sp-av:nth-child(3) { background: linear-gradient(135deg, #a8d8c4, #5fb89a); }
.sp-av:nth-child(4) { background: linear-gradient(135deg, #f0c3d6, #d98ab0); }
.sp-dot { display: inline-block; vertical-align: middle; width: 9px; height: 9px; border-radius: 50%; background: #3fae7a; box-shadow: 0 0 0 4px rgba(63, 174, 122, 0.16); margin: 0 9px 0 5px; }
/* Optional muted, text-only university credibility line (no logos). */
.sp-credibility { margin: 16px 0 0; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 800; color: var(--ink-mute); }

/* Hero visual + animated app sequence */
.hero-visual { display: flex; flex-direction: column; align-items: center; }
.hero-phone { position: relative; }
.app-cycle, .app-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.app-frame {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  opacity: 0; transform: scale(1.03); transition: opacity 0.8s ease, transform 0.8s ease;
}
.app-frame.is-active { opacity: 1; transform: none; }
.app-video { object-fit: cover; }
.app-caption { position: relative; height: 2.6em; width: 100%; margin-top: 18px; }
.app-cap {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%) translateY(8px);
  white-space: nowrap; opacity: 0; transition: opacity 0.55s ease, transform 0.55s ease;
  font-weight: 800; font-size: 0.92rem; color: var(--brand-700);
  background: #fff; padding: 9px 18px; border-radius: var(--r-pill); box-shadow: var(--shadow-sm);
}
.app-cap.is-active { opacity: 1; transform: translateX(-50%); }

@media (max-width: 860px) {
  .hero--split { padding: 38px 0 56px; }
  .hero-split { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .hero-copy .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-copy .hero-cta { justify-content: center; }
  .social-proof { text-align: center; }
}

/* ============================================================================
   JOURNEYS PAGE — tap-to-expand accordion (avatar + inline dropdown details)
   ========================================================================== */
.journey-accordion { max-width: 840px; margin: 0 auto; display: grid; gap: 14px; }
.ja-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.ja-item.is-open { box-shadow: var(--shadow); border-color: var(--brand-200); }
.ja-head {
  width: 100%; display: flex; align-items: center; gap: 16px;
  padding: 15px 18px; background: transparent; border: 0; cursor: pointer;
  text-align: left; font-family: inherit;
}
.ja-avatar { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.ja-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ja-titles { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.ja-name { font-weight: 800; font-size: 1.14rem; color: var(--ink); }
.ja-tag { font-size: 0.92rem; color: var(--ink-soft); }
.ja-chev {
  width: 11px; height: 11px; flex-shrink: 0; margin-left: 8px;
  border-right: 2.5px solid var(--brand-500); border-bottom: 2.5px solid var(--brand-500);
  transform: rotate(45deg); transition: transform 0.22s ease;
}
.ja-head[aria-expanded="true"] .ja-chev { transform: rotate(-135deg); }
.ja-panel { padding: 0 18px 20px; }
.ja-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  padding-top: 18px; margin-top: 4px; border-top: 1px solid var(--line);
}
.ja-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-600); margin: 0 0 8px; }
.ja-col p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }
.ja-link { display: inline-block; margin-top: 18px; font-weight: 800; }
@media (max-width: 680px) {
  .ja-cols { grid-template-columns: 1fr; gap: 16px; }
  .ja-avatar { width: 50px; height: 50px; }
  .ja-name { font-size: 1.06rem; }
}

/* ============================================================================
   HERO — solo (copy only, no app visual) on the homepage
   ========================================================================== */
.hero--solo { padding: 64px 0 72px; }
.hero--solo .hero-copy { max-width: 760px; margin: 0 auto; text-align: center; }
.hero--solo .hero-copy h1 { font-size: clamp(2.1rem, 5.6vw, 3.6rem); }
.hero--solo .hero-copy .hero-sub { margin-left: auto; margin-right: auto; max-width: 52ch; }
.hero--solo .hero-cta { justify-content: center; }
.hero--solo .social-proof { text-align: center; }
@media (max-width: 860px) { .hero--solo { padding: 40px 0 52px; } }

/* ============================================================================
   Phone mockups — hide the iOS status-bar text baked into the screenshots.
   We cover the top strip of the screen with the app's white background, while
   the phone's dark notch (.phone::before, higher z-index) stays visible.
   Only applies to phones that hold a real screenshot (direct <img> child),
   not the CSS placeholder mockups.
   ========================================================================== */
.phone-screen:has(> img)::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 9%; background: #fff; z-index: 2;
}

/* ============================================================================
   COMMUNITY — shared pieces (preview cards, answer cards, selector, threads)
   ========================================================================== */

/* "Example / preview" labels — used everywhere to keep honesty clear */
.preview-note {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cream); border: 1px dashed var(--clay); color: var(--ink);
  border-radius: var(--r-pill); padding: 8px 16px; font-size: 0.85rem; font-weight: 700;
}
.ex-tag {
  display: inline-block; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--brand-600);
  background: var(--brand-50); border: 1px solid var(--brand-100);
  padding: 3px 9px; border-radius: var(--r-pill); white-space: nowrap;
}

/* Answer cards (used on community page + detail page + home preview) */
.av-initial {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; color: #fff; flex-shrink: 0; font-size: 0.95rem;
}
.av-1 { background: #8aa8e0; } .av-2 { background: #e0916b; } .av-3 { background: #5fb89a; }
.av-4 { background: #e27d6b; } .av-5 { background: #9b8fe6; } .av-6 { background: #e0b15f; }
.av-7 { background: #7b83c9; }

.answer-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.answer-card .ac-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.answer-card .ac-name { font-weight: 800; font-size: 0.95rem; }
.answer-card .ac-head .ex-tag { margin-left: auto; }
.answer-card .ac-text { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* ---- Community page: journey selector (chips) ---- */
.community-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.ctab {
  font-family: inherit; font-weight: 800; font-size: 0.92rem; cursor: pointer;
  padding: 7px 16px 7px 7px; border-radius: var(--r-pill);
  background: var(--surface); border: 1.5px solid var(--line); color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 9px; transition: 0.16s;
}
.ctab img { width: 30px; height: 30px; border-radius: 50%; }
.ctab:hover { border-color: var(--brand-300); color: var(--ink); }
.ctab[aria-selected="true"] { background: var(--grad-soft); border-color: var(--brand-300); color: var(--brand-700); box-shadow: var(--shadow-sm); }

/* ---- Question of the day display ---- */
.qotd { max-width: 860px; margin: 0 auto; }
.qotd-head { text-align: center; margin-bottom: 28px; }
.qotd-journey { display: inline-flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 12px; }
.qotd-journey img { width: 40px; height: 40px; border-radius: 12px; }
.qotd-journey .jn { font-weight: 800; color: var(--ink); }
.qotd-label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-600); }
.qotd-q { font-size: clamp(1.4rem, 3.6vw, 2.05rem); font-weight: 800; color: var(--ink); max-width: 22ch; margin: 8px auto 0; letter-spacing: -0.02em; }
.answers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qotd-foot { text-align: center; margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* ---- Community "vibes" tags ---- */
.vibe-tags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 820px; margin: 0 auto; }
.vibe { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-sm); text-align: center; }
.vibe .vibe-ic { font-size: 1.7rem; }
.vibe h3 { margin: 8px 0 6px; font-size: 1.1rem; }
.vibe p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }

/* ---- Detail (thread) page ---- */
.crumb { font-size: 0.85rem; color: var(--ink-mute); font-weight: 800; letter-spacing: 0.04em; }
.crumb a { color: var(--brand-600); }
.thread-q { font-size: clamp(1.6rem, 4.4vw, 2.5rem); max-width: 20ch; }
.thread-sub { margin-top: 44px; }
.thread-sub > .eyebrow { margin-bottom: 6px; }
.thread-sub h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); }
.thread-sub .sub-intro { color: var(--ink-soft); max-width: 60ch; margin-bottom: 20px; }
.thread-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 680px) {
  .answers-grid, .thread-answers { grid-template-columns: 1fr; }
  .vibe-tags { grid-template-columns: 1fr; }
  .ctab { font-size: 0.86rem; padding: 6px 13px 6px 6px; }
  .ctab img { width: 26px; height: 26px; }
}

/* ============================================================================
   ABOUT page — scannable bullet lists
   ========================================================================== */
.alist { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 11px; }
.alist.center { max-width: 560px; margin-left: auto; margin-right: auto; text-align: left; }
.alist li { position: relative; padding-left: 28px; color: var(--ink-soft); font-size: 1.02rem; }
.alist li strong { color: var(--ink); font-weight: 800; }
.alist li::before {
  content: ""; position: absolute; left: 2px; top: 7px;
  width: 7px; height: 11px; border-right: 2.5px solid var(--brand-600);
  border-bottom: 2.5px solid var(--brand-600); transform: rotate(45deg);
}
.about-block { max-width: 760px; margin: 0 auto; }
.about-lead { font-size: 1.18rem; color: var(--ink-soft); }

/* ============================================================================
   REVISION PASS — proprietary visuals (method flow, "it starts with you"
   cycle, before/after transformation). Brand-consistent, responsive, no libs.
   ========================================================================== */

/* ---- The Secure Method: a real 4-step flow (numbered, connected) ---- */
.method { list-style: none; margin: 0 auto; padding: 0; max-width: 1100px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.method-step { position: relative; padding-right: 4px; }
.method-top { position: relative; height: 76px; display: flex; align-items: center; margin-bottom: 26px; }
.method-num {
  width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center;
  font-weight: 900; font-size: 1.7rem; color: #fff; background: var(--grad);
  box-shadow: 0 12px 26px rgba(122, 110, 220, 0.36); position: relative; z-index: 1;
}
/* horizontal connector line from each number to the next */
.method-step:not(:last-child) .method-top::after {
  content: ""; position: absolute; left: 92px; right: -34px; top: 50%;
  height: 2px; background: var(--brand-200); transform: translateY(-50%);
}
/* arrowhead pointing into the next step */
.method-step:not(:last-child) .method-top::before {
  content: ""; position: absolute; right: -31px; top: 50%; width: 10px; height: 10px;
  border-top: 2.5px solid var(--brand-300); border-right: 2.5px solid var(--brand-300);
  transform: translateY(-50%) rotate(45deg); z-index: 1;
}
.method-step h3 { font-size: 1.22rem; margin: 0 0 8px; letter-spacing: -0.01em; }
.method-step p { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }

@media (max-width: 760px) {
  .method { grid-template-columns: 1fr; gap: 0; max-width: 560px; }
  .method-step { display: grid; grid-template-columns: 76px 1fr; column-gap: 22px; row-gap: 4px; padding-bottom: 40px; }
  .method-top { grid-column: 1; grid-row: 1 / span 2; height: 76px; margin: 0; }
  .method-step h3 { grid-column: 2; grid-row: 1; align-self: center; }
  .method-step p { grid-column: 2; grid-row: 2; }
  .method-step:last-child { padding-bottom: 0; }
  /* turn the connector vertical */
  .method-step:not(:last-child) .method-top::after {
    left: 37px; right: auto; top: 82px; bottom: auto; height: calc(100% - 6px);
    width: 2px; transform: none;
  }
  .method-step:not(:last-child) .method-top::before { display: none; }
}

/* ---- "It starts with you" cycle (SVG ring + positioned nodes) ---- */
.cycle-wrap { display: grid; grid-template-columns: 1fr 0.85fr; gap: 64px; align-items: center; max-width: 1060px; margin: 0 auto; }
.cycle { position: relative; width: 100%; max-width: 500px; margin: 0 auto; aspect-ratio: 1 / 1; }
.cycle svg { width: 100%; height: 100%; display: block; overflow: visible; }
.cycle-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46%; text-align: center;
}
.cycle-core strong { display: block; font-size: clamp(1.15rem, 3.6vw, 1.45rem); color: var(--ink); line-height: 1.2; }
.cycle-core span { font-size: 0.82rem; color: var(--ink-mute); font-weight: 700; }
.cycle-node {
  position: absolute; transform: translate(-50%, -50%);
  background: var(--surface); border: 1.5px solid var(--brand-200); box-shadow: var(--shadow);
  border-radius: var(--r-pill); padding: 9px 16px; font-size: 0.9rem; font-weight: 800; color: var(--ink);
  white-space: nowrap; display: inline-flex; align-items: center; gap: 8px;
}
.cycle-node .cn-num { width: 21px; height: 21px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 0.72rem; display: grid; place-items: center; }
.cycle-node.cn-top    { top: 0%;  left: 50%; }
.cycle-node.cn-right  { top: 50%; left: 95%; }
.cycle-node.cn-bottom { top: 100%; left: 50%; }
.cycle-node.cn-left   { top: 50%; left: 5%; }
.cycle-aside h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); }
.cycle-aside p { color: var(--ink-soft); }

@media (max-width: 860px) {
  .cycle-wrap { grid-template-columns: 1fr; gap: 28px; }
  .cycle { max-width: 360px; }
  .cycle-aside { text-align: left; }
}
@media (max-width: 560px) {
  /* shrink the ring and pull the side labels inward so nothing clips off-screen */
  .cycle { max-width: 250px; }
  .cycle-node { font-size: 0.68rem; padding: 5px 9px; gap: 5px; }
  .cycle-node .cn-num { width: 15px; height: 15px; font-size: 0.62rem; }
  .cycle-node.cn-right { left: 88%; }
  .cycle-node.cn-left  { left: 12%; }
}

/* ---- Before / after transformation (per journey) ---- */
.fromto { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; }
.ft-state { border-radius: var(--r); padding: 22px 22px; border: 1px solid var(--line); }
.ft-from { background: var(--cream); border-color: var(--sand); }
.ft-to { background: var(--grad-soft); border-color: var(--brand-200); }
.ft-label { display: inline-block; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.ft-from .ft-label { color: var(--clay); }
.ft-to .ft-label { color: var(--brand-600); }
.ft-state p { margin: 0; color: var(--ink); font-size: 1.04rem; line-height: 1.5; }
.ft-arrow { align-self: center; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--brand-200); color: var(--brand-600); font-size: 1.3rem; font-weight: 900; box-shadow: var(--shadow-sm); }
.ft-anchor { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.ft-anchor img { width: 60px; height: 60px; border-radius: 16px; box-shadow: var(--shadow-sm); }
.ft-anchor .ft-anchor-label { font-weight: 800; }
.ft-anchor .ft-anchor-label span { display: block; font-size: 0.82rem; color: var(--ink-soft); font-weight: 700; }

@media (max-width: 680px) {
  .fromto { grid-template-columns: 1fr; gap: 10px; }
  .ft-arrow { transform: rotate(90deg); margin: 2px auto; }
}

/* ---- left-aligned body helper for prose blocks ---- */
.text-left { text-align: left; }
.prose-left { max-width: 720px; }
.prose-left p { text-align: left; }
