/* ==========================================================================
   Tick'eat — design tokens (Tickeat Design System)
   ========================================================================== */
:root {
  /* Ink — dark navy surfaces */
  --tk-ink-950: #000D17;
  --tk-ink-900: #011627;
  --tk-ink-800: #051E33;
  --tk-ink-700: #0D2236;
  --tk-ink-600: #1E3347;
  /* Paper */
  --tk-paper-50: #F4FAFC;
  --tk-paper-100: #EAF4F8;
  --tk-paper-200: #D3E3EB;
  --tk-paper-selected: #9DB8CE;
  /* Capri blue */
  --tk-blue-100: #9AD3EE;
  --tk-blue-300: #00AEDF;
  --tk-blue-500: #0088BB;
  --tk-blue-600: #0076A3;
  --tk-blue-800: #08467A;
  --tk-blue-900: #023A58;
  /* Marigold */
  --tk-yellow-100: #F5DE8A;
  --tk-yellow-500: #EDBC16;
  --tk-yellow-600: #D49F0E;
  /* Neutrals */
  --tk-gray-500: #8C8C8C;
  --tk-gray-700: #4D4D4D;
  /* Semantic */
  --tk-danger: #D7263D;
  /* Foreground */
  --tk-fg-1: #FFFFFF;
  --tk-fg-2: #C3D1DC;
  --tk-fg-3: #6E8294;
  --tk-fg-paper-1: #011627;
  --tk-fg-paper-2: #33475A;
  --tk-fg-paper-3: #7B8FA0;

  --tk-font-display: "Work Sans", "Helvetica Neue", system-ui, sans-serif;
  --tk-font-mono: "Fira Code", ui-monospace, "SF Mono", Menlo, monospace;

  --tk-radius-xs: 2px;
  --tk-radius-sm: 4px;
  --tk-radius-pill: 999px;
  --tk-shadow-float: 0 8px 24px rgba(0, 0, 0, 0.35);
  --tk-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --tk-dur-fast: 120ms;
  --tk-key-height: 80px;

  /* Layout */
  --gutter: clamp(20px, 5vw, 64px);
  --section-pad: clamp(64px, 8vw, 120px);
  --col-gap: clamp(40px, 6vw, 96px);
  --zigzag: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 22px 100%;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-bottom: 140px;
  background: var(--tk-ink-900);
  color: var(--tk-fg-1);
  font-family: var(--tk-font-display);
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: var(--tk-blue-300); text-decoration: none; }
a:hover { color: var(--tk-blue-100); }
img { max-width: 100%; }
h1, h2, p { margin: 0; }
b, strong { color: inherit; }

.mono { font-family: var(--tk-font-mono); }
.hl { color: var(--tk-yellow-500); }
.strong { color: var(--tk-fg-1); }

.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.pad { padding-block: var(--section-pad); }
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: var(--col-gap);
}
.stack { display: flex; flex-direction: column; }

.eyebrow {
  font-family: var(--tk-font-mono);
  font-size: 15px;
  color: var(--tk-yellow-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lede {
  max-width: 560px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--tk-fg-2);
  text-wrap: pretty;
}
.title { display: flex; flex-direction: column; gap: 10px; }
.title__pre { font-size: clamp(20px, 2vw, 26px); font-weight: 400; color: var(--tk-fg-2); }
.title__main { font-weight: 900; line-height: 1; text-wrap: balance; }

/* ==========================================================================
   Buttons (DS Button)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--tk-radius-pill);
  font-family: var(--tk-font-display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--tk-dur-fast) var(--tk-ease-out), transform var(--tk-dur-fast) var(--tk-ease-out);
}
.btn:active { transform: scale(0.98); }
.btn--accent { background: var(--tk-yellow-500); color: var(--tk-fg-paper-1); }
.btn--accent:hover { background: var(--tk-yellow-100); color: var(--tk-fg-paper-1); }
.btn--tab { background: var(--tk-blue-800); color: var(--tk-fg-1); }
.btn--tab:hover { background: var(--tk-blue-600); color: var(--tk-fg-1); }
.btn--sm { padding: 10px 20px; font-size: 16px; }
.btn--md { padding: 14px 28px; font-size: 18px; }
.btn--lg { padding: 18px 40px; font-size: 24px; }
.btn--full { width: 100%; }
.btn:focus-visible, button:focus-visible, input:focus-visible + .slider__thumb {
  outline: 3px solid var(--tk-blue-300);
  outline-offset: 3px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
}
.header__logo { height: 34px; display: block; }
.header__nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; flex-wrap: wrap; }
.header__nav a { color: var(--tk-fg-2); }
.header__nav a:hover { color: var(--tk-blue-100); }
.header__nav { margin-left: auto; }

/* Sélecteur de langue */
.lang {
  display: flex; flex: none; gap: 2px; padding: 3px;
  border-radius: var(--tk-radius-pill); background: var(--tk-ink-700);
}
.lang button {
  min-width: 40px; height: 30px; padding: 0 10px; border: 0; border-radius: var(--tk-radius-pill);
  background: transparent; color: var(--tk-fg-2);
  font-family: var(--tk-font-mono); font-weight: 700; font-size: 12px; letter-spacing: 0.06em;
  cursor: pointer;
  transition: background var(--tk-dur-fast) var(--tk-ease-out), color var(--tk-dur-fast) var(--tk-ease-out);
}
.lang button:hover { color: var(--tk-fg-1); }
.lang button[aria-pressed="true"] { background: var(--tk-yellow-500); color: var(--tk-fg-paper-1); }

/* ==========================================================================
   01 Hero
   ========================================================================== */
.hero {
  padding-top: clamp(32px, 6vw, 80px);
  padding-bottom: clamp(64px, 8vw, 120px);
  align-items: center;
}
.hero__text { gap: 32px; }
.hero h1 { display: flex; flex-direction: column; gap: 12px; }
.hero__pre { font-size: clamp(22px, 2.4vw, 32px); font-weight: 400; color: var(--tk-fg-2); }
.hero__main { font-size: clamp(36px, 4.4vw, 64px); font-weight: 900; line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; }
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__side { gap: 20px; max-width: 440px; width: 100%; justify-self: center; }

.progress { display: flex; flex-direction: column; gap: 10px; }
.progress__head { display: flex; justify-content: space-between; font-family: var(--tk-font-mono); font-size: 14px; color: var(--tk-fg-2); }
.progress__track { height: 14px; border-radius: 999px; background: var(--tk-gray-700); overflow: hidden; }
.progress__fill { height: 100%; width: 0; background: var(--tk-yellow-500); border-radius: 999px; transition: width 1.2s var(--tk-ease-out); }

/* Receipt (DS Receipt) */
.receipt {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px 28px 44px;
  background: var(--tk-paper-100);
  color: var(--tk-fg-paper-1);
  -webkit-mask: var(--zigzag);
  mask: var(--zigzag);
}
.receipt__head { display: flex; align-items: center; gap: 28px; }
.receipt__ref { font-family: var(--tk-font-mono); font-weight: 700; font-size: 40px; line-height: 1; }
.receipt__customer { font-weight: 700; font-size: 22px; }
.receipt__mode { font-family: var(--tk-font-mono); font-size: 16px; }
.receipt__items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.receipt__items li { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.receipt__name { font-weight: 700; font-size: 20px; }
.receipt__detail { font-size: 15px; }
.receipt__price { font-family: var(--tk-font-mono); font-weight: 700; font-size: 20px; white-space: nowrap; }
.receipt__rule { border-top: 3px dotted var(--tk-fg-paper-1); margin-inline: -28px; }
.receipt__totals { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.receipt__totals div { display: flex; justify-content: space-between; gap: 12px; }
.receipt__totals dt { font-size: 21px; letter-spacing: 0.03em; }
.receipt__totals dd { margin: 0; font-family: var(--tk-font-mono); font-weight: 700; font-size: 21px; white-space: nowrap; }

/* ==========================================================================
   02 Problème (scrollytelling)
   ========================================================================== */
.problem { position: relative; height: 340vh; background: var(--tk-ink-950); }
.problem__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.problem__grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.problem__text { gap: 22px; }
.problem__label { transition: color 300ms; color: var(--tk-danger); }
.problem h2 { font-size: clamp(34px, 4vw, 60px); font-weight: 900; line-height: 1.02; text-wrap: balance; }
.problem__p {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--tk-fg-2);
  text-wrap: pretty;
  transition: opacity 400ms, transform 400ms var(--tk-ease-out);
}
.problem__p--strong { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; font-weight: 700; color: var(--tk-fg-1); }
.problem__p.is-pending { opacity: 0.15; transform: translateY(12px); }

.stage { position: relative; height: min(64vh, 580px); }
.stage__count { position: absolute; left: 0; top: 0; display: flex; align-items: baseline; gap: 14px; z-index: 3; }
.stage__num { font-family: var(--tk-font-mono); font-weight: 700; font-size: clamp(56px, 7vw, 96px); line-height: 1; color: var(--tk-danger); transition: color 300ms; }
.stage__lbl { font-family: var(--tk-font-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--tk-fg-2); max-width: 140px; line-height: 1.4; }
.chaos {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  white-space: nowrap;
  padding: 6px 14px;
  border: 2px solid var(--tk-danger);
  border-radius: 999px;
  background: var(--tk-ink-950);
  font-family: var(--tk-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tk-fg-1);
  opacity: 0;
}
.stage__card { position: absolute; left: 50%; top: 50%; width: 230px; margin: -38px 0 0 -115px; z-index: 1; opacity: 0; will-change: transform; }
.stage__final {
  position: absolute; left: 50%; top: 50%; z-index: 4;
  width: min(100%, 340px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  background: var(--tk-yellow-500);
  color: var(--tk-fg-paper-1);
  border-radius: var(--tk-radius-xs);
  padding: 28px 26px;
  display: flex; flex-direction: column; gap: 14px;
}
.stage__final-k { font-family: var(--tk-font-mono); font-size: 13px; letter-spacing: 0.06em; }
.stage__final-name { font-weight: 900; font-size: clamp(36px, 4vw, 52px); line-height: 1; }
.stage__final-rule { border-top: 3px dotted var(--tk-fg-paper-1); }
.stage__final-list { font-family: var(--tk-font-mono); font-size: 14px; line-height: 1.6; }
.stage__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 999px; background: var(--tk-ink-700); overflow: hidden; }
.stage__bar-fill { height: 100%; width: 0; background: var(--tk-danger); }

.problem.is-solved .problem__label,
.problem.is-solved .stage__num { color: var(--tk-yellow-500); }
.problem.is-solved .stage__bar-fill { background: var(--tk-yellow-500); }

/* Order ticket (DS OrderTicket) */
.ticket {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 30px 20px 20px;
  background: var(--tk-paper-100);
  color: var(--tk-fg-paper-1);
  font-family: var(--tk-font-mono);
  -webkit-mask: conic-gradient(from 45deg at calc(100% - 7px) 50%, #0000 0 90deg, #000 0) 0 0 / 100% 14px;
  mask: conic-gradient(from 45deg at calc(100% - 7px) 50%, #0000 0 90deg, #000 0) 0 0 / 100% 14px;
}
.ticket__ref { font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: 0.01em; }
.ticket__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ticket__name { font-size: 18px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket__detail { font-size: 16px; font-weight: 700; }
.ticket::after, .perf::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 8px;
  background: linear-gradient(120deg, var(--tk-danger) 0 82%, #C4CDD3 82%);
}

@media (max-width: 899px) {
  .problem__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 20px; }
  .problem__text { gap: 10px; }
  .problem h2 { font-size: clamp(26px, 6vw, 40px); }
  .problem__p.is-hidden { display: none; }
  .problem__p.is-pending { opacity: 1; transform: none; }
  .stage { height: max(260px, calc(100vh - 300px)); height: max(260px, calc(100svh - 300px)); }
}

/* ==========================================================================
   03 Offre
   ========================================================================== */
.offer { background: var(--tk-blue-900); }
.offer__grid { align-items: start; }
.offer__text { gap: 24px; }
.offer__eyebrow { font-family: var(--tk-font-mono); font-size: 14px; letter-spacing: 0.08em; color: var(--tk-blue-300); }
.offer h2 { display: flex; flex-direction: column; gap: 12px; }
.offer__pre { font-size: clamp(20px, 2vw, 26px); font-weight: 400; color: var(--tk-fg-2); }
.offer__main { font-size: clamp(44px, 5.6vw, 80px); font-weight: 900; line-height: 1; }
.offer__count { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.offer__count-n { font-family: var(--tk-font-mono); font-weight: 700; font-size: clamp(48px, 5vw, 72px); line-height: 1; }
.offer__count-l { font-weight: 700; font-size: 16px; color: var(--tk-fg-2); }
.offer__receipt-wrap { max-width: 480px; width: 100%; justify-self: center; }
.menu {
  --menu-pad: clamp(18px, 5vw, 32px);
  background: var(--tk-paper-100);
  color: var(--tk-fg-paper-1);
  padding: 32px var(--menu-pad) 56px;
  display: flex; flex-direction: column; gap: 28px;
  -webkit-mask: var(--zigzag);
  mask: var(--zigzag);
}
.menu__group { display: flex; flex-direction: column; gap: 12px; }
.menu__cat {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--tk-font-mono); font-weight: 700; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.menu__cat span:last-child { font-weight: 400; color: var(--tk-fg-paper-3); }
.menu__line { display: flex; align-items: baseline; gap: 10px; font-size: 17px; }
.menu__name { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; min-width: 0; }
.menu__dots { flex: 1; min-width: 16px; border-bottom: 2px dotted var(--tk-fg-paper-3); transform: translateY(-4px); }
.menu__val { font-family: var(--tk-font-mono); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; }
.menu__line .menu__val::before { content: "INCLUS"; }
html[lang="en"] .menu__line .menu__val::before { content: "INCLUDED"; }
.badge {
  font-family: var(--tk-font-mono); font-weight: 700; font-size: 10px; letter-spacing: 0.06em;
  padding: 2px 8px; border-radius: 999px;
  background: var(--tk-yellow-500); color: var(--tk-fg-paper-1);
}
.menu__rule { border-top: 3px dotted var(--tk-fg-paper-1); margin: 0 calc(-1 * var(--menu-pad)); }
.menu__total { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.menu__total-k { display: flex; flex-direction: column; gap: 4px; }
.menu__total-k b { font-family: var(--tk-font-mono); font-size: 14px; letter-spacing: 0.08em; }
.menu__total-k span { font-size: 13px; color: var(--tk-fg-paper-2); }
.menu__price { font-family: var(--tk-font-mono); font-weight: 700; font-size: 52px; line-height: 1; }

@media (min-width: 1024px) {
  .offer__text { position: sticky; top: clamp(24px, 8vh, 80px); }
}

/* ==========================================================================
   04 Histoire
   ========================================================================== */
.story { background: var(--tk-paper-100); color: var(--tk-fg-paper-1); }
.story__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.story__intro { gap: 28px; }
.story__pre { font-size: 18px; font-weight: 400; color: var(--tk-fg-paper-2); }
.story__main { font-size: clamp(36px, 4.4vw, 60px); font-weight: 900; line-height: 1.02; }
.story__photo { width: 100%; height: auto; display: block; border-radius: var(--tk-radius-xs); background: var(--tk-ink-900); }
.story__names { font-family: var(--tk-font-mono); font-size: 14px; color: var(--tk-fg-paper-2); }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 24px;
}
.timeline--paper li { padding: 24px 0; border-bottom: 3px dotted var(--tk-fg-paper-1); }
.timeline--paper .timeline__when { font-family: var(--tk-font-mono); font-weight: 700; font-size: 20px; line-height: 1.3; }
.timeline--paper p { font-size: 17px; line-height: 1.6; color: var(--tk-fg-paper-2); text-wrap: pretty; }

/* ==========================================================================
   05 Marché
   ========================================================================== */
.market { gap: 48px; }
.market__main { font-size: clamp(40px, 5.6vw, 80px); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.stat { border-radius: var(--tk-radius-sm); padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.stat--dark { background: var(--tk-blue-900); }
.stat--blue { background: var(--tk-blue-500); }
.stat__n { font-family: var(--tk-font-mono); font-weight: 700; font-size: clamp(48px, 5vw, 72px); line-height: 1; }
.stat__l { font-family: var(--tk-font-mono); font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; }
.stat--dark .stat__l { color: var(--tk-fg-2); }
.timeline--dark li { align-items: baseline; padding: 22px 0; border-bottom: 2px solid var(--tk-ink-700); }
.timeline--dark .timeline__when { font-family: var(--tk-font-mono); font-weight: 700; font-size: 22px; }
.timeline--dark p { max-width: 820px; font-size: 18px; line-height: 1.6; color: var(--tk-fg-2); text-wrap: pretty; }

@media (max-width: 599px) {
  .header__nav { display: none; }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

/* ==========================================================================
   05b International
   ========================================================================== */
.intl { align-items: center; }
.intl__text { gap: 24px; }
.intl__main { font-size: clamp(40px, 5.6vw, 80px); }
.intl__map-col { gap: 16px; min-width: 0; }
.map { position: relative; width: 100%; aspect-ratio: 800 / 720; container-type: inline-size; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map path.c { stroke: var(--tk-ink-900); stroke-width: 0.8; transition: fill 600ms var(--tk-ease-out); }
.map__hud { position: absolute; left: 4%; top: 4%; display: flex; flex-direction: column; gap: 4px; pointer-events: none; font-family: var(--tk-font-mono); }
.map__n { font-weight: 700; font-size: clamp(32px, 9cqw, 56px); line-height: 1; color: var(--tk-yellow-500); }
.map__lbl { font-size: 12px; letter-spacing: 0.06em; color: var(--tk-fg-2); }
.map__cur { font-size: 13px; letter-spacing: 0.06em; color: var(--tk-fg-1); margin-top: 6px; min-height: 1.2em; }
.legend { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.legend span { display: flex; align-items: center; gap: 8px; font-family: var(--tk-font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--tk-fg-2); }
.legend i { width: 12px; height: 12px; border-radius: 2px; }

/* ==========================================================================
   06 Traction
   ========================================================================== */
.traction { background: var(--tk-ink-950); }
.traction__grid { align-items: start; }
.traction__text { gap: 24px; }
.traction h2 { display: flex; flex-direction: column; gap: 8px; }
.traction__big { font-size: clamp(40px, 5vw, 72px); font-weight: 900; line-height: 1; color: var(--tk-yellow-500); }
.traction__sub { font-size: clamp(28px, 3vw, 40px); font-weight: 900; line-height: 1; }
.traction__text p { font-size: 18px; line-height: 1.6; color: var(--tk-fg-2); text-wrap: pretty; }
.curve { min-width: 0; width: 100%; }
.curve svg { width: 100%; height: auto; display: block; overflow: visible; }
.curve .c-area { opacity: 0; transition: opacity 900ms var(--tk-ease-out) 700ms; }
.curve .c-solid { stroke-dashoffset: 1; transition: stroke-dashoffset 1500ms var(--tk-ease-out) 150ms; }
.curve .c-dash { opacity: 0; transition: opacity 600ms var(--tk-ease-out) 1600ms; }
.curve .c-pt { opacity: 0; transform: translateY(12px); transition: opacity 500ms var(--tk-ease-out), transform 600ms var(--tk-ease-out); }
.curve.is-on .c-area, .curve.is-on .c-dash, .curve.is-on .c-pt { opacity: 1; }
.curve.is-on .c-solid { stroke-dashoffset: 0; }
.curve.is-on .c-pt { transform: none; }

/* ==========================================================================
   07 Simulateur
   ========================================================================== */
.sim { align-items: start; }
.sim__text { gap: 20px; }
.sim h2 { font-size: clamp(36px, 4.4vw, 60px); font-weight: 900; line-height: 1.02; text-wrap: balance; }
.reasons { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.reasons li {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: center;
  background: var(--tk-ink-700); border-radius: var(--tk-radius-sm);
  padding: 16px 20px 16px 16px;
}
.reasons__n {
  width: 56px; height: 56px; border-radius: var(--tk-radius-sm);
  background: var(--tk-blue-800);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--tk-font-mono); font-weight: 700; font-size: 24px;
}
.reasons__body { display: flex; flex-direction: column; gap: 4px; }
.reasons__body strong { font-size: 18px; }
.reasons__body span { font-size: 15px; color: var(--tk-fg-2); line-height: 1.4; }

.calc { background: var(--tk-ink-800); border-radius: var(--tk-radius-sm); padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; }
.calc__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.calc__head b { font-size: 22px; }
.calc__head span { font-family: var(--tk-font-mono); font-size: 14px; color: var(--tk-fg-2); }
.calc__readout {
  height: var(--tk-key-height); border-radius: var(--tk-radius-sm);
  background: var(--tk-blue-900);
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 24px;
  font-family: var(--tk-font-mono); font-weight: 700; font-size: clamp(28px, 3vw, 40px);
}
.presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.presets button {
  height: 64px; border: 0; border-radius: var(--tk-radius-sm);
  background: var(--tk-paper-100); color: var(--tk-fg-paper-1);
  font-family: var(--tk-font-display); font-weight: 700; font-size: 20px;
  cursor: pointer;
  transition: background var(--tk-dur-fast) var(--tk-ease-out), transform var(--tk-dur-fast) var(--tk-ease-out);
}
.presets button:active { transform: scale(0.96); }
.presets button[aria-pressed="true"] { background: var(--tk-yellow-500); }
@media (max-width: 399px) { .presets button { font-size: 16px; } }

/* Slider (DS Slider) */
.slider { --pct: 0%; position: relative; height: 32px; display: flex; align-items: center; }
.slider__track {
  position: absolute; left: 0; right: 0; height: 14px; border-radius: 999px;
  background: linear-gradient(to right, var(--tk-yellow-500) var(--pct), var(--tk-gray-700) var(--pct));
}
.slider__thumb {
  position: absolute; left: calc(var(--pct) - 16px);
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--tk-yellow-500);
  pointer-events: none;
}
.slider input { position: relative; z-index: 1; width: 100%; height: 32px; margin: 0; opacity: 0; cursor: pointer; }

.calc__rule { border-top: 3px dotted var(--tk-fg-3); margin: 4px 0; }
.outcomes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.outcome { color: var(--tk-fg-paper-1); border-radius: var(--tk-radius-sm); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.outcome--low { background: var(--tk-paper-100); }
.outcome--high { background: var(--tk-yellow-500); }
.outcome__k { font-family: var(--tk-font-mono); font-size: 13px; letter-spacing: 0.06em; }
.outcome__v { font-family: var(--tk-font-mono); font-weight: 700; font-size: clamp(20px, 2vw, 28px); white-space: nowrap; }
.calc__note { font-size: 15px; line-height: 1.5; color: var(--tk-fg-2); }
.calc__risk { font-size: 13px; color: var(--tk-fg-3); }

/* ==========================================================================
   08 BSA Air
   ========================================================================== */
.bsa { background: var(--tk-paper-100); color: var(--tk-fg-paper-1); }
.bsa__inner { display: flex; flex-direction: column; gap: 40px; }
.bsa h2 { display: flex; flex-direction: column; gap: 8px; }
.bsa__pre { font-size: clamp(20px, 2vw, 26px); font-weight: 400; color: var(--tk-fg-paper-2); }
.bsa__main { font-size: clamp(36px, 4.6vw, 64px); font-weight: 900; line-height: 1; }
.bsa__aside { font-family: var(--tk-font-mono); font-size: 15px; font-weight: 400; color: var(--tk-fg-paper-2); }
.bsa__intro { font-weight: 700; font-size: 18px; }
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px; }
.event {
  position: relative; overflow: hidden;
  background: var(--tk-ink-900); color: var(--tk-fg-1);
  border-radius: var(--tk-radius-xs);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.event__k { font-family: var(--tk-font-mono); font-weight: 700; font-size: 44px; line-height: 1; }
.event strong { font-size: 22px; }
.event p { font-size: 17px; line-height: 1.6; color: var(--tk-fg-2); }

/* ==========================================================================
   09 Contact
   ========================================================================== */
.contact {
  padding-block: clamp(80px, 10vw, 160px);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px;
}
.contact h2 { font-size: clamp(44px, 6.4vw, 92px); font-weight: 900; line-height: 1; text-wrap: balance; }
.contact p { max-width: 640px; font-size: 20px; line-height: 1.6; color: var(--tk-fg-2); text-wrap: pretty; }

/* ==========================================================================
   Sticky raise bar
   ========================================================================== */
.raisebar {
  position: fixed; left: 50%; bottom: 20px; z-index: 10;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 760px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  background: var(--tk-blue-800);
  box-shadow: var(--tk-shadow-float);
}
.raisebar__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.raisebar__amount { font-family: var(--tk-font-mono); font-weight: 700; font-size: 17px; white-space: nowrap; }
.raisebar__amount span { font-weight: 400; color: var(--tk-fg-2); }
.raisebar__track { height: 6px; border-radius: 999px; background: var(--tk-blue-900); overflow: hidden; max-width: 260px; }
.raisebar__track .progress__fill { border-radius: 0; }
@media (max-width: 599px) {
  .raisebar__amount { font-size: 13px; }
  .raisebar .btn { padding: 10px 20px; font-size: 16px; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .presets button, .progress__fill, .problem__p, .map path.c { transition: none; }
}
