/* ============================================================
   AURIAN — MOBILE STYLESHEET
   Loaded ONLY on viewports ≤640px via <link media="(max-width:640px)">.
   Desktop and tablet never load or apply these rules.

   Edit this file for anything mobile-specific.
   Desktop/tablet edits go in styles.css.
   ============================================================ */

/* --- LOCK TEXT SIZE: prevent iOS Safari from inflating our fonts when the
      user has "Larger Text" accessibility or "Display Zoom = Larger" enabled.
      Without this, two identical iPhones can render our site at different
      sizes depending on those system settings. --- */
html,
body{
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
  text-size-adjust: none;
}

/* --- ANCHOR SCROLL OFFSET: when a sub-nav pill jumps to a #section-id, stop
      the browser from placing the section title UNDER the sticky nav bar.
      Value ≈ pill nav height + a little breathing room. --- */
html{
  scroll-padding-top: 96px;
}
section[id]{
  scroll-margin-top: 96px;
}

/* --- HERO TITLES: allow wrapping, shrink to fit narrow viewport --- */
.hero__title,
.page-hero__title{
  white-space: normal;
  font-size: clamp(28px, 8.5vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  word-break: break-word;
  hyphens: none;
  padding: 0 8px;
}

/* --- HERO HEIGHTS: homepage keeps its full landing (Sander's choice);
      only sub-page heroes shrink to remove empty space on phones --- */
.page-hero{
  min-height: auto;
  padding: clamp(112px, 24vw, 160px) var(--pad-x) clamp(48px, 10vw, 80px);
}
.page-hero--tall{
  min-height: auto;
  padding: clamp(112px, 24vw, 160px) var(--pad-x) clamp(48px, 10vw, 80px);
}
/* Scroll indicator becomes redundant once hero shrinks — hide on mobile */
.page-hero--tall::after{ display: none; }

/* --- HERO LEDE / SUB-NAV: tighter spacing --- */
.hero__lede,
.page-hero__lede{ margin-top: 18px; padding: 0 8px; }
.sub-nav{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}
.sub-nav a{
  font-size: 10px;
  padding: 12px 10px;
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- BROCHURE / NEWSLETTER FORM: stack input on top of button --- */
.newsletter__form{
  flex-direction: column;
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
  gap: 12px;
  max-width: 100%;
}
.newsletter__form input{
  width: 100%;
  padding: 16px 22px;
  background: var(--white);
  border: 1px solid var(--gray-rule);
  border-radius: 999px;
  text-align: center;
}
.newsletter__form button{
  width: 100%;
  padding: 16px 28px;
}

/* --- FUNNEL ROWS: left-align body, allow wrap, tighter grid --- */
.funnel__body{
  text-align: left;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  font-size: 12px;
  line-height: 1.35;
}
.funnel__row{
  padding: 12px 16px;
  min-height: 0;
  align-items: start;
}
/* Align the whole funnel container with the Track cards above
   (same horizontal padding as the rest of the page). */
.funnel{
  width: calc(100% - 2 * var(--pad-x));
  margin-left: auto;
  margin-right: auto;
}

/* --- SECTION PADDING: reduce vertical whitespace --- */
.sec{
  padding-top: clamp(48px, 12vw, 80px);
  padding-bottom: clamp(48px, 12vw, 80px);
}

/* --- CLOSER (Redefine your financial future block): tighter --- */
.closer{ padding: clamp(48px, 10vw, 72px) clamp(24px, 6vw, 40px); }
.closer__title{ font-size: clamp(24px, 6.5vw, 34px); line-height: 1.15; }

/* --- FEATURE ROW ITEMS: consistent breathing room --- */
.feature-row__item{ padding: 20px; }

/* --- TEAM CARDS: reduce padding on phones --- */
.team-card{ padding: 24px; }

/* --- FAQ TITLE: keep from wrapping awkwardly --- */
.faq__title{ font-size: clamp(24px, 6.5vw, 34px); }

/* --- CONTACT PAGE: first section title was clipping under the sticky nav --- */
#letstalk{ padding-top: clamp(112px, 24vw, 148px); }

/* --- STRATEGY / ROBUSTNESS TRACKS: reorder to A → + → B → Same Bar (↓) --- */
.tracks{
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tracks .track:first-child{ order: 1; }
.tracks::before{
  content: "+";
  order: 2;
  text-align: center;
  font-size: 32px;
  font-weight: 300;
  color: var(--jade);
  line-height: 1;
  margin: 2px 0;
}
.tracks .track:last-of-type{ order: 3; }
.tracks__merge{ order: 4; margin-top: 6px; }
/* Undo the desktop 90deg rotation — arrow should point straight down on mobile */
.tracks__merge svg{ transform: none; }

/* --- STRATEGY / VALIDATION FUNNEL PILL: keep on one line with arrows aligned --- */
.tracks__gate{
  white-space: nowrap;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  padding: 10px 18px;
  max-width: 100%;
}

/* --- DRAWDOWN STATS CARD: centre each cell on mobile --- */
.dd-stat{
  text-align: center;
  align-items: center;
}

/* --- MOBILE NAV DRAWER: bold but more refined (semi-bold, tighter spacing) --- */
.nav-drawer a{
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.02em;
}

/* --- LIVE DASHBOARD: treat the h3 as a pull-quote intro rather than a
      dominating headline. Smaller, medium-weight, jade accent border on the
      left for visual distinction from the paragraphs below. --- */
.live-dash__copy h3{
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--jade);
  padding-left: 14px;
  border-left: 2px solid var(--jade);
  margin-bottom: 22px;
}
