/* Vereda Systems — shared stylesheet for index.html, pricing.html and about.html */

:root {
  --bg: #FFFFFF;
  --band: #F5F5F3;
  --band-2: #EAE9E6;
  --ink: #1E1D1C;
  --ink-2: #474543;
  --ink-3: #686462;
  --logo-gray: #605D5D;
  --rule: #E1DFDB;
  --rule-strong: #C8C4BF;
  --field: #85817F;
  --card-border: rgba(30, 29, 28, .10);
  --shadow: none;

  /* Teal means one thing: the path, the answer, the action */
  --brand: #006C8C;
  --brand-dark: #00546D;
  --brand-bright: #0088B0;
  --brand-tint: #EAF3F6;
  --error: #9B2C1C;
  --footer: #1E1D1C;

  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Literata", Georgia, "Times New Roman", serif;

  --radius: 4px;
  --radius-sm: 3px;
  --wrap: 76rem;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 7vw, 104px);
  --header-h: 72px;
  --h1: clamp(2.125rem, 1.5rem + 2.3vw, 3.25rem);
  --h2: clamp(1.75rem, 1.4rem + 1.3vw, 2.375rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Literata for major headlines only; Plex for everything else */
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 500; font-optical-sizing: auto; }
h1 { letter-spacing: -.025em; }
h2 { font-size: var(--h2); line-height: 1.15; letter-spacing: -.02em; }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.125rem; line-height: 1.35; letter-spacing: -.005em; margin-bottom: .5rem; }
p { margin: 0 0 1rem; text-wrap: pretty; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--brand-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand-bright); outline-offset: 2px; }
svg { display: block; }
.key { color: var(--brand); font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
::placeholder { color: var(--ink-3); opacity: 1; }

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

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 30;
  background: var(--ink); color: #fff; padding: .6rem 1rem;
  font-weight: 600; border-radius: var(--radius-sm); text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.mark { width: 34px; height: 34px; flex: none; }
.wordmark { display: grid; line-height: 1; }
.wm-name { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; letter-spacing: -.012em; }
.wm-sub { font-family: var(--serif); font-weight: 400; font-size: .5625rem; letter-spacing: .4em; color: var(--logo-gray); margin-top: .3rem; padding-left: .08em; }
.brand-lg .mark { width: 44px; height: 44px; }
.brand-lg .wm-name { font-size: 1.875rem; }
.brand-lg .wm-sub { font-size: .6875rem; margin-top: .4rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; gap: 2.25rem; height: var(--header-h); position: relative; }
.header-inner .brand { margin-right: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.nav a { display: flex; align-items: center; min-height: 44px; padding: .5rem 0; font-size: .9375rem; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .5em; }
.nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brand-bright); text-decoration-thickness: 2px; text-underline-offset: .5em; }
.nav .nav-phone { display: none; }
.header-actions { display: flex; align-items: center; gap: 1.5rem; }
.header-phone { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.header-phone:hover { color: var(--brand); text-decoration: underline; }
.menu-toggle {
  display: none; appearance: none; background: none; cursor: pointer;
  border: 1px solid var(--field); border-radius: var(--radius-sm); color: var(--ink);
  font-family: var(--sans); font-weight: 600; font-size: .9375rem; min-height: 44px; padding: .4rem .85rem;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: .8rem 1.4rem;
  background: var(--brand); color: #fff;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.2;
  border: 1px solid var(--brand); border-radius: var(--radius-sm); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; text-decoration: none; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-small { min-height: 44px; padding: .5rem 1rem; font-size: .9375rem; }
.btn-small .short { display: none; }
.link-quiet { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-strong); text-decoration-thickness: 1px; text-underline-offset: .3em; }
.link-quiet:hover { color: var(--brand); text-decoration-color: currentColor; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.section-cta { margin-top: clamp(2.5rem, 4vw, 3.5rem); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section.band { background: var(--band); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p { margin: 1rem 0 0; color: var(--ink-2); font-size: 1.125rem; }
.split { display: grid; gap: 2rem; }
.split > .section-head { margin-bottom: 0; }
.fine { font-size: .875rem; color: var(--ink-3); margin: 1.5rem 0 0; }
.kicker { font-size: .9375rem; font-weight: 500; color: var(--ink-2); margin-bottom: 1.25rem; }
.lede { font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); line-height: 1.55; color: var(--ink-2); max-width: 36rem; margin-bottom: 2.25rem; }

/* ---------- Home hero ---------- */
.section.hero { padding-block: clamp(56px, 7vw, 112px); }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero h1 { font-size: var(--h1); line-height: 1.1; max-width: 20ch; margin-bottom: 1.5rem; }
.hero h1 .h1-action { color: var(--brand); }

.hero-facts { list-style: none; margin: 2.25rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--rule-strong); display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; font-size: .9375rem; color: var(--ink-2); }
.hero-facts strong { color: var(--ink); font-weight: 600; }

/* Sample report: one page of the real deliverable, set like paper */
.sample { margin: 0; max-width: 38rem; container-type: inline-size; }
.sheet { background: var(--bg); border: 1px solid var(--rule-strong); border-radius: 2px; box-shadow: 0 1px 2px rgba(30, 29, 28, .06); padding: clamp(1.25rem, 2.5vw, 1.75rem); font-size: .875rem; line-height: 1.45; }
.sheet-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding-bottom: 1rem; border-bottom: 2px solid var(--ink); }
.sheet-mark { width: 28px; height: 28px; color: var(--ink); }
.sheet-kind { margin: 0; font-size: .75rem; font-weight: 600; color: var(--ink-3); }
.sheet-practice { margin: 0; font-family: var(--serif); font-size: 1.0625rem; font-weight: 500; color: var(--ink); }
.sheet-page { margin: 0; align-self: start; font-size: .75rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sheet-block { padding-top: 1rem; }
.sheet-q { margin: 0 0 .5rem; font-weight: 600; color: var(--ink); }
.sheet-rows { margin: 0; }
.sheet-rows div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; align-items: baseline; padding: .45rem 0; border-top: 1px solid var(--rule); }
.sheet-rows dt { color: var(--ink-2); }
.sheet-rows dd { margin: 0; display: flex; align-items: baseline; gap: .5rem; }
.sheet-val { min-width: 3.25rem; text-align: right; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.sheet .tag { display: inline-block; min-width: 5.25rem; padding: .2rem .4rem; font-size: .6875rem; text-align: center; }
.sheet-rec { margin-top: 1.25rem; padding: 1rem 1.125rem; background: var(--band); border-radius: 6px; }
.sheet-rec p { margin: 0; }
.sheet-rec p + p { margin-top: .25rem; }
.sheet-rec-label { font-size: .75rem; font-weight: 600; color: var(--brand); }
.sheet-alt { color: var(--ink-2); }
.sample figcaption { margin-top: .75rem; font-size: .8125rem; color: var(--ink-3); }

/* ---------- Soft pairs (two questions, two kinds of recheck, fit) ---------- */
.pair { display: grid; gap: 1rem; }
.pair > div { background: var(--band); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); }
.band .pair > div { background: var(--bg); }
.pair h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.3; letter-spacing: -.012em; max-width: 24ch; margin-bottom: .75rem; }
.pair p { color: var(--ink-2); margin: 0; }
.pair-num { display: block; font-size: .875rem; font-weight: 600; color: var(--brand); margin-bottom: .75rem; }
.key-line { margin: 2rem 0 0; font-size: 1.125rem; color: var(--ink-2); }

/* ---------- Outside stats (hidden for now) ---------- */
.stats { display: grid; gap: 2rem; margin: 0; }
.stats dt { font-weight: 600; font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -.03em; color: var(--brand); font-variant-numeric: lining-nums tabular-nums; }
.stats dt span { font-weight: 500; font-size: .35em; letter-spacing: 0; color: var(--ink-2); margin-left: .35em; }
.stats dd { margin: .75rem 0 0; color: var(--ink-2); max-width: 20rem; }

/* ---------- Patient path (the signature diagram) ---------- */
.route-card { background: var(--bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); }
.lane-label { font-size: .875rem; font-weight: 600; color: var(--ink-2); margin: 0 0 1.5rem; }
.route { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 1.25rem; }
.route::before { content: ""; position: absolute; left: 14px; top: 15px; bottom: 15px; width: 2px; background: var(--brand); }
.route li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 1rem; align-items: center; font-weight: 500; line-height: 1.35; }
.node {
  position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--brand); color: var(--ink); font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.route li:last-child .node { background: var(--brand); color: #fff; }
.desk { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px dashed var(--rule-strong); }
.desk .lane-label { margin-bottom: 1rem; }
.desk-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.desk-list li { padding: .4rem .8rem; background: var(--band); border-radius: var(--radius-sm); font-size: .9375rem; line-height: 1.4; color: var(--ink-2); }
.path-text { font-family: var(--serif); font-size: clamp(1.375rem, 1.15rem + .8vw, 1.75rem); font-weight: 500; line-height: 1.35; letter-spacing: -.015em; max-width: 40rem; margin: clamp(2rem, 4vw, 3rem) 0 0; }

/* ---------- How it works ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.25rem; }
.process-step { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); gap: 0 .75rem; }
.process-step > * { grid-column: 2; }
.process-num { grid-column: 1; grid-row: 1 / span 3; font-size: 1rem; font-weight: 600; line-height: 1.5; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.process-step h3 { font-size: 1.1875rem; margin-bottom: .375rem; }
.process-desc { color: var(--ink-2); margin: 0; max-width: 38rem; }
.process-you { margin: 1rem 0 0; padding: .875rem 1rem; background: var(--band); border-radius: var(--radius-sm); font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.process-you strong { display: block; font-size: .8125rem; font-weight: 600; color: var(--ink); margin-bottom: .125rem; }

/* ---------- Lists with marks ---------- */
.marked { list-style: none; margin: 0; padding: 0; }
.marked li { position: relative; padding-left: 1.75rem; }
.marked li::before, .marked li::after { content: ""; position: absolute; }
.marked.spaced li + li { margin-top: .75rem; }
.marked.rows li { --pt: 1rem; padding-top: var(--pt); padding-bottom: 1rem; border-bottom: 1px solid var(--rule); }
.check li::before { left: .2rem; top: calc(var(--pt, 0px) + .8em - .3rem); width: .7rem; height: .38rem; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.check li::after { display: none; }
.cross li::before, .cross li::after { left: .15rem; top: calc(var(--pt, 0px) + .8em - 1px); width: .75rem; height: 2px; background: var(--ink-3); }
.cross li::before { transform: rotate(45deg); }
.cross li::after { transform: rotate(-45deg); }
.dash li::before { left: .1rem; top: calc(var(--pt, 0px) + .8em - 1px); width: .75rem; height: 2px; background: var(--ink-3); }
.dash li::after { display: none; }
.marked strong { color: var(--ink); font-weight: 600; }

/* ---------- What you get ---------- */
.get-grid { display: grid; gap: 2.5rem; align-items: start; }
.checks { display: grid; gap: 1.25rem 2.5rem; }
.checks li { font-size: 1.0625rem; }
.tags { display: inline-flex; flex-wrap: wrap; gap: .375rem; margin-left: .25rem; vertical-align: .1em; }
.tag { font-size: .75rem; font-weight: 600; line-height: 1; padding: .3rem .5rem; border: 1.5px solid var(--ink); border-radius: 4px; white-space: nowrap; }
.tag-estimated { border-style: dashed; }
.tag-unknown { border-style: dotted; border-color: var(--ink-2); color: var(--ink-2); }
.quote { margin: 0; padding: clamp(1.75rem, 3vw, 2.5rem); background: var(--band); border-radius: var(--radius); }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.375rem, 1.15rem + .7vw, 1.75rem); font-weight: 400; line-height: 1.35; letter-spacing: -.01em; text-indent: -.4em; margin: 0; }
.quote figcaption { margin-top: 1rem; font-size: .9375rem; color: var(--ink-2); }
.labels { margin-top: clamp(2.5rem, 4vw, 3.5rem); padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--band); border-radius: var(--radius); }
.labels h3 { margin-bottom: 1.25rem; }
.label-defs { margin: 0; display: grid; gap: 1.5rem; }
.label-defs div { display: grid; gap: .625rem; align-content: start; }
.label-defs .tag { display: inline-block; min-width: 6rem; text-align: center; background: var(--bg); }
.label-defs dd { margin: 0; font-size: 1rem; color: var(--ink-2); }
@media (min-width: 47.5em) {
  .label-defs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
}

/* ---------- Price cards (home and pricing page) ---------- */
.price-cards { display: grid; gap: 1rem; }
.price-card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--card-border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.75rem 1.5rem 1.5rem; }
.pc-num { margin: 0 0 .375rem; font-size: .8125rem; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.price-card h3 { font-size: 1.0625rem; margin: 0 0 1.25rem; }
.pc-price { margin: 0 0 1rem; font-size: 2.125rem; font-weight: 600; line-height: 1; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.pc-price small { font-size: .9375rem; font-weight: 500; letter-spacing: 0; color: var(--ink-2); margin-left: .2rem; }
.pc-price .pre { margin: 0 .25rem 0 0; }
.pc-desc { margin: 0; font-size: .9375rem; color: var(--ink-2); }
.pc-extra { margin: 0; margin-top: auto; padding-top: 1.25rem; font-size: .875rem; color: var(--ink-3); }
.price-card.featured { border: 2px solid var(--brand); box-shadow: 0 16px 40px rgba(0, 84, 109, .12); }
.price-card.featured .pc-num { color: var(--brand); }
.price-card.featured .pc-price { font-size: 3rem; color: var(--brand); }

/* ---------- How we work ---------- */
.terms { display: grid; gap: 2.25rem; }
.term h3 { margin-bottom: .6rem; }
.term p, .term li { color: var(--ink-2); font-size: 1rem; }
.term p:last-child { margin-bottom: 0; }
.term ul { margin: 0 0 1rem; padding-left: 1.1rem; }
.term li { margin-bottom: .4rem; padding-left: .2rem; }
.term li::marker { color: var(--ink-3); }
.term > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; }
.term-wide { padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--band); border-radius: var(--radius); }
.term-wide .marked { margin: 0; padding: 0; }
.term-wide .marked li { padding-left: 1.5rem; margin-bottom: .5rem; }

/* ---------- Definition rows (reference tables) ---------- */
.facts { margin: 0; border-top: 1px solid var(--rule); }
.facts div { display: grid; gap: .25rem 2rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-weight: 600; font-size: .9375rem; }
.facts dd { margin: 0; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem;
  padding: 1.25rem 0; font-weight: 600; font-size: 1.0625rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-top: .4em;
  background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat;
}
.faq details[open] summary::after { background: linear-gradient(var(--brand), var(--brand)) center / 100% 2px no-repeat; }
.faq summary:hover { color: var(--brand); }
.faq .answer { padding: 0 2.5rem 1.5rem 0; max-width: 42rem; color: var(--ink-2); margin: 0; }

/* ---------- Contact & forms ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
.contact-lead { max-width: 28rem; color: var(--ink-2); font-size: 1.125rem; margin: 1rem 0 0; }
.details { margin: 2rem 0 0; }
.details div { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 1rem; padding: .75rem 0; }
.details div + div { border-top: 1px solid var(--rule); }
.details dt { font-size: .875rem; font-weight: 600; color: var(--ink-2); padding-top: .15em; }
.details dd { margin: 0; overflow-wrap: anywhere; }

.contact-box { background: var(--bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); }
.tabs { display: flex; gap: 1.75rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.5rem; }
.tabs button {
  min-height: 48px;
  appearance: none; background: none; border: 0; cursor: pointer; padding: .625rem 0; margin-bottom: -1px;
  border-bottom: 2px solid transparent; font-family: var(--sans); font-weight: 600; font-size: 1rem; color: var(--ink-3);
}
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--brand); }
.tabs button:hover { color: var(--ink); }
.tabs .short { display: none; }
.panel-intro { color: var(--ink-2); font-size: 1rem; margin-bottom: 1.5rem; }

.field { margin: 0 0 1.125rem; }
.field-row { display: grid; gap: 0 1rem; }
label, legend { display: block; font-weight: 600; font-size: .875rem; margin-bottom: .375rem; color: var(--ink); padding: 0; }
.optional { font-weight: 400; color: var(--ink-3); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 48px; margin: 0; padding: .625rem .8rem;
  font-family: var(--sans); font-size: 1rem; line-height: 1.4; color: var(--ink);
  background: #fff; border: 1px solid var(--field); border-radius: var(--radius-sm);
}
input[type="text"]:hover, input[type="email"]:hover, input[type="tel"]:hover, select:hover, textarea:hover { border-color: var(--ink-2); }
textarea { min-height: 7rem; resize: vertical; }
select {
  appearance: none; padding-right: 2.5rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231E1D1C' stroke-width='2'/%3E%3C/svg%3E") no-repeat right .875rem center;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--brand-bright); outline-offset: 1px; border-color: var(--ink); }
fieldset { border: 0; padding: 0; margin: 0 0 1.125rem; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.choice, .consent { font-weight: 400; font-size: 1rem; margin: 0; }
.choice { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; cursor: pointer; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--brand); width: 1.125rem; height: 1.125rem; margin: 0; flex: none; }
.consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem; align-items: start; cursor: pointer; }
.consent input { margin-top: .2rem; }
.consent span small { display: block; font-size: .875rem; color: var(--ink-2); margin-top: .2rem; }
.form-note { font-size: .875rem; color: var(--ink-2); margin: .25rem 0 1.25rem; }
.form .btn { width: 100%; }
.form-error { margin: 1rem 0 0; font-size: .9375rem; color: var(--error); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sent { background: var(--brand-tint); border-radius: var(--radius-sm); padding: 1.25rem 1.5rem; }
.sent:focus { outline: none; }
.sent p { color: var(--ink-2); }
.sent p:last-child { margin-bottom: 0; }
.demo-note { font-size: .875rem; }

/* ---------- Inner pages ---------- */
.page-head { background: var(--band); padding-block: clamp(56px, 7vw, 96px) clamp(48px, 6vw, 80px); }
.page-head h1 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); line-height: 1.08; max-width: 18ch; margin-bottom: 1.25rem; }
.page-head .lede { max-width: 40rem; margin-bottom: 0; }

/* About header: the Tempe photo fades into the gray band */
.page-head-photo { position: relative; overflow: hidden; padding-bottom: 0; }
.page-head-photo .wrap { position: relative; z-index: 1; }
.head-photo { position: relative; margin: 2rem 0 0; }
.head-photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 35%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 35%);
}
.head-photo figcaption { position: absolute; right: .75rem; bottom: .75rem; padding: .2rem .55rem; border-radius: 4px; background: rgba(30, 29, 28, .62); color: #fff; font-size: .75rem; line-height: 1.4; }

/* About: the two rules, set large */
.big-rules { display: grid; gap: 2.5rem; }
.big-rule .br-num { margin: 0 0 .75rem; font-size: 1rem; font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; }
.big-rule h2 { font-size: clamp(1.875rem, 1.35rem + 2.2vw, 3rem); line-height: 1.1; max-width: 15ch; margin-bottom: 1.25rem; }
.big-rule p { font-size: 1.1875rem; color: var(--ink-2); max-width: 30rem; margin: 0; }

.doc { display: grid; }
.toc { display: none; }
.toc-title { font-size: .8125rem; font-weight: 600; color: var(--ink-3); margin-bottom: .75rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.toc a { display: block; margin-left: -1px; padding: .375rem 0 .375rem 1rem; border-left: 2px solid transparent; font-size: .875rem; line-height: 1.4; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.toc a[aria-current] { color: var(--ink); border-left-color: var(--brand); }
.doc-section { padding-block: clamp(48px, 5vw, 72px); }
.doc-section h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-bottom: 1.5rem; }
.doc-intro { color: var(--ink-2); max-width: 40rem; margin-bottom: 1.5rem; }
.doc-intro:last-child { margin-bottom: 0; }
.rules-list { margin: 0 0 2rem; padding-left: 1.5rem; border-top: 1px solid var(--rule); max-width: 46rem; }
.rules-list li { padding: 1rem 0 1rem .5rem; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.rules-list li::marker { color: var(--brand); font-weight: 600; }
.marked.rows + .doc-intro { margin-top: 1.75rem; }
.table-wrap + .doc-intro { margin-top: 1.5rem; }

.detail-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; padding-bottom: 1rem; margin-bottom: .5rem; border-bottom: 1px solid var(--rule-strong); }
.detail-head h2 { margin: 0; }
.detail-price { margin: 0; font-weight: 600; font-size: clamp(1.5rem, 1.3rem + .6vw, 1.875rem); line-height: 1.2; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.detail-price small { display: block; font-size: .8125rem; font-weight: 500; letter-spacing: 0; color: var(--ink-2); margin-top: .25rem; }
.detail-head + .facts { border-top: 0; }
.detail-head + .doc-intro { margin-top: 1rem; }

.table-wrap { background: var(--bg); border: 1px solid var(--card-border); border-radius: var(--radius); overflow-x: auto; }
.glance { width: 100%; border-collapse: collapse; font-size: 1rem; }
.glance th, .glance td { text-align: left; vertical-align: top; padding: 1rem 1.25rem; border-bottom: 1px solid var(--rule); }
.glance tbody tr:last-child > * { border-bottom: 0; }
.glance thead th { background: var(--band); font-size: .8125rem; font-weight: 600; color: var(--ink-2); padding-block: .75rem; }
.glance tbody th { font-weight: 600; width: 22%; }
.glance td.amount { font-weight: 600; width: 28%; font-variant-numeric: lining-nums tabular-nums; }
.glance td.amount small { display: block; font-weight: 400; font-size: .875rem; color: var(--ink-2); margin-top: .2rem; }
.glance td.info { color: var(--ink-2); }

.mark-explain { display: grid; gap: 1.5rem; align-items: start; }
.about-copy p { max-width: 38rem; color: var(--ink-2); }
.about-copy p:last-child { margin-bottom: 0; }
.mark-lg { width: 88px; height: 88px; padding: 1.25rem; box-sizing: content-box; color: var(--ink); background: var(--band); border-radius: var(--radius); }

.cta-band { background: var(--band); padding-block: clamp(56px, 7vw, 96px); }
.cta-inner { display: grid; gap: 1.75rem; align-items: center; }
.cta-inner p { color: var(--ink-2); font-size: 1.125rem; margin: .875rem 0 0; max-width: 36rem; }

/* ---------- Mobile booking bar ---------- */
.mobile-cta { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #D3CFCB; font-size: .9375rem; }
.site-footer a { color: #E6E3E0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer a[aria-current="page"] { color: #fff; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; text-decoration: none; }
.site-footer .wm-sub { color: #ADA9A5; }
.footer-grid { display: grid; gap: 2.5rem; padding-block: 3.5rem 2.75rem; }
.footer-tag { color: #BDB9B5; max-width: 22rem; margin: 1.25rem 0 0; }
.footer-h { font-family: var(--sans); font-size: .8125rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; color: #fff; margin-bottom: .875rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .25rem 2rem; padding-block: 1.25rem 1.75rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .875rem; color: #A8A4A0; }
.footer-base p { margin: 0; }
.site-footer .footer-base a { color: #C9C5C1; }

/* ---------- Breakpoints ---------- */
@media (max-width: 66.25em) {
  .header-phone { display: none; }
}
@media (max-width: 51.25em) {
  .header-inner { gap: .75rem; }
  .menu-toggle { display: inline-block; }
  .btn-small .long { display: none; }
  .btn-small .short { display: inline; }
  .nav { display: none; position: absolute; top: 100%; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); background: var(--bg); border-bottom: 1px solid var(--rule); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: .25rem var(--gutter) .75rem; }
  .nav li + li { border-top: 1px solid var(--rule); }
  .nav a { padding: .875rem 0; font-size: 1.0625rem; }
  .nav .nav-phone { display: block; }
  .nav .nav-phone a { font-weight: 600; color: var(--ink); }
  .mark { width: 30px; height: 30px; }
  .wm-name { font-size: 1.3125rem; }
  .wm-sub { font-size: .5rem; }

  /* Booking stays one tap away on phones */
  .mobile-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: .625rem var(--gutter) calc(.625rem + env(safe-area-inset-bottom));
    background: var(--bg); border-top: 1px solid var(--rule); box-shadow: 0 -8px 24px rgba(30, 29, 28, .06);
  }
  .mobile-cta.is-hidden { visibility: hidden; }
  .mobile-cta p { margin: 0; font-size: .875rem; line-height: 1.3; color: var(--ink-2); }
  .mobile-cta strong { display: block; font-size: 1rem; color: var(--ink); }
}
@media (max-width: 40em) {
  .glance thead { display: none; }
  .glance, .glance tbody, .glance tr, .glance th, .glance td { display: block; width: auto !important; }
  .glance tr { padding: 1rem 1.125rem; border-bottom: 1px solid var(--rule); }
  .glance tbody tr:last-child { border-bottom: 0; }
  .glance th, .glance td { padding: 0; border: 0; }
  .glance td.amount { margin: .35rem 0; }
}
@media (max-width: 30em) {
  .tabs .long { display: none; }
  .tabs .short { display: inline; }
}
@media (min-width: 37.5em) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .form .btn { width: auto; }
  .facts div { grid-template-columns: 12rem minmax(0, 1fr); align-items: baseline; }
  .mark-explain { grid-template-columns: auto minmax(0, 1fr); gap: 2rem; }
  .detail-price { text-align: right; }
  .price-cards { grid-template-columns: 1fr 1fr; }
  .checks { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 47.5em) {
  .pair { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .footer-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr); }
}
@media (min-width: 56.25em) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4.5rem; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
  .terms { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
  .term-wide { grid-column: 1 / -1; }
  .term-wide ul { columns: 2; column-gap: 3rem; }
  .term-wide li { break-inside: avoid; }
  .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4.5rem; align-items: start; }
  .cta-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; }
  .big-rules { grid-template-columns: 1fr 1fr; gap: 4.5rem; }

  .page-head-photo { padding-block: clamp(88px, 10vw, 152px); }
  .page-head-photo .page-head-text { max-width: min(32rem, 38vw); }
  .head-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; margin: 0; }
  .head-photo picture { display: block; height: 100%; }
  .head-photo img {
    height: 100%; aspect-ratio: auto; object-position: 55% 65%;
    -webkit-mask-image: linear-gradient(to right, transparent 0, transparent 5%, rgba(0, 0, 0, .6) 24%, #000 46%);
    mask-image: linear-gradient(to right, transparent 0, transparent 5%, rgba(0, 0, 0, .6) 24%, #000 46%);
  }
}
@media (min-width: 60em) {
  .split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4rem; }
  .split > .section-head { align-self: start; }
  .get-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; }
  .checks { grid-template-columns: 1fr; }

  .route { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; }
  .route::before { left: calc(100% / 14); right: calc(100% / 14); top: 14px; bottom: auto; width: auto; height: 2px; }
  .route li { grid-template-columns: none; justify-items: center; align-items: start; align-content: start; text-align: center; gap: .875rem; padding: 0 .5rem; font-size: .9375rem; }

  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, auto auto 1fr auto); gap: 0 3rem; }
  .process-step:nth-child(n + 3) { margin-top: 2.5rem; }
  .process-step { grid-row: span 4; grid-template-rows: subgrid; grid-template-columns: none; gap: .5rem 0; }
  .process-step > *, .process-num { grid-column: auto; grid-row: auto; }
  .process-num { margin-bottom: .25rem; }
  .process-step h3 { margin-bottom: 0; }
}
@media (min-width: 75em) {
  .price-cards { grid-template-columns: 1fr 1.3fr 1fr 1fr; align-items: stretch; }
  .process { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto 1fr auto; gap: 0 2.5rem; }
  .process-step:nth-child(n + 3) { margin-top: 0; }
}
@media (min-width: 64em) {
  .doc { grid-template-columns: 12.5rem minmax(0, 1fr); gap: 4.5rem; }
  .toc { display: block; position: sticky; top: calc(var(--header-h) + 2.5rem); align-self: start; margin-top: clamp(48px, 5vw, 72px); }
}

/* ---------- Small additions ---------- */
.pc-price.pc-price-text { font-size: 1.625rem; letter-spacing: -.02em; }
.section:not(.band) + .section:not(.band) { border-top: 1px solid var(--rule); }
.price-overview { padding-bottom: 0; }
.person-section { border-bottom: 1px solid var(--rule); }
.person { display: grid; gap: 2rem; align-items: start; }
.person-photo { width: 100%; max-width: 320px; aspect-ratio: 4 / 5; background: var(--band); border-radius: var(--radius); }
.person-photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.person-copy h2 { margin-bottom: 1.25rem; }
.person-copy p { color: var(--ink-2); max-width: 36rem; }
.person-copy .person-lead { font-size: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem); font-weight: 600; line-height: 1.35; color: var(--ink); max-width: 30ch; }
@media (min-width: 47.5em) {
  .person { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 4rem; }
}

/* ---------- Fit for every screen ---------- */
.footer-base a { display: inline-flex; align-items: center; min-height: 44px; }

/* Sample report: when the card is narrow, put each number and its label under the line it describes */
@container (max-width: 26rem) {
  .sheet-rows div { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .sheet-rows dd { justify-content: flex-start; }
  .sheet-val { min-width: 0; text-align: left; }
  .sheet-page { display: none; }
}

/* Small phones: contact details stack label over value */
@media (max-width: 30em) {
  .details div { grid-template-columns: minmax(0, 1fr); gap: .125rem; }
}

/* Touch screens: roomier links where they sit in lists */
@media (pointer: coarse) {
  .footer-list { gap: 0; }
  .footer-list a { display: inline-flex; align-items: center; min-height: 44px; }
  .toc a { padding-block: .625rem; }
}

/* Short landscape screens (phones turned sideways): don't let fixed bars eat the screen */
@media (max-height: 30em) and (orientation: landscape) {
  html { scroll-padding-top: 1rem; scroll-padding-bottom: 1rem; }
  .site-header { position: static; }
  .mobile-cta { display: none !important; }
  body { padding-bottom: 0 !important; }
  .toc, .split > .section-head { position: static; }
}

/* Large monitors: scale the whole layout up a step so it doesn't float small in the middle */
@media (min-width: 112.5em) { html { font-size: 112.5%; } }
@media (min-width: 150em) { html { font-size: 125%; } }

/* ---------- Price list (home) ---------- */
.price-list { margin: 0; border-top: 1px solid var(--ink); }
.price-list div { display: grid; gap: .25rem 2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--rule-strong); }
.price-list dt { font-weight: 600; }
.price-list dd { margin: 0; }
.pl-price { font-size: 1.25rem; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.pl-desc { color: var(--ink-2); max-width: 40rem; }
@media (min-width: 47.5em) {
  .price-list div { grid-template-columns: 10rem 12.5rem minmax(0, 1fr); align-items: baseline; }
  .pl-price { white-space: nowrap; }
}

/* Plain pass: a sentence-length headline at a calmer size; "Your part" as a simple line, not a box */
.hero h1 { font-size: clamp(2rem, 1.45rem + 1.9vw, 2.75rem); line-height: 1.15; max-width: 24ch; }
.process-you { padding: .75rem 0 0; background: none; border-top: 1px solid var(--rule); border-radius: 0; }

/* Less empty space: tighter sections, a compact sample report, and a hero headline sized for its shorter text */
:root { --section: clamp(48px, 5.5vw, 76px); }
.section-head { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.section.hero { padding-block: clamp(36px, 4.5vw, 64px); }
.hero h1 { font-size: clamp(2.125rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1.1; max-width: 18ch; }
.hero .lede { margin-bottom: 1.75rem; }
.sheet { padding: 1.125rem 1.375rem; font-size: .8125rem; }
.sheet-head { padding-bottom: .75rem; }
.sheet-block { padding-top: .75rem; }
.sheet-q { margin-bottom: .25rem; }
.sheet-rows div { padding: .3rem 0; }
.sheet-rec { margin-top: .875rem; padding: .75rem 1rem; }
.doc-section { padding-block: clamp(36px, 4vw, 56px); }
.page-head { padding-block: clamp(44px, 5.5vw, 72px) clamp(36px, 4.5vw, 56px); }
.cta-band { padding-block: clamp(44px, 5vw, 72px); }
.labels { margin-top: clamp(2rem, 3.5vw, 2.75rem); }
.path-text { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
/* How it works: "Your part" follows its own step's text instead of lining up with the longest column */
@media (min-width: 60em) {
  .process { grid-template-rows: none; align-items: start; }
  .process-step { grid-row: auto; display: flex; flex-direction: column; gap: .5rem; }
  .process-step:nth-child(n + 3) { margin-top: 2rem; }
  .process-you { margin-top: .5rem; }
}
@media (min-width: 75em) {
  .process-step:nth-child(n + 3) { margin-top: 0; }
}
.hero-note { margin: 1.5rem 0 0; font-size: .9375rem; color: var(--ink-3); max-width: 34rem; }
.hero h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.875rem); max-width: 20ch; }

/* Critique pass */
.hero h1 { max-width: 21ch; }
.sheet .tag { font-size: .75rem; min-width: 5.5rem; }
@container (max-width: 26rem) {
  .sample .sheet-extra { display: none; }
}
.pl-note { margin: 1.25rem 0 0; color: var(--ink-2); }
.meet { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1rem; align-items: center; margin: 1.75rem 0 0; }
.meet img { display: block; width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius); background: var(--band-2); }
.meet p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.meet strong { display: block; color: var(--ink); }
