/* =========================================================================
   CHOSEN RECOVERY — production stylesheet
   Built from the design handoff system (Mulish + Inter, teal + cream, etc.)
   Fonts loaded via <link> tags in each page's <head>, not @import here
   (parallel download instead of CSS-parse-blocked).
   ========================================================================= */

:root {
  /* Brand */
  --teal:        #1F6373;
  --teal-deep:   #184E5A;
  --teal-soft:   #E7EFF1;    /* light tint surface */
  --teal-mid:    #2C7585;

  /* Surfaces */
  --cream:       #F4F1EC;
  --paper:       #FFFFFF;
  --paper-dim:   #FAF7F2;

  /* Ink */
  --ink:         #15232A;
  --ink-soft:    #5C6B71;
  --ink-faint:   #94A0A4;

  /* Hairlines */
  --rule:        rgba(31, 99, 115, 0.10);
  --rule-strong: rgba(31, 99, 115, 0.18);

  /* Tinted cards */
  --sand:        #F5D58C;
  --sand-soft:   #FBE8BD;
  --sand-ink:    #6B4E1F;
  --peach:       #FCDDCD;
  --peach-deep:  #F5B89C;
  --peach-ink:   #7A2E15;
  --setback:     #D54A28;
  --win-soft:    #C7DDE1;

  /* Type */
  --font-display: 'Mulish', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Layout */
  --container:   1200px;
  --container-narrow: 980px;
  --container-tight:  880px;
  --container-prose:  720px;

  /* Radii */
  --r-chip:   4px;
  --r-input:  12px;
  --r-card:   18px;
  --r-card-l: 24px;
  --r-pill:   999px;

  /* Shadows */
  --shadow-card: 0 1px 2px rgba(20,30,40,.04), 0 4px 14px rgba(20,30,40,.04);
  --shadow-phone: drop-shadow(0 30px 50px rgba(31,99,115,.22)) drop-shadow(0 8px 16px rgba(31,99,115,.10));
  --shadow-phone-sm: drop-shadow(0 20px 40px rgba(31,99,115,.22));

  /* Motion */
  --ease-out:  cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ─────────────────────────────────────────────────────────
   Reset & base
   ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; text-rendering: optimizeLegibility; background-color: var(--cream); background-image: linear-gradient(to bottom, var(--cream) 0%, var(--cream) 50%, var(--teal) 50%, var(--teal) 100%); }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream);
}

img, svg { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
ul,ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

::selection { background: var(--teal); color: #fff; }

/* ─────────────────────────────────────────────────────────
   Typography helpers
   ───────────────────────────────────────────────────────── */
.t-display  { font-family: var(--font-display); font-weight: 900; font-size: 72px; line-height: 0.98; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
.t-h1       { font-family: var(--font-display); font-weight: 900; font-size: 48px; line-height: 1.1;  letter-spacing: -0.01em;  color: var(--ink); text-wrap: balance; }
.t-h2       { font-family: var(--font-display); font-weight: 800; font-size: 42px; line-height: 1.1;  letter-spacing: -0.01em;  color: var(--ink); text-wrap: balance; }
.t-h3       { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1.2;  color: var(--ink); }
.t-h4       { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.25; color: var(--ink); }
.t-body-lg  { font-family: var(--font-body); font-weight: 400; font-size: 21px; line-height: 1.5; color: var(--ink-soft); }
.t-body     { font-family: var(--font-body); font-weight: 400; font-size: 17px; line-height: 1.55; color: var(--ink-soft); }
.t-body-sm  { font-family: var(--font-body); font-weight: 400; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }

.label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.on-teal              { color: #fff; }
.on-teal .label       { color: rgba(255,255,255,0.85); }
.tool-result .label   { color: rgba(255,255,255,0.85); }
.final-cta .label     { color: rgba(255,255,255,0.85); }
.risk .label          { color: rgba(255,255,255,0.85); }
.on-teal .t-display,
.on-teal .t-h1,
.on-teal .t-h2,
.on-teal .t-h3       { color: #fff; }
.on-teal .t-body-lg,
.on-teal .t-body,
.on-teal .t-body-sm  { color: rgba(255,255,255,0.78); }

/* Material Symbols */
.mi {
  font-family: 'Material Symbols Rounded';
  font-weight: normal; font-style: normal;
  font-size: 24px; line-height: 1;
  display: inline-block; vertical-align: middle;
  letter-spacing: normal; text-transform: none;
  white-space: nowrap; word-wrap: normal; direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  user-select: none;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.mi--outline { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; }

/* ─────────────────────────────────────────────────────────
   Layout
   ───────────────────────────────────────────────────────── */
.wrap         { width: 100%; max-width: var(--container);        margin-inline: auto; padding-inline: 32px; }
.wrap--narrow { width: 100%; max-width: var(--container-narrow); margin-inline: auto; padding-inline: 32px; }
.wrap--tight  { width: 100%; max-width: var(--container-tight);  margin-inline: auto; padding-inline: 32px; }
.wrap--prose  { width: 100%; max-width: var(--container-prose);  margin-inline: auto; padding-inline: 32px; }

.section          { padding-block: 96px; }
.section--tight   { padding-block: 72px; }
.section--cream   { background: var(--cream); }
.section--paper   { background: var(--paper); }
.section--teal    { background: var(--teal); color: #fff; }

/* ─────────────────────────────────────────────────────────
   Buttons
   ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  transition: background 120ms var(--ease-out), color 120ms var(--ease-out), border-color 120ms var(--ease-out), transform 80ms var(--ease-out);
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-deep); }

.btn--light   { background: #fff; color: var(--teal); }
.btn--light:hover { background: var(--teal-soft); }

.btn--outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--outline:hover { background: var(--teal); color: #fff; }

.btn--lg { padding: 18px 34px; font-size: 17px; }
.btn--xl { padding: 20px 38px; font-size: 18px; }

/* ─────────────────────────────────────────────────────────
   Nav (sticky header)
   ───────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(244, 241, 236, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav__brand img {
  width: 36px; height: 36px;
  border-radius: 8px;
}
.nav__brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--teal);
  letter-spacing: -0.01em;
}
.nav__links {
  display: flex;
  gap: 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
}
.nav__links a { color: var(--ink-soft); transition: color 120ms; }
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--ink); font-weight: 600; }

.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__cta .btn { padding: 10px 18px; font-size: 14px; }

.nav__toggle { display: none; }

@media (max-width: 880px) {
  /* Drop backdrop-filter on mobile — it creates a containing block that
     traps position:fixed descendants (the menu) inside the nav element. */
  .nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--cream);
  }

  /* Hamburger button becomes visible on mobile */
  .nav__toggle {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: 999px;
    color: var(--ink);
    transition: background 120ms;
  }
  .nav__toggle:hover { background: var(--teal-soft); }
  .nav__toggle .mi { font-size: 22px; transition: transform 200ms var(--ease-out); }
  .nav.is-open .nav__toggle .mi { transform: rotate(90deg); }

  /* Mobile menu panel — drops down BELOW the sticky nav header so the
     brand, "Get the app" button, and ✕ stay visible and tappable. */
  .nav__links {
    position: fixed;
    top: 73px;               /* exactly below the nav header (72px + 1px rule) */
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px;
    background: var(--cream);
    z-index: 19;             /* just below .nav (20) so the header sits on top */
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms var(--ease-out), opacity 180ms var(--ease-out);
  }
  .nav.is-open .nav__links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Big, tap-friendly links */
  .nav__links a {
    display: block;
    padding: 18px 4px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
    color: var(--ink);
    border-bottom: 1px solid var(--rule);
    letter-spacing: -0.01em;
  }
  .nav__links a:hover    { color: var(--teal); }
  .nav__links a.is-active { color: var(--teal); }
}

/* ─────────────────────────────────────────────────────────
   Hero (Hormozi)
   ───────────────────────────────────────────────────────── */
.hero {
  background: var(--cream);
  padding: 72px 32px 40px;
}
.hero__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero__pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--rule);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--teal);
  margin-bottom: 22px;
  text-align: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
.hero__sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-top: 22px;
  max-width: 520px;
}
.hero__cta { margin-top: 30px; }

/* ─────────────────────────────────────────────────────────
   Store badges (App Store + Google Play) for marketing CTAs
   ───────────────────────────────────────────────────────── */
.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.final-cta .store-badges { justify-content: center; }
.store-badge {
  display: inline-block;
  transition: opacity 120ms ease;
  line-height: 0;
}
.store-badge:hover { opacity: 0.85; }
.store-badge img {
  display: block;
  height: 52px;
  width: auto;
}
@media (max-width: 480px) {
  .store-badges { gap: 10px; }
  .store-badge img { height: 46px; }
}
.hero__trust {
  display: flex; flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-soft);
}
.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero__trust .mi { color: var(--teal); font-size: 16px; }
.hero__phone {
  display: flex;
  justify-content: center;
}
.hero__phone img {
  width: 100%;
  max-width: 360px;
  height: auto;
  filter: var(--shadow-phone);
}

/* ─────────────────────────────────────────────────────────
   Tried Everything section
   ───────────────────────────────────────────────────────── */
.tried {
  background: var(--paper);
  padding: 72px 32px;
}
.tried__inner { max-width: var(--container-narrow); margin-inline: auto; }
.tried__h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 14px 0 28px;
  max-width: 760px;
  text-wrap: balance;
}
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.pill {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cream);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
}
.tried__p1 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: 28px;
  max-width: 720px;
}
.tried__p2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  margin-top: 16px;
  max-width: 720px;
}

/* ─────────────────────────────────────────────────────────
   Value Equation
   ───────────────────────────────────────────────────────── */
.value-eq { background: var(--cream); padding: 96px 32px; }
.value-eq__inner { max-width: 1100px; margin-inline: auto; }
.value-eq__h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 14px 0 40px;
  max-width: 760px;
  text-wrap: balance;
}
.value-row {
  display: grid;
  grid-template-columns: 72px 280px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
}
.value-row__icon {
  width: 52px; height: 52px;
  border-radius: 999px;
  background: var(--teal-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-row__icon .mi { color: var(--teal); font-size: 26px; }
.value-row__label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  padding-top: 12px;
}
.value-row__body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  padding-top: 14px;
  max-width: 580px;
}

/* ─────────────────────────────────────────────────────────
   Mechanism (Day 1/7/14/30)
   ───────────────────────────────────────────────────────── */
.mechanism { background: var(--paper); padding: 96px 32px; }
.mechanism__inner { max-width: 1100px; margin-inline: auto; }
.mechanism__h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 14px 0 32px;
  max-width: 720px;
  text-wrap: balance;
}
.mechanism__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.day-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
}
.day-row:first-child { border-top: none; }
.day-row__day {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26px;
  color: var(--teal);
  letter-spacing: -0.01em;
}
.day-row__body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  padding-top: 4px;
  max-width: 480px;
}
.phones-pair {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.phones-pair img {
  width: 240px;
  height: auto;
  filter: var(--shadow-phone-sm);
}
.phones-pair img:first-child { transform: translateY(20px)  rotate(-3deg); }
.phones-pair img:last-child  { transform: translateY(-20px) rotate( 3deg); }

/* ─────────────────────────────────────────────────────────
   Risk Reversal (teal section)
   ───────────────────────────────────────────────────────── */
.risk { background: var(--teal); color: #fff; padding: 96px 32px; }
.risk__inner { max-width: 1100px; margin-inline: auto; }
.risk__h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 14px 0 32px;
  max-width: 720px;
  text-wrap: balance;
}
.risk__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.risk-card {
  background: rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 22px;
}
.risk-card .mi { color: #fff; font-size: 26px; }
.risk-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  margin-top: 14px;
}
.risk-card__body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
  margin-top: 6px;
}

/* ─────────────────────────────────────────────────────────
   Value Stack
   ───────────────────────────────────────────────────────── */
.stack { background: var(--cream); padding: 96px 32px; }
.stack__inner { max-width: var(--container-narrow); margin-inline: auto; }
.stack__h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 14px 0 32px;
  max-width: 720px;
  text-wrap: balance;
}
.stack__card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
}
.stack__row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.stack__row:first-child { border-top: none; }
.stack__check {
  width: 24px; height: 24px;
  border-radius: 999px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stack__check .mi { color: #fff; font-size: 16px; }
.stack__text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  padding-top: 2px;
}

/* ─────────────────────────────────────────────────────────
   Breadcrumb (inner pages)
   ───────────────────────────────────────────────────────── */
.breadcrumb {
  background: var(--cream);
  padding: 20px 32px 0;
}
.breadcrumb__list {
  max-width: var(--container-prose);
  margin-inline: auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-soft);
}
.breadcrumb__list li { display: inline; }
.breadcrumb__list li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--ink-faint, #aaa);
}
.breadcrumb__list a {
  color: var(--ink-soft);
  text-decoration: none;
}
.breadcrumb__list a:hover { color: var(--teal); }
.breadcrumb__list [aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 560px) {
  .breadcrumb { padding: 14px 20px 0; }
}

/* ─────────────────────────────────────────────────────────
   Final CTA
   ───────────────────────────────────────────────────────── */
.final-cta { background: #fff; padding: 96px 32px; }
.final-cta__inner { max-width: 760px; margin-inline: auto; text-align: center; }
.final-cta__h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.final-cta__sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: 18px;
  max-width: 600px;
  margin-inline: auto;
}
.final-cta__btn { margin-top: 28px; }

/* ─────────────────────────────────────────────────────────
   Footer
   ───────────────────────────────────────────────────────── */
.footer {
  background: var(--teal);
  color: #fff;
  padding: 64px 32px 32px;
}
.footer__inner { max-width: var(--container); margin-inline: auto; }
.footer__brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  margin-bottom: 24px;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
}
.footer__links a {
  color: rgba(255,255,255,0.85);
  transition: color 120ms;
}
.footer__links a:hover { color: #fff; }
.footer__bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  flex-wrap: wrap;
  gap: 8px;
}

/* ─────────────────────────────────────────────────────────
   Blog post (long-form prose)
   ───────────────────────────────────────────────────────── */
.post-hero {
  background: var(--cream);
  padding: 72px 32px 56px;
}
.post-hero__inner { max-width: var(--container-prose); margin-inline: auto; }
.post-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 14px 0 18px;
  text-wrap: balance;
}
.post-hero__byline {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-soft);
}

.post-body { background: #fff; padding: 56px 32px 96px; }
.post-body__inner {
  max-width: var(--container-prose);
  margin-inline: auto;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
}
.post-body__inner p { margin-bottom: 1em; }
.post-body__inner h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.2;
  color: var(--ink);
  margin: 40px 0 14px;
}
.post-body__inner h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  color: var(--ink);
  margin: 32px 0 12px;
}
.post-body__inner ul,
.post-body__inner ol { padding-left: 22px; margin-bottom: 1em; }
.post-body__inner ul li { margin-bottom: 0.5em; list-style: disc; }
.post-body__inner ol li { margin-bottom: 0.5em; list-style: decimal; }
.post-body__inner blockquote {
  border-left: 4px solid var(--teal);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
}
.post-body__inner a { color: var(--teal); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.post-body__inner strong { color: var(--ink); font-weight: 600; }

/* ─────────────────────────────────────────────────────────
   Blog index (post list)
   ───────────────────────────────────────────────────────── */
.posts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.posts-list__item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
  text-decoration: none;
  color: inherit;
  transition: opacity 120ms;
}
.posts-list__item:first-child { border-top: none; }
.posts-list__item:hover { opacity: 0.92; }
.posts-list__date {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-soft);
  padding-top: 6px;
}
.posts-list__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 10px;
  text-wrap: balance;
}
.posts-list__excerpt {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 640px;
}
.posts-list__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

/* ─────────────────────────────────────────────────────────
   Free Tool (Risk Window Finder)
   ───────────────────────────────────────────────────────── */
.tool-shell { background: var(--cream); padding: 72px 32px; }
.tool-shell__inner { max-width: var(--container-tight); margin-inline: auto; }
.tool-shell__h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 14px 0 12px;
  text-wrap: balance;
}
.tool-shell__sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 600px;
}

.tool-form {
  background: #fff;
  border-radius: 24px;
  padding: 32px;
  margin-top: 32px;
  box-shadow: var(--shadow-card);
}
.tool-field { margin-bottom: 24px; }
.tool-field:last-child { margin-bottom: 0; }
.tool-field__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 12px;
}
.tool-field__range {
  width: 100%;
  accent-color: var(--teal);
}
.tool-field__big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--teal);
  margin-top: 4px;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row--seven { gap: 6px; }
.chip-row--seven .chip { padding: 8px 11px; font-size: 13px; white-space: nowrap; }
.chip {
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--rule);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  transition: background 120ms, color 120ms, border-color 120ms;
}
.chip:hover { border-color: var(--rule-strong); }
.chip.is-selected {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.tool-result {
  background: var(--teal);
  color: #fff;
  border-radius: 24px;
  padding: 32px;
  margin-top: 16px;
}
.tool-result__big {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 36px;
  line-height: 1.15;
  color: #fff;
  margin-top: 12px;
  text-wrap: balance;
}
.tool-result__body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  margin-top: 16px;
  max-width: 620px;
}
.tool-result__cta { margin-top: 24px; }

/* ─────────────────────────────────────────────────────────
   Tools index
   ───────────────────────────────────────────────────────── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.tools-grid__card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--rule);
  transition: transform 120ms, box-shadow 200ms;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tools-grid__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.tools-grid__card .mi {
  color: var(--teal);
  font-size: 28px;
  background: var(--teal-soft);
  width: 52px; height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.tools-grid__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
}
.tools-grid__body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.tools-grid__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--teal);
  margin-top: 4px;
}

/* ─────────────────────────────────────────────────────────
   Generic placeholder page (legal etc)
   ───────────────────────────────────────────────────────── */
.placeholder-hero { background: var(--cream); padding: 72px 32px 56px; }
.placeholder-hero__inner { max-width: var(--container-prose); margin-inline: auto; }
.placeholder-body { background: #fff; padding: 56px 32px 96px; }
.placeholder-body__inner {
  max-width: var(--container-prose);
  margin-inline: auto;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.placeholder-body__inner p { margin-bottom: 1em; }
.placeholder-body__inner h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--ink);
  margin: 32px 0 12px;
}
.placeholder-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--sand-soft);
  color: var(--sand-ink);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────────────────
   Responsive
   ───────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero__title { font-size: 56px; }
  .final-cta__h2 { font-size: 44px; }
}

@media (max-width: 880px) {
  .hero { padding: 56px 32px 32px; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__phone img { max-width: 320px; }
  .hero__title { font-size: 44px; }
  .hero__sub { font-size: 18px; }
  .tried, .value-eq, .mechanism, .risk, .stack, .final-cta { padding-block: 64px; }
  .tried__h2, .value-eq__h2, .mechanism__h2, .risk__h2, .stack__h2 { font-size: 32px; }
  .value-row { grid-template-columns: 1fr; gap: 12px; }
  .value-row__label { padding-top: 4px; }
  .value-row__body { padding-top: 0; }
  .mechanism__grid { grid-template-columns: 1fr; gap: 40px; }
  .phones-pair img { width: 180px; }
  .day-row { grid-template-columns: 1fr; gap: 4px; }
  .risk__grid { grid-template-columns: repeat(2, 1fr); }
  .final-cta__h2 { font-size: 36px; }
  .post-hero__title { font-size: 36px; }
  .tools-grid { grid-template-columns: 1fr; }
  .posts-list__item { grid-template-columns: 1fr; gap: 8px; }
  .footer__bottom { flex-direction: column; gap: 12px; }
}

@media (max-width: 560px) {
  .risk__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 36px; }
  .tried__h2, .value-eq__h2, .mechanism__h2, .risk__h2, .stack__h2 { font-size: 28px; }
  .final-cta__h2 { font-size: 30px; }
  .nav__inner { padding: 14px 20px; }
  .wrap, .wrap--narrow, .wrap--tight, .wrap--prose,
  .hero, .tried, .value-eq, .mechanism, .risk, .stack, .final-cta,
  .post-hero, .post-body, .tool-shell, .placeholder-hero, .placeholder-body,
  .footer { padding-inline: 20px; }
  .nav__inner { gap: 12px; }
  /* Nav is shorter at this breakpoint (padding 14px instead of 18px) —
     start the menu where the nav actually ends. */
  .nav__links { top: 65px; }
}

/* ─────────────────────────────────────────────────────────
   Get-the-app modal (desktop QR sheet)
   ───────────────────────────────────────────────────────── */
.cr-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cr-modal.is-open { display: flex; animation: crFade 180ms var(--ease-out); }

.cr-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 35, 42, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cr-modal__panel {
  position: relative;
  background: var(--paper);
  border-radius: 24px;
  padding: 40px 40px 36px;
  max-width: 540px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(21, 35, 42, 0.35);
  animation: crSlide 220ms var(--ease-out);
}

.cr-modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  background: transparent;
  transition: background 120ms, color 120ms;
}
.cr-modal__close:hover { background: var(--teal-soft); color: var(--ink); }
.cr-modal__close .mi { font-size: 22px; }

.cr-modal__eyebrow { margin-bottom: 14px; }

.cr-modal__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
  max-width: 22ch;
}
.cr-modal__sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: 8px;
  max-width: 44ch;
}

.cr-modal__qrs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.cr-modal__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--cream);
  border-radius: 18px;
  text-decoration: none;
  transition: transform 120ms var(--ease-out), background 120ms;
}
.cr-modal__qr:hover { background: var(--paper-dim); transform: translateY(-2px); }
.cr-modal__qr--pending,
.cr-modal__qr--pending:hover { background: var(--cream); transform: none; cursor: default; }

.cr-modal__qr-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cr-modal__qr-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.cr-modal__qr-img--pending { color: var(--ink-faint); background: var(--cream); }
.cr-modal__qr-img--pending .mi { font-size: 44px; }

.cr-modal__store {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}
.cr-modal__store-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.cr-modal__store-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  margin-top: 2px;
  letter-spacing: -0.01em;
}
.cr-modal__qr--pending .cr-modal__store-name { color: var(--ink-soft); }

@keyframes crFade  { from { opacity: 0; } to { opacity: 1; } }
@keyframes crSlide { from { opacity: 0; transform: translateY(12px); }
                       to { opacity: 1; transform: translateY(0); } }

@media (max-width: 480px) {
  .cr-modal__panel { padding: 32px 24px 28px; border-radius: 20px; }
  .cr-modal__title { font-size: 22px; }
  .cr-modal__qrs   { gap: 12px; }
  .cr-modal__qr    { padding: 12px; }
}
