/* ============================================================
   CONVERSION GRID · site-7 "The Grid, Light"
   Palette pulled from the logo: deep navy + off-white +
   a single light-blue (sky) accent. Minimal and competent.
   Locked tokens documented in ../DESIGN.md.
   ============================================================ */

:root {
  /* --- palette (OKLCH, from the logo) --- */
  --paper:     oklch(98.6% 0.004 240);
  --paper-2:   oklch(96.4% 0.012 235);
  --paper-3:   oklch(93.5% 0.02 234);

  --ink:       oklch(25% 0.035 250);
  --ink-2:     oklch(42% 0.03 250);
  --ink-3:     oklch(56% 0.022 250);
  --ink-deep:  oklch(19% 0.03 252);

  --sky:       oklch(70% 0.135 232);
  --sky-deep:  oklch(50% 0.16 250);
  --sky-soft:  oklch(93% 0.035 232);

  --line:      oklch(89% 0.018 240);
  --line-2:    oklch(82% 0.025 240);

  /* --- type --- */
  --display: "Tanker", "Arial Black", sans-serif;
  --sans:    "Switzer", system-ui, -apple-system, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1240px;
  --u: clamp(54px, 6.5vw, 92px);

  --bg: var(--paper);
  --fg: var(--ink);
  --muted: var(--ink-3);
  --rule: var(--line);
  --accent: var(--sky-deep);

  --shadow-soft: 0 1px 2px oklch(25% 0.035 250 / 0.04),
                 0 12px 28px -12px oklch(25% 0.035 250 / 0.18);
}

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(16px, 1.02vw, 18px);
  line-height: 1.6;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--sky-soft); color: var(--ink); }

.wrap {
  width: min(100% - calc(var(--gutter) * 2), var(--maxw));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 0.8em 1.2em;
  font-weight: 700; z-index: 200; border-radius: 8px;
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--sky-deep); outline-offset: 3px; border-radius: 2px; }

/* ---------- section theming ---------- */
.section { padding-block: clamp(3.6rem, 7vw, 6.5rem); position: relative; }

.field-paper { background: var(--paper); --fg: var(--ink); --muted: var(--ink-3); --rule: var(--line); --accent: var(--sky-deep); }
.field-tint  { background: var(--paper-2); --fg: var(--ink); --muted: var(--ink-3); --rule: var(--line-2); --accent: var(--sky-deep); }
.field-ink   { background: var(--ink-deep); color: var(--paper);
  --fg: var(--paper); --muted: color-mix(in oklch, var(--paper) 72%, var(--ink-deep));
  --rule: color-mix(in oklch, var(--paper) 16%, transparent); --accent: var(--sky); }

/* faint logo-grid texture — pure background, never explained */
.gridwash::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, var(--rule) 1px, transparent 1px),
    linear-gradient(to bottom, var(--rule) 1px, transparent 1px);
  background-size: var(--u) var(--u);
  opacity: 0.45;
  mask-image: radial-gradient(120% 90% at 80% 0%, #000 0%, transparent 72%);
}

/* ---------- type helpers ---------- */
.kicker {
  font-family: var(--mono);
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
  display: inline-flex; align-items: center; gap: 0.7em;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; flex: none; }

.lead {
  font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.04;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  max-width: 20ch; color: var(--fg);
}
.lead .hot { color: var(--sky-deep); }
.field-ink .lead .hot { color: var(--sky); }

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 60ch; }
.section-head .kicker { margin-bottom: 1.1rem; }

/* ---------- buttons ---------- */
.btn {
  --pad: 0.95em 1.5em;
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: var(--pad);
  font-family: var(--sans); font-weight: 600; font-size: 0.98rem;
  background: var(--sky-deep); color: var(--paper);
  border: 1px solid var(--sky-deep); border-radius: 10px;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s ease, background .18s;
  box-shadow: 0 1px 2px oklch(25% 0.035 250 / 0.12);
}
.btn .arr { transition: transform .22s cubic-bezier(.2,.8,.2,1); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px oklch(50% 0.16 250 / 0.7); }
.btn:hover .arr { transform: translateX(4px); }
.btn--lg { font-size: 1.06rem; --pad: 1.05em 1.8em; }
.btn--ghost {
  background: transparent; color: var(--fg);
  border-color: var(--line-2); box-shadow: none;
}
.btn--ghost:hover { background: var(--paper-2); border-color: var(--sky-deep); color: var(--sky-deep); }
.field-ink .btn { background: var(--sky); color: var(--ink-deep); border-color: var(--sky); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; padding-block: 0.85rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand__logo { width: 34px; height: 34px; border-radius: 9px; display: block; }
.brand__name { font-family: var(--sans); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.02em; color: var(--ink); }
.nav__right { display: flex; align-items: center; gap: 1.1rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(2.6rem, 5vw, 4.5rem); padding-bottom: clamp(2.6rem, 5vw, 4rem); }
.hero__top { display: grid; grid-template-columns: 1fr; gap: 1.4rem; margin-bottom: 2rem; }
.hero__head {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  line-height: 0.92; letter-spacing: -0.01em;
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  max-width: 16ch; color: var(--ink);
}
.hero__head .hot { color: var(--sky-deep); }
.hero__sub {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.5;
  color: var(--ink-2); max-width: 46ch;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.hero__note { font-size: 0.92rem; color: var(--ink-3); line-height: 1.45; max-width: 30ch; }
.hero__note b { color: var(--ink); font-weight: 600; }
.hero__alt { margin-top: 1.1rem; font-size: 0.95rem; color: var(--ink-3); }
.hero__alt a { color: var(--sky-deep); font-weight: 600; display: inline-flex; align-items: center; gap: 0.4em; }
.hero__alt a .arr { transition: transform .22s cubic-bezier(.2,.8,.2,1); }
.hero__alt a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero__alt a:hover .arr { transform: translateX(4px); }
@media (min-width: 760px){ .hero__top { grid-template-columns: 1.5fr 1fr; align-items: end; gap: 2.6rem; } }

/* "What I check" — honest, concrete panel (replaces the survey board) */
.checks {
  position: relative;
  border: 1px solid var(--line-2); background: var(--paper);
  border-radius: 14px; box-shadow: var(--shadow-soft); overflow: hidden;
}
.checks__grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 560px){ .checks__grid { grid-template-columns: 1fr 1fr; } }
.checks__grid li {
  list-style: none; display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: center;
  padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); font-size: 0.98rem; color: var(--ink);
}
.checks__ic { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: var(--sky-soft); color: var(--sky-deep); }
.checks__ic svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 560px){
  .checks__grid li:nth-child(odd) { border-right: 1px solid var(--line); }
  .checks__grid li:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 559px){ .checks__grid li:last-child { border-bottom: none; } }

/* ---------- hero diagnostic: a website with three issues marked (illustrative) ---------- */
.scan { position: relative; margin-top: clamp(2rem,4vw,3rem); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-soft); background: var(--paper); }
.scan__bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.scan__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.scan__url { margin-left: 0.7rem; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--ink-3); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 0.18rem 0.7rem; }
.scan__view { position: relative; padding: 1.4rem; display: grid; gap: 0.9rem; min-height: 300px; background: radial-gradient(120% 80% at 80% -10%, var(--sky-soft) 0%, transparent 45%), var(--paper); }
.scan__nav { height: 26px; border-radius: 7px; background: var(--paper-3); }
.scan__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; align-items: center; padding: 0.4rem 0; }
.scan__lines { display: grid; gap: 9px; }
.scan__lines i { height: 12px; border-radius: 4px; background: var(--paper-3); }
.scan__lines i:nth-child(1){ width: 90%; height: 18px; background: color-mix(in oklch, var(--ink) 22%, var(--paper)); }
.scan__lines i:nth-child(2){ width: 75%; }
.scan__lines i:nth-child(3){ width: 40%; background: var(--sky); height: 16px; border-radius: 5px; }
.scan__shot { height: 84px; border-radius: 8px; background: linear-gradient(135deg, var(--paper-3), var(--paper-2)); border: 1px solid var(--line); }
.scan__cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.7rem; }
.scan__cards span { height: 48px; border-radius: 7px; background: var(--paper-2); border: 1px solid var(--line); }
.scan__pin { position: absolute; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 0.82rem; color: var(--paper); background: var(--sky-deep); box-shadow: 0 0 0 5px color-mix(in oklch, var(--sky-deep) 22%, transparent), var(--shadow-soft); transform: translate(-50%,-50%); }
.scan__pin::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px dashed color-mix(in oklch, var(--sky-deep) 50%, transparent); }
@media (max-width: 560px){ .scan__row { grid-template-columns: 1fr; } .scan__shot { display: none; } }

/* arrow motif (from the logo), faint section accent */
.motif { position: absolute; right: clamp(8px, 3vw, 44px); top: clamp(-18px, -1vw, 4px); width: clamp(110px, 16vw, 200px); height: auto; color: var(--sky-soft); pointer-events: none; z-index: 0; }
.motif svg { width: 100%; height: auto; display: block; }

/* ============================================================
   TICKER — quiet tinted strip (real defect types)
   ============================================================ */
.ticker { background: var(--paper-2); color: var(--ink-2); overflow: hidden; padding-block: 0.7rem; border-block: 1px solid var(--line); }
.ticker__track { display: inline-flex; white-space: nowrap; gap: 2.2rem; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; animation: marquee 42s linear infinite; will-change: transform; }
.ticker__track span { display: inline-flex; align-items: center; gap: 2.2rem; }
.ticker b { font-weight: 700; color: var(--ink); }
.ticker .sep { color: var(--sky-deep); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .ticker__track { animation: none; } }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 860px){ .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.step { padding: 0; }
.step__n { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--sky-deep); margin-bottom: 0.7rem; }
.step__h { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.5rem; color: var(--fg); }
.step__p { color: var(--muted); max-width: 46ch; }
@media (min-width: 860px){
  .step { padding-left: 1.6rem; border-left: 1px solid var(--line); }
  .step:first-child { padding-left: 0; border-left: none; }
}

/* ============================================================
   DELIVERABLE
   ============================================================ */
.deliv { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 820px){ .deliv { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.deliv__item { padding-top: 1.2rem; border-top: 2px solid var(--ink); }
.deliv__num { font-family: var(--mono); color: var(--sky-deep); font-size: 0.76rem; letter-spacing: 0.1em; margin-bottom: 0.9rem; }
.deliv__h { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.5rem; line-height: 1.2; color: var(--fg); }
.deliv__p { color: var(--muted); font-size: 0.95rem; }

/* ============================================================
   CREED
   ============================================================ */
.creed { display: grid; gap: 1.5rem; max-width: 64ch; }
.creed__line { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.5; color: var(--fg); font-weight: 450; }
.creed__no { font-family: var(--mono); color: var(--sky-deep); font-size: 0.85rem; padding-top: 0.5em; letter-spacing: 0.06em; }

/* ============================================================
   OPERATOR
   ============================================================ */
.op { display: grid; grid-template-columns: 1fr; gap: 2.4rem; }
@media (min-width: 900px){ .op { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: start; } }
.op__copy { color: var(--ink-2); margin-top: 1.3rem; max-width: 50ch; }
.op__copy + .op__copy { margin-top: 1rem; }
.op__sig { font-family: var(--mono); margin-top: 1.4rem; font-size: 0.8rem; letter-spacing: 0.06em; color: var(--ink); }

.card { border: 1px solid var(--line-2); background: var(--paper); border-radius: 14px; box-shadow: var(--shadow-soft); overflow: hidden; }
.card__top, .card__bot { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding: 0.75rem 1.2rem; }
.card__top { border-bottom: 1px solid var(--line); }
.card__bot { border-top: 1px solid var(--line); display: flex; justify-content: space-between; }
.card__body { padding: 1.5rem 1.2rem; }
.card__h { font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; margin-bottom: 1.1rem; color: var(--ink); }
.card__list { list-style: none; display: grid; gap: 0.85rem; }
.card__list li { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; font-size: 0.96rem; color: var(--ink-2); align-items: start; }
.card__list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; margin-top: 0.5em; background: var(--sky-deep); flex: none; }

/* ============================================================
   NUMBERS — one navy contrast moment, before the CTA
   ============================================================ */
.numbers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: color-mix(in oklch, var(--paper) 14%, transparent); border: 1px solid color-mix(in oklch, var(--paper) 14%, transparent); border-radius: 14px; overflow: hidden; }
@media (min-width: 760px){ .numbers { grid-template-columns: repeat(4, 1fr); } }
.num { background: var(--ink-deep); padding: 1.9rem 1.4rem; }
.num__big { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 5.5vw, 3.6rem); line-height: 0.9; letter-spacing: -0.01em; color: var(--paper); }
.num__big span { font-size: 0.28em; color: var(--sky); margin-left: 0.25em; letter-spacing: 0.02em; vertical-align: super; font-family: var(--mono); text-transform: uppercase; }
.num__lbl { margin-top: 0.85rem; font-size: 0.85rem; color: color-mix(in oklch, var(--paper) 70%, var(--ink-deep)); }

/* ============================================================
   APPLY
   ============================================================ */
.apply__h { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 0.95; letter-spacing: -0.01em; font-size: clamp(2.1rem, 5.4vw, 3.9rem); max-width: 18ch; margin-bottom: 2.2rem; color: var(--fg); }
.apply__h .hot { color: var(--sky-deep); }
.form { display: grid; gap: 1.2rem; max-width: 640px; }
.frow { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 620px){ .frow { grid-template-columns: 1fr 1fr; } }
.field-row { display: grid; gap: 0.45rem; }
.field-row > span { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.field-row input { background: var(--paper); border: 1px solid var(--line-2); border-radius: 9px; color: var(--ink); font-family: var(--sans); font-size: 1.02rem; padding: 0.75rem 0.9rem; transition: border-color .2s ease, box-shadow .2s ease; }
.field-row input::placeholder { color: var(--ink-3); }
.field-row input:focus { outline: none; border-color: var(--sky-deep); box-shadow: 0 0 0 3px oklch(50% 0.16 250 / 0.14); }
.form .btn { justify-self: start; margin-top: 0.4rem; }
.form__fine { font-size: 0.86rem; color: var(--ink-3); max-width: 50ch; }
.form__err { font-size: 0.88rem; max-width: 52ch; padding: 0.7rem 0.9rem; border-radius: 9px;
  color: oklch(48% 0.16 25);
  border: 1px solid color-mix(in oklch, oklch(48% 0.16 25) 38%, transparent);
  background: color-mix(in oklch, oklch(48% 0.16 25) 7%, var(--paper)); }
.form__err a { color: inherit; text-decoration: underline; }
.form.sent .form__live { display: none; }
.form__done { display: none; border: 1px solid var(--sky-deep); background: var(--sky-soft); border-radius: 12px; padding: 1.5rem; }
.form.sent .form__done { display: block; }
.form__done b { color: var(--sky-deep); font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; display: block; margin-bottom: 0.5rem; }
.form__done p { color: var(--ink-2); }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { background: var(--ink-deep); color: var(--paper); padding-block: clamp(2.8rem, 5vw, 4rem); }
.foot__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 760px){ .foot__grid { grid-template-columns: 2fr 1fr 1fr; } }
.foot__brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
.foot__brand img { width: 40px; height: 40px; border-radius: 10px; }
.foot__name { font-family: var(--sans); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; color: var(--paper); line-height: 1; }
.foot__sub { color: color-mix(in oklch, var(--paper) 72%, var(--ink-deep)); max-width: 38ch; }
.foot__col h4 { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in oklch, var(--paper) 62%, var(--ink-deep)); margin-bottom: 0.9rem; }
.foot__col a, .foot__col p { display: block; color: color-mix(in oklch, var(--paper) 84%, var(--ink-deep)); margin-bottom: 0.5rem; font-size: 0.95rem; }
.foot__col a:hover { color: var(--sky); }
.foot__legal { margin-top: 2.6rem; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: color-mix(in oklch, var(--paper) 56%, var(--ink-deep)); display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; justify-content: space-between; border-top: 1px solid color-mix(in oklch, var(--paper) 16%, transparent); padding-top: 1.4rem; }
.foot__legal a:hover { color: var(--sky); }

/* ============================================================
   EXAMPLE AUDIT — a labelled, illustrative sample of the PDF
   ============================================================ */
.audit { max-width: 820px; border: 1px solid var(--line-2); background: var(--paper); border-radius: 14px; box-shadow: var(--shadow-soft); overflow: hidden; }
.audit__bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.4rem; padding: 0.85rem 1.2rem; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.audit__bar b { color: var(--ink); font-weight: 600; }
.audit__list { list-style: none; }
.audit__item { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1.1rem; padding: 1.3rem 1.2rem; border-bottom: 1px solid var(--line); }
.audit__item:last-child { border-bottom: none; }
.audit__n { font-family: var(--mono); font-weight: 700; font-size: 0.85rem; color: var(--sky-deep); padding-top: 0.15rem; }
.audit__h { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 0.4rem; }
.audit__what { color: var(--ink-2); font-size: 0.96rem; margin-bottom: 0.7rem; max-width: 56ch; }
.audit__impact { font-size: 0.95rem; color: var(--ink); display: grid; grid-template-columns: auto 1fr; gap: 0.65rem; align-items: baseline; max-width: 60ch; }
.audit__impact span { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky-deep); border: 1px solid var(--line-2); border-radius: 5px; padding: 0.2em 0.5em; }
.audit__foot { padding: 0.9rem 1.2rem; border-top: 1px solid var(--line); background: var(--paper-2); font-size: 0.88rem; color: var(--ink-3); }

/* ============================================================
   HERO ENTRANCE — non-blocking; H1 is never hidden (LCP/SEO safe)
   Secondary hero elements settle in after first paint. Enhancement
   only: no .js or reduced-motion => everything is visible at once.
   ============================================================ */
@media (prefers-reduced-motion: no-preference){
  .js .hero .hero__sub, .js .hero .hero__actions, .js .hero .hero__alt, .js .hero .scan {
    opacity: 0; transform: translateY(14px);
    transition: opacity .5s ease, transform .55s cubic-bezier(.2,.8,.2,1);
  }
  .js .hero.in .hero__sub, .js .hero.in .hero__actions, .js .hero.in .hero__alt, .js .hero.in .scan {
    opacity: 1; transform: none;
  }
  .js .hero.in .hero__sub    { transition-delay: .04s; }
  .js .hero.in .hero__actions { transition-delay: .10s; }
  .js .hero.in .hero__alt     { transition-delay: .13s; }
  .js .hero.in .scan          { transition-delay: .16s; }
  .js .hero.gridwash::before    { opacity: 0; transition: opacity .7s ease .12s; }
  .js .hero.in.gridwash::before { opacity: .45; }
}

/* ============================================================
   BOOK — dedicated 15-minute call page (book/index.html)
   Cal.com inline embed of conversiongrid/15min. Same register.
   ============================================================ */
.book-hero { padding-top: clamp(2.4rem, 5vw, 4rem); padding-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.book-hero__head {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  line-height: 0.92; letter-spacing: -0.01em;
  font-size: clamp(2.4rem, 6.4vw, 4.6rem); max-width: 13ch;
  color: var(--ink); margin-top: 1.1rem;
}
.book-hero__head .hot { color: var(--sky-deep); }
.book-hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.24rem); line-height: 1.55; color: var(--ink-2); max-width: 56ch; margin-top: 1.4rem; }

.book-embed-section { padding-top: clamp(0.5rem, 1.5vw, 1.5rem); }
.book-embed {
  position: relative; min-height: 660px;
  border: 1px solid var(--line-2); background: var(--paper);
  border-radius: 14px; box-shadow: var(--shadow-soft); overflow: hidden;
}
.book-embed__loading {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3);
}
.book-alt { margin-top: 1.6rem; font-size: 0.95rem; color: var(--ink-3); max-width: 56ch; }
.book-alt a { color: var(--sky-deep); font-weight: 600; }
.book-alt a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   COOKIE CONSENT — analytics gated behind consent (UK GDPR/PECR)
   ============================================================ */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; padding: clamp(0.8rem, 2vw, 1.2rem); transition: opacity .34s cubic-bezier(.16,1,.3,1), transform .46s cubic-bezier(.16,1,.3,1); }
.cookie[hidden] { display: none; }
.cookie.is-out { opacity: 0; transform: translateY(18px); pointer-events: none; }
.cookie__in { width: min(100% - 2rem, var(--maxw)); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; background: var(--paper); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-soft); padding: 1rem 1.25rem; }
.cookie__text { font-size: 0.92rem; color: var(--ink-2); max-width: 64ch; line-height: 1.5; }
.cookie__text b { color: var(--ink); font-weight: 600; }
.cookie__text a { color: var(--sky-deep); font-weight: 600; }
.cookie__btns { display: flex; gap: 0.7rem; flex: none; }
.cookie__btns .btn { padding: 0.7em 1.3em; font-size: 0.92rem; }
.cookie-fab { position: fixed; left: 16px; bottom: 16px; z-index: 110; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink-2); border: 1px solid var(--line-2); box-shadow: var(--shadow-soft); cursor: pointer; transform-origin: bottom left; transition: transform .26s cubic-bezier(.16,1,.3,1), opacity .26s ease, color .18s ease, border-color .18s ease; }
.cookie-fab[hidden] { display: none; }
.cookie-fab.is-out { opacity: 0; transform: scale(.6); pointer-events: none; }
.cookie-fab:hover { transform: translateY(-2px); color: var(--sky-deep); border-color: var(--sky-deep); }
.cookie-fab svg { width: 22px; height: 22px; }
@media (max-width: 560px){ .cookie__in { flex-direction: column; align-items: stretch; } .cookie__btns { width: 100%; } .cookie__btns .btn { flex: 1; justify-content: center; } }

/* cookie confirmation state — functional success green (parallel to the form-error red) */
.cookie__live { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; width: 100%; }
.cookie__live[hidden] { display: none; }
.cookie__done { display: flex; align-items: center; gap: 0.7rem; width: 100%; color: var(--ink); font-size: 0.95rem; font-weight: 500; }
.cookie__done[hidden] { display: none; }
.cookie__tick { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; background: oklch(93% 0.04 150); color: oklch(50% 0.13 150); }
.cookie__tick svg { width: 15px; height: 15px; }
.cookie__tick svg path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; }
.cookie__done:not([hidden]) .cookie__tick { animation: tickpop .3s cubic-bezier(.2,.8,.2,1); }
.cookie__done:not([hidden]) .cookie__tick svg path { animation: tickdraw .42s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes tickpop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes tickdraw { to { stroke-dashoffset: 0; } }
@media (max-width: 560px){ .cookie__live { flex-direction: column; align-items: stretch; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
  .cookie, .cookie-fab { transition: color .18s ease, border-color .18s ease; }
  .cookie.is-out, .cookie-fab.is-out { transform: none; }
  .cookie-fab:hover { transform: none; }
  .cookie__tick svg path { stroke-dashoffset: 0; }
  .cookie__done:not([hidden]) .cookie__tick, .cookie__done:not([hidden]) .cookie__tick svg path { animation: none; }
}

/* ---------- legal / long-form (privacy page) ---------- */
.legal-hero { padding-top: clamp(2.4rem, 5vw, 4rem); padding-bottom: clamp(1rem, 2.5vw, 1.8rem); }
.legal-hero__head { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 0.92; letter-spacing: -0.01em; font-size: clamp(2.2rem, 6vw, 4.2rem); max-width: 16ch; color: var(--ink); margin-top: 1.1rem; }
.legal-hero__head .hot { color: var(--sky-deep); }
.legal-hero__sub { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.55; color: var(--ink-2); max-width: 60ch; margin-top: 1.3rem; }
.legal-hero__updated { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-top: 1.5rem; }
.legal { padding-top: clamp(0.5rem, 1.5vw, 1.5rem); }
.legal__doc { max-width: 72ch; display: grid; gap: clamp(2rem, 4vw, 3rem); }
.legal__block h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 0.9rem; line-height: 1.15; }
.legal__block h3 { font-size: 1.02rem; font-weight: 600; color: var(--ink); margin: 1.3rem 0 0.4rem; }
.legal__block p { color: var(--ink-2); margin-bottom: 0.9rem; }
.legal__block p:last-child { margin-bottom: 0; }
.legal__block a { color: var(--sky-deep); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.legal__block ul { list-style: none; display: grid; gap: 0.55rem; margin: 0.5rem 0 0.9rem; }
.legal__block li { position: relative; padding-left: 1.4em; color: var(--ink-2); }
.legal__block li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--sky-deep); }
.legal__table { width: 100%; border-collapse: collapse; margin-top: 0.7rem; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; font-size: 0.9rem; }
.legal__table th, .legal__table td { text-align: left; padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal__table thead th { background: var(--paper-2); font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.legal__table tbody tr:last-child td { border-bottom: none; }
.legal__table td:first-child { font-family: var(--mono); font-size: 0.82rem; color: var(--ink); white-space: nowrap; }
.legal__table td { color: var(--ink-2); }
@media (max-width: 640px){
  .legal__table, .legal__table tbody, .legal__table tr, .legal__table td { display: block; width: 100%; }
  .legal__table thead { display: none; }
  .legal__table tr { border-bottom: 1px solid var(--line); padding: 0.5rem 0; }
  .legal__table tr:last-child { border-bottom: none; }
  .legal__table td { border: none; padding: 0.2rem 0.85rem; }
  .legal__table td:first-child { padding-top: 0.6rem; white-space: normal; }
}
.legal__contact { border: 1px solid var(--line-2); background: var(--paper); border-radius: 14px; box-shadow: var(--shadow-soft); padding: clamp(1.3rem, 3vw, 1.8rem); }
.legal__contact a { color: var(--sky-deep); font-weight: 600; }
.legal__note { font-size: 0.86rem; color: var(--ink-3); max-width: 64ch; }
