/* TurboDeck site styles
   VOICE    Confident, plain, engineer-to-engineer. Short sentences, real numbers.
   IDEA     A deck of cards: each card is a piece of evidence (a report, a review, a bug caught).
   PICTURE  Hero deck of product cards with hard offset shadows; mock CI, code and journey maps.
   COLOUR   Turbo yellow field, ink type and cards, white and mist sections, green only for "passed".
   TYPE     Archivo variable, self-hosted: slightly wide and heavy for headlines, normal width for text. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-ext.woff2) format("woff2-variations"), url(../fonts/archivo-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin.woff2) format("woff2-variations"), url(../fonts/archivo-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --yellow: #ffc531;
  --yellow-soft: #fff1c7;
  --ink: #101820;
  --ink-2: #4a5564;
  --ink-3: #c5ccd6;
  --mist: #f2f3ee;
  --line: #d8dbd2;
  --white: #ffffff;
  --green: #12805c;
  --green-soft: #ddf3e8;
  --code: #0b1118;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --band: clamp(4rem, 8vw, 6.5rem);
  --r: 12px;
  --hard: 6px 6px 0 var(--ink);

  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-8' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: var(--white); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 3px; }
.band--ink :focus-visible, .footer :focus-visible { outline-color: var(--yellow); }
h1, h2, h3 { margin: 0; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2.4rem, 1.5rem + 3vw, 4rem); font-weight: 820; font-stretch: 100%; line-height: 1.03; letter-spacing: -0.022em; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); font-weight: 780; font-stretch: 106%; line-height: 1.08; letter-spacing: -0.016em; }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.nowrap { white-space: nowrap; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--white); padding: 0.6rem 1rem; z-index: 100; border-radius: 8px; }
.skip:focus { top: 1rem; }
.lede { font-size: 1.2rem; line-height: 1.5; color: var(--ink-2); max-width: 40em; margin-top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 0.7rem 1.2rem;
  font: inherit; font-size: 1rem; font-weight: 680; line-height: 1.2;
  color: var(--white); background: var(--ink); border: 2px solid var(--ink); border-radius: 10px;
  text-decoration: none; cursor: pointer; transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); background: #1d2a36; }
.btn:active { transform: none; box-shadow: none; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--white); }
.btn--big { min-height: 56px; padding: 0.9rem 1.5rem; font-size: 1.06rem; }
.btn--small { min-height: 42px; padding: 0.5rem 0.95rem; font-size: 0.95rem; }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; box-shadow: none; }

/* Masthead */
.masthead { position: sticky; top: 0; z-index: 30; background: var(--yellow); border-bottom: 1px solid rgba(16, 24, 32, 0.14); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 820; font-stretch: 116%; font-size: 1.25rem; letter-spacing: -0.01em; }
.sitenav { display: flex; align-items: center; gap: 1.5rem; }
.sitenav a:not(.btn) { text-decoration: none; font-size: 0.97rem; font-weight: 600; }
.sitenav a:not(.btn):hover { text-decoration: underline; }
.sitenav .lang { padding: 0.25rem 0.6rem; border: 1.5px solid var(--ink); border-radius: 999px; font-size: 0.85rem; }
.navtoggle { display: none; }

/* Hero */
.hero { background: var(--yellow); padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__sub { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); line-height: 1.5; margin-top: 1.5rem; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin-top: 1.6rem; font-size: 0.97rem; font-weight: 600; }
.hero__facts li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__facts li::before { content: ""; width: 15px; height: 15px; background: var(--ink); -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat; }

/* The deck: three cards in normal flow, overlapping only at their edges */
.deck { position: relative; display: flex; flex-direction: column; }
.deck__card { position: relative; background: var(--white); border: 2px solid var(--ink); border-radius: 14px; box-shadow: var(--hard); }
.deck__chat { z-index: 1; margin-right: 22%; padding: 0.9rem; display: grid; gap: 0.5rem; transform: rotate(-2deg); }
.msg { font-size: 0.88rem; line-height: 1.35; padding: 0.55rem 0.75rem; border-radius: 10px; background: var(--mist); }
.msg--human { background: var(--yellow-soft); margin-left: 1.5rem; }
.who { display: block; font-weight: 760; font-size: 0.78rem; margin-bottom: 0.1rem; }
.deck__report { z-index: 2; margin: -1.25rem 0 0 10%; overflow: hidden; }
.report__bar { display: flex; align-items: center; gap: 0.35rem; padding: 0.6rem 0.9rem; border-bottom: 2px solid var(--ink); background: var(--mist); font-size: 0.8rem; font-weight: 600; }
.report__bar i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); }
.report__bar span { margin-left: 0.5rem; }
.report__sum { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.9rem 0.9rem 0.4rem; }
.pill { margin: 0; font-size: 0.82rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 999px; border: 1.5px solid var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pill--pass { background: var(--green-soft); color: #0b5c41; border-color: #0b5c41; }
.pill--bug { background: var(--yellow); }
.report__rows { list-style: none; padding: 0.3rem 0.9rem 2.6rem; }
.report__rows li { display: flex; align-items: center; gap: 0.6rem; padding: 0.48rem 0; border-top: 1px solid var(--line); font-size: 0.9rem; }
.report__rows li:first-child { border-top: 0; }
.report__rows li::before { content: ""; flex: none; width: 16px; height: 16px; background: var(--green); -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat; }
.deck__bug { z-index: 3; margin: -2rem 30% 0 2%; background: var(--ink); color: var(--white); padding: 1rem 1.1rem; transform: rotate(1.5deg); box-shadow: 6px 6px 0 rgba(16, 24, 32, 0.35); }
.bug__tag { display: inline-block; margin: 0 0 0.5rem; background: var(--yellow); color: var(--ink); font-weight: 760; font-size: 0.82rem; padding: 0.2rem 0.55rem; border-radius: 6px; }
.bug__what { margin: 0 0 0.4rem; font-weight: 650; line-height: 1.35; }
.bug__next { margin: 0; font-size: 0.85rem; color: var(--ink-3); }
.deck__note { align-self: flex-end; margin: 0.9rem 0 0; font-size: 0.8rem; color: rgba(16, 24, 32, 0.7); }

/* Deck intro (JS adds .is-playing; reduced motion skips it) */
.deck.is-playing .report__rows li { opacity: 0; transform: translateY(4px); }
.deck.is-playing .report__rows li.on { opacity: 1; transform: none; transition: opacity 0.25s ease, transform 0.25s ease; }
.deck.is-playing .deck__bug { opacity: 0; transform: rotate(1.5deg) translateY(16px); }
.deck.is-playing .deck__bug.on { opacity: 1; transform: rotate(1.5deg); transition: opacity 0.35s ease, transform 0.35s ease; }

/* Strip */
.strip { border-bottom: 1px solid var(--line); padding-block: 1.4rem; }
.strip__inner { display: flex; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; }
.strip__label { margin: 0; font-size: 0.92rem; color: var(--ink-2); font-weight: 600; }
.strip__list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; }
.strip__list li { font-weight: 720; font-stretch: 96%; font-size: 1rem; color: #2a3542; }

/* Bands */
.band { padding-block: var(--band); }
.band--mist { background: var(--mist); }
.band--ink { background: var(--ink); color: var(--white); }
.band--ink .lede { color: var(--ink-3); }
.band--yellow { background: var(--yellow); }
.band--yellow .lede { color: var(--ink); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin: 2.75rem 0 0; }
.stat { margin: 0; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); padding: 1.6rem 1.5rem; }
.stat__num { margin: 0 0 0.5rem; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 820; font-stretch: 110%; letter-spacing: -0.02em; line-height: 1; }
.stat figcaption { color: var(--ink-2); font-size: 1rem; }
.stat figcaption a { display: block; margin-top: 0.6rem; font-size: 0.88rem; color: var(--ink); }

/* Pricing */
.proof { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: center; margin-top: 2.5rem; padding: clamp(1.4rem, 3vw, 2rem); background: var(--yellow-soft); border: 2px solid var(--ink); border-radius: 14px; box-shadow: var(--hard); }
.proof h3 { font-size: 1.45rem; margin-bottom: 0.6rem; }
.proof p { margin: 0; max-width: 58ch; }
.proof__cta { text-align: left; }
.proof__price { font-size: 2.2rem; font-weight: 820; font-stretch: 110%; line-height: 1; margin: 0 0 0.25rem !important; }
.proof__small { font-size: 0.9rem; color: var(--ink-2); margin: 0 0 1rem !important; }
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.75rem; align-items: stretch; }
.offer { display: flex; flex-direction: column; padding: clamp(1.4rem, 2.5vw, 1.9rem); border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); }
.offer h3 { font-size: 1.35rem; }
.offer__price { font-size: 1.7rem; font-weight: 800; font-stretch: 108%; margin: 0.6rem 0 0.8rem; line-height: 1.15; }
.offer__price span { display: block; font-size: 0.92rem; font-weight: 500; font-stretch: 100%; color: var(--ink-2); margin-top: 0.2rem; }
.offer > p:not(.offer__price):not(.offer__flag) { color: var(--ink-2); }
.offer .ticks { margin: 0.4rem 0 1.6rem; }
.offer .btn { margin-top: auto; align-self: flex-start; }
.offer--lead { border: 2px solid var(--ink); box-shadow: var(--hard); }
.offer__flag { align-self: flex-start; margin: 0 0 0.8rem; font-size: 0.82rem; font-weight: 720; background: var(--yellow); padding: 0.2rem 0.6rem; border-radius: 6px; }
.offers__more { margin-top: 1.75rem; color: var(--ink-2); max-width: 75ch; }
.offers__more strong { color: var(--ink); }

/* Ticks */
.ticks { list-style: none; display: grid; gap: 0.55rem; }
.ticks li { position: relative; padding-left: 1.7rem; font-size: 0.98rem; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 16px; height: 16px; background: var(--green); -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat; }

/* How it works */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; margin-top: 2.75rem; counter-reset: s; }
.step { counter-increment: s; min-width: 0; }
.step h3 { margin: 1.25rem 0 0.5rem; font-size: 1.25rem; display: flex; gap: 0.6rem; align-items: baseline; }
.step h3::before { content: counter(s); flex: none; display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 0.9rem; font-weight: 800; }
.step p { color: var(--ink-3); margin: 0; }
.step__shot { position: relative; min-width: 0; overflow: hidden; height: 218px; background: var(--white); color: var(--ink); border-radius: var(--r); padding: 1rem; border: 2px solid #2b3846; }
.mini { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.mini th { text-align: left; font-weight: 600; color: var(--ink-2); font-size: 0.78rem; padding-bottom: 0.35rem; }
.mini td { padding: 0.45rem 0; border-top: 1px solid var(--line); }
.mini td:last-child, .mini th:last-child { text-align: right; }
.risk { font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); }
.risk--hi { background: var(--yellow); border-color: var(--ink); }
.step__shot--code { background: var(--code); color: #e6edf3; border-color: #2b3846; padding-bottom: 2.6rem; }
.step__shot pre { margin: 0; font-family: var(--mono); font-size: 0.76rem; line-height: 1.55; white-space: pre; overflow-x: auto; }
.step__shot .k { color: #ffc531; }
.step__shot .s { color: #8fe0b5; }
.badge { position: absolute; left: 1rem; bottom: 0.8rem; font-size: 0.78rem; font-weight: 700; color: var(--ink); background: var(--green-soft); border: 1.5px solid #0b5c41; padding: 0.15rem 0.55rem; border-radius: 999px; }
.ci { list-style: none; display: grid; gap: 0.5rem; }
.ci li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; padding: 0.45rem 0.6rem; border: 1px solid var(--line); border-radius: 8px; }
.ci--ok::before { content: ""; width: 16px; height: 16px; background: var(--green); -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat; }
.ci--go { background: var(--yellow); border-color: var(--ink) !important; font-weight: 700; }
.ci--go::before { content: ""; width: 0; height: 0; border-left: 8px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin: 0 4px 0 4px; }

/* Capabilities */
.caps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.caps li { border: 1.5px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.2rem 1.1rem; }
.caps svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 0.8rem; }
.caps h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.caps p { margin: 0; font-size: 0.95rem; color: var(--ink-2); line-height: 1.45; }
.release { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.25rem 2.5rem; align-items: center; margin-top: 2rem; padding: clamp(1.4rem, 3vw, 2rem); background: var(--yellow); border: 2px solid var(--ink); border-radius: 14px; box-shadow: var(--hard); }
.release h3 { font-size: 1.35rem; margin-bottom: 0.5rem; max-width: 46ch; }
.release p { margin: 0; max-width: 62ch; }

/* Why not just an agent */
.agent { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.agent__own { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1.5px solid var(--line); max-width: 40em; }
.owns { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.owns li { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); padding: 1.3rem; }
.owns h3 { margin-bottom: 0.4rem; }
.owns p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }

/* About + procurement */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.duo h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); margin-bottom: 1.1rem; }
.about__portrait { width: 120px; height: 120px; border-radius: 50%; border: 2px solid var(--ink); margin-bottom: 1.25rem; }
.about p { color: var(--ink-2); max-width: 58ch; }
.about__certs { font-size: 0.95rem; color: var(--ink) !important; font-weight: 600; }
.procure { background: var(--mist); border-radius: 14px; padding: clamp(1.4rem, 3vw, 2rem); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 4rem); }
.faq__list details { border-top: 1.5px solid var(--line); }
.faq__list details:last-child { border-bottom: 1.5px solid var(--line); }
.faq__list summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 680; font-size: 1.08rem; position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; line-height: 1; }
.faq__list details[open] summary::after { content: "–"; }
.faq__list details p { color: var(--ink-2); padding-bottom: 1.2rem; margin: 0; max-width: 64ch; }

/* Start + form */
.start { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.next { list-style: none; counter-reset: n; display: grid; gap: 0.75rem; margin-top: 2rem; }
.next li { counter-increment: n; display: grid; grid-template-columns: 2rem 1fr; gap: 0.5rem; align-items: baseline; font-weight: 560; }
.next li::before { content: counter(n); display: grid; place-items: center; width: 1.65rem; height: 1.65rem; border-radius: 50%; background: var(--ink); color: var(--yellow); font-size: 0.85rem; font-weight: 800; }
.start__alt { margin-top: 1.75rem; }
.enquiry { background: var(--white); border: 2px solid var(--ink); border-radius: 16px; box-shadow: var(--hard); padding: clamp(1.4rem, 3.5vw, 2.25rem); }
.progress__text { font-size: 0.9rem; color: var(--ink-2); margin: 0 0 0.5rem; font-weight: 600; }
.progress { height: 6px; background: var(--mist); border-radius: 3px; overflow: hidden; margin-bottom: 1.4rem; }
.progress__bar { display: block; height: 100%; width: 50%; background: var(--ink); transition: width 0.3s ease; }
.fstep { border: 0; padding: 0; margin: 0; min-width: 0; }
.fstep legend { font-size: 1.5rem; font-weight: 780; font-stretch: 104%; margin-bottom: 0.25rem; padding: 0; }
.fstep legend:focus { outline: none; }
.field { display: grid; gap: 0.4rem; margin-top: 1.15rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.field label, .field__label { font-weight: 650; font-size: 0.98rem; }
.opt { font-weight: 400; color: var(--ink-2); font-size: 0.88rem; margin-left: 0.3rem; }
.hint { margin: 0; font-size: 0.9rem; color: var(--ink-2); }
input[type="text"], input[type="email"], select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  min-height: 48px; padding: 0.65rem 0.8rem;
  background: var(--white); border: 1.5px solid #9aa3ad; border-radius: 10px;
}
textarea { min-height: 6rem; resize: vertical; line-height: 1.45; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--yellow); outline-offset: 1px; border-color: var(--ink); }
[aria-invalid="true"] { border-color: #b42318 !important; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips label { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0.45rem 0.85rem; background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; font-weight: 550; font-size: 0.95rem; cursor: pointer; }
.chips label:has(input:checked) { border-color: var(--ink); background: var(--yellow-soft); box-shadow: inset 0 0 0 1px var(--ink); }
.chips input { accent-color: var(--ink); margin: 0; }
.privacy-note { margin: 1.25rem 0 0; font-size: 0.92rem; color: var(--ink-2); }
.consent label { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; font-weight: 400; font-size: 0.95rem; color: var(--ink-2); align-items: start; }
.consent input { margin-top: 0.25rem; accent-color: var(--ink); width: 1.1rem; height: 1.1rem; }
.err { color: #b42318; font-size: 0.92rem; font-weight: 600; margin: 0.2rem 0 0; }
.err:empty { display: none; }
.form-actions { display: flex; gap: 0.75rem; margin-top: 1.75rem; flex-wrap: wrap; }
.form-actions [data-action="next"], .form-actions [data-action="send"] { margin-left: auto; }
.form-status { margin: 0.75rem 0 0; font-size: 0.95rem; color: var(--ink-2); min-height: 1.2em; }
.done h3, .failed h3 { font-size: 1.5rem; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.6rem; }
.done h3::before { content: ""; width: 28px; height: 28px; background: var(--green); -webkit-mask: var(--tick) center / contain no-repeat; mask: var(--tick) center / contain no-repeat; }
.done:focus, .failed:focus { outline: none; }
.failed__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--ink); color: var(--ink-3); padding-block: 3.5rem 2rem; }
.footer__grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer__brand p { font-size: 0.95rem; max-width: 36ch; margin-top: 0.9rem; }
.brand--footer { color: var(--white); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; align-content: flex-start; max-width: 560px; }
.footer__nav a { color: #e7edea; font-size: 0.95rem; text-decoration: none; }
.footer__nav a:hover { text-decoration: underline; }
.footer__legal { margin-top: 2.5rem; }
.footer__legal p { font-size: 0.85rem; margin: 0; padding-top: 1.25rem; border-top: 1px solid #2b3846; color: #94a1ae; }

/* Content pages */
.page { padding-block: clamp(3rem, 7vw, 5rem) var(--band); max-width: 820px; }
.page h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); margin-bottom: 1rem; }
.page h2 { font-size: 1.45rem; margin: 2.5rem 0 0.75rem; }
.page p, .page li { max-width: 68ch; }
.page ul { padding-left: 1.2rem; margin-bottom: 1em; }
.page li { margin-bottom: 0.4rem; }
.page .meta { color: var(--ink-2); }
.legal-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 0.7rem 0; border-top: 1px solid var(--line); }
.legal-table th { width: 34%; font-weight: 650; padding-right: 1rem; }
.notice { background: var(--yellow-soft); border: 1.5px solid var(--ink); border-radius: 10px; padding: 1rem 1.2rem; }

/* Responsive */
@media (max-width: 1080px) {
  .caps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .deck { max-width: 580px; }
  .offers, .steps { grid-template-columns: minmax(0, 1fr); }
  .offers { max-width: 640px; }
  .agent, .duo, .faq, .start { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .steps { max-width: 560px; }
}
@media (max-width: 860px) {
  .navtoggle { display: inline-flex; min-height: 44px; align-items: center; padding: 0.4rem 0.95rem; font: inherit; font-weight: 650; font-size: 0.95rem; background: transparent; color: var(--ink); border: 2px solid var(--ink); border-radius: 10px; cursor: pointer; }
  .masthead__inner { position: relative; }
  .sitenav { display: none; position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--yellow); border-bottom: 2px solid var(--ink); padding: 0.25rem var(--gutter) 1.25rem; }
  .sitenav.is-open { display: flex; }
  .sitenav a:not(.btn) { padding: 0.85rem 0; font-size: 1.05rem; border-bottom: 1px solid rgba(16, 24, 32, 0.18); }
  .sitenav .lang { border: 0; border-bottom: 1px solid rgba(16, 24, 32, 0.18); border-radius: 0; padding: 0.85rem 0; font-size: 1.05rem; }
  .sitenav .btn { margin-top: 1rem; min-height: 48px; font-size: 1rem; }
  .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof, .release { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  h1 .nowrap { white-space: normal; }
  .deck__chat { margin-right: 8%; transform: rotate(-1deg); }
  .deck__report { margin-left: 4%; }
  .deck__bug { margin: -2rem 6% 0 2%; transform: rotate(1deg); }
  .deck.is-playing .deck__bug { transform: translateY(16px); }
  .deck.is-playing .deck__bug.on { transform: rotate(1deg); }
  .hero__actions .btn { width: 100%; }
  .caps, .owns, .field-row { grid-template-columns: minmax(0, 1fr); }
  .legal-table th { width: 42%; }
}

@media (max-width: 400px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.7rem; }
}

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

@media print {
  .masthead, .enquiry, .hero__actions, .footer__nav { display: none; }
}
