/* ==========================================================================
   Osmyum — osmyum.com
   Visual system v2 — White / light grey / blue. Seller-first.
   NOTE: this replaces the locked "Trust Teal + Amber" direction and needs
   owner approval. All colours live in the tokens below — swapping them back
   is a single-block edit.
   ========================================================================== */

/* ---------- Brand tokens ---------- */
:root {
  /* Ink */
  --ink:        #1A1D21;  /* primary text, big display type */
  --ink-2:      #5B6472;  /* secondary text */
  --ink-3:      #8A93A0;  /* captions, meta */

  /* Blue */
  --blue:       #0B5FFF;  /* primary action */
  --blue-hover: #0A4FD6;
  --blue-ink:   #06326B;  /* headings on light */
  --blue-soft:  #E8F0FF;  /* tinted surface */
  --blue-line:  #CBDDFF;  /* tinted border */
  --blue-grad:  linear-gradient(155deg, #2E76FF 0%, #0A4FD6 100%); /* vivid blue surfaces */

  /* Neutrals */
  --white:      #FFFFFF;
  --grey-50:    #FAFBFC;  /* page alt */
  --grey-100:   #F4F6F8;  /* section band */
  --grey-200:   #E9ECF1;  /* borders, dividers */

  /* Accents (status only) */
  --ok:         #0E8A5F;
  --ok-soft:    #E6F6EF;
  --no:         #B4344A;
  --no-soft:    #FCEDEF;

  /* Typography — display face for headlines, text face for reading */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing scale */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;

  --maxw: 1160px;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --nav-h: 68px;

  /* Layered shadows (blue-tinted, never black) */
  --shadow-sm: 0 1px 2px rgba(10,37,64,.05), 0 2px 8px rgba(10,37,64,.05);
  --shadow-md: 0 6px 16px rgba(10,37,64,.07), 0 12px 32px rgba(10,37,64,.07);
  --shadow-lg: 0 12px 28px rgba(10,37,64,.09), 0 28px 64px rgba(10,37,64,.12);
  --shadow-blue: 0 10px 24px rgba(11,95,255,.24);
  --hairline: rgba(10,37,64,.10);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s3); }
section { padding: clamp(64px, 8vw, 120px) 0; }
section.tight { padding: var(--s6) 0; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .subhead { max-width: 62ch; }

.band-grey { background: var(--grey-100); }
.band-dark { background: var(--blue-grad); color: rgba(255,255,255,.86); position: relative; overflow: hidden; }
.band-dark h2, .band-dark h3 { color: var(--white); }
.band-dark p { color: rgba(255,255,255,.85); }
.band-dark .eyebrow { color: rgba(255,255,255,.75); }
.band-dark::after {
  content: ""; position: absolute; right: -6%; top: -30%; width: 460px; height: 460px;
  border-radius: 50%; border: 60px solid rgba(255,255,255,.06); pointer-events: none;
}
.band-dark .container { position: relative; z-index: 1; }

/* ---------- Typography ---------- */
h1, h2, h3 { color: var(--ink); }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
}
h1 {
  font-size: clamp(2.5rem, 1.5rem + 4.4vw, 4.5rem);   /* 40 → 72px */
  letter-spacing: -0.035em;
  line-height: 1.03;
}
h2 {
  font-size: clamp(1.875rem, 1.3rem + 2.4vw, 2.75rem); /* 30 → 44px */
  letter-spacing: -0.028em;
  line-height: 1.12;
}
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1875rem, 1.12rem + 0.35vw, 1.375rem); /* 19 → 22px */
  letter-spacing: -0.014em;
  line-height: 1.3;
}

.eyebrow {
  font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.75rem; line-height: 1.2; color: var(--blue);
  margin-bottom: var(--s2);
}

.subhead {
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem); /* 18 → 21px */
  line-height: 1.55; color: var(--ink-2); margin-top: var(--s3);
}
.lead { font-size: clamp(1.1875rem, 1.1rem + 0.4vw, 1.4375rem); line-height: 1.5; color: var(--ink); }
p + p { margin-top: var(--s3); }
.muted { color: var(--ink-2); }
.caption { font-size: 0.8125rem; color: var(--ink-3); }

/* Display face also carries the big numbers and headline-weight moments */
.statbar .n, .quote-block p,
.footer .tagline, .buycard h3, .faq summary, .step .badge {
  font-family: var(--font-display);
  font-weight: 600;
}
.eyebrow { font-family: var(--font-display); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 500; font-size: 16px;
  padding: 15px 26px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease,
              transform .18s ease, box-shadow .18s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: var(--white); transform: translateY(-2px); }

.btn-outline { background: var(--white); color: var(--blue-ink); border-color: var(--grey-200); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }


.btn-sm { padding: 11px 20px; font-size: 15px; }
.btn:active { transform: translateY(0); }

.band-dark .btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.band-dark .btn-outline:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.6); color: var(--white); }

.tertiary-link { color: var(--ink-2); font-size: 15px; }
.tertiary-link:hover { color: var(--blue); }

/* Two or more low-commitment links under a hero's main CTAs. Wraps to one
   per line on narrow screens rather than crowding the buttons above it. */
.tertiary-row {
  margin-top: var(--s3);
  display: flex; flex-wrap: wrap;
  gap: var(--s1) var(--s3);
}

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; margin-top: var(--s4); }

/* ---------- Navigation ---------- */

/* The nav is fixed, so an anchor jump would otherwise park the target's first
   line underneath it. :where() keeps specificity at zero — any element that
   wants a different offset can still set one without a fight. */
:where([id]) { scroll-margin-top: calc(var(--nav-h) + 20px); }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.scrolled { border-bottom-color: var(--grey-200); box-shadow: 0 1px 12px rgba(10,37,64,.05); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }

.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark-mark { width: 34px; height: 34px; flex: none; display: block; }
.wordmark-text {
  font-family: var(--font-display);
  font-weight: 700; font-size: 20px; letter-spacing: 0.06em; color: var(--ink);
}

.nav-links { display: flex; align-items: center; gap: var(--s4); list-style: none; }
.nav-links a {
  color: var(--ink-2); font-size: 15px; font-weight: 400;
  text-decoration: none; transition: color .15s ease; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active { font-weight: 500; }
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:not(.nav-cta):hover::after, .nav-links a.active:not(.nav-cta)::after { transform: scaleX(1); }

/* Seller-first: the sell action is a button in the nav */
.nav-links .nav-cta {
  background: var(--blue); color: var(--white); font-weight: 500;
  padding: 10px 18px; border-radius: 999px;
  transition: background .18s ease, transform .18s ease;
}
.nav-links .nav-cta:hover { background: var(--blue-hover); color: var(--white); transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; color: var(--ink); }
.nav-toggle svg { width: 24px; height: 24px; }

.nav-spacer { height: var(--nav-h); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, var(--grey-50) 60%, var(--grey-100) 100%);
  padding: calc(var(--nav-h) + clamp(48px, 7vw, 104px)) 0 clamp(56px, 7vw, 104px);
}
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -20%; height: 90%;
  background: radial-gradient(50% 55% at 30% 25%, rgba(11,95,255,.13), transparent 70%);
  pointer-events: none; animation: glowDrift 16s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; right: -8%; top: 10%; width: 46%; height: 80%;
  background: radial-gradient(50% 50% at 60% 40%, rgba(11,95,255,.10), transparent 72%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { max-width: 15ch; }
.hero .subhead { max-width: 54ch; }

@keyframes glowDrift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(5%, 3%, 0) scale(1.12); }
}

/* Asymmetric hero */
.hero-split .container {
  display: grid; grid-template-columns: 1.06fr 0.94fr;
  align-items: center; gap: clamp(32px, 5vw, 72px);
}
.hero-split h1 { max-width: 13ch; }

.hero-visual { position: relative; }
.hero-plate {
  position: relative; aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl); overflow: hidden;
  background: var(--blue-grad);
  box-shadow: var(--shadow-lg);
}
.hero-plate img { width: 100%; height: 100%; object-fit: cover; }
/* For landscape subjects (a map, a wide bench shot) the tall 4:5 plate would
   crop away the sides. This keeps the frame close to the source ratio. */
.hero-plate.plate-wide { aspect-ratio: 7 / 5; }
/* A photo fills the whole panel, so the tinted background and inner padding
   that suit the line illustrations would only show as a border. */
/* Two submission routes side by side. Columns align at the top, so the
   shorter form does not stretch to match the longer one. */
.form-duo {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s5); align-items: start;
}
.form-duo .form-col > h3 { font-size: 22px; margin-bottom: var(--s2); }
.form-duo .form-col > .subhead { margin-bottom: var(--s4); }
@media (max-width: 900px) { .form-duo { grid-template-columns: 1fr; } }

/* ---------- Contact page ----------
   The form is the page: the header is deliberately short so the form clears
   the fold on a 1440x900 laptop, and nothing competes with it above it. */
.contact-head { padding: calc(var(--nav-h) + var(--s5)) 0 var(--s4); }
.contact-head h1 { max-width: 14ch; }
.contact-head .subhead { max-width: 60ch; margin-top: var(--s3); }

.contact-form-section { padding-top: 0; padding-bottom: var(--s6); }

.selector { border: 0; padding: 0; margin: 0 0 var(--s3); }
.selector legend {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(19px, 1.6vw, 22px); color: var(--ink); padding: 0 0 var(--s2);
}
.selector-row { display: flex; flex-wrap: wrap; gap: var(--s2); }
.sel-opt { position: relative; }
.sel-opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.sel-opt span {
  display: block; padding: 12px 20px; border-radius: 999px;
  border: 1px solid var(--grey-200); background: var(--white);
  color: var(--ink-2); font-size: 15px; font-weight: 500; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.sel-opt input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.sel-opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Both states occupy the same grid cell, so switching cannot shift the page. */
.form-stack { display: grid; }
.form-stack > .contact-form { grid-area: 1 / 1; }
.contact-form.is-hidden { visibility: hidden; pointer-events: none; }
.form-lede { color: var(--ink-2); margin-bottom: var(--s4); }

/* File upload — the highest-value element on the page. */
.dropzone {
  position: relative; border: 1.5px dashed var(--blue-line); border-radius: var(--radius-lg);
  background: var(--grey-50); padding: var(--s4) var(--s3); text-align: center;
  transition: background .15s, border-color .15s;
}
.dropzone.is-over { background: var(--blue-soft); border-color: var(--blue); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dz-line { font-size: 15px; color: var(--ink-2); }
.dz-link { color: var(--blue); font-weight: 500; text-decoration: underline; }
.dz-help { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.dropzone input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.filelist { list-style: none; margin: var(--s2) 0 0; padding: 0; display: grid; gap: 8px; }
.filelist li {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: var(--hairline); border-radius: 8px; padding: 9px 12px;
  font-size: 14px;
}
.filelist .fname { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filelist .fsize { color: var(--ink-3); flex: none; }
.filelist .fdrop {
  flex: none; border: 0; background: none; cursor: pointer; color: var(--ink-3);
  font-size: 18px; line-height: 1; padding: 2px 4px;
}
.filelist .fdrop:hover { color: var(--no); }
.filelist li.too-big { border-color: #F1C7CE; background: #FEF5F6; }
.filelist li.too-big .fsize { color: var(--no); }

.consent { display: flex; gap: 10px; align-items: flex-start; margin: var(--s3) 0 var(--s4); }
.consent input { margin-top: 3px; flex: none; width: 18px; height: 18px; accent-color: var(--blue); }
.consent label { font-size: 14px; color: var(--ink-2); line-height: 1.5; }

.field-error { display: block; color: var(--no); font-size: 13px; margin-top: 5px; }
.field input.invalid, .field textarea.invalid { border-color: var(--no); }

/* On-site assessment — a band, not a card. */
.assess-band { text-align: center; }
.assess-band h2 { max-width: 20ch; margin: 0 auto; }
.assess-body { max-width: 62ch; margin: var(--s3) auto 0; color: var(--ink-2); }
.assess-promise { max-width: 62ch; margin: var(--s3) auto var(--s4); font-weight: 500; color: var(--ink); }

.phone-section .container { display: grid; gap: var(--s4); }
.phone-block { display: grid; gap: 4px; }
.phone-label { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.phone-number { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.02em; }
.phone-number a { color: var(--ink); }
.phone-meta { font-size: 15px; color: var(--ink-2); }
.phone-note { max-width: 62ch; color: var(--ink-2); }

.evidence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: start; }
.entity { font-style: normal; line-height: 1.75; color: var(--ink-2); }
.entity strong { color: var(--ink); }

.maplite { margin-top: var(--s4); border-radius: var(--radius-lg); overflow: hidden; border: var(--hairline); }
.maplite-face {
  background: linear-gradient(160deg, var(--blue-soft), var(--white));
  padding: var(--s5) var(--s3); text-align: center; display: grid; gap: 10px; justify-items: center;
}
.maplite-pin svg { width: 30px; height: 30px; color: var(--blue); }
.maplite-note { font-size: 13px; color: var(--ink-3); }
.maplite iframe { display: block; width: 100%; height: 320px; border: 0; }

.facility { margin: var(--s4) 0 0; }
.facility img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}

.terms-list { list-style: none; padding: 0; margin: var(--s3) 0 0; display: grid; gap: 12px; }
.terms-list li { position: relative; padding-left: 26px; color: var(--ink-2); }
.terms-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--blue);
}
.bridge { margin-top: var(--s4); font-weight: 500; }
.email-line { margin-top: var(--s5); font-size: 14px; color: var(--ink-3); }

@media (max-width: 860px) {
  .evidence-grid { grid-template-columns: 1fr; gap: var(--s5); }
}

/* ---------- Recovery comparison (Sell to us) ----------
   No numeric labels by design — the bar lengths carry the comparison. Rows
   stack label / bar / note on narrow screens so nothing is squeezed. */
.recovery {
  margin-top: clamp(40px, 5vw, 64px);
  background: var(--white); border: var(--hairline);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-md);
  padding: clamp(24px, 4vw, 40px);
}
.recovery > h3 { font-size: clamp(20px, 2.4vw, 26px); }
.recovery-sub { color: var(--ink-2); margin: 6px 0 var(--s4); }

.rec-row {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr) minmax(120px, 210px);
  align-items: center; gap: var(--s3);
  padding: 12px 0; border-top: var(--hairline);
}
.rec-label { font-size: 15px; color: var(--ink-2); }
.rec-label em { font-style: normal; color: var(--ink-3); }
.rec-row.is-best .rec-label { color: var(--ink); font-weight: 500; }

.rec-track { display: block; height: 26px; background: var(--grey-100); border-radius: 6px; }
.rec-bar {
  display: block; height: 100%; border-radius: 6px;
  background: var(--grey-200);
  transition: width .9s cubic-bezier(.22,.61,.36,1);
}
.rec-bar.base { background: var(--ink); }
.rec-bar.best { background: var(--blue); }
.rec-note { font-size: 14px; color: var(--ink-3); }
.rec-row.is-best .rec-note { color: var(--blue-ink); }

.rec-callout {
  margin-top: var(--s4); padding: 14px 18px;
  background: var(--blue-soft); border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0; color: var(--blue-ink); font-size: 15px;
}
@media (max-width: 760px) {
  .rec-row { grid-template-columns: 1fr; gap: 8px; }
  .rec-note { order: 3; }
}

/* Risk tiers — a table would not survive a phone screen, so each tier is a row
   that collapses cleanly. */
.tier-list { display: flex; flex-direction: column; gap: var(--s3); margin-top: var(--s3); }
.tier { display: flex; gap: var(--s3); align-items: flex-start; }
.tier + .tier { border-top: var(--hairline); padding-top: var(--s3); }
.tier-tag {
  flex: 0 0 auto; min-width: 78px; text-align: center;
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: .06em; padding: 5px 10px; border-radius: 999px;
}
.tier-tag.low  { background: var(--grey-100); color: var(--ink-2); }
.tier-tag.mid  { background: var(--blue-soft); color: var(--blue-ink); }
.tier-tag.high { background: var(--blue); color: var(--white); }
.tier-eg { color: var(--ink-3); font-size: 15px; margin-bottom: 4px; }
@media (max-width: 560px) { .tier { flex-direction: column; gap: var(--s2); } }

/* A photo panel needs a definite height for the image to fill it — min-height
   alone leaves a percentage height with nothing to resolve against, and the
   photo stops short of the edges. A fixed ratio gives it one. */
.frow-visual.has-photo {
  display: block; padding: 0; min-height: 0;
  background: none; border-color: transparent;
  aspect-ratio: 4 / 3;
}
.frow-visual.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-plate-mark { position: absolute; right: -8%; bottom: -6%; width: 78%; height: auto; opacity: .17; }
.plate-sell { right: -6%; bottom: -4%; width: 84%; }
.plate-buy  { right: 0; bottom: 0; width: 70%; opacity: .15; }


/* ---------- Lead / intro grid ---------- */
.lead-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.lead-grid .lead-main {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.125rem);
  line-height: 1.28; letter-spacing: -0.024em; color: var(--ink);
}
.lead-grid .lead-side p { color: var(--ink-2); }
.lead-grid .lead-side p + p { margin-top: var(--s3); }
.lead-rule { width: 56px; height: 3px; background: var(--blue); border-radius: 2px; margin-bottom: var(--s3); }

/* ---------- Vertical timeline ---------- */
.vtimeline { display: grid; gap: var(--s4); max-width: 780px; position: relative; }
.vtimeline::before {
  content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--blue-line));
}
.vtitem { display: grid; grid-template-columns: 56px 1fr; gap: var(--s3); align-items: start; }
.vtdot {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--blue);
  position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--white);
}
.band-grey .vtdot { box-shadow: 0 0 0 6px var(--grey-100); }
.vtdot { background: var(--blue); color: var(--white); border-color: var(--blue); }
.vtitem.filled .vtdot { box-shadow: 0 0 0 6px var(--white), var(--shadow-blue); }
.band-grey .vtitem.filled .vtdot { box-shadow: 0 0 0 6px var(--grey-100), var(--shadow-blue); }
.vtbody h3 { margin-bottom: 4px; }
.vtbody p { color: var(--ink-2); }

/* ---------- Person card ---------- */
.person {
  display: flex; align-items: center; gap: var(--s3);
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); padding: var(--s4); box-shadow: var(--shadow-md);
  max-width: 520px;
}
.person-avatar {
  flex: none; width: 72px; height: 72px; border-radius: 50%;
  background: var(--blue-grad); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: 0.02em;
}
.person-name { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--ink); }
.person-role { font-size: 15px; color: var(--ink-2); }

/* ---------- Fact panel ---------- */
.fact-panel {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-md); overflow: hidden;
}
.fact-panel .row {
  display: grid; grid-template-columns: 260px 1fr; gap: var(--s3);
  padding: var(--s3) var(--s5); border-bottom: 1px solid var(--grey-200);
}
.fact-panel .row:last-child { border-bottom: 0; }
.fact-panel .row:nth-child(odd) { background: var(--grey-50); }
.fact-panel .k { color: var(--ink-3); font-size: 14px; }
.fact-panel .v { color: var(--ink); font-weight: 500; }

/* ---------- Stat bar (big numbers) ---------- */
.statbar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  overflow: hidden;
}
.statbar > div { padding: var(--s4) var(--s3); border-right: 1px solid var(--grey-200); }
.statbar > div:last-child { border-right: 0; }
/* Every cell is a column so the grey labels sit on one baseline across the row,
   whatever the number above them is. */
.statbar > div { display: flex; flex-direction: column; }
.statbar .n {
  display: block; font-weight: 500; font-size: clamp(2rem, 1.4rem + 1.8vw, 2.75rem);
  line-height: 1; letter-spacing: -0.035em; color: var(--blue); margin-bottom: 8px;
}
.statbar .t { font-size: 14px; color: var(--ink-2); line-height: 1.4; }

/* Pull the stat bar up over the hero edge */
.statbar-float { margin-top: calc(-1 * clamp(40px, 5vw, 72px)); position: relative; z-index: 2; }

/* ---------- Trust band ---------- */
.trust-band { background: var(--white); border-bottom: 1px solid var(--grey-200); }
.trust-band .container { padding-top: var(--s3); padding-bottom: var(--s3); }
.trust-line {
  font-size: 13.5px; color: var(--ink-2); font-weight: 500;
  text-align: center; letter-spacing: 0.01em;
}
.trust-line a { color: var(--blue); }

/* ---------- Timeline (3-step flow) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); position: relative; }
.steps::before {
  content: ""; position: absolute; top: 26px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--blue-line), var(--blue), var(--blue-line));
  opacity: .6;
}
.step { position: relative; background: transparent; padding-top: 0; }
.step .badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  font-weight: 500; font-size: 19px; margin-bottom: var(--s3);
  box-shadow: 0 0 0 8px var(--white), var(--shadow-blue);
  position: relative; z-index: 1;
  transition: transform .22s ease;
}
.step:hover .badge { transform: scale(1.06); }
.step h3 { margin-bottom: var(--s1); }
.step p { color: var(--ink-2); }

.band-grey .steps .badge { box-shadow: 0 0 0 8px var(--grey-100), var(--shadow-blue); }

/* ---------- Cards ---------- */
.pillars { display: grid; gap: var(--s3); }
.pillars.cols-2 { grid-template-columns: repeat(2, 1fr); }
.pillars.cols-3 { grid-template-columns: repeat(3, 1fr); }

.pillar {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); padding: var(--s5) var(--s4);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-line); }
.pillar h3 { margin-bottom: var(--s1); }
.pillar p { color: var(--ink-2); }
.pillar.highlight { border-color: var(--blue-line); background: linear-gradient(180deg, var(--blue-soft), var(--white) 60%); }

.pcard-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--blue-soft); color: var(--blue);
  margin-bottom: var(--s3);
}
.pcard-icon svg { width: 26px; height: 26px; }
.pillar.highlight .pcard-icon { background: var(--blue); color: var(--white); }

/* ---------- BUY / DON'T BUY (key emphasis block) ---------- */
.buylist { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.buycard {
  border-radius: var(--radius-lg); padding: var(--s5) var(--s4);
  background: var(--white); border: 1px solid var(--grey-200);
  box-shadow: var(--shadow-md);
}
.buycard.yes { border-top: 4px solid var(--ok); }
.buycard.no  { border-top: 4px solid var(--no); }
.buycard h3 { display: flex; align-items: center; gap: 10px; margin-bottom: var(--s3); font-size: 22px; }
.buycard .tag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; flex: none;
}
.buycard.yes .tag { background: var(--ok-soft); color: var(--ok); }
.buycard.no  .tag { background: var(--no-soft); color: var(--no); }
.buycard .tag svg { width: 18px; height: 18px; }
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink); line-height: 1.5; }
.checklist li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.buycard.yes .checklist li svg { color: var(--ok); }
.buycard.no  .checklist li svg { color: var(--no); }
.buycard .note { margin-top: var(--s3); font-size: 14px; color: var(--ink-3); }

/* ---------- Two-track (seller-weighted) ---------- */
.tracks { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--s4); align-items: stretch; }
.track-card {
  border: 1px solid var(--grey-200); border-radius: var(--radius-lg);
  padding: clamp(30px, 3.2vw, 48px); background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex; flex-direction: column;
}
.track-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-line); }
.track-card .eyebrow { margin-bottom: var(--s2); }
.track-card h3 { margin-bottom: var(--s2); font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem); }
.track-card p { color: var(--ink-2); margin-bottom: var(--s3); }
.track-card .btn { align-self: flex-start; margin-top: auto; }
.track-card.primary {
  background: linear-gradient(165deg, var(--blue-soft) 0%, var(--white) 55%);
  border-color: var(--blue-line);
}
.track-card.secondary { background: var(--grey-50); }

/* ---------- Feature split rows ---------- */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.frow + .frow { margin-top: clamp(56px, 7vw, 96px); }
.frow.flip .frow-visual { order: -1; }
.frow-visual {
  border-radius: var(--radius-xl); min-height: 320px;
  background: linear-gradient(160deg, var(--blue-soft), var(--white));
  border: 1px solid var(--blue-line);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); overflow: hidden; position: relative;
}
.frow-visual svg { width: 58%; height: auto; color: var(--blue); opacity: .9; }
.frow-visual.danger { background: linear-gradient(160deg, var(--no-soft), var(--white)); border-color: #F1C7CE; }
.frow-visual.danger svg { color: var(--no); }
/* Solid blue variant — for pages that need more colour weight */
.frow-visual.solid { background: var(--blue-grad); border-color: transparent; box-shadow: var(--shadow-lg); }
.frow-visual.solid svg { color: var(--white); opacity: .95; }

/* ---------- Quote / emphasis block ---------- */
.quote-block { max-width: 900px; }
.quote-block p {
  font-size: clamp(1.375rem, 1.1rem + 1.4vw, 2.125rem);
  line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); font-weight: 500;
}
.band-dark .quote-block p { color: var(--white); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--blue-grad);
  color: var(--white);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; left: -4%; bottom: -60%; width: 420px; height: 420px;
  border-radius: 50%; border: 54px solid rgba(255,255,255,.07); pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.85); }
.cta-band .btn-primary { background: var(--white); color: var(--blue-ink); border-color: var(--white); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.cta-band .btn-primary:hover { background: #F0F5FF; color: var(--blue-ink); border-color: #F0F5FF; }
.cta-band .btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.10); color: var(--white); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; max-width: 860px; }
.faq details { border-bottom: 1px solid var(--grey-200); padding: var(--s3) 0; }
.faq summary {
  font-weight: 500; font-size: 19px; color: var(--ink);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--s2);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 26px; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary { color: var(--blue); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: var(--s2); color: var(--ink-2); }

/* ---------- Criteria lists ---------- */
.criteria { list-style: none; display: grid; gap: 14px; max-width: 800px; }
.criteria li { padding-left: 34px; position: relative; color: var(--ink); }
.criteria li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 2px var(--blue);
}
.criteria li.reject::before { background: var(--no-soft); box-shadow: inset 0 0 0 2px var(--no); }

/* ---------- Fact block ---------- */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: var(--s2) var(--s4); max-width: 680px; }
.facts dt { color: var(--ink-3); font-size: 14px; }
.facts dd { color: var(--ink); font-weight: 500; }

/* ---------- Category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
.cat {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); padding: var(--s4);
  box-shadow: var(--shadow-sm); color: var(--ink-2);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-line); }
.cat strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: 4px; }

/* ---------- Forms ---------- */
.form-wrap {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 3.5vw, 52px); max-width: 760px;
  box-shadow: var(--shadow-lg);
}
.field { margin-bottom: var(--s3); }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 7px; }
.field .req { color: var(--blue); }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font); font-size: 16px; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--grey-200); border-radius: var(--radius); background: var(--grey-50);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); background: var(--white);
  box-shadow: 0 0 0 4px rgba(11,95,255,.12);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.form-note { font-size: 13px; color: var(--ink-3); margin-top: var(--s2); }

/* ---------- Contact cards ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.contact-card {
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); padding: var(--s5) var(--s4); box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-line); }
.contact-card h3 { margin-bottom: var(--s1); }
.contact-card p { margin-bottom: var(--s3); color: var(--ink-2); }
.contact-card a { font-weight: 500; }

/* ---------- Map card ---------- */
.map-card {
  display: flex; align-items: center; gap: 16px;
  margin-top: var(--s4); padding: var(--s4);
  background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.map-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--blue-line); text-decoration: none; }
.map-pin {
  flex: none; width: 50px; height: 50px; border-radius: 14px;
  background: var(--blue-soft); display: flex; align-items: center; justify-content: center; color: var(--blue);
}
.map-pin svg { width: 24px; height: 24px; }
.map-text { display: flex; flex-direction: column; gap: 2px; }
.map-text strong { color: var(--ink); font-weight: 500; }
.map-text .map-link { color: var(--blue); font-size: 14px; font-weight: 500; }

/* ---------- Prose ---------- */
.prose { max-width: 780px; }
.prose h2 { margin: var(--s6) 0 var(--s3); }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: var(--s3); }
.prose ul { margin: 0 0 var(--s3) var(--s3); }
.prose li { margin-bottom: var(--s1); }

/* ---------- Footer (light) ---------- */
.footer { background: var(--grey-100); color: var(--ink-2); padding: var(--s7) 0 var(--s5); border-top: 1px solid var(--grey-200); }
.footer .tagline { color: var(--ink); font-weight: 500; font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem); margin-bottom: var(--s5); letter-spacing: -0.02em; }
.footer-grid { display: flex; flex-wrap: wrap; gap: var(--s5); justify-content: space-between; }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--blue); }
.footer-nav { list-style: none; display: grid; gap: var(--s1); }
.footer-meta { font-size: 14px; line-height: 1.8; }
.footer-bottom {
  margin-top: var(--s5); padding-top: var(--s3);
  border-top: 1px solid var(--grey-200);
  font-size: 13px; color: var(--ink-3);
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); justify-content: space-between; align-items: center;
}
.footer-legal a { color: var(--ink-3); }
.footer-legal a:hover { color: var(--blue); }

/* ---------- Legal pages ---------- */
.legal-draft {
  background: #FFF8E6; border: 1px solid #F0DFAE; border-left: 3px solid #C99A16;
  border-radius: var(--radius); padding: var(--s3) var(--s4);
  margin-bottom: var(--s5); max-width: 780px;
  font-size: 15px; line-height: 1.6; color: #6B5312;
}
.legal-draft strong { color: #513D08; }
.placeholder { color: var(--ink-3); font-style: italic; }

/* ---------- Form states ---------- */
.btn[disabled] { opacity: .6; cursor: default; transform: none !important; box-shadow: none !important; }
.form-status { margin-top: var(--s3); font-size: 15px; font-weight: 500; display: none; }
.form-status.show { display: block; }
.form-status.err { color: var(--no); }
.form-success {
  background: var(--ok-soft); border: 1px solid #BFE6D5; border-left: 3px solid var(--ok);
  border-radius: var(--radius); padding: var(--s4);
}
.form-success h3 { color: var(--ok); margin-bottom: 6px; }
.form-success p { color: var(--ink); }

/* ---------- Accessibility ---------- */
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 3px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--white); color: var(--blue-ink); font-weight: 500;
  padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow-md);
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Helpers ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }

/* ==========================================================================
   Animations
   ========================================================================== */
html.js [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1);
  will-change: opacity, transform;
}
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

html.js .hero .eyebrow, html.js .hero h1, html.js .hero .subhead, html.js .hero .btn-row {
  opacity: 0; transform: translateY(24px);
  animation: heroIn .85s cubic-bezier(.16,.84,.44,1) forwards;
}
html.js .hero .eyebrow  { animation-delay: .05s; }
html.js .hero h1        { animation-delay: .14s; }
html.js .hero .subhead  { animation-delay: .26s; }
html.js .hero .btn-row  { animation-delay: .38s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.wordmark { transition: opacity .15s ease; }
.wordmark:hover { opacity: .78; text-decoration: none; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--blue); z-index: 200; transition: width .1s linear;
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  html.js .hero .eyebrow, html.js .hero h1, html.js .hero .subhead, html.js .hero .btn-row {
    opacity: 1; transform: none; animation: none;
  }
  .hero::before { animation: none; }
  .pillar:hover, .step:hover, .track-card:hover, .cat:hover, .contact-card:hover,
  .btn-primary:hover, .btn-outline:hover { transform: none; }
  * { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .statbar { grid-template-columns: repeat(2, 1fr); }
  .statbar > div:nth-child(2) { border-right: 0; }
  .statbar > div:nth-child(1), .statbar > div:nth-child(2) { border-bottom: 1px solid var(--grey-200); }
  .tracks { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  section { padding: var(--s6) 0; }

  .hero-split .container { grid-template-columns: 1fr; gap: var(--s6); }
  .hero-split h1 { max-width: 18ch; }
  .hero-visual { max-width: 440px; }

  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--white); padding: var(--s2) var(--s3);
    transform: translateY(-130%); transition: transform .25s ease;
    box-shadow: 0 12px 24px rgba(10,37,64,.14);
    border-bottom: 1px solid var(--grey-200);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 13px 0; width: 100%; border-bottom: 1px solid var(--grey-200); }
  .nav-links .nav-cta { text-align: center; margin: var(--s2) 0; border-bottom: 0; }

  .lead-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .fact-panel .row { grid-template-columns: 1fr; gap: 4px; padding: var(--s3) var(--s4); }
  .steps::before { display: none; }
  .steps, .pillars.cols-2, .pillars.cols-3, .buylist, .cats, .contact-grid, .field-row { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 1fr; }
  .frow.flip .frow-visual { order: 0; }
  .frow-visual { min-height: 240px; }
  .facts { grid-template-columns: 1fr; gap: 4px var(--s2); }
  .facts dt { margin-top: var(--s2); }
  .form-wrap { padding: var(--s4); }
  .footer-grid { gap: var(--s4); }
}

@media (max-width: 480px) {
  .statbar { grid-template-columns: 1fr; }
  .statbar > div { border-right: 0; border-bottom: 1px solid var(--grey-200); }
  .statbar > div:last-child { border-bottom: 0; }
  .btn { width: 100%; justify-content: center; }
  .btn-row .tertiary-link { width: 100%; text-align: center; }
  .track-card .btn { align-self: stretch; }
}
