/* ════════════════════════════════════════════════════════════
   THE PASS × TIJARO — the Pass concept wearing the main-site theme
   Tokens → base → header → hero → signature ticket animation
   Section styles live in pass-tijaro-sections.css
   ════════════════════════════════════════════════════════════ */

:root {
  /* Tijaro brand (accent cascades from --em via color-mix) */
  --em: #0E7C5A;
  --em-deep: color-mix(in oklab, var(--em), black 48%);
  --em-bright: color-mix(in oklab, var(--em), white 18%);
  --em-tint: color-mix(in srgb, var(--em), white 88%);
  --em-hover: color-mix(in oklab, var(--em), black 22%);

  /* Text */
  --ink: #0A0E17;
  --text-2: #1F2937;
  --muted: #6B7280;

  /* Surfaces */
  --paper: #F7F6F1;
  --panel: #EFEDE5;
  --card: #FFFFFF;
  --border: #DDD7C5;

  /* Receipt paper */
  --ticket: #FFFFFF;
  --ticket-ink: #1B2026;
  --ticket-mut: #6B7280;
  --ticket-line: #DDD7C5;
  --deduct: #B3361B;

  /* Radii */
  --r-1: 6px;
  --r-2: 10px;
  --r-3: 14px;
  --r-4: 20px;

  --shadow-sm: 0 1px 2px rgba(10, 14, 23, 0.05);
  --shadow-md: 0 4px 16px rgba(10, 14, 23, 0.07);
  --shadow-lg: 0 12px 40px rgba(10, 14, 23, 0.10);

  --font-body: 'Manrope', system-ui, sans-serif;
  --font-disp: 'Bricolage Grotesque', var(--font-body);
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --header-h: 64px;
  --ease-out: cubic-bezier(0.16, 0.84, 0.3, 1);

  /* Page width modes (driven by the "Page width" tweak) */
  --page-max: 1180px;
  --page-pad: 24px;
}

html[data-width="wide"] { --page-max: 1480px; --page-pad: clamp(24px, 3vw, 48px); }
html[data-width="full"] { --page-max: 100vw; --page-pad: clamp(24px, 4vw, 72px); }

/* ── Base ───────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 0.4em; line-height: 1.1; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--em); text-decoration: none; }
a:hover { color: var(--em-hover); }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--em); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--em-tint); color: var(--em-deep); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ── Type ───────────────────────────────────────────────── */

.display {
  font-family: var(--font-disp);
  font-weight: 700;
  letter-spacing: -0.028em;
  font-size: clamp(2.5rem, 5.2vw + 1rem, 4.4rem);
  line-height: 1.02;
}

.h2 {
  font-family: var(--font-disp);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(1.75rem, 2.6vw + 0.9rem, 2.8rem);
  line-height: 1.06;
}

.h3 {
  font-family: var(--font-disp);
  font-weight: 600;
  letter-spacing: -0.015em;
  font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem);
}

.lead {
  font-size: clamp(1.05rem, 0.45vw + 0.95rem, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 56ch;
}

.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }

/* Numbered kicker: [01] The maths */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--em);
  margin: 0 0 16px;
  white-space: nowrap;
}
.kicker > b {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--em-deep);
  background: var(--em-tint);
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

/* ── Layout ─────────────────────────────────────────────── */

.container { width: 100%; max-width: var(--page-max); margin-inline: auto; padding-inline: var(--page-pad); }
.section { padding-block: clamp(72px, 10vw, 120px); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .lead { margin-top: 14px; }

/* Ticket-tear rule between sections */
.tear-rule {
  position: relative;
  border: 0;
  margin: 0 auto;
  max-width: var(--page-max);
  padding-inline: var(--page-pad);
  height: 0;
  border-top: 2px dashed var(--border);
}
.tear-rule::before, .tear-rule::after {
  content: "";
  position: absolute;
  top: -9px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px dashed var(--border);
}
.tear-rule::before { left: -8px; }
.tear-rule::after { right: -8px; }

/* ── Buttons ────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: var(--r-2);
  white-space: nowrap;
  transition: background-color 0.18s ease-out, color 0.18s ease-out, border-color 0.18s ease-out, transform 0.18s ease-out;
}
.btn:active { transform: translateY(1px); }

.btn-flame { background: var(--em); color: #fff; }
.btn-flame:hover { background: var(--em-hover); color: #fff; }

.btn-ghost { background: var(--card); border-color: var(--border); color: var(--ink); }
.btn-ghost:hover { border-color: var(--em); color: var(--em-hover); }

.btn-coal { background: #fff; color: var(--em-deep); }
.btn-coal:hover { background: var(--em-tint); color: var(--em-deep); }

.btn-lg { font-size: 1.0625rem; padding: 16px 30px; }
.btn-sm { font-size: 0.9375rem; padding: 10px 18px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── Header ─────────────────────────────────────────────── */

.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 241, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.hdr-in {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-tile { width: 34px; height: 34px; flex: none; display: block; }
.brand-word {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.045em;
  color: var(--ink);
  text-transform: lowercase;
}

.hdr-nav { display: flex; align-items: center; gap: 26px; }
.hdr-nav > a:not(.btn) {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-2);
  white-space: nowrap;
  transition: color 0.15s ease-out;
}
.hdr-nav > a:not(.btn):hover { color: var(--em-hover); }

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--r-2);
  background: var(--card);
  color: var(--ink);
}

@media (max-width: 820px) {
  .hdr-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 8px 24px 20px;
  }
  .hdr-nav.open { display: flex; }
  .hdr-nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px dashed var(--border); }
  .hdr-nav > .btn { margin-top: 16px; }
  .nav-burger { display: inline-flex; }
}

/* ── Reveal-on-scroll (armed by JS only when motion is OK) ── */

html.fx [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
html.fx [data-reveal].is-in { opacity: 1; transform: none; }
html.fx [data-reveal-d="1"] { transition-delay: 0.08s; }
html.fx [data-reveal-d="2"] { transition-delay: 0.16s; }
html.fx [data-reveal-d="3"] { transition-delay: 0.24s; }

/* ── Hero ───────────────────────────────────────────────── */

.hero { position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -30%; right: -12%;
  width: 60%; height: 90%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--em-bright), transparent 82%), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 110px);
}

.hero-copy .lead { margin-top: 22px; }
.hero-copy .btn-row { margin-top: 34px; }

.hero-fine {
  margin-top: 26px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}
.hero-fine b { color: var(--em); font-weight: 800; }

/* Masked line reveal */
.lm { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lm .li { display: inline-block; will-change: transform; }
html.fx .lm .li { transform: translateY(115%); transition: transform 0.62s var(--ease-out); }
html.fx .lm:nth-child(2) .li { transition-delay: 0.09s; }
html.fx .lm:nth-child(3) .li { transition-delay: 0.18s; }
html.fx.hero-in .lm .li { transform: none; }

.display .accent-line { color: var(--em); }

/* ── Signature: the pass board ──────────────────────────── */

.pass-board {
  position: relative;
  background: var(--em-deep);
  border-radius: var(--r-4);
  padding: 26px 26px 32px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
/* bright rail along the top */
.pass-board::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--em-bright), transparent);
}

.stages { display: flex; gap: 8px; margin-bottom: 20px; }
.stage {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  border-top: 2px solid rgba(255, 255, 255, 0.14);
  padding-top: 8px;
  transition: color 0.3s ease-out, border-color 0.3s ease-out;
}
.stage-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex: none;
  transition: background-color 0.3s ease-out, box-shadow 0.3s ease-out;
}
.stage.on { color: #fff; border-top-color: var(--em-bright); }
.stage.on .stage-dot { background: var(--em-bright); box-shadow: 0 0 10px color-mix(in srgb, var(--em-bright), transparent 50%); }

/* incoming-order chip */
.order-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 8px 14px;
  margin-bottom: 14px;
  opacity: 0.55;
  transition: opacity 0.3s ease-out, border-color 0.3s ease-out;
}
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); flex: none; }
.pass-board[data-phase="0"] .order-chip { opacity: 1; border-color: color-mix(in srgb, var(--em-bright), transparent 35%); }
.pass-board[data-phase="0"] .chip-dot { background: var(--em-bright); }
@media (prefers-reduced-motion: no-preference) {
  .pass-board[data-phase="0"] .chip-dot { animation: chip-pulse 1.1s ease-in-out infinite; }
}
@keyframes chip-pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--em-bright), transparent 55%); }
  50% { box-shadow: 0 0 0 6px transparent; }
}

/* printer bar */
.printer {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-2);
  height: 34px;
  display: flex;
  align-items: center;
  padding-inline: 12px;
  justify-content: space-between;
}
.printer-slot {
  position: absolute;
  left: 18px; right: 18px; bottom: -2px;
  height: 4px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 2px;
}
.printer-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.printer-led { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); }
@media (prefers-reduced-motion: no-preference) {
  .pass-board[data-phase="1"] .printer-led { animation: led 0.25s steps(2, end) infinite; }
}
@keyframes led { 50% { background: var(--em-bright); } }

/* ticket feed */
.ticket-well {
  position: relative;
  overflow: hidden;
  margin-inline: 14px;
  min-height: 332px;
}

.ticket {
  position: relative;
  width: min(310px, 100%);
  margin-inline: auto;
  background: var(--ticket);
  color: var(--ticket-ink);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  padding: 16px 18px 22px;
  transform: translateY(-104%);
  box-shadow: 0 14px 34px rgba(4, 30, 22, 0.35);
}
/* torn bottom edge */
.ticket::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 7px;
  background-image: radial-gradient(circle at 7px -1px, transparent 0 5px, var(--ticket) 5.5px);
  background-size: 14px 8px;
  background-repeat: repeat-x;
}

.pass-board[data-phase="1"] .ticket,
.pass-board[data-phase="2"] .ticket {
  transform: translateY(0);
  transition: transform 1.05s steps(14, end);
}
.pass-board[data-phase="3"] .ticket {
  transform: translateY(0) translateX(130%) rotate(3deg);
  transition: transform 0.6s cubic-bezier(0.5, 0, 0.8, 0.4);
}
.pass-board[data-phase="static"] .ticket { transform: translateY(0); }

.t-head {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.t-meta {
  color: var(--ticket-mut);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  border-bottom: 1px dashed var(--ticket-line);
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.t-row { display: flex; justify-content: space-between; gap: 12px; padding-block: 3px; }
.t-row small { display: block; color: var(--ticket-mut); font-size: 0.6875rem; }
.t-qty { color: var(--em); font-weight: 600; }
.t-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.9375rem;
  border-top: 1px dashed var(--ticket-line);
  margin-top: 10px;
  padding-top: 10px;
}

/* the stamp */
.stamp {
  position: absolute;
  right: 10px; bottom: 34px;
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--em);
  border: 3px solid var(--em);
  border-radius: 4px;
  padding: 6px 10px 5px;
  transform: rotate(-7deg) scale(1.5);
  opacity: 0;
  mix-blend-mode: multiply;
}
.pass-board[data-phase="2"] .stamp,
.pass-board[data-phase="3"] .stamp,
.pass-board[data-phase="static"] .stamp {
  opacity: 0.92;
  transform: rotate(-7deg) scale(1);
  transition: opacity 0.16s ease-out, transform 0.22s cubic-bezier(0.2, 1.6, 0.4, 1);
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .pass-board { max-width: 460px; }
  .ticket-well { min-height: 318px; }
}

/* In wide/full modes, stop the ticket board ballooning on big monitors */
html[data-width="wide"] .pass-board,
html[data-width="full"] .pass-board {
  width: 100%;
  max-width: 560px;
  justify-self: end;
}
html[data-width="wide"] .hero-grid,
html[data-width="full"] .hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}
@media (max-width: 980px) {
  html[data-width="wide"] .hero-grid,
  html[data-width="full"] .hero-grid { grid-template-columns: 1fr; }
  html[data-width="wide"] .pass-board,
  html[data-width="full"] .pass-board { max-width: 460px; justify-self: start; }
}

/* ════════════════════════════════════════════════════════════
   THE PASS × TIJARO — section styles
   Maths strip → tour → skins → pricing → story → FAQ → CTA
   ════════════════════════════════════════════════════════════ */

/* ── 01 · The maths (problem strip) ─────────────────────── */

.math-panels {
  display: grid;
  gap: 22px;
  max-width: 760px;
}

html.hstrip .math { height: 330vh; }
html.hstrip .math-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
html.hstrip .math-panels {
  display: flex;
  max-width: none;
  gap: 36px;
  padding-inline: max(var(--page-pad), (100vw - var(--page-max)) / 2);
  will-change: transform;
}
html.hstrip .math-panel { flex: none; width: min(480px, 78vw); }

.math-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.math-panel.intro {
  background: none;
  border: 0;
  padding: 0;
  box-shadow: none;
  align-self: center;
}
html.hstrip .math-panel.intro { width: min(420px, 70vw); }

.math-panel .who {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.math-panel.bad .who b { color: var(--text-2); font-weight: 800; }
.math-panel.good .who b { color: var(--em); font-weight: 800; }

/* receipt inside panel */
.mini-receipt {
  background: var(--paper);
  border: 1px solid var(--border);
  color: var(--ticket-ink);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  padding: 18px 20px 22px;
  position: relative;
}
.mini-receipt::after {
  content: "";
  position: absolute;
  left: -1px; right: -1px; bottom: -7px;
  height: 7px;
  background-image: radial-gradient(circle at 7px -1px, transparent 0 5px, var(--paper) 5.5px);
  background-size: 14px 8px;
  background-repeat: repeat-x;
}
.mr-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-block: 5px;
}
.mr-row span:first-child { color: var(--ticket-mut); }
.mr-row.minus span:last-child { color: var(--deduct); }
.mr-row.note span { color: var(--deduct); font-size: 0.75rem; }
.mr-row.keep {
  border-top: 1px dashed var(--ticket-line);
  margin-top: 8px;
  padding-top: 12px;
  font-weight: 600;
  font-size: 1.05rem;
}
.mr-row.keep span:first-child { color: var(--ticket-ink); }
.math-panel.good .mr-row.keep span:last-child { color: var(--em); }

.math-panel .aside {
  margin-top: 16px;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* the gap panel */
.gap-panel {
  background: var(--em-deep);
  border-color: var(--em-deep);
  color: rgba(255, 255, 255, 0.78);
}
.gap-big {
  font-family: var(--font-disp);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(2.7rem, 4.4vw, 4rem);
  line-height: 1;
  color: var(--em-bright);
  margin: 6px 0 14px;
}
.gap-big small {
  display: block;
  font-size: 0.34em;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0;
  color: #fff;
  margin-top: 6px;
}
.gap-panel .who { color: rgba(255, 255, 255, 0.6); }
.gap-panel .who b { color: #fff; font-weight: 800; }
.gap-panel p { color: rgba(255, 255, 255, 0.78); }
.gap-panel .mono-note {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.scroll-hint {
  margin-top: 26px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: none;
}
html.hstrip .scroll-hint { display: block; }

/* ── 02 · Product tour ──────────────────────────────────── */

.tour-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.tour-stick { position: sticky; top: calc(var(--header-h) + 40px); }

.device {
  position: relative;
  background: var(--ink);
  border-radius: var(--r-3);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.1;
}
.device::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--r-3) var(--r-3) 0 0;
  background: linear-gradient(90deg, transparent, var(--em-bright), transparent);
}

.scr {
  position: absolute;
  inset: 12px;
  background: var(--paper);
  border-radius: var(--r-1);
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  font-size: 0.71rem;
}
html.fx .scr { transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out); }
.scr.active { opacity: 1; transform: none; pointer-events: auto; }

.scr-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  letter-spacing: 0.04em;
  flex: none;
}
.scr-badge {
  background: var(--em-tint);
  color: var(--em-deep);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}
.scr-badge.live { background: var(--em); color: #fff; }
.scr-body { flex: 1; display: flex; min-height: 0; }

/* POS screen */
.pos-grid {
  flex: 1.4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 6px;
  padding: 10px;
  min-width: 0;
}
.pos-tile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-1);
  padding: 7px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  min-width: 0;
}
.pos-tile i { font-style: normal; color: var(--em); }
.pos-side {
  flex: 1;
  border-left: 1px solid var(--border);
  background: var(--card);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--muted);
}
.pos-side .sum {
  margin-top: auto;
  border-top: 1px dashed var(--border);
  padding-top: 8px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
}
.pos-send {
  margin-top: 8px;
  background: var(--em);
  color: #fff;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 4px;
  border-radius: var(--r-1);
}

/* storefront screen */
.sfm { flex: 1; display: flex; flex-direction: column; background: #F6EBDA; color: #271812; }
.sfm-hero { padding: 14px 14px 12px; background: #221310; color: #F6EBDA; }
.sfm-hero b { font-family: var(--font-disp); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; display: block; }
.sfm-hero span { color: #C9B49E; font-size: 0.66rem; }
.sfm-rows { padding: 10px 14px; display: flex; flex-direction: column; gap: 7px; }
.sfm-row { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed #D8CFB8; padding-bottom: 6px; }
.sfm-basket { margin-top: auto; background: #221310; color: #F6EBDA; display: flex; justify-content: space-between; padding: 9px 14px; }

/* bookings screen */
.bk-rows { flex: 1; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.bk-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-1);
  padding: 7px 10px;
  color: var(--ink);
}
.bk-row time { color: var(--em); font-weight: 500; flex: none; }
.bk-dep {
  margin-left: auto;
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  color: var(--em-deep);
  background: var(--em-tint);
  border-radius: 999px;
  padding: 2px 7px;
  white-space: nowrap;
}

/* payments screen */
.pay-hero { padding: 14px 12px 10px; color: var(--ink); }
.pay-hero b { font-size: 1.5rem; font-weight: 600; display: block; }
.pay-hero span { color: var(--muted); }
.pay-rows { padding: 0 12px 10px; display: flex; flex-direction: column; gap: 5px; color: var(--muted); }
.pay-row { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--border); padding-block: 4px; }
.pay-row b { color: var(--ink); font-weight: 500; }

/* reports screen */
.rep-wrap { flex: 1; padding: 12px; display: flex; gap: 12px; min-height: 0; }
.rep-chart { flex: 1.2; display: flex; align-items: flex-end; gap: 6px; border-bottom: 1px solid var(--border); padding-bottom: 0; }
.rep-bar { flex: 1; background: var(--em-tint); border-radius: 3px 3px 0 0; min-height: 4px; }
.rep-bar.hot { background: var(--em); }
.rep-side { flex: 1; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.rep-side b { color: var(--ink); font-weight: 500; }

/* tour steps */
.tour-steps { display: flex; flex-direction: column; }
.tour-step {
  padding-block: clamp(40px, 7vh, 84px);
  border-top: 2px dashed var(--border);
  opacity: 0.38;
  transition: opacity 0.35s ease-out;
}
.tour-step:first-child { border-top: 0; }
.tour-step.active { opacity: 1; }
.tour-step .kicker { margin-bottom: 10px; }
.tour-step h3 { margin-bottom: 10px; }
.tour-step p { color: var(--muted); max-width: 46ch; }

@media (max-width: 920px) {
  .tour-grid { grid-template-columns: 1fr; }
  .tour-stick { position: static; }
  .tour-step { padding-block: 28px; opacity: 1; }
  .device { margin-bottom: 10px; }
}

/* ── 03 · Two real clients, two bespoke builds ──────────── */

.sites-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
}

.site {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.site-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  flex: none;
}
.site-dots { display: flex; gap: 5px; }
.site-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.site-url {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  background: var(--panel);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 99px;
}
.site-view { flex: 1; display: flex; flex-direction: column; }

.sites-note {
  margin-top: 22px;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--muted);
}
.sites-note b { color: var(--em); font-weight: 800; }

.site-visit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: none;
  padding: 13px 16px;
  border-top: 1px solid var(--border);
  background: var(--card);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--em-deep);
  transition: background-color 0.15s ease-out, color 0.15s ease-out;
}
.site-visit span { transition: transform 0.15s ease-out; }
.site-visit:hover { background: var(--em-tint); color: var(--em-deep); }
.site-visit:hover span { transform: translate(2px, -2px); }

/* ·· Asharaf's — warm Indo-Scottish editorial ·· */
.ash-hero {
  background: #1F2937;
  color: #F3E7D2;
  padding: 26px 26px 24px;
}
.ash-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #E0A43B;
  margin: 0 0 12px;
}
.ash-title {
  font-family: 'Spectral', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.12;
  letter-spacing: -0.005em;
  color: #F7EEDD;
  margin: 0;
}
.ash-sub {
  font-size: 0.84rem;
  line-height: 1.55;
  color: #C7BBA6;
  margin: 12px 0 0;
}
.ash-cta { display: flex; align-items: center; gap: 16px; margin-top: 18px; flex-wrap: nowrap; }
.ash-btn {
  background: #E0A43B;
  color: #2A1E0E;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 9px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.ash-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: #F3E7D2;
  border-bottom: 1px solid rgba(243, 231, 210, 0.4);
  padding-bottom: 1px;
  white-space: nowrap;
}
.ash-menu {
  background: #F7EFE0;
  color: #2A211A;
  padding: 18px 26px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ash-label {
  font-family: 'Spectral', Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  color: #B07A2B;
  margin: 0 0 10px;
}
.ash-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-block: 9px;
  border-bottom: 1px dashed #D9C9AC;
  font-size: 0.86rem;
}
.ash-item small { display: block; color: #927F66; font-size: 0.72rem; margin-top: 1px; }
.ash-item b { font-weight: 600; white-space: nowrap; }
.ash-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.7rem;
  color: #927F66;
  letter-spacing: 0.02em;
}
.ash-pts { color: #B07A2B; font-weight: 700; }

/* ·· Breizh — French newspaper bistro ·· */
.site--breizh .site-view { background: #F4F1E8; color: #1A1A17; }
.brz-masthead {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 18px 12px;
  border-bottom: 3px double #1A1A17;
}
.brz-vol {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6B6A60;
  white-space: nowrap;
}
.brz-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 4px 0 5px;
}
.brz-hero { padding: 18px 26px 6px; }
.brz-kick {
  font-family: 'Spectral', Georgia, serif;
  font-style: italic;
  font-size: 0.8rem;
  color: #8A5A52;
  margin: 0 0 8px;
}
.brz-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.1;
  margin: 0;
}
.brz-title em { font-style: italic; color: #7E2B22; }
.brz-sub {
  font-family: 'Spectral', Georgia, serif;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #44433C;
  margin: 10px 0 0;
}
.brz-menu {
  padding: 16px 26px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.brz-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7E2B22;
  border-top: 1px solid #1A1A17;
  padding-top: 10px;
  margin: 0 0 8px;
}
.brz-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-block: 7px;
  border-bottom: 1px solid rgba(26, 26, 23, 0.14);
  font-family: 'Spectral', Georgia, serif;
  font-size: 0.92rem;
}
.brz-item i { color: #6B6A60; font-size: 0.8rem; }
.brz-item b { font-weight: 600; white-space: nowrap; }
.brz-foot {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: #6B6A60;
}

@media (max-width: 760px) {
  .sites-grid { grid-template-columns: 1fr; }
}

/* ── 04 · Pricing ───────────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--ticket);
  color: var(--ticket-ink);
  padding: 36px 36px 44px;
  font-family: var(--font-mono);
  box-shadow: var(--shadow-md);
}
.price-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 8px;
  background-image: radial-gradient(circle at 8px -1px, transparent 0 5.5px, var(--ticket) 6px);
  background-size: 16px 9px;
  background-repeat: repeat-x;
}
.price-card .who {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ticket-mut);
  border-bottom: 1px dashed var(--ticket-line);
  padding-bottom: 12px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
}
.price-big {
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: clamp(3.6rem, 6vw, 5.4rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--ink);
}
.price-big small { font-size: 0.28em; font-weight: 600; letter-spacing: 0.04em; color: var(--ticket-mut); }
.price-lines { margin-top: 22px; }
.price-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-block: 8px;
  border-bottom: 1px dashed var(--ticket-line);
  font-size: 0.9375rem;
}
.price-line b { font-weight: 600; }
.price-line .ok { color: var(--em); font-weight: 600; }
.price-card .none {
  margin-top: 18px;
  font-size: 0.8125rem;
  color: var(--ticket-mut);
  line-height: 1.7;
}
.price-card .btn { margin-top: 24px; width: 100%; font-family: var(--font-body); }

/* calculator */
.calc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.calc h3 { margin-bottom: 6px; }
.calc > p { color: var(--muted); font-size: 0.9375rem; }

.calc-slider { margin-block: 26px 8px; }
.calc-slider label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.calc-slider output {
  font-family: var(--font-disp);
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}

input[type="range"].slider {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--panel);
  border: 1px solid var(--border);
  outline-offset: 6px;
}
input[type="range"].slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--em);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--em), var(--shadow-md);
  cursor: ew-resize;
}
input[type="range"].slider::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--em);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--em), var(--shadow-md);
  cursor: ew-resize;
}

.calc-rows { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-2);
  background: var(--paper);
  padding: 13px 16px;
}
.calc-row .lbl { font-size: 0.8125rem; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.calc-row .val { font-family: var(--font-disp); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.calc-row.market .val { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--deduct); text-decoration-thickness: 2px; }
.calc-row.kept { border-color: var(--em); background: var(--em-tint); }
.calc-row.kept .val { color: var(--em); }
.calc-row.kept .lbl { color: var(--em-deep); }
.calc-note { margin-top: 16px; font-size: 0.8125rem; color: var(--muted); }

@media (max-width: 880px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ── 05 · Pilot story ───────────────────────────────────── */

.story {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border-block: 1px solid var(--border);
}
.story .ember {
  position: absolute;
  bottom: -40%;
  left: 50%;
  width: 70%;
  height: 80%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--em-bright), transparent 72%), transparent 72%);
  opacity: 0.35;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .story .ember { animation: ember 7s ease-in-out infinite alternate; }
}
@keyframes ember {
  from { opacity: 0.22; transform: translateX(-52%) scale(0.96); }
  to   { opacity: 0.45; transform: translateX(-48%) scale(1.05); }
}

.story-inner { position: relative; max-width: 880px; margin-inline: auto; text-align: center; }
.story-quote {
  font-family: var(--font-disp);
  font-weight: 600;
  letter-spacing: -0.015em;
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
  line-height: 1.22;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.story-quote .q { color: var(--em); }
.story-cite {
  display: block;
  margin-top: 26px;
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.story-cite b { color: var(--em); font-weight: 800; }
.story-note { margin-top: 14px; font-size: 0.8125rem; color: var(--muted); }

/* ── 06 · FAQ ───────────────────────────────────────────── */

.faq-wrap { max-width: 820px; }
.qa { border-bottom: 2px dashed var(--border); }
.qa-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  text-align: left;
  padding: 22px 4px;
  font-family: var(--font-disp);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: clamp(1.1rem, 0.8vw + 0.95rem, 1.35rem);
  color: var(--ink);
  transition: color 0.15s ease-out;
}
.qa-btn:hover { color: var(--em); }
.qa-x {
  flex: none;
  width: 18px; height: 18px;
  position: relative;
  color: var(--em);
}
.qa-x::before, .qa-x::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 0;
  width: 100%; height: 2px;
  margin-top: -1px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.25s var(--ease-out);
}
.qa-x::after { transform: rotate(90deg); }
.qa-btn[aria-expanded="true"] .qa-x::after { transform: rotate(0deg); }

.qa-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease-out);
}
.qa-panel > div { overflow: hidden; }
.qa-panel p {
  color: var(--muted);
  max-width: 64ch;
  padding: 0 4px 24px;
  margin: 0;
}
.qa.open .qa-panel { grid-template-rows: 1fr; }

@media (prefers-reduced-motion: reduce) {
  .qa-panel { transition: none; }
}

/* ── 07 · Footer CTA ────────────────────────────────────── */

.cta-final {
  position: relative;
  background: var(--em-deep);
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: auto -20% -65% -20%;
  height: 75%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--em-bright), transparent 72%), transparent 70%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  text-align: center;
  padding-block: clamp(72px, 9vw, 120px);
}
.cta-inner .h2 { color: #fff; font-size: clamp(2.2rem, 4.2vw, 4rem); }
.cta-inner .lead { color: rgba(255, 255, 255, 0.78); margin-inline: auto; margin-top: 10px; max-width: 46ch; }
.cta-inner .btn { margin-top: 32px; }
.cta-fine {
  margin-top: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.6);
}

/* footer */
.foot { background: var(--panel); border-top: 1px solid var(--border); padding-block: 30px; }
.foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.foot small { font-size: 0.8125rem; color: var(--muted); }
.foot-nav { display: flex; gap: 22px; }
.foot-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
}
.foot-nav a:hover { color: var(--em-hover); }


/* ════════════════════════════════════════════════════════════
   START-PILOT PAGE — form styles (was inline <style> in start-pilot.html)
   ════════════════════════════════════════════════════════════ */
  /* ── Pilot form page ─────────────────────────────────── */
  .pilot-grid { display: grid; gap: 28px; align-items: start; padding-block: clamp(28px, 3vw, 40px); }
  @media (min-width: 920px) {
    .pilot-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 3.5vw, 52px); align-items: center; }
    .pilot-form-wrap { position: sticky; top: calc(var(--header-h) + 20px); align-self: center; }
  }

  .pilot-copy .lead { margin-top: 14px; }

  .pilot-steps { margin-top: 22px; display: flex; flex-direction: column; }
  .pilot-step {
    display: flex;
    gap: 16px;
    padding-block: 11px;
    border-top: 2px dashed var(--border);
  }
  .pilot-step:last-child { border-bottom: 2px dashed var(--border); }
  .pilot-step .n {
    flex: none;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--em-deep);
    background: var(--em-tint);
    border-radius: 999px;
    padding: 3px 9px;
    height: fit-content;
    margin-top: 2px;
  }
  .pilot-step b {
    display: block;
    font-family: var(--font-disp);
    font-weight: 600;
    letter-spacing: -0.01em;
    font-size: 1.05rem;
    color: var(--ink);
    margin-bottom: 2px;
  }
  .pilot-step p { font-size: 0.9375rem; color: var(--muted); margin: 0; max-width: 44ch; }

  .pilot-fine { margin-top: 14px; font-size: 0.875rem; font-weight: 600; color: var(--muted); }
  .pilot-fine b { color: var(--em); font-weight: 800; }

  /* alternate contact routes — fills the column with something useful */
  .contact-cards { margin-top: 16px; display: grid; gap: 10px; }
  .contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-2);
    color: var(--ink);
    transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
  }
  .contact-card:hover { border-color: var(--em); color: var(--ink); box-shadow: var(--shadow-md); }
  .contact-card strong { display: block; font-size: 0.9375rem; letter-spacing: -0.01em; }
  .contact-card small { display: block; color: var(--muted); font-size: 0.8125rem; font-weight: 500; margin-top: 1px; }
  .contact-icon {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: var(--r-2);
    display: grid;
    place-items: center;
    background: var(--em);
    color: #fff;
  }
  .contact-icon svg { width: 22px; height: 22px; }
  .contact-icon.email { background: var(--em-tint); color: var(--em-deep); }
  .contact-icon.email svg { width: 20px; height: 20px; }

  /* form card */
  .pilot-form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-3);
    padding: clamp(20px, 2.6vw, 30px);
    box-shadow: var(--shadow-md);
  }
  .pilot-form h2 { margin-bottom: 4px; }
  .pilot-form > .form-body > p { font-size: 0.9375rem; color: var(--muted); margin-bottom: 16px; }

  .form-grid { display: grid; gap: 12px; }
  .two-up { display: grid; gap: 12px; }
  @media (min-width: 560px) { .two-up { grid-template-columns: 1fr 1fr; } }

  .field { display: grid; gap: 6px; }
  .field > label {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--ink);
  }
  .field .opt { color: var(--muted); font-weight: 500; }

  .input {
    width: 100%;
    font: inherit;
    font-size: 0.9375rem;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--r-2);
    padding: 11px 14px;
    transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out, background-color 0.15s ease-out;
  }
  .input:hover { border-color: color-mix(in srgb, var(--em), var(--border) 50%); }
  .input:focus { outline: none; border-color: var(--em); background: var(--card); box-shadow: 0 0 0 3px color-mix(in srgb, var(--em), transparent 85%); }
  textarea.input { min-height: 76px; resize: vertical; }
  select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='m1 1.5 5 5 5-5' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; cursor: pointer; }

  /* interest chips */
  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .chip { position: relative; }
  .chip input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
  }
  .chip span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-2);
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 14px;
    transition: border-color 0.15s ease-out, background-color 0.15s ease-out, color 0.15s ease-out;
  }
  .chip span::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: background-color 0.15s ease-out;
  }
  .chip:hover span { border-color: var(--em); }
  .chip input:checked + span { background: var(--em-tint); border-color: var(--em); color: var(--em-deep); }
  .chip input:checked + span::before { background: var(--em); }
  .chip input:focus-visible + span { outline: 2px solid var(--em); outline-offset: 2px; }

  .pilot-form .btn { width: 100%; }
  .form-fine { font-size: 0.8125rem; color: var(--muted); margin: 0; text-align: center; }

  /* success ticket */
  .success { display: none; }
  .pilot-form.sent .form-body { display: none; }
  .pilot-form.sent .success { display: block; }

  .success-ticket {
    position: relative;
    background: var(--ticket);
    color: var(--ticket-ink);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    padding: 22px 24px 28px;
    margin-top: 8px;
    box-shadow: var(--shadow-md);
  }
  .success-ticket::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -7px;
    height: 7px;
    background-image: radial-gradient(circle at 7px -1px, transparent 0 5px, var(--ticket) 5.5px);
    background-size: 14px 8px;
    background-repeat: repeat-x;
  }
  .success-ticket .t-head { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; letter-spacing: 0.06em; white-space: nowrap; }
  .success-ticket .t-meta {
    color: var(--ticket-mut);
    font-size: 0.6875rem;
    letter-spacing: 0.05em;
    border-bottom: 1px dashed var(--ticket-line);
    padding-bottom: 10px;
    margin: 4px 0 10px;
  }
  .success-ticket .t-row { display: flex; justify-content: space-between; gap: 14px; padding-block: 4px; }
  .success-ticket .t-row span:first-child { color: var(--ticket-mut); }
  .success-stamp {
    display: inline-block;
    font-family: var(--font-disp);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--em);
    border: 3px solid var(--em);
    border-radius: 4px;
    padding: 6px 10px 5px;
    transform: rotate(-4deg);
    margin-top: 16px;
  }
  .success-note { margin-top: 26px; font-size: 0.9375rem; color: var(--muted); }
