/* ==========================================================================
   Closed Won — The Revenue Engine landing page
   Design direction: "Instrument panel" — light, precise, trustworthy.
   Ink slate + deep emerald + warm paper. Monospace for all data/labels.
   ========================================================================== */

:root {
  /* Colour */
  --paper:      #F5F6F3;   /* warm-cool paper background */
  --paper-2:    #EDEFEA;   /* slightly deeper panel */
  --card:       #FFFFFF;
  --ink:        #15191E;   /* near-black slate */
  --ink-soft:   #545C64;   /* secondary text */
  --ink-faint:  #8A9099;   /* tertiary / meta */
  --go:         #0E7A4C;   /* deep emerald — the "won"/go accent */
  --go-2:       #10935B;   /* lighter emerald for hovers */
  --go-wash:    #E7F1EB;   /* emerald tint background */
  --clay:       #B4552C;   /* warm contrast — pain / "before" (used sparingly) */
  --line:       rgba(21, 25, 30, 0.12);
  --line-soft:  rgba(21, 25, 30, 0.07);

  /* Type */
  --f-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --f-body:    "Inter", system-ui, -apple-system, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --wrap: 1120px;
  --radius: 14px;
  --radius-sm: 9px;
}

/* ---- Reset-ish ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 66px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: 0.02em; }
.db { display: none; }
@media (min-width: 720px) { .db { display: inline; } }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-body); font-weight: 600; font-size: 16px;
  padding: 13px 22px; border-radius: var(--radius-sm);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  white-space: nowrap; max-width: 100%;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--go); color: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.btn-primary:hover { background: var(--go-2); box-shadow: 0 6px 20px -8px rgba(14,122,76,.55); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-text { background: none; border: none; color: var(--ink-soft); padding: 8px 4px; font-weight: 600; }
.btn-text:hover { color: var(--ink); }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-sm { padding: 9px 16px; font-size: 14.5px; }
.btn-block { width: 100%; }

/* Focus visibility (quality floor) */
:focus-visible { outline: 2.5px solid var(--go); outline-offset: 3px; border-radius: 4px; }

/* ---- Shared section bits ---- */
.section-kicker {
  font-family: var(--f-mono); font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--go);
  margin-bottom: 16px;
}
.section-title { font-size: clamp(28px, 4.2vw, 44px); max-width: 18ch; }
.section-lead { font-size: 19px; color: var(--ink-soft); max-width: 62ch; margin-top: 18px; }
.eyebrow {
  font-family: var(--f-mono); font-size: 13.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--go);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand-mark {
  display: inline-grid; place-items: center; width: 30px; height: 30px;
  background: var(--go); color: #fff; border-radius: 8px;
}
.brand.small .brand-mark { width: 24px; height: 24px; border-radius: 6px; }
.header-nav { display: flex; align-items: center; gap: 26px; }
.nav-link { font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.nav-link:hover { color: var(--ink); }
.nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nav-burger { display: none; }
@media (max-width: 640px) {
  .nav-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; margin-left: auto; cursor: pointer; }
  .nav-burger span { display: block; width: 24px; height: 2px; margin: 0 auto; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .header-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 14px 26px -18px rgba(21,25,30,.45); padding: 6px 24px 20px; }
  .nav-toggle:checked ~ .header-nav { display: flex; }
  .header-nav .nav-link { padding: 15px 2px; font-size: 16.5px; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
  .header-nav .btn { margin-top: 14px; width: 100%; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 84px); position: relative; overflow: hidden; }
.hero::after {
  /* subtle instrument grid, right side */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 90% at 92% 0%, #000 0%, transparent 62%);
          mask-image: radial-gradient(120% 90% at 92% 0%, #000 0%, transparent 62%);
  opacity: .7;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-title { font-size: clamp(36px, 5.2vw, 58px); font-weight: 800; margin: 20px 0 0; max-width: 18ch; text-wrap: balance; }
.hero-sub { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-soft); max-width: 58ch; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: nowrap; gap: 14px; margin-top: 34px; }
.trust-row { display: flex; flex-wrap: nowrap; gap: 18px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line-soft); }
.trust-row li { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--ink-soft); font-weight: 500; white-space: nowrap; }
@media (max-width: 680px) { .hero-actions, .trust-row { flex-wrap: wrap; } }
.tick { display: inline-grid; place-items: center; width: 20px; height: 20px; background: var(--go-wash); color: var(--go); border-radius: 50%; font-size: 12px; font-weight: 700; }

/* ---- Hero two-column + pipeline signature ---- */
.hero-grid { display: block; }
.hero-copy { position: relative; z-index: 2; max-width: 660px; }
/* Soft paper wash behind the text so it stays readable over the pipeline — kept
   subtle (blurred, fading to the right) so it doesn't read as a bright blob. */
.hero-copy::before {
  content: ""; position: absolute; z-index: -1; inset: -20px -70px -24px -36px;
  background: linear-gradient(90deg, var(--paper), var(--paper) 32%, color-mix(in srgb, var(--paper) 55%, transparent) 64%, transparent 100%);
  filter: blur(7px);
}
.pipeline { display: flex; gap: 14px; align-items: flex-start; width: max-content; }

/* Diagonal pipeline backdrop: bold across the right two-thirds, running bottom-left →
   top-right and bleeding off the right edge (clipped by .hero overflow:hidden). The
   text side is kept readable by the paper wash above. Tunable: rotate() angle, opacity,
   right/top offsets, scale, and the far-end mask stop. */
.hero-visual {
  position: absolute; z-index: 1; pointer-events: none;
  top: calc(30% - 25px); right: 60px; width: max-content;
  transform-origin: right center;
  transform: translateY(-50%) rotate(-10deg) scale(1.1);
  opacity: .85;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
}
/* On smaller screens the diagonal backdrop gets too busy behind text — hide it. */
@media (max-width: 900px) { .hero-visual { display: none; } }
.pl-col { width: 182px; flex: 0 0 auto; }
.pl-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink); padding: 8px 12px 10px; border-bottom: 2px solid var(--line); margin-bottom: 12px; }
.pl-count { color: var(--ink-faint); font-weight: 500; }
.pl-card { background: var(--card); border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; margin-bottom: 11px; box-shadow: 0 1px 2px rgba(21,25,30,.04); }
.pl-co { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.pl-amt { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }
.pl-col-won .pl-head, .pl-head-won { color: var(--go); border-bottom-color: var(--go); }
.pl-card-won { background: var(--go-wash); border-color: color-mix(in srgb, var(--go) 30%, transparent); }
.pl-won-flag { display: inline-block; margin-top: 8px; font-size: 11px; color: var(--go); font-weight: 700; letter-spacing: .04em; }
.pl-card-ghost { opacity: .45; border-style: dashed; box-shadow: none; }
.pl-card-moving { border-color: var(--go); box-shadow: 0 14px 34px -12px rgba(14,122,76,.5); animation: dealToWon 1.4s cubic-bezier(.34,1.1,.4,1) .6s both; }
/* Travels one column left (182px col + 14px gap = 196px) into Closed Won once, then stays. */
@keyframes dealToWon {
  0%   { opacity: 0; transform: translateX(-196px) translateY(-4px) scale(.96); }
  100% { opacity: 1; transform: none; }
}

/* ---- Logo strip (uniform black silhouettes on light bg) ---- */
.logos { padding: 34px 0 22px; text-align: center; }
.logos-label { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-faint); margin-bottom: 22px; }
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 56px; }
/* brightness(0) flattens any logo (colour or white, raster or SVG) to solid black,
   keeping its transparency — so they all match on the light background. */
.logo-img { height: 30px; width: auto; filter: brightness(0); opacity: .72; }

/* ---- Optional-pillar badge + proof note ---- */
.pillar-badge { margin-left: auto; align-self: center; font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--go); background: var(--go-wash); padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.pillar-optional { border-style: dashed; }
.proof-note { display: block; text-align: center; font-size: 12.5px; color: var(--ink-faint); margin-top: 28px; }

/* ==========================================================================
   Pain
   ========================================================================== */
.pain { padding: clamp(56px, 8vw, 96px) 0; }
.pain .section-title { margin-top: 4px; }
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 680px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-quote {
  position: relative; margin: 0; padding: 26px 26px 26px 30px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  border-left: 3px solid var(--ink);
  font-family: var(--f-display); font-size: 20px; font-weight: 500; line-height: 1.35; color: var(--ink);
}
.q-mark { position: absolute; top: 8px; left: 14px; font-family: var(--f-display); font-size: 34px; color: var(--ink); opacity: .16; }
.pain-close { margin-top: 34px; font-size: 21px; font-family: var(--f-display); }
.pain-close strong { color: var(--go); }

/* ==========================================================================
   Shift band
   ========================================================================== */
.shift { background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 64px) 0; }
.shift-inner { display: flex; align-items: center; justify-content: center; gap: clamp(28px, 6vw, 72px); text-align: center; }
.shift-label { font-family: var(--f-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.55); margin-bottom: 8px; }
.shift-word { font-family: var(--f-display); font-size: clamp(34px, 6vw, 60px); font-weight: 800; letter-spacing: -0.02em; color: rgba(255,255,255,.72); }
.shift-word.accent { color: #fff; }
.shift-to .shift-word.accent { position: relative; }
/* Nudge arrow down so it aligns with the centre of the words, not the label+word block */
.shift-arrow { color: var(--go-2); flex: 0 0 auto; transform: translateY(14px); }
@media (max-width: 600px) {
  .shift-inner { flex-direction: column; gap: 20px; }
  .shift-arrow { transform: rotate(90deg); }   /* point downward when stacked */
  .shift-arrow svg { width: 46px; }
}

/* ==========================================================================
   System — pillars
   ========================================================================== */
.system { padding: clamp(64px, 9vw, 104px) 0; }
.system .section-lead { margin-bottom: 48px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pillar:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -26px rgba(21,25,30,.35); border-color: var(--line); }
.pillar-head { display: flex; align-items: baseline; gap: 12px; }
.pillar-num { font-family: var(--f-mono); font-size: 14px; font-weight: 700; color: var(--go); letter-spacing: .05em; }
.pillar-title { font-size: 30px; font-weight: 800; }
.pillar-tag { font-family: var(--f-display); font-weight: 600; font-size: 17px; color: var(--ink); margin-top: 10px; }
.pillar-body { color: var(--ink-soft); font-size: 15.5px; margin-top: 8px; }
.pillar-list { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); display: grid; gap: 11px; }
.pillar-list li { position: relative; padding-left: 24px; font-size: 15px; color: var(--ink); line-height: 1.45; }
.pillar-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--go);
  font-weight: 700; font-size: 13px; line-height: 1.5;
}

/* ==========================================================================
   Why me
   ========================================================================== */
.why { padding: clamp(56px, 8vw, 96px) 0; background: var(--paper-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.why-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .why-inner { grid-template-columns: 1fr; } }
.why-body { color: var(--ink-soft); font-size: 18px; margin-top: 20px; max-width: 54ch; }
.why-photo { margin: 0; }
.why-photo img { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; display: block; border-radius: 18px; background: var(--paper-2); box-shadow: 0 30px 60px -30px rgba(21,25,30,.5); }
.why-photo figcaption { margin-top: 14px; font-size: 13px; color: var(--ink-faint); }

/* ==========================================================================
   Scorecard
   ========================================================================== */
.scorecard-section { padding: clamp(64px, 9vw, 104px) 0; background: var(--ink); }
.scorecard-section .section-kicker { color: var(--go-2); }
.scorecard-section .section-title { color: #fff; }
.scorecard-section .section-lead { color: rgba(255, 255, 255, .72); }
.score-intro-copy { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.score-intro-copy .section-kicker { display: block; }
.score-intro-copy .section-title, .score-intro-copy .section-lead { margin-left: auto; margin-right: auto; }
.score-intro-copy .section-title { max-width: none; }

.card {
  max-width: 720px; margin: 0 auto; background: var(--card);
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 40px 80px -50px rgba(21,25,30,.4);
  padding: clamp(28px, 4vw, 48px); overflow: hidden;
}

/* Progress */
.quiz-progress { margin-bottom: 30px; }
.quiz-progress-meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-faint); letter-spacing: .08em; margin-bottom: 10px; }
#progress-pillar { color: var(--go); }
.quiz-progress-bar { height: 5px; background: var(--paper-2); border-radius: 99px; overflow: hidden; }
.quiz-progress-bar span { display: block; height: 100%; width: 0; background: var(--go); border-radius: 99px; transition: width .35s cubic-bezier(.4,0,.2,1); }

/* Intro */
.quiz-screen { animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.instrument-badge { display: inline-block; font-size: 12.5px; color: var(--go); background: var(--go-wash); padding: 5px 12px; border-radius: 99px; letter-spacing: .1em; }
.quiz-h2 { font-size: clamp(24px, 3.5vw, 32px); margin-top: 18px; }
.quiz-lead { color: var(--ink-soft); font-size: 17px; margin: 14px 0 28px; max-width: 52ch; }
.quiz-meta { margin-top: 16px; font-size: 13px; color: var(--ink-faint); }

/* Question */
.question-text { font-size: clamp(21px, 3vw, 27px); line-height: 1.2; margin-bottom: 26px; }
.options { display: grid; gap: 12px; }
.option {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 17px 20px; background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); font-family: var(--f-body); font-size: 16.5px; font-weight: 500; color: var(--ink);
  cursor: pointer; transition: border-color .14s ease, background .14s ease, transform .1s ease;
}
.option:hover { border-color: var(--go); background: #fff; }
.option:active { transform: scale(.995); }
.option.selected { border-color: var(--go); background: var(--go-wash); }
.option-key {
  flex: 0 0 auto; display: inline-grid; place-items: center; width: 26px; height: 26px;
  font-family: var(--f-mono); font-size: 13px; font-weight: 700; color: var(--ink-soft);
  background: #fff; border: 1.5px solid var(--line); border-radius: 6px;
}
.option:hover .option-key, .option.selected .option-key { color: var(--go); border-color: var(--go); }
#back-btn { margin-top: 22px; }

/* Result */
.result-head { display: flex; align-items: center; gap: 28px; }
@media (max-width: 560px) { .result-head { flex-direction: column; text-align: center; gap: 18px; } }
.gauge { position: relative; width: 132px; height: 132px; flex: 0 0 auto; }
.gauge-svg { width: 132px; height: 132px; transform: rotate(-90deg); }
.gauge-track { fill: none; stroke: var(--paper-2); stroke-width: 10; }
.gauge-fill { fill: none; stroke: var(--go); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.1s cubic-bezier(.4,0,.2,1); }
.gauge-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge-num { font-size: 40px; font-weight: 700; line-height: 1; color: var(--ink); }
.gauge-den { font-size: 13px; color: var(--ink-faint); }
.result-tier-label { font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); }
.result-tier { font-size: clamp(24px, 3.4vw, 32px); margin: 6px 0 8px; }
.result-summary { color: var(--ink-soft); font-size: 16px; }

.pillar-scores { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 28px 0; }
.pscore { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.pscore-name { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--ink-faint); text-transform: uppercase; }
.pscore-bar { height: 6px; background: var(--paper-2); border-radius: 99px; margin: 10px 0 8px; overflow: hidden; }
.pscore-bar span { display: block; height: 100%; background: var(--go); border-radius: 99px; }
.pscore-val { font-family: var(--f-mono); font-size: 13px; font-weight: 700; color: var(--ink); }
.fix-first { background: var(--go-wash); border: 1px solid color-mix(in srgb, var(--go) 22%, transparent); border-radius: var(--radius-sm); padding: 18px 20px; font-size: 15.5px; margin-bottom: 30px; }
.fix-first strong { color: var(--go); }

/* Lead form */
.lead-form-wrap { border-top: 1px solid var(--line); padding-top: 30px; }
.form-h3 { font-size: 22px; }
.form-sub { color: var(--ink-soft); font-size: 15.5px; margin: 8px 0 22px; }
.lead-form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-faint); }
.field input {
  font-family: var(--f-body); font-size: 16px; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink);
  transition: border-color .14s ease, background .14s ease;
}
.field input:focus { outline: none; border-color: var(--go); background: #fff; }
.field input:invalid:not(:placeholder-shown) { border-color: var(--clay); }
.form-fineprint { font-size: 12.5px; color: var(--ink-faint); text-align: center; margin-top: 4px; }

/* Thanks */
.lead-thanks { text-align: center; padding: 12px 0; }
.thanks-check { display: inline-grid; place-items: center; width: 56px; height: 56px; background: var(--go); color: #fff; border-radius: 50%; margin-bottom: 18px; }
.lead-thanks h3 { font-size: 26px; }
.lead-thanks p { color: var(--ink-soft); max-width: 44ch; margin: 12px auto 22px; }
.lead-thanks .btn-text { margin-top: 12px; display: inline-block; }

/* ==========================================================================
   Proof
   ========================================================================== */
.proof { padding: clamp(56px, 8vw, 96px) 0; }
.placeholder-note { display: inline-block; font-size: 12.5px; color: var(--clay); background: color-mix(in srgb, var(--clay) 10%, transparent); border: 1px dashed color-mix(in srgb, var(--clay) 45%, transparent); border-radius: 8px; padding: 8px 14px; margin: 18px 0 34px; }
.testimonials { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 44px; }
@media (max-width: 860px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 20px; }
.testimonial blockquote { margin: 0; font-family: var(--f-display); font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.testimonial figcaption { display: grid; gap: 3px; margin-top: auto; }
.t-name { font-weight: 700; font-size: 15px; }
.t-role { font-size: 12.5px; color: var(--ink-faint); }

/* ==========================================================================
   Offer
   ========================================================================== */
.offer { padding: clamp(56px, 8vw, 96px) 0; background: var(--paper-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.offer-head { max-width: 640px; margin-bottom: 44px; }
.offer-head .section-title { max-width: none; }
.offer-packages { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
@media (max-width: 820px) { .offer-packages { grid-template-columns: 1fr; } }
.pkg { border-radius: 18px; padding: 34px 32px; display: flex; flex-direction: column; }
.pkg-core { background: var(--ink); color: #fff; }
.pkg-addon { background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.pkg-label { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.pkg-core .pkg-label { color: var(--go-2); }
.pkg-addon .pkg-label { color: var(--go); }
.pkg-title { font-size: 30px; font-weight: 800; }
.pkg-pillars { font-size: 14px; margin-top: 6px; }
.pkg-core .pkg-pillars { color: rgba(255,255,255,.6); }
.pkg-addon .pkg-pillars { color: var(--ink-faint); }
.pkg-desc { font-size: 15.5px; margin-top: 16px; line-height: 1.5; }
.pkg-core .pkg-desc { color: rgba(255,255,255,.82); }
.pkg-addon .pkg-desc { color: var(--ink-soft); }
.pkg-fit { display: grid; gap: 12px; margin-top: 22px; margin-bottom: 24px; }
.pkg-fit li { display: flex; gap: 12px; font-size: 15px; line-height: 1.4; }
.pkg-core .pkg-fit li { color: rgba(255,255,255,.9); }
.fit-tick { flex: 0 0 auto; display: inline-grid; place-items: center; width: 21px; height: 21px; background: var(--go); color: #fff; border-radius: 50%; font-size: 11px; font-weight: 700; margin-top: 2px; }
.pkg-price { margin-top: auto; padding-top: 22px; font-size: 14px; }
.pkg-core .pkg-price { border-top: 1px solid rgba(255,255,255,.16); color: #fff; }
.pkg-addon .pkg-price { border-top: 1px solid var(--line); color: var(--ink); }
.offer-cta { margin-top: 30px; }

/* ==========================================================================
   Final CTA + footer
   ========================================================================== */
/* Booking / contact — distinct emerald-tinted background so it reads as its own section */
.contact { padding: clamp(56px, 8vw, 96px) 0; background: var(--go-wash); border-top: 1px solid color-mix(in srgb, var(--go) 18%, transparent); }
.contact-inner { display: block; }
.contact-copy { text-align: center; max-width: 660px; margin: 0 auto 40px; }
.contact-copy .section-title { max-width: none; }
.contact-copy .section-lead { margin-left: auto; margin-right: auto; }
.contact-embed { width: 100%; min-height: 660px; }
.meetings-iframe-container { min-height: 640px; }
.meetings-iframe-container iframe { min-height: 640px; width: 100%; }
.site-footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-note { font-size: 13px; color: var(--ink-faint); }
.footer-badge { height: 66px; width: auto; }

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

/* ==========================================================================
   Case studies — index grid
   ========================================================================== */
.cs-hero { padding: clamp(52px, 8vw, 92px) 0 clamp(24px, 3vw, 36px); }
.cs-page-title { font-family: var(--f-display); font-size: clamp(34px, 6vw, 60px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.cs-intro { font-size: 20px; color: var(--ink-soft); max-width: 52ch; margin-top: 18px; }
.cs-grid { padding-bottom: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .cs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cs-grid { grid-template-columns: 1fr; } }
.cs-card { display: flex; flex-direction: column; gap: 13px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; color: inherit; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.cs-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -28px rgba(21,25,30,.4); border-color: var(--line); }
.cs-tag { align-self: flex-start; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--go); background: var(--go-wash); padding: 5px 11px; border-radius: 99px; }
.cs-card-title { font-family: var(--f-display); font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.cs-company { font-size: 14px; color: var(--ink-faint); font-weight: 600; }
.cs-more { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--go); }
.cs-card:hover .cs-more { text-decoration: underline; }

/* ==========================================================================
   Case studies — individual page
   ========================================================================== */
.csd-hero { padding: clamp(36px, 5vw, 64px) 0 clamp(20px, 3vw, 32px); }
.csd-breadcrumb { font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-faint); margin-bottom: 22px; }
.csd-breadcrumb a { color: var(--ink-faint); }
.csd-breadcrumb a:hover { color: var(--ink); }
.csd-tag { display: inline-block; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--go); background: var(--go-wash); padding: 5px 12px; border-radius: 99px; margin-bottom: 18px; }
.csd-title { font-family: var(--f-display); font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.06; max-width: 20ch; }
.csd-lead { font-size: 21px; color: var(--ink-soft); max-width: 60ch; margin-top: 16px; }
.csd-image { margin-top: 34px; width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper-2); aspect-ratio: 16 / 7; object-fit: cover; display: block; }
.csd-layout { display: grid; grid-template-columns: 1fr 260px; gap: clamp(32px, 5vw, 64px); padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 7vw, 80px); align-items: start; }
@media (max-width: 820px) { .csd-layout { grid-template-columns: 1fr; } }
.csd-body { display: grid; gap: 34px; }
.csd-section h2 { font-family: var(--f-display); font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.csd-section p { color: var(--ink-soft); font-size: 17px; }
.csd-facts { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 88px; display: grid; gap: 16px; }
@media (max-width: 820px) { .csd-facts { position: static; } }
.csd-facts-label { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--go); }
.csd-fact { display: grid; gap: 3px; }
.csd-fact dt { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-faint); }
.csd-fact dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.csd-cta { background: var(--ink); color: #fff; border-radius: 18px; padding: clamp(30px, 5vw, 48px); text-align: center; margin-bottom: clamp(48px, 7vw, 80px); }
.csd-cta h2 { font-family: var(--f-display); font-size: clamp(23px, 3.2vw, 32px); color: #fff; max-width: 22ch; margin: 0 auto 22px; }

/* ==========================================================================
   AI shift (dark section)
   ========================================================================== */
.ai { background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 96px) 0; }
.ai .section-kicker { color: var(--go-2); }
.ai-title { font-family: var(--f-display); font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; letter-spacing: -0.02em; color: #fff; max-width: 20ch; }
.ai-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 40px 0 34px; }
@media (max-width: 680px) { .ai-stats { grid-template-columns: 1fr; } }
.ai-stat { border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 26px 24px; }
.ai-stat-num { display: block; font-family: var(--f-display); font-size: clamp(40px, 6vw, 60px); font-weight: 800; color: var(--go-2); line-height: 1; }
.ai-stat-label { display: block; margin-top: 14px; font-size: 15.5px; color: rgba(255,255,255,.72); line-height: 1.45; }
.ai-body { font-size: 19px; color: rgba(255,255,255,.82); max-width: 60ch; }
.ai-close { font-family: var(--f-display); font-size: 20px; font-weight: 600; color: #fff; max-width: 60ch; margin-top: 18px; }

/* ==========================================================================
   Manifesto
   ========================================================================== */
.manifesto { padding: clamp(56px, 8vw, 96px) 0; }
.manifesto .section-lead { margin-bottom: 44px; }
.man-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 720px) { .man-grid { grid-template-columns: 1fr; } }
.man-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.man-card h3 { font-family: var(--f-display); font-size: 21px; font-weight: 700; color: var(--go); margin-bottom: 12px; }
.man-card p { color: var(--ink-soft); font-size: 16px; line-height: 1.55; }

/* Wordmark: all-caps logotype (HTML text stays "Closed Won" for SEO/accessibility) */
.brand-name { text-transform: uppercase; letter-spacing: 0.04em; }

/* Brand lockup (header + footer) */
.brand-logo { height: 36px; width: auto; display: block; }
.footer-logo { height: 26px; width: auto; display: block; }

/* Hero HubSpot credentials strip (replaces the text trust row) */
.hero-badges { display: flex; align-items: center; gap: 28px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.hb-plat { font-family: var(--f-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); font-weight: 500; }
.hb-logo { height: 22px; width: auto; opacity: .72; }

/* HubSpot embedded form (Health Check) — blend with the site */
.hs-form-target { margin-top: 6px; }
.hs-form-target .hs-form-field { margin-bottom: 15px; }
.hs-form-target .hs-form-field > label { display: block; font-family: var(--f-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); margin-bottom: 7px; }
.hs-form-target .hs-input:not([type=checkbox]):not([type=radio]) { width: 100%; font-family: var(--f-body); font-size: 16px; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); }
.hs-form-target .hs-input:focus { outline: none; border-color: var(--go); background: #fff; }
.hs-form-target .hs-button { width: 100%; background: var(--go); color: #fff; border: none; font-family: var(--f-body); font-weight: 600; font-size: 17px; padding: 16px 28px; border-radius: var(--radius-sm); cursor: pointer; margin-top: 4px; }
.hs-form-target .hs-button:hover { background: var(--go-2); }
.hs-form-target .hs-error-msg, .hs-form-target .hs-error-msgs label { color: var(--clay); font-size: 13px; }
.hs-form-target .hs-form-required { color: var(--clay); }
.hs-form-target .hs-field-desc, .hs-form-target .legal-consent-container { font-size: 12.5px; color: var(--ink-faint); }

/* HubSpot form — force full-width inputs + tidy two-column rows */
.hs-form-target, .hs-form-target form.hs-form { width: 100%; max-width: 100%; }
.hs-form-target input.hs-input,
.hs-form-target select.hs-input,
.hs-form-target textarea.hs-input { width: 100% !important; max-width: 100% !important; box-sizing: border-box; }
.hs-form-target .hs-form-field .input { margin-right: 0 !important; }
.hs-form-target .form-columns-2 { display: flex; gap: 14px; }
.hs-form-target .form-columns-2 > .hs-form-field { flex: 1 1 0; width: auto !important; float: none; padding: 0; }
.hs-form-target .form-columns-2 > .hs-form-field .input { margin: 0 !important; }
.hs-form-target .form-columns-1 .hs-form-field .input { margin: 0 !important; }
@media (max-width: 520px) {
  .hs-form-target .form-columns-2 { flex-wrap: wrap; }
  .hs-form-target .form-columns-2 > .hs-form-field { flex-basis: 100%; }
}

/* HubSpot form — post-submit thank-you message, styled on-brand */
.hs-form-target .submitted-message {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  padding: 34px 26px; background: var(--go-wash);
  border: 1px solid color-mix(in srgb, var(--go) 22%, transparent); border-radius: var(--radius);
  font-family: var(--f-display); font-size: 19px; font-weight: 500; color: var(--ink);
}
.hs-form-target .submitted-message::before {
  content: "✓"; display: grid; place-items: center; width: 46px; height: 46px;
  background: var(--go); color: #fff; border-radius: 50%; font-size: 22px; font-weight: 700;
}
.hs-form-target .submitted-message p { margin: 0; }
.hs-form-target .submitted-message a { color: var(--go); font-weight: 600; }

/* Make inline links in the form sub-text clickable */
.form-sub a { color: var(--go); font-weight: 600; }
.form-sub a:hover { text-decoration: underline; }

/* Prevent horizontal scroll on mobile: let long buttons wrap + full-width hero CTAs */
body { overflow-x: clip; }
@media (max-width: 560px) {
  .btn-lg { white-space: normal; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
}

/* HubSpot caps its form fieldset at max-width:500px — remove it so the form fills the container */
.hs-form-target fieldset { max-width: 100% !important; }
.hs-form-target .hs-form-field { width: 100% !important; box-sizing: border-box; }
.hs-form-target fieldset.form-columns-2 { display: flex !important; gap: 16px; }
.hs-form-target fieldset.form-columns-2 > .hs-form-field { flex: 1 1 0 !important; width: auto !important; float: none !important; }
.hs-form-target .hs-input:not([type=checkbox]):not([type=radio]) { width: 100% !important; box-sizing: border-box; }
.hs-form-target .input { margin: 0 !important; }

/* HubSpot cookie banner — accept button in brand green */
#hs-eu-cookie-confirmation #hs-eu-confirmation-button {
  background: #00a65a !important;
  border-color: #00a65a !important;
  color: #ffffff !important;
}
