/* ==========================================================================
   ClinicRank — all styling and design tokens.

   Hand-edited source file. build.py does NOT generate this; it only checks
   that it exists. Safe to edit directly (unlike the .html output).

   Palette follows resistance-band colour coding — yellow, red, green, blue,
   black — which every physio, osteo and rehab clinician already reads as a
   progression. It runs through the logo, section accents and process stages.

   Contents
     01  Tokens
     02  Reset and base
     03  Typography
     04  Layout: wrap, sec, grid, split
     05  Buttons
     06  Chrome: skip, draft banner, header, nav, footer
     07  Hero and assessment card
     08  Clinic strip
     09  Compare (paid vs organic)
     10  Cards: service, case, tier, quote
     11  Plan / process steps
     12  Scale (outcome measure)
     13  Outcomes
     14  FAQ
     15  Page hero, prose, aside
     16  Form
     17  CTA band
     18  Reveal animation
     19  Responsive
   ========================================================================== */


/* 01  Tokens ============================================================== */

:root {
  /* Resistance-band progression */
  --band-yellow:      #f0bd2e;
  --band-red:         #d94436;
  --band-green:       #2f9e60;
  --band-green-deep:  #1b6b45;
  --band-blue:        #2a5fb4;

  /* Ink and paper */
  --ink:              #16181c;
  --ink-soft:         #4d545e;
  --ink-faint:        #8b929c;
  --paper:            #f7f5f1;
  --white:            #ffffff;
  --line:             #e4e1db;
  --line-soft:        #efedE8;

  /* Type */
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --sans:    "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  /* Spacing and shape */
  --wrap:   1180px;
  --gutter: 24px;
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(22, 24, 28, .05);
  --shadow-md: 0 6px 22px -8px rgba(22, 24, 28, .18);
  --shadow-lg: 0 18px 48px -18px rgba(22, 24, 28, .28);

  /* Defaults. Blocks override these inline: --c is the component accent,
     --v is a scale bar's fill percentage. */
  --c: var(--ink);
  --v: 0%;
}


/* 02  Reset and base ====================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

::selection { background: var(--band-yellow); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--band-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}


/* 03  Typography ========================================================== */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.018em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.h-xl {
  font-size: clamp(38px, 5.6vw, 66px);
  line-height: 1.03;
  letter-spacing: -.028em;
  margin-bottom: 22px;
}

.h-lg {
  font-size: clamp(28px, 3.4vw, 43px);
  line-height: 1.08;
  letter-spacing: -.024em;
  margin-bottom: 16px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--band-yellow);
  flex: none;
}

.lede {
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 62ch;
  margin-bottom: 0;
}

/* Highlighted phrase inside a heading */
.mark {
  background-image: linear-gradient(transparent 58%, var(--band-yellow) 58%, var(--band-yellow) 94%, transparent 94%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}


/* 04  Layout ============================================================== */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sec { padding: 88px 0; }
.sec--tight { padding: 48px 0; }
.sec--paper { background: var(--paper); }

.sec--ink {
  background: var(--ink);
  color: #fff;
}
.sec--ink .lede { color: rgba(255, 255, 255, .74); }
.sec--ink .eyebrow { color: rgba(255, 255, 255, .55); }

.sec__head { max-width: 760px; margin-bottom: 44px; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}


/* 05  Buttons ============================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--band-blue);
  border-color: var(--band-blue);
  box-shadow: var(--shadow-md);
}

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

.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.btn--light:hover { background: var(--band-yellow); border-color: var(--band-yellow); }

.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, .38);
  color: #fff;
}
.btn--outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .09);
}


/* 06  Chrome ============================================================== */

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

/* Draft banner */
.draft {
  background: var(--band-yellow);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  text-align: center;
  padding: 8px 20px;
  line-height: 1.5;
}

/* Header */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.6) blur(10px);
  -webkit-backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--line);
}

.hdr__in {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  text-decoration: none;
  flex: none;
}

.logo__bands {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 25px;
}
.logo__bands i {
  display: block;
  width: 4px;
  border-radius: 1px;
  transition: height .25s ease;
}
.logo:hover .logo__bands i:nth-child(1) { height: 25px !important; }
.logo:hover .logo__bands i:nth-child(2) { height: 21px !important; }
.logo:hover .logo__bands i:nth-child(3) { height: 17px !important; }
.logo:hover .logo__bands i:nth-child(4) { height: 13px !important; }
.logo:hover .logo__bands i:nth-child(5) { height: 9px  !important; }

.logo__type {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--ink);
}
.logo__type em {
  font-style: normal;
  color: var(--band-red);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 4px 0;
  transition: color .18s ease;
}
.nav a:hover { color: var(--ink); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--band-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Burger */
.burger {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  flex: none;
}
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease;
}
.burger span { position: relative; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after  { position: absolute; top: 6px; }

.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* Footer */
.ftr {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  padding: 72px 0 32px;
  font-size: 14.5px;
}
.ftr__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.ftr h4 {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .48);
  margin-bottom: 16px;
}
.ftr__about h4 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-transform: none;
  color: #fff;
}
.ftr__about p { line-height: 1.65; max-width: 42ch; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin-bottom: 9px; }
.ftr a {
  text-decoration: none;
  color: rgba(255, 255, 255, .72);
  transition: color .18s ease;
}
.ftr a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.ftr__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .03em;
  color: rgba(255, 255, 255, .5);
}
.ftr__legal ul { display: flex; gap: 20px; }
.ftr__legal li { margin: 0; }


/* 07  Hero and assessment card ============================================ */

.hero {
  padding: 76px 0 84px;
  background:
    radial-gradient(1100px 460px at 82% -8%, rgba(240, 189, 46, .16), transparent 62%),
    radial-gradient(760px 420px at 4% 8%, rgba(42, 95, 180, .07), transparent 60%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 60px;
  align-items: start;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--ink-soft);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--band-green);
  flex: none;
}

/* The signature element: an intake-style outcome measure card */
.assess {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.assess__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--ink);
  color: #fff;
  padding: 15px 22px;
}
.assess__top strong {
  font-family: var(--display);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.assess__top span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  padding: 4px 9px;
  border-radius: 2px;
  background: var(--band-yellow);
  color: var(--ink);
  flex: none;
}

.assess__body { padding: 24px 22px 22px; }

.assess__note {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-faint);
}


/* 08  Clinic strip ======================================================== */

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.strip__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  padding-block: 20px;
}
.strip__lab {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  flex: none;
}
.strip__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.strip__list span {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 5px 13px;
}


/* 09  Compare ============================================================= */

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.compare__col {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 6px;
  padding: 30px 28px;
}
.compare__col h3 {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  margin-bottom: 18px;
}
.compare__col h3 i {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  flex: none;
}
.compare__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.compare__col li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 11px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .76);
}
.compare__col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 1.5px;
  background: rgba(255, 255, 255, .38);
}

.compare__meter {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .13);
}
.compare__meter span {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 10px;
}
.compare__bar {
  height: 8px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}
.compare__bar i {
  display: block;
  height: 100%;
  border-radius: 100px;
  background: var(--c);
}


/* 10  Cards =============================================================== */

/* Service card (also used as a standalone note block) */
.card {
  display: block;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--c);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line);
  border-top-color: var(--c);
}

.card__no {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c);
  margin-bottom: 12px;
}
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { font-size: 15px; line-height: 1.62; color: var(--ink-soft); margin-bottom: 16px; }
.card ul { list-style: none; margin: 0 0 18px; padding: 0; }
.card li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 7px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c);
  opacity: .45;
}
.card__more {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink);
}
a.card:hover .card__more { color: var(--c); }

/* Case study card */
.case {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.case:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.case__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--paper);
  transition: transform .5s ease;
}
.case:hover .case__img { transform: scale(1.03); }

.case__body { padding: 24px 24px 22px; }

.case__tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper);
  border-radius: 100px;
  padding: 4px 11px;
  margin-bottom: 13px;
}
.case h3 { font-size: 20px; margin-bottom: 9px; }
.case p { font-size: 15px; line-height: 1.62; color: var(--ink-soft); }

.case__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.case__stat strong {
  display: block;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.case__stat span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 3px;
}
.case__stat:nth-child(1) strong { color: var(--band-green-deep); }
.case__stat:nth-child(2) strong { color: var(--band-blue); }
.case__stat:nth-child(3) strong { color: var(--band-red); }

/* Pricing tier */
.tier {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px 28px;
}

.tier--feature {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.tier__flag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  background: var(--band-yellow);
  color: var(--ink);
  border-radius: 2px;
  padding: 4px 10px;
  margin-bottom: 14px;
}
.tier__flag:empty { display: none; }

.tier h3 { font-size: 22px; margin-bottom: 12px; }

.tier__price {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.tier__price em {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 7px;
}
.tier--feature .tier__price em { color: rgba(255, 255, 255, .55); }

.tier__for {
  font-size: 14.5px;
  color: var(--ink-soft);
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.tier--feature .tier__for {
  color: rgba(255, 255, 255, .7);
  border-bottom-color: rgba(255, 255, 255, .16);
}

.tier ul {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  flex: 1;
}
.tier li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.tier li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .38em;
  width: 5px;
  height: 9px;
  border: solid var(--band-green);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}
.tier--feature li { color: rgba(255, 255, 255, .8); }
.tier--feature li::before { border-color: var(--band-yellow); }

.tier .btn { width: 100%; }
.tier--feature .btn--primary {
  background: var(--band-yellow);
  border-color: var(--band-yellow);
  color: var(--ink);
}
.tier--feature .btn--primary:hover {
  background: #fff;
  border-color: #fff;
}

/* Testimonial */
.quote {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
}
.quote > p {
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--ink-soft);
  flex: 1;
  margin-bottom: 20px;
}
.stars {
  color: var(--band-yellow);
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 14px;
}
.quote footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.quote footer img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper);
  flex: none;
}
.quote cite {
  display: block;
  font-family: var(--display);
  font-style: normal;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.quote small {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--ink-faint);
  margin-top: 2px;
}


/* 11  Plan / process ====================================================== */

.plan {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.plan--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

.plan__step {
  border-top: 3px solid var(--c);
  padding-top: 20px;
}
.plan__no {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c);
  margin-bottom: 10px;
}
.plan__step h3 { font-size: 19px; margin-bottom: 10px; }
.plan__step p {
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.plan__when {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}


/* 12  Scale (outcome measure) ============================================= */

.scale { margin-bottom: 18px; }
.scale:last-of-type { margin-bottom: 0; }

.scale__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}
.scale__label {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink-soft);
}
.scale__val {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  flex: none;
}
.scale__val em {
  font-style: normal;
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-faint);
}

.scale__track {
  position: relative;
  height: 10px;
  border-radius: 100px;
  background: #eceae5;
  overflow: hidden;
}
.scale__fill {
  height: 100%;
  width: var(--v);
  border-radius: 100px;
  background: var(--c);
  transition: width .9s cubic-bezier(.22, .8, .3, 1);
}
.scale__ticks {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.scale__ticks i {
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, .55);
}
.scale__ticks i:first-child,
.scale__ticks i:last-child { background: transparent; }

/* Fill animates out from zero once the page is ready */
.js .scale__fill { width: 0; }
.js.ready .scale__fill { width: var(--v); }


/* 13  Outcomes ============================================================ */

.outcomes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 22px;
  background: var(--paper);
  border-radius: 6px;
  padding: 30px 28px;
}
.outcomes > div { border-top: 3px solid var(--c); padding-top: 14px; }
.outcomes > div:nth-child(4n+1) { --c: var(--band-yellow); }
.outcomes > div:nth-child(4n+2) { --c: var(--band-red); }
.outcomes > div:nth-child(4n+3) { --c: var(--band-green); }
.outcomes > div:nth-child(4n+4) { --c: var(--band-blue); }
.outcomes strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.05;
}
.outcomes span {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 7px;
  line-height: 1.5;
}


/* 14  FAQ ================================================================= */

.faq { border-top: 1px solid var(--line); }

.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 44px 20px 0;
  font-family: var(--display);
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.35;
  transition: color .18s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--band-blue); }

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  background: var(--ink);
  transition: transform .22s ease, opacity .22s ease;
}
.faq summary::before {
  width: 14px;
  height: 2px;
  margin-top: -1px;
}
.faq summary::after {
  width: 2px;
  height: 14px;
  margin-top: -7px;
  margin-right: 6px;
}
.faq details[open] summary::after { transform: rotate(90deg); opacity: 0; }

.faq details > p {
  margin: 0;
  padding: 0 44px 24px 0;
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--ink-soft);
  max-width: 72ch;
}


/* 15  Page hero, prose, aside ============================================= */

.phero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 54px 0 60px;
}
.phero .lede { max-width: 68ch; }

.crumbs {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  color: var(--ink-faint);
  margin-bottom: 22px;
}
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Long-form article body */
.prose { max-width: 72ch; }
.prose h2 {
  font-size: clamp(24px, 2.4vw, 31px);
  margin: 44px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 19px;
  margin: 30px 0 10px;
}
.prose p {
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose li {
  font-size: 16px;
  line-height: 1.68;
  color: var(--ink-soft);
  margin-bottom: 9px;
}
.prose li::marker { color: var(--band-yellow); }
.prose a { color: var(--band-blue); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose img { border-radius: var(--radius); }

.prose blockquote {
  margin: 30px 0;
  padding: 22px 26px;
  background: var(--paper);
  border-left: 3px solid var(--band-yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -.015em;
}
.prose blockquote footer {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Sidebar */
.aside {
  position: sticky;
  top: 92px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px 24px;
}
.aside h3 {
  font-size: 15px;
  margin-bottom: 14px;
}
.aside ul { list-style: none; margin: 0 0 20px; padding: 0; }
.aside li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.aside li:last-child { border-bottom: 0; }
.aside a { color: var(--ink); text-decoration: none; }
.aside a:hover { color: var(--band-blue); text-decoration: underline; text-underline-offset: 3px; }
.aside .btn { width: 100%; }


/* 16  Form ================================================================ */

.form { max-width: 100%; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #cfcbc3; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--band-blue);
  box-shadow: 0 0 0 3px rgba(42, 95, 180, .14);
}
.field input::placeholder,
.field textarea::placeholder { color: #b3b8bf; }

/* Client-side validation state, set by main.js */
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--band-red);
  box-shadow: 0 0 0 3px rgba(217, 68, 54, .12);
}

.form .btn { margin-top: 6px; }

.form__note {
  margin: 16px 0 0;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--ink-faint);
}
.form__note.is-warning {
  color: var(--ink);
  background: rgba(240, 189, 46, .2);
  border-left: 3px solid var(--band-yellow);
  padding: 12px 14px;
  border-radius: 0 var(--radius) var(--radius) 0;
}


/* 17  CTA band ============================================================ */

.cta {
  background: var(--ink);
  color: #fff;
  padding: 72px 0;
}
.cta__in {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 48px;
  align-items: center;
}
.cta h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 14px; }

.cta__acts {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.cta__phone {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  text-align: center;
  color: rgba(255, 255, 255, .62);
  text-decoration: none;
  margin-top: 4px;
}
.cta__phone:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }


/* 18  Reveal animation ==================================================== */
/* Hidden state applies only when JS is running, so the page stays readable
   with scripts blocked or disabled. */

.js .rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, .8, .3, 1);
}
.js .rv.in {
  opacity: 1;
  transform: none;
}
.js .rv:nth-child(2) { transition-delay: .07s; }
.js .rv:nth-child(3) { transition-delay: .14s; }
.js .rv:nth-child(4) { transition-delay: .21s; }
.js .rv:nth-child(5) { transition-delay: .28s; }
.js .rv:nth-child(6) { transition-delay: .35s; }

@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; }
}


/* 19  Responsive ========================================================== */

@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .aside { position: static; }
  .plan { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__grid { grid-template-columns: 1fr 1fr 1fr; }
  .ftr__about { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hdr__in { gap: 14px; min-height: 62px; }
  .burger { display: grid; order: 3; }
  .hdr .btn--primary { order: 2; padding: 10px 16px; font-size: 14px; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 6px var(--gutter) 16px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
  .nav a::after { display: none; }

  .hero { padding: 52px 0 60px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .compare { grid-template-columns: 1fr; }
  .cta__in { grid-template-columns: 1fr; gap: 30px; }
  .cta__acts { align-items: flex-start; }
  .cta__phone { text-align: left; }
}

@media (max-width: 760px) {
  .sec { padding: 60px 0; }
  .sec--tight { padding: 38px 0; }
  .sec__head { margin-bottom: 32px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr { padding-top: 56px; }
  .ftr__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 620px) {
  :root { --gutter: 18px; }
  .grid--2,
  .grid--3,
  .plan,
  .plan--2 { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .hdr .btn--primary { display: none; }
  .strip__in { flex-direction: column; align-items: flex-start; gap: 12px; }
  .outcomes { padding: 24px 20px; }
  .ftr__grid { grid-template-columns: 1fr; }
  .ftr__legal { flex-direction: column; align-items: flex-start; }
  .faq summary { font-size: 16.5px; padding-right: 38px; }
}
