/* ============================================================
   Dr Jake Currie / Pain Mapping — Homepage styles
   Brand system: Bone · Paper · Nude · Ink · Slate · Sage
   ============================================================ */

:root {
  --bone:   #FAF8F4; /* page ground: very light nude */
  --paper:  #FFFFFF; /* cards, surfaces */
  --nude:   #F2EEE7; /* full-bleed section bands (lightened) */
  --ink:    #1D2733; /* text, primary buttons, dark surfaces */
  --slate:  #3F5D85; /* links, accents */
  --sage:   #D6DFEA; /* resting tone: tags, icons (pale slate; green removed for test) */
  --muted:  #41505F; /* body copy on light grounds */
  --muted-on-ink: #AEB9C6;
  --small:  #8A8577; /* mono small print */
  --line:   rgba(29,39,51,.12);
  --line-card: rgba(29,39,51,.1);
  --line-btn:  rgba(29,39,51,.3);

  --maxw: 1200px;

  --display: "Montserrat", "Albert Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; /* headings: matches the Pain Rewired wordmark */
  --sans: "Albert Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Albert Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; /* small print: tags, step numbers, footer */
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--slate); text-decoration: none; }
a:hover { color: var(--ink); text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: pretty;
}
h2 { font-size: clamp(28px, 3vw, 38px); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: clamp(1.25rem, 4vw, 40px); }
.container.narrow > * { max-width: 800px; }
.container.narrow.center > * { margin-inline: auto; }
.center { text-align: center; }

.accent { color: var(--slate); }
.u {
  text-decoration: underline;
  text-decoration-color: #E8C170;
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .2s ease-out, color .2s ease-out, border-color .2s ease-out;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--ink); color: var(--bone); }
.btn-primary:hover { background: var(--slate); color: var(--bone); }
.btn-ghost { border-color: var(--line-btn); color: var(--ink); padding: 15px 32px; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.text-link { font-weight: 600; font-size: 14px; color: var(--slate); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bone) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo img { width: 207px; height: auto; }

.primary-nav { display: flex; align-items: center; gap: 32px; }
.primary-nav a { font-size: 14px; font-weight: 500; color: var(--ink); }
.primary-nav a:hover { text-decoration: underline; }
.primary-nav .nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--bone);
  background: var(--ink);
  padding: 12px 24px;
  border-radius: 999px;
}
.primary-nav .nav-cta:hover { background: var(--slate); text-decoration: none; }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(76vh, 760px);
  display: flex;
  align-items: center;
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--bone) url("images/jake-home.jpg") right center / auto 100% no-repeat;
  color: var(--ink);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(250,248,244,1) 0%, rgba(250,248,244,1) 30%, rgba(250,248,244,.8) 42%, rgba(250,248,244,0) 58%);
}
.hero .container { position: relative; }
.hero-inner { max-width: var(--maxw); text-align: left; }
.hero-copy { max-width: 620px; }
.hero-eyebrow { font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin: 0 0 18px; }
.hero h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.08; color: var(--ink); }
.hero .accent { color: var(--slate); }
.hero .lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 44ch;
  margin: 24px 0 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 36px; }
.hero-actions.center { justify-content: center; }
.nowrap { white-space: nowrap; }
.hero-proof { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 40px; padding: 4px 0; font-size: 17px; font-weight: 600; color: var(--slate); text-decoration: none; }
.hero-proof:hover { color: var(--ink); }
.hero-stars { color: #E9A23B; font-size: 24px; letter-spacing: 6px; line-height: 1; }

/* ---------- Section rhythm ---------- */
.section { padding: 80px 0; }
.band { background: var(--nude); }

.section-head { max-width: 800px; margin-bottom: 48px; }
.section-sub { color: var(--muted); font-size: 17px; margin: 20px 0 0; max-width: 56ch; }

/* ---------- This might sound like you / Who this isn't for ---------- */
.soundlike, .nothelp { text-align: center; }
.soundlike .section-head, .nothelp .section-head { margin-inline: auto; }
.soundlike .section-sub, .nothelp .section-sub { margin-inline: auto; }
.band-ink { background: var(--ink); color: #FFFFFF; }
.band-ink h2 { color: #FFFFFF; }
.band-ink .section-sub { color: var(--muted-on-ink); }
.btn-onink { background: #FFFFFF; color: var(--ink); }
.btn-onink:hover { background: var(--nude); color: var(--ink); }

.tick-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 16px;
  max-width: 1000px;
  margin-inline: auto;
  text-align: left;
}
.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  line-height: 1.5;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line-card);
}
.band-ink .tick-list li { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.18); }
.band-ink .tick { background: #FFFFFF; }
.tick {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--slate);
  position: relative;
  margin-top: 0;
}
.tick::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 5px;
  width: 6px;
  height: 11px;
  border: solid #FFFFFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.tick-list-no li { color: #FFFFFF; }
.tick-x { background: #FFFFFF; border: none; }
.tick-x::before, .tick-x::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  border: none;
  background: #B94A44;
  transform: translate(-50%, -50%) rotate(45deg);
}
.tick-x::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- Reframe ---------- */
.reframe-grid {
  display: grid;
  grid-template-columns: minmax(240px, 5fr) minmax(300px, 7fr);
  gap: 56px;
  align-items: center;
}
.reframe-media img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; width: 100%; }
.reframe-copy h2 { margin-bottom: 24px; }
.reframe-copy p { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0 0 18px; max-width: 56ch; }
.band-ink .reframe-copy p { color: var(--muted-on-ink); }
/* Half-bleed: photo runs to the screen edge and the full height of the band */
.reframe-bleed { padding: 0; }
.reframe-bleed .reframe-grid { max-width: none; padding: 0; gap: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.reframe-bleed .reframe-media img { height: 100%; min-height: 600px; aspect-ratio: auto; object-position: center 25%; }
.reframe-bleed .reframe-copy { align-self: center; max-width: 640px; padding: 96px clamp(24px, 7vw, 112px); }
@media (max-width: 860px) {
  .reframe-bleed .reframe-grid { grid-template-columns: minmax(0, 1fr); }
  .reframe-bleed .reframe-media img { min-height: 0; aspect-ratio: 4 / 3; }
  .reframe-bleed .reframe-copy { padding: 48px clamp(20px, 6vw, 40px) 64px; }
}

/* ---------- Who ---------- */
.who h2 { margin-bottom: 32px; }
.who-list { list-style: none; margin: 0; padding: 0; }
.who-list li {
  position: relative;
  padding: 18px 0 18px 32px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.55;
}
.who-list li:last-child { border-bottom: 1px solid var(--line); }
.who-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 10px;
  height: 10px;
  background: var(--sage);
  border-radius: 50%;
}

/* ---------- About page ---------- */
.about-intro-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.about-intro h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.08; margin: 0; }
.about-intro .lede { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 40ch; margin: 24px 0 0; }
.about-intro-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%; border-radius: 16px; }
.story h2 { margin-bottom: 28px; }
.story p { color: var(--muted); font-size: 18px; line-height: 1.75; margin: 0 0 22px; }
.story .story-quote { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; font-weight: 600; color: var(--ink); margin: 40px 0; padding-left: 24px; border-left: 4px solid #E8C170; }

/* ---------- The space in between ---------- */
.between-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.between-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
.between-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 17px; line-height: 1.5; }
.between-list strong { color: var(--ink); font-weight: 600; }
.between-venn { margin: 0; }
.between-venn svg { display: block; width: 100%; max-width: 560px; margin: 0 auto; overflow: visible; }
.bv-circle { fill: #EEF2F7; fill-opacity: .7; stroke: var(--slate); stroke-width: 2; }
.bv-lens { fill: var(--ink); }
.bv-quote { font: 600 22px var(--sans); fill: var(--slate); text-anchor: middle; }
.bv-core { font: 700 23px var(--sans); fill: #FFFFFF; text-anchor: middle; }
.bv-label { font: 500 17px var(--sans); fill: var(--muted); text-anchor: middle; }
.bv-label-core { font-weight: 700; fill: var(--ink); }

/* ---------- Method ---------- */
.method-cta { margin-top: 48px; }
.method { border-top: 1px solid var(--line); }

/* ---------- About ---------- */
.about { border-top: 1px solid var(--line); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(240px, 4fr) minmax(300px, 7fr);
  gap: 56px;
  align-items: center;
}
.about-copy h2 { margin-bottom: 24px; }
.about-name { font-weight: 600; color: var(--slate); margin: 0 0 20px; font-size: 15px; }
.about-copy p:not(.about-name) { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0 0 18px; max-width: 56ch; }
.about-copy .btn { margin-top: 14px; }
.about-media { order: -1; }
.about-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 20%; }

/* ---------- Credibility ---------- */
.credibility h2, .audio-reviews h2 { margin-bottom: 16px; max-width: 22ch; }
.reviews-intro { color: var(--muted); font-size: 15px; margin: 0 0 32px; }

/* Review cards: avatar + name/meta, stars, headline, quote */
.container.narrow > .review-grid { max-width: none; }
.review-grid { columns: 3 300px; column-gap: 20px; }
.review {
  break-inside: avoid;
  margin: 0 0 20px;
  padding: 28px 28px 24px;
  background: var(--paper);
  border: 1px solid rgba(29,39,51,.06);
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(29,39,51,.05);
}
.review-head { display: flex; align-items: center; gap: 14px; }
.review-avatar {
  flex: none;
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 500; color: #FFFFFF;
}
.av-1 { background: var(--slate); }
.av-2 { background: #7A96B8; }
.av-3 { background: var(--ink); }
.av-4 { background: #8A8577; }
.review-who { display: flex; flex-direction: column; }
.review-name { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--ink); margin-bottom: 2px; }
.review-meta { font-size: 14px; line-height: 1.4; color: var(--muted); }
.review-stars { margin: 18px 0 14px; color: #E9A23B; font-size: 17px; letter-spacing: 4px; line-height: 1; }
.review-title { font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 10px; }
.review-text { margin: 0; }
.review-text p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted); }
.review-text p + p { margin-top: 12px; }

/* ---------- Offers ---------- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.offer {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-card);
  border-radius: 20px;
  overflow: hidden;
}
.offer-img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.offer-body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 28px 28px 32px; }
.offer h3 { font-size: 24px; line-height: 1.2; }
.offer-meta { font-size: 14px; font-weight: 600; margin: 0; }
.offer-body > p:not(.offer-meta) { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; flex: 1; }
.offer .btn { align-self: flex-start; margin-top: 10px; }
.offer-featured { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.offer-featured h3, .offer-featured .offer-meta { color: var(--bone); }
.offer-featured .offer-body > p:not(.offer-meta) { color: var(--muted-on-ink); }

/* ---------- CTA band ---------- */
.cta-band { padding: 96px 0; text-align: center; }
.cta-band h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; max-width: 20ch; margin: 0 auto; }
.cta-band .cta-sub { color: var(--muted); font-size: 16px; max-width: 44ch; margin: 20px auto 0; }
.cta-band .hero-actions { margin-top: 36px; }
.cta-band .btn-primary { font-size: 15px; padding: 18px 40px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}
.footer-inner .logo img { width: 185px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-nav a { font-size: 14px; font-weight: 500; color: var(--ink); }
.footer-disclaimer { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-disclaimer h2 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); margin: 0 0 12px; }
.footer-disclaimer p { font-size: 13px; line-height: 1.6; color: var(--small); margin: 0 0 10px; max-width: 90ch; }
.footer-disclaimer strong { color: var(--ink); font-weight: 600; }
.footer-legal {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--small);
  text-transform: uppercase;
  margin-top: 24px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero { min-height: 0; background-size: cover; background-position: 75% center; }
  .hero::before { background: rgba(250,248,244,.86); }
  .reframe-grid { grid-template-columns: 1fr; }
  .tick-list { grid-template-columns: 1fr; }
  .between-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-intro-media img { max-width: 460px; }
  .reframe-media { order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-body { padding: 24px 24px 28px; }
  .about-media { order: 1; }
  .about-media img { max-width: 460px; }
  .section { padding: 64px 0; }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    background: none; border: none; cursor: pointer;
    margin-right: -10px;
  }
  .nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--ink); transition: transform .25s ease-out, opacity .2s ease-out; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.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(-6.5px) rotate(-45deg); }

  .primary-nav {
    position: fixed;
    inset: 84px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bone);
    border-bottom: 1px solid var(--line);
    padding: 8px clamp(1.25rem, 4vw, 40px) 24px;
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform .3s ease-out, visibility 0s linear .3s;
  }
  .primary-nav.open { transform: translateY(0); visibility: visible; transition: transform .3s ease-out; }
  .primary-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .primary-nav .nav-cta { background: none; color: var(--slate); padding: 14px 0; border-radius: 0; font-size: 14px; }
  .primary-nav .nav-cta:hover { background: none; }
}

/* ---------- Consultation page ---------- */
.consult-facts { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.consult-facts li { background: var(--paper); border: 1px solid var(--line-card); border-radius: 999px; padding: 10px 18px; font-size: 15px; color: var(--muted); }
.consult-facts strong { color: var(--ink); }
.consult-online { margin: 18px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 52ch; }
.consult-online strong { color: var(--ink); }
.offer-meta strong { color: inherit; font-weight: 700; }
.offer-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: #F3E2DE; color: #B5473A; }
.offer-visual-num { font-family: var(--display); font-size: 96px; font-weight: 600; line-height: 1; }
.offer-visual-label { font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.about-intro .hero-actions { margin-top: 28px; }
.consult-list { list-style: none; margin: 0; padding: 0; counter-reset: item; border-top: 1px solid var(--line); max-width: 860px; }
.consult-list li { counter-increment: item; display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 16px; line-height: 1.65; }
.consult-list li::before { content: counter(item, decimal-leading-zero); grid-row: span 2; font-weight: 600; font-size: 14px; color: var(--slate); padding-top: 3px; }
.consult-list strong { color: var(--ink); font-size: 18px; }
.hiw-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.hiw-steps::before { content: ""; position: absolute; top: 28px; left: 28px; right: calc(33.333% - 28px); height: 1px; background: rgba(255,255,255,.25); }
.hiw-step { position: relative; }
.hiw-step-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #FFFFFF; color: var(--ink); position: relative; }
.hiw-step-icon svg { width: 26px; height: 26px; }
.hiw-time { display: block; margin: 20px 0 8px; font-size: 13px; font-weight: 600; color: #E8C170; }
.hiw-step h3 { font-size: 21px; color: #FFFFFF; margin: 0; }
.hiw-step p { margin: 10px 0 0; color: var(--muted-on-ink); font-size: 15px; line-height: 1.65; }
.booking-embed { background: var(--paper); border: 1px solid var(--line-card); border-radius: 20px; padding: 12px; min-height: 600px; }
.consult-note { color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 70ch; margin: 24px 0 0; }

.consult-stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; }
.stats-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats-row li { display: flex; flex-direction: column; gap: 6px; }
.stats-row strong { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; color: var(--ink); line-height: 1.1; }
.stats-row span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.faq-list { max-width: 860px; border-top: 1px solid var(--line-btn); }
.faq-list details { border-bottom: 1px solid var(--line-btn); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 18px; font-weight: 600; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--slate); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { margin: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 70ch; }

/* ---------- Policy page ---------- */
.policy h1 { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.1; }
.policy .lede { font-size: 18px; line-height: 1.65; color: var(--muted); margin: 20px 0 0; }
.policy h2 { font-size: 22px; margin: 44px 0 12px; }
.policy h3 { font-size: 17px; margin: 24px 0 8px; }
.policy p, .policy li { color: var(--muted); font-size: 16px; line-height: 1.75; }
.policy p { margin: 0 0 14px; }
.policy ul { margin: 0 0 14px; padding-left: 20px; }
.policy li { margin-bottom: 10px; }
.policy li strong, .policy p strong { color: var(--ink); }

@media (max-width: 860px) {
  .hiw-steps { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .hiw-steps::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ============================================================
   Pain driver map (sliders resize the three circles)
   ============================================================ */
.driver-map { --d-sens: #7A96B8; --d-stress: #C4923A; --d-mech: #B5473A; }
[data-driver="sens"] { --d: var(--d-sens); }
[data-driver="stress"] { --d: var(--d-stress); }
[data-driver="mech"] { --d: var(--d-mech); }
.driver-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
}
.driver-diagram { margin: 0; }
.driver-diagram svg { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; }
.driver-circles circle { fill: var(--d); fill-opacity: .4; mix-blend-mode: multiply; }
.driver-labels text { font-family: var(--sans); fill: var(--ink); text-anchor: middle; }
.dl-name { font-size: 18px; font-weight: 600; }
.dl-score { font-size: 14px; fill: var(--muted); font-variant-numeric: tabular-nums; }
.driver-readout { max-width: 46ch; margin: 8px auto 0; text-align: center; }
.driver-readout h3 { font-size: 20px; line-height: 1.3; margin: 0 0 6px; }
.driver-readout p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.driver-controls { display: grid; gap: 40px; }
.driver-name { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 10px; row-gap: 2px; font-size: 22px; margin: 0; }
.driver-for { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.driver-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--d); flex: none; align-self: center; }
.driver-slider { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.driver-slider label { cursor: pointer; font-weight: 500; }
.driver-val { font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.driver-row p { margin: 8px 0 14px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.driver-row input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; margin: 0; background: transparent; cursor: pointer; }
.driver-row input[type=range]::-webkit-slider-runnable-track { height: 2px; background: var(--line-btn); }
.driver-row input[type=range]::-moz-range-track { height: 2px; background: var(--line-btn); }
.driver-row input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -9px; border-radius: 50%; background: var(--d); border: 0; }
.driver-row input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--d); border: 0; }
.driver-row input[type=range]:focus-visible { outline: 2px solid var(--d); outline-offset: 4px; border-radius: 4px; }
@media (max-width: 860px) {
  .driver-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

/* ============================================================
   The Daily Rewire page
   ============================================================ */
.dr-hero { padding-top: 64px; }
.dr-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.dr-hero h1 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.12; }
.dr-hero .lede { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 42ch; margin: 22px 0 0; }
.dr-hero .hero-actions { margin-top: 30px; }
.dr-hero-media img { width: 100%; border-radius: 20px; box-shadow: 0 18px 40px rgba(29,39,51,.14); }

.dr-prose { margin-top: 28px; }
.dr-prose p { color: var(--muted); font-size: 18px; line-height: 1.75; margin: 0 0 20px; }

.dr-how-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.dr-how-media img { width: 100%; border-radius: 20px; aspect-ratio: 4 / 5; object-fit: cover; }
.dr-steps { list-style: none; margin: 36px 0 0; padding: 0; counter-reset: step; display: grid; gap: 28px; }
.dr-steps li { counter-increment: step; display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; }
.dr-steps li::before { content: counter(step); grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #FFFFFF; color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 18px; }
.dr-steps h3 { font-size: 20px; color: #FFFFFF; align-self: center; }
.dr-steps p { margin: 6px 0 0; color: var(--muted-on-ink); font-size: 16px; line-height: 1.65; }
.dr-how-note { margin: 32px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); color: #FFFFFF; font-size: 17px; font-weight: 500; }

.dr-intro-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: center; background: var(--nude); border-radius: 20px; padding: 20px; margin-bottom: 56px; }
.dr-intro-card img { width: 100%; border-radius: 12px; }
.dr-intro-card h3 { font-size: 24px; }
.dr-intro-card p:not(.dr-len) { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 10px 0 0; max-width: 46ch; }
.dr-len { display: block; font-size: 13px; font-weight: 600; color: var(--slate); margin: 6px 0 0; }

.dr-group { margin-top: 44px; }
.dr-group > h3 { font-size: 21px; margin-bottom: 18px; }
.dr-group-sub { color: var(--muted); font-size: 15px; margin: -10px 0 18px; max-width: 60ch; }
.dr-videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.dr-videos li { display: flex; flex-direction: column; }
.dr-videos img { width: 100%; border-radius: 12px; margin-bottom: 10px; }
.dr-name { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.dr-videos .dr-len { margin-top: 2px; }

.dr-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.dr-two h2 { margin-bottom: 20px; }
.dr-two p, .dr-when p { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0 0 16px; }
.dr-when h2 { margin-bottom: 20px; }
.dr-problem .dr-two { align-items: center; }
.dr-problem .dr-two p { color: var(--muted-on-ink); }
.dr-problem .dr-two .dr-problem-turn { color: #FFFFFF; font-size: 18px; font-weight: 500; margin-top: 24px; }
.dr-problem h3 { color: #FFFFFF; font-size: 18px; margin: 0 0 16px; }
.dr-problem .tick-list { grid-template-columns: 1fr; max-width: none; }
.dr-price { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; text-align: left; }
.dr-price-copy .cta-sub { margin-left: 0; max-width: 46ch; }
.dr-price-card { background: var(--paper); border-radius: 20px; padding: 36px 36px 32px; box-shadow: 0 18px 40px rgba(29,39,51,.10); }
.dr-price-card h3 { font-size: 20px; margin: 0; }
.dr-price-amount { font-family: var(--display); font-size: 44px; font-weight: 600; color: var(--ink); margin: 8px 0 24px; line-height: 1; }
.dr-price-amount span { display: block; font-family: inherit; font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 10px; }
.dr-price-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.dr-price-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink); }
.dr-price-list .tick { flex: none; margin-top: 1px; }
.dr-price-card .btn { display: block; text-align: center; }
@media (max-width: 860px) { .dr-price { grid-template-columns: minmax(0, 1fr); gap: 32px; } .dr-price-card { padding: 28px 22px; } }

.dr-safety { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dr-safety li { background: var(--paper); border-radius: 16px; padding: 22px 24px; color: var(--muted); font-size: 16px; line-height: 1.6; border-bottom: 4px solid #E8C170; }
.dr-safety strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }

@media (max-width: 960px) {
  .dr-videos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .dr-hero { padding-top: 40px; }
  .dr-hero-grid, .dr-how-grid, .dr-intro-card, .dr-two, .dr-safety { grid-template-columns: minmax(0, 1fr); }
  .dr-hero-grid { gap: 36px; }
  .dr-how-grid { gap: 40px; }
  .dr-how-media img { max-width: 420px; }
  .dr-two { gap: 40px; }
  .dr-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
.offer-img-contain { object-fit: contain; background: #1D2733; }
.offer-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; }
@media (max-width: 860px) { .offer-grid-2 { grid-template-columns: 1fr; } }
.btn-soon { cursor: default; opacity: .85; }
.btn-soon:hover { background: var(--ink); }

.dr-notes { list-style: disc; margin: 12px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.dr-notes li { margin-bottom: 6px; }
.dr-videos .dr-notes li { list-style: disc; display: list-item; }

/* Daily Pain Rewire hero: full-bleed photo with a flat overlay */
.dr-hero-bg { position: relative; overflow: hidden; padding-top: 120px; padding-bottom: 120px; color: #FFFFFF; }
.dr-hero-bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; z-index: 0; }
.dr-hero-bg::before { content: ""; position: absolute; inset: 0; background: rgba(20,28,38,.62); z-index: 1; }
.dr-hero-bg .container { position: relative; z-index: 2; }
.dr-hero-bg .dr-hero-grid { grid-template-columns: minmax(0, 1fr); }
.dr-hero-bg .dr-hero-copy { max-width: 620px; }
.dr-hero-bg h1 { color: #FFFFFF; }
.dr-hero-bg .accent { color: #E8C170; }
.dr-hero-bg .about-name { color: #FFFFFF; font-size: 18px; font-weight: 600; letter-spacing: .01em; margin-bottom: 16px; }
.dr-hero-bg .lede { color: rgba(255,255,255,.88); }
@media (max-width: 860px) { .dr-hero-bg { padding-top: 72px; padding-bottom: 72px; } .dr-hero-bg::before { background: rgba(20,28,38,.7); } }
/* Outcome cards overlapping the bottom of the hero */
.dr-outcomes { padding: 56px 0; }
.dr-outcome-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--nude); color: var(--ink); margin-bottom: 16px; }
.dr-outcome-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dr-outcome-grid li { background: var(--paper); border-radius: 16px; padding: 24px 22px; border-bottom: 4px solid #E8C170; box-shadow: 0 14px 32px rgba(29,39,51,.12); }
.dr-outcome-grid h2 { font-size: 20px; margin: 0 0 8px; }
.dr-outcome-grid p { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0; }
@media (max-width: 860px) { .dr-outcome-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dr-outcomes { padding: 40px 0; } }
@media (max-width: 520px) { .dr-outcome-grid { gap: 12px; } .dr-outcome-grid li { padding: 18px 16px; } .dr-outcome-grid h2 { font-size: 17px; } .dr-outcome-grid p { font-size: 14px; } .dr-outcome-icon { width: 40px; height: 40px; margin-bottom: 12px; } }
/* Tension loop diagram */
.dr-why { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.dr-loop { margin: 0; text-align: center; }
.dr-loop-ring { position: relative; aspect-ratio: 1; max-width: 440px; margin: 0 auto; color: var(--ink); }
.dr-loop-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dr-loop-ring g { transition: color .3s ease; }
.dr-loop-title { font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--ink); margin: 0 0 8px; }
.dr-loop-node { position: absolute; transform: translate(-50%, -50%); width: 40%; background: var(--paper); border-radius: 14px; padding: 10px 12px; box-shadow: 0 10px 24px rgba(29,39,51,.10); border-bottom: 3px solid var(--slate); transition: border-color .3s ease, background-color .3s ease; }
.dr-loop-node strong { display: block; font-size: 14px; line-height: 1.3; color: var(--ink); }
.dr-loop-node span { display: block; font-size: 12.5px; line-height: 1.35; color: var(--muted); margin-top: 3px; }
.dr-loop-node.n1 { top: 12%; left: 50%; }
.dr-loop-node.n2 { top: 50%; left: 82%; }
.dr-loop-node.n3 { top: 88%; left: 50%; }
.dr-loop-node.n4 { top: 50%; left: 18%; }
.dr-loop-toggle { margin-top: 20px; font: inherit; font-size: 15px; font-weight: 600; letter-spacing: .03em; color: var(--ink); background: var(--paper); border: 0; border-radius: 999px; padding: 12px 22px; cursor: pointer; box-shadow: 0 6px 16px rgba(29,39,51,.10); transition: transform .15s ease; }
.dr-loop-toggle:hover { transform: translateY(-2px); }
.dr-loop.is-reset .dr-loop-ring { color: #C28A2C; }
.dr-loop.is-reset .dr-loop-node { border-bottom-color: #E8C170; }
.dr-loop.is-reset .dr-loop-toggle { background: var(--ink); color: #FFFFFF; }
@media (max-width: 860px) { .dr-why { grid-template-columns: minmax(0, 1fr); gap: 32px; } .dr-loop-node { width: 44%; padding: 8px 10px; } .dr-loop-node strong { font-size: 13px; } .dr-loop-node span { font-size: 11.5px; } }
/* Who it isn't for, light version */
.dr-notfor .tick-list-no li { color: var(--ink); }
.dr-notfor .tick-x { background: var(--nude); }
/* When to use it on ink */
.band-ink .dr-when p { color: var(--muted-on-ink); }
/* What's included cards */
.dr-inc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.dr-inc-grid li { background: var(--paper); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; border-bottom: 4px solid #E8C170; }
.dr-inc-grid li > div { padding: 18px 20px 22px; }
.dr-inc-grid img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.dr-inc-grid img.dr-inc-map { object-fit: contain; background: #FFFFFF; }
.dr-inc-grid h3 { font-size: 18px; margin: 0 0 6px; }
.dr-inc-grid p { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 0; }
.dr-inc-icon { justify-content: flex-start; }
.dr-inc-icon .dr-outcome-icon { margin: 22px 20px 0; }
.dr-inc-icon > div { padding-top: 14px !important; }
@media (max-width: 960px) { .dr-inc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .dr-inc-grid { grid-template-columns: minmax(0, 1fr); } }
