/* VoxGate — "the front desk monkey that never sleeps" local rebuild.
   Brand kept from DESIGN.md: Bricolage Grotesque + Instrument Sans, brand blue,
   ink night, the five voice-bar colours, orange = book the call only. */

@font-face {
  font-family: "Bricolage Grotesque Variable";
  src: url("../fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans Variable";
  src: url("../fonts/instrument-sans-latin-standard-normal.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans Variable";
  src: url("../fonts/instrument-sans-latin-standard-italic.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: italic;
  font-display: swap;
}

:root {
  --display: "Bricolage Grotesque Variable", ui-sans-serif, system-ui, sans-serif;
  --body: "Instrument Sans Variable", ui-sans-serif, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --blue: #3578c4;
  --blue-deep: #2b62a3;
  --blue-ink: #265182;
  --blue-wash: #eef5fc;
  --blue-tint: #d9e9f8;

  --night: #0d0a16;
  --night-2: #16121f;
  --night-3: #221c30;
  --ink-body: #2c2540;
  --ink-muted: #a79fc2;
  --ink-mist: #e9e6f2;

  --s-green: #86b04a;
  --s-teal: #3fa9a0;
  --s-blue: #5b9bd5;
  --s-violet: #7e5fb8;
  --s-magenta: #b0459b;

  --orange: #ff7a45;
  --orange-deep: #f2662f;

  --heading: #0f172a;
  --text: #475569;
  --line: #e2e8f0;
  --paper: #ffffff;
  --paper-alt: #f8fafc;

  --on: #3d6b14;          /* "on shift" text, AA on white */
  --on-wash: #edf5e3;
  --off: #9f2a1f;         /* "asleep / off" text, AA on white */
  --off-wash: #fdecea;
  --error: #b42318;       /* form errors, AA on white */

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --shadow-card: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lift: 0 18px 50px -12px rgba(15, 23, 42, 0.28);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 68px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  scrollbar-color: #c7c1d9 var(--paper);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  caret-color: var(--blue);
  accent-color: var(--blue);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--blue-tint); color: var(--heading); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  color: var(--heading);
  text-wrap: balance;
}
p { margin: 0; }
p + p { margin-top: 0.9em; }

.display {
  font-size: clamp(2.5rem, 5.4vw, 4.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.h2 {
  font-size: clamp(1.875rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.018em;
}
.h3 { font-size: 1.25rem; font-weight: 650; line-height: 1.3; letter-spacing: -0.005em; }
.lede { font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.55; max-width: 58ch; }
.muted { color: var(--text); }
.small { font-size: 0.875rem; line-height: 1.5; }
.num { font-variant-numeric: tabular-nums; }

:root { --gutter: 16px; }
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }
.wrap {
  width: 100%; max-width: 72rem; margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section.tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.alt { background: var(--paper-alt); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head .lede { margin-top: 1rem; }

.spectrum {
  height: 5px;
  background: linear-gradient(90deg,
    var(--s-green) 0 20%, var(--s-teal) 20% 40%, var(--s-blue) 40% 60%,
    var(--s-violet) 60% 80%, var(--s-magenta) 80% 100%);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: 12px; z-index: 100;
  background: var(--paper); color: var(--heading); padding: 10px 16px;
  border-radius: var(--r-md); font-weight: 600;
  transform: translateY(-160%); opacity: 0;
}
.skip:focus { transform: none; opacity: 1; box-shadow: var(--shadow-lift); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 12px 24px;
  border-radius: var(--r-md);
  font-family: var(--body); font-weight: 650; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease),
              transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--heading); box-shadow: 0 6px 18px -8px rgba(242, 102, 47, 0.7); }
.btn-primary:hover { background: var(--orange-deep); color: var(--heading); }
.btn-secondary { background: var(--paper); color: var(--blue-deep); border-color: var(--blue-deep); }
.btn-secondary:hover { background: var(--blue-wash); color: var(--blue-ink); }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn svg { width: 18px; height: 18px; flex: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.logo img { width: 36px; height: 36px; object-fit: contain; }
.logo span { font-family: var(--display); font-size: 1.25rem; letter-spacing: -0.01em; color: var(--heading); }
.logo .vox { font-weight: 400; color: #64748b; }
.logo .gate { font-weight: 700; }
.logo.light .vox { color: var(--ink-muted); }
.logo.light .gate { color: #fff; }

.nav { display: none; }
.nav a {
  color: var(--text); text-decoration: none; font-weight: 550; font-size: 0.975rem;
  padding: 10px 12px; border-radius: var(--r-sm);
  transition: color 150ms var(--ease), background-color 150ms var(--ease);
}
.nav a:hover { color: var(--heading); background: var(--paper-alt); }
.nav a[aria-current="page"] { color: var(--blue-deep); }
.header-cta { display: none; }
@media (min-width: 768px) {
  .nav { display: flex; gap: 4px; }
  .header-cta { display: inline-flex; min-height: 44px; padding: 10px 18px; }
  .menu { display: none; }
}

.menu { position: relative; }
.menu summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 14px; border-radius: var(--r-md);
  border: 1px solid var(--line); font-weight: 600; color: var(--heading);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 18px; height: 18px; }
.menu[open] summary { background: var(--paper-alt); }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px);
  width: min(86vw, 320px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift); padding: 10px;
  display: grid; gap: 2px;
  max-height: calc(100vh - 84px); max-height: calc(100dvh - 84px);
  overflow-y: auto; overscroll-behavior: contain;
}
.menu-panel a {
  display: block; padding: 12px 14px; border-radius: var(--r-sm);
  text-decoration: none; color: var(--heading); font-weight: 550;
}
.menu-panel a:hover { background: var(--paper-alt); }
.menu-panel a[aria-current="page"] { color: var(--blue-deep); background: var(--blue-wash); }
.menu-panel .btn { margin-top: 8px; width: 100%; }

/* ---------- meme / CCTV frames ---------- */
.meme {
  position: relative; margin: 0;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--night);
  box-shadow: var(--shadow-lift);
  isolation: isolate;
}
.meme img { width: 100%; height: 100%; object-fit: cover; }
.meme.cctv::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(0, 0, 0, 0) 0 2px, rgba(0, 0, 0, 0.07) 2px 3px),
    radial-gradient(120% 90% at 50% 45%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.38) 100%);
}
.meme-cap {
  position: absolute; z-index: 2; left: 0; right: 0; top: 0;
  padding: 0.55em 11% 0;
  text-align: center;
  font-family: var(--display); font-weight: 800; font-stretch: 75%;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 0.95rem + 1.5vw, 1.9rem);
  line-height: 1.02; letter-spacing: 0.005em;
  color: #fff;
  -webkit-text-stroke: 0.14em var(--night);
  paint-order: stroke fill;
  text-wrap: balance;
}
.meme-cap.bottom { top: auto; bottom: 2.1em; padding: 0 0.8em; }
.meme.small .meme-cap { font-size: clamp(1.25rem, 0.9rem + 1vw, 1.5rem); }
.osd {
  position: absolute; z-index: 2; bottom: 10px;
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.osd-l { left: 12px; }
.osd-r { right: 12px; font-variant-numeric: tabular-nums; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; animation: rec 1.6s steps(1) infinite; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #7fd34a; }
@keyframes rec { 50% { opacity: 0.15; } }

/* chrome monkey plate */
.meme.chrome { background: #000; }
.meme.chrome .osd { top: 10px; bottom: auto; padding: 4px 8px; border-radius: 6px; background: rgba(0, 0, 0, 0.62); text-shadow: none; }
.meme.chrome::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 250%; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.14) 48%, rgba(190, 220, 255, 0.09) 52%, rgba(255, 255, 255, 0) 62%);
  transform: translate3d(-72%, 0, 0);
  animation: sheen 7s var(--ease) 1.2s infinite;
}
@keyframes sheen { 0% { transform: translate3d(-72%, 0, 0); } 45%, 100% { transform: translate3d(24%, 0, 0); } }

/* ---------- chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 650; line-height: 1.4; white-space: nowrap;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-off { background: var(--off-wash); color: var(--off); }
.chip-on { background: var(--on-wash); color: var(--on); }

/* ---------- home hero ---------- */
.hero { padding: clamp(2rem, 5vw, 4rem) 0 0; overflow: clip; }
.hero-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.28fr 0.72fr; } }
.hero h1 .strike { position: relative; white-space: nowrap; }
.hero h1 .never {
  color: var(--blue-deep);
  background: linear-gradient(transparent 62%, var(--blue-tint) 62%, var(--blue-tint) 92%, transparent 92%);
}
.hero .lede { margin-top: 1.25rem; }
.hero .cta-row { margin-top: 2rem; }
.hero-proof { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.9rem; color: var(--text); }
.hero-proof a { color: var(--text); }
.hero-proof .dot { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--on); }

/* phones (SPEC D17): one short line and an example call instead of the paragraph; desktop unchanged */
.hero-short, .callcard { display: none; }
.hero .lede.hero-short { margin-top: 0.75rem; }
.callcard {
  margin: 0.625rem 0 0; padding: 8px; border-radius: var(--r-md);
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 10px 30px -14px rgba(15, 23, 42, 0.28);
}
.callcard .cc-top {
  margin: 0; display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text);
}
.cc-live { width: 8px; height: 8px; border-radius: 50%; background: #5fae2e; box-shadow: 0 0 0 3px rgba(95, 174, 46, 0.18); }
.cc-tag { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--paper-alt); border: 1px solid var(--line); font-size: 0.625rem; }
.callcard .cc-msg { margin: 6px 0 0; padding: 6px 10px; max-width: 86%; border-radius: 14px; font-size: 0.9rem; line-height: 1.35; }
.callcard .cc-guest { background: var(--paper-alt); border: 1px solid var(--line); color: var(--heading); border-bottom-left-radius: 4px; }
.callcard .cc-vg {
  margin-left: auto; max-width: 100%; display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: start;
  background: var(--blue-wash); border: 1px solid var(--blue-tint); color: var(--ink-body); border-bottom-right-radius: 4px;
}
.cc-vg img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; background: #000; }
.callcard .cc-done { margin: 4px 0 0; display: flex; justify-content: flex-end; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 650; color: var(--on); }
.cc-done svg { width: 16px; height: 16px; }
@media (max-width: 959px) {
  .hero .hero-long { display: none; }
  .hero-short, .callcard { display: block; }
  .hero .cta-row { margin-top: 1rem; }
}

.hero-plate { position: relative; max-width: 430px; justify-self: center; width: 100%; }
.hero-plate .meme { aspect-ratio: 712 / 900; }
.hero-plate .meme img { object-position: 50% 35%; }
.badge {
  position: absolute; z-index: 3; left: -18px; bottom: 34px;
  width: 232px;
  background: var(--paper); border-radius: var(--r-md);
  box-shadow: 0 22px 44px -16px rgba(13, 10, 22, 0.55), 0 0 0 1px rgba(15, 23, 42, 0.06);
  padding: 22px 16px 14px;
  transform: rotate(-4deg);
  transform-origin: 50% 0;
}
.badge::before { /* lanyard slot */
  content: ""; position: absolute; top: 8px; left: 50%; width: 38px; height: 6px;
  transform: translateX(-50%); border-radius: 4px; background: var(--line);
}
.badge-top { display: flex; align-items: center; gap: 10px; }
.badge-top img { width: 30px; height: 30px; }
.badge-name { font-family: var(--display); font-weight: 700; color: var(--heading); line-height: 1.1; }
.badge-role { font-size: 0.8125rem; color: var(--text); line-height: 1.3; }
.badge .chip { margin-top: 12px; }
.badge-sub { margin-top: 8px; font-size: 0.75rem; color: var(--text); line-height: 1.4; }
@media (max-width: 520px) { .badge { left: 8px; bottom: 16px; width: 210px; } }
@media (prefers-reduced-motion: no-preference) {
  .badge { animation: swing 5.5s ease-in-out 1.5s infinite; }
  @keyframes swing { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(-1.5deg); } }
}

/* rota */
.rota { margin-top: clamp(2.5rem, 5vw, 3.75rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.rota-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 14px; }
.rota-head h2 { font-size: 1.25rem; font-weight: 700; }
.rota-head p { font-size: 0.9rem; }
.rota-list {
  list-style: none; margin: 0; padding: 4px 2px 10px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 148px; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
@media (min-width: 1100px) { .rota-list { grid-auto-flow: row; grid-template-columns: repeat(9, minmax(0, 1fr)); overflow: visible; } }
.rota-list li { scroll-snap-align: start; }
.rota-card {
  display: block; text-decoration: none; color: inherit;
  border-radius: var(--r-md); background: var(--paper);
  border: 1px solid var(--line); overflow: hidden;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}
.rota-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: #cbd5e1; color: inherit; }
.rota-card img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; filter: saturate(0.85); }
.rota-card .rc-body { padding: 9px 10px 11px; }
.rota-card .rc-time { font-family: var(--mono); font-size: 0.75rem; color: var(--text); letter-spacing: 0.04em; }
.rota-card .rc-role { display: block; font-weight: 650; color: var(--heading); font-size: 0.875rem; line-height: 1.25; margin: 2px 0 7px; min-height: 2.5em; }
.rota-card.is-chrome { border-color: var(--heading); background: var(--night); }
.rota-card.is-chrome .rc-role { color: #fff; }
.rota-card.is-chrome .rc-time { color: var(--ink-muted); }
.rota-card.is-chrome img { filter: none; }
.rota-card.is-chrome .chip-on { background: rgba(134, 176, 74, 0.18); color: #bfe08f; }

/* ---------- PMS strip ---------- */
.pms { border-block: 1px solid var(--line); background: var(--paper-alt); }
.pms-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-block: 22px; }
.pms-row p { font-weight: 650; color: var(--heading); font-size: 0.95rem; }
.pms-row p span { display: block; font-weight: 450; color: var(--text); font-size: 0.85rem; }
.pms-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; list-style: none; margin: 0; padding: 0; }
.pms-logos img { width: auto; filter: grayscale(1); opacity: 0.72; transition: filter 200ms var(--ease), opacity 200ms var(--ease); }
.pms-logos img:hover { filter: none; opacity: 1; }

/* ---------- the 24-hour reel ---------- */
.reel {
  position: relative;
  transition: background-color 700ms var(--ease), color 700ms var(--ease);
}
.reel-intro { padding-top: clamp(4rem, 9vw, 7rem); }
.reel-grid { display: grid; gap: 0 3rem; }
@media (min-width: 1024px) { .reel-grid { grid-template-columns: 270px 1fr; } }

.clock-panel {
  position: sticky; top: var(--header-h); z-index: 20;
  margin: 0 calc(var(--gutter) * -1); padding: 10px var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: background-color 700ms var(--ease), border-color 700ms var(--ease);
}
@media (min-width: 1024px) {
  .clock-panel {
    top: calc(var(--header-h) + 32px); align-self: start;
    margin: 0; padding: 22px 22px 20px;
    border: 1px solid var(--line); border-radius: var(--r-lg);
    background: var(--paper); box-shadow: var(--shadow-card);
  }
}
.clock-top { display: flex; align-items: center; gap: 14px; justify-content: space-between; }
.clock-label { font-size: 0.75rem; font-weight: 650; color: var(--text); line-height: 1.3; }
.clock {
  display: inline-flex; align-items: flex-start;
  font-family: var(--display); font-weight: 800; font-stretch: 80%;
  font-size: 2.1rem; line-height: 1; color: var(--heading);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 1024px) { .clock { font-size: 4.6rem; letter-spacing: -0.02em; } .clock-top { display: block; } .clock-label { margin-bottom: 6px; } }
.clock .d { display: inline-block; height: 1em; overflow: hidden; width: 0.6em; text-align: center; }
.clock .col { display: flex; flex-direction: column; transform: translateY(calc(var(--n, 0) * -1em)); transition: transform 650ms var(--ease); }
.clock .col span { display: block; height: 1em; line-height: 1; }
.clock .colon { width: 0.3em; text-align: center; animation: colon 2s steps(1) infinite; }
@keyframes colon { 50% { opacity: 0.25; } }

.hours, .hours-legend { display: none; }
@media (min-width: 1024px) {
  .hours { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; margin: 16px 0 6px; }
  .hours i { display: block; height: 14px; border-radius: 2px; background: var(--blue-tint); transition: background-color 400ms var(--ease), transform 400ms var(--ease); }
  .hours i.n { background: #cfc8e4; }
  .hours i.on { background: var(--blue-deep); transform: scaleY(1.45); }
  .hours-legend { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.75rem; color: var(--text); }
}
.desk-status { display: grid; gap: 4px; margin: 8px 0 0; font-size: 0.8125rem; }
.desk-status div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.desk-status dt { color: var(--text); font-weight: 550; }
.desk-status dd { margin: 0; }
@media (max-width: 1023px) {
  .clock-top { gap: 16px; }
  .desk-status { margin: 0; flex: 1; }
  .desk-status div { justify-content: flex-end; }
  .desk-status dt { display: none; }
  .clock-label { display: none; }
}
@media (min-width: 1024px) { .desk-status { margin-top: 18px; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); } }

.scenes { list-style: none; margin: 0; padding: 0; }
.scene {
  display: grid; gap: 1.5rem 2.5rem; align-items: center;
  padding: clamp(3rem, 8vh, 5.5rem) 0;
  scroll-margin-top: 8px;
}
@media (min-width: 760px) {
  .scene { grid-template-columns: 1.05fr 0.95fr; }
  .scene:nth-child(even) .meme { order: 2; }
}
.scene h2, .scene h3 { font-size: clamp(1.5rem, 2.5vw, 2.05rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; }
.scene .desk { margin-top: 0.9rem; }
.scene .desk b { color: var(--heading); font-weight: 650; }
.vg-line {
  margin-top: 1.25rem; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start;
  padding: 14px 16px; border-radius: var(--r-md);
  background: var(--blue-wash); border: 1px solid var(--blue-tint);
  color: var(--ink-body);
  transition: background-color 700ms var(--ease), border-color 700ms var(--ease), color 700ms var(--ease);
}
.vg-line img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; background: #000; }
.vg-line strong { display: block; color: var(--heading); font-family: var(--display); font-weight: 700; }

/* signal-acquired moment (JS adds .lit once a scene first becomes active) */
@media (prefers-reduced-motion: no-preference) {
  .js .scene.lit .meme img { animation: signal 760ms var(--ease) both; }
  .js .scene.lit .meme-cap { animation: capin 520ms var(--ease) 260ms both; }
}
@keyframes signal {
  0% { clip-path: inset(49% 0 49% 0); filter: brightness(2.4) saturate(0) contrast(1.5); }
  35% { clip-path: inset(0 0 0 0); filter: brightness(1.5) saturate(0.2) contrast(1.3); }
  100% { clip-path: inset(0 0 0 0); filter: none; }
}
@keyframes capin { from { opacity: 0; transform: translateY(-10px) scale(1.04); } to { opacity: 1; transform: none; } }

/* night: the one ink band on the page */
.reel.is-night { background: var(--night); color: var(--ink-mist); }
.reel.is-night h2, .reel.is-night h3 { color: #fff; }
.reel.is-night .lede, .reel.is-night .scene .desk { color: var(--ink-muted); }
.reel.is-night .scene .desk b { color: var(--ink-mist); }
.reel.is-night .vg-line { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); color: var(--ink-mist); }
.reel.is-night .vg-line strong { color: #fff; }
.reel.is-night .clock-panel { background: #16121f; border-color: rgba(255, 255, 255, 0.12); }
.reel.is-night .clock { color: #fff; }
.reel.is-night .clock-label, .reel.is-night .desk-status dt, .reel.is-night .hours-legend { color: var(--ink-muted); }
.reel.is-night .desk-status { border-color: rgba(255, 255, 255, 0.12); }
.reel.is-night .hours i { background: #3a3150; }
.reel.is-night .hours i.n { background: #574a78; }
.reel.is-night .hours i.on { background: var(--s-blue); }
.reel.is-night .chip-off { background: rgba(255, 120, 100, 0.14); color: #ffb4a6; }
.reel.is-night .chip-on { background: rgba(134, 176, 74, 0.18); color: #bfe08f; }
.reel.is-night a { color: #b9d4f3; }
.reel-spectrum { position: absolute; left: 0; right: 0; top: 0; opacity: 0; transition: opacity 700ms var(--ease); }
.reel.is-night .reel-spectrum { opacity: 1; }

.reel-end { padding: clamp(2rem, 5vw, 3rem) 0 clamp(4rem, 9vw, 6.5rem); }
.reel-end-card {
  display: grid; gap: 1.5rem 2.5rem; align-items: center;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-xl); background: var(--night); color: var(--ink-mist);
  position: relative; overflow: hidden;
}
@media (min-width: 760px) { .reel-end-card { grid-template-columns: 220px 1fr; } }
.reel-end-card .meme { aspect-ratio: 1; box-shadow: none; }
.reel-end-card .meme img { object-position: 50% 30%; }
.reel-end-card h2, .reel-end-card h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 700; line-height: 1.08; }
.reel-end-card p { margin-top: 0.8rem; color: var(--ink-muted); max-width: 52ch; }

/* ---------- compare table ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.98rem; }
.compare caption { text-align: left; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--display); font-size: 1.05rem; color: var(--heading); border-bottom: 2px solid var(--heading); vertical-align: bottom; }
.compare thead th .who { display: flex; align-items: center; gap: 10px; }
.compare thead th img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.compare tbody th { font-weight: 650; color: var(--heading); width: 26%; font-family: var(--body); }
.compare td.them { color: var(--text); width: 30%; }
.compare td.us { color: var(--ink-body); background: var(--blue-wash); }
.compare td.us::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -2px;
  background: no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%233d6b14'/%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.compare thead th.us { background: var(--night); color: #fff; border-bottom-color: var(--night); border-radius: var(--r-md) var(--r-md) 0 0; }
.compare tr.human td.us { background: #fff7f2; }
.compare tr.human td.them { color: var(--heading); font-weight: 550; }
@media (max-width: 759px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100% !important; }
  .compare tr { border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 12px; overflow: hidden; background: var(--paper); }
  .compare tbody th { border-bottom: 0; padding-bottom: 6px; font-family: var(--display); font-size: 1.05rem; }
  .compare td { border-bottom: 0; padding-top: 8px; }
  .compare td::after { content: none; }
  .compare td.them::before { content: "Your monkeys: "; font-weight: 650; color: var(--heading); }
}

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li {
  counter-increment: step; position: relative;
  padding: 22px 20px 22px; border-radius: var(--r-lg);
  background: var(--paper); border: 1px solid var(--line);
}
.steps li::before {
  content: counter(step); display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--heading); color: #fff; font-family: var(--display); font-weight: 700; font-size: 0.95rem;
  margin-bottom: 14px;
}
.steps li:last-child::before { background: var(--s-green); color: var(--night); }
.steps h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.25; }
.steps p { margin-top: 8px; font-size: 0.95rem; }

/* ---------- estimator (sentence form) ---------- */
.estimator {
  border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-card); padding: clamp(1.5rem, 3.5vw, 2.75rem);
}
.est-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-bottom: 1.75rem; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-alt); border: 1px solid var(--line); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-block; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 0.9rem; color: var(--text); transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.seg input:checked + span { background: var(--heading); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.range-wrap { flex: 1 1 min(260px, 100%); min-width: 0; display: flex; align-items: center; gap: 12px; }
.range-wrap .small { white-space: nowrap; }
.range-wrap input[type="range"] {
  -webkit-appearance: none; appearance: none;
  flex: 1; min-width: 0; height: 44px; margin: 0; background: transparent; cursor: pointer;
  touch-action: pan-y;
}
.range-wrap input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-deep) calc(14px + (100% - 28px) * var(--p, 0.3)), var(--line) 0);
}
.range-wrap input[type="range"]::-moz-range-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-deep) calc(14px + (100% - 28px) * var(--p, 0.3)), var(--line) 0);
}
.range-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%;
  background: var(--blue-deep); border: 3px solid var(--paper); box-shadow: 0 1px 5px rgba(15, 23, 42, 0.4);
}
.range-wrap input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-deep); border: 3px solid var(--paper); box-shadow: 0 1px 5px rgba(15, 23, 42, 0.4);
}
.range-wrap output { font-family: var(--display); font-weight: 700; color: var(--heading); min-width: 3.2ch; font-size: 1.25rem; text-align: right; }
.est-sentence {
  font-family: var(--display); font-weight: 600; color: var(--heading);
  font-size: clamp(1.35rem, 2.6vw, 2.1rem); line-height: 1.3; letter-spacing: -0.01em; max-width: 34ch;
}
.est-sentence b { font-weight: 800; color: var(--blue-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
.est-sentence .after { color: var(--s-violet); }
.est-tag { display: inline-flex; align-items: center; gap: 8px; margin-top: 1.5rem; font-size: 0.8125rem; font-weight: 650; color: var(--heading); padding: 4px 12px; border-radius: 999px; background: var(--paper-alt); border: 1px solid var(--line); }
.est-foot { margin-top: 10px; font-size: 0.8125rem; color: var(--text); max-width: 80ch; }
/* the booking box and the money line (SPEC §3.3) */
.range-wrap { flex-wrap: wrap; row-gap: 6px; }
.est-label { flex-basis: 100%; font-size: 0.875rem; font-weight: 650; color: var(--heading); }
.est-value { display: flex; flex-direction: column; gap: 6px; flex: 1 1 100%; }
.value-box {
  display: inline-flex; align-items: stretch; min-height: 48px; width: max-content;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.value-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.value-box select {
  -webkit-appearance: none; appearance: none; border: 0; background-color: transparent; color: var(--heading);
  font: 700 1.05rem/1 var(--display); padding: 0 30px 0 14px; border-right: 1px solid var(--line); border-radius: var(--r-md) 0 0 var(--r-md);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 5l4.5 4.5L11.5 5' fill='none' stroke='%230f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 12px; cursor: pointer;
}
.value-box input {
  border: 0; background: transparent; width: 6.5ch; padding: 0 14px; color: var(--heading);
  font: 700 1.2rem/1 var(--display); font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield;
}
.value-box input::-webkit-outer-spin-button, .value-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.value-box select:focus-visible, .value-box input:focus-visible { outline: none; }
.est-money {
  margin-top: 1.1rem; max-width: 30ch;
  font-family: var(--display); font-weight: 700; color: var(--heading);
  font-size: clamp(1.45rem, 2.9vw, 2.35rem); line-height: 1.2; letter-spacing: -0.015em;
}
.est-money b { color: var(--blue-deep); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.est-money .after { color: var(--s-violet); }
.est-money.est-empty { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; color: var(--text); }
.est-money[hidden] { display: none; }

/* ---------- honest block ---------- */
.honest { display: grid; gap: 2rem 4rem; align-items: start; }
@media (min-width: 900px) { .honest { grid-template-columns: 1fr 1fr; } }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts svg { width: 26px; height: 26px; color: var(--blue-deep); margin-top: 2px; }
.facts b { display: block; color: var(--heading); font-weight: 650; }

/* ---------- pilot / price pair ---------- */
.pair { display: grid; gap: 16px; }
@media (min-width: 860px) { .pair { grid-template-columns: 1.25fr 1fr; } }
.pair > div { border-radius: var(--r-xl); padding: clamp(1.5rem, 3vw, 2.25rem); }
.pair .p-trial { background: var(--blue-wash); border: 1px solid var(--blue-tint); }
.pair .p-price { background: var(--paper); border: 1px solid var(--line); }
.pair h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; line-height: 1.1; }
.pair p { margin-top: 0.75rem; }
.pair .links { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 10px 20px; font-weight: 600; }

/* ---------- final CTA ---------- */
.final { text-align: center; }
.final .display { font-size: clamp(2.3rem, 5vw, 4rem); }
.final .lede { margin: 1.1rem auto 0; }
.final .cta-row { justify-content: center; margin-top: 2rem; }
.final-proof { margin-top: 1rem; font-size: 0.875rem; }
.sleepers { list-style: none; margin: 2.75rem auto 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; max-width: 760px; }
.sleepers li { position: relative; }
.sleepers img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; filter: grayscale(0.85) brightness(0.8); border: 2px solid var(--paper); box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15); }
.sleepers .z { position: absolute; top: -6px; right: -2px; font-family: var(--display); font-weight: 800; font-size: 0.8rem; color: var(--s-violet); }
.sleepers li.awake img { filter: none; width: 64px; height: 64px; box-shadow: 0 0 0 3px var(--s-green), 0 6px 16px rgba(15, 23, 42, 0.25); }
.sleepers .on-dot { position: absolute; top: -2px; right: -2px; width: 14px; height: 14px; border-radius: 50%; background: var(--s-green); border: 2px solid var(--paper); }

/* ---------- interior page hero ---------- */
.page-hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.page-hero-grid { display: grid; gap: 2.5rem 3.5rem; align-items: center; }
@media (min-width: 900px) { .page-hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
.page-hero .lede { margin-top: 1.15rem; }
.page-hero .cta-row { margin-top: 1.75rem; }
.page-hero .meme { max-width: 520px; justify-self: center; width: 100%; }
.proof-line { margin-top: 1.1rem; font-size: 0.9rem; position: relative; padding-left: 16px; }
.proof-line::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-radius: 50%; background: var(--on); }

/* ---------- "Sound familiar?" (home): four pains, answers lined up ----------
   Each card spans three rows of the grid (photo, pain, answer) through subgrid, so across a
   row the photos, the pain lines and the answer boxes start together and every answer box
   is as tall as its tallest neighbour. Mirko, 5 Nov 2026. */
.pains {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(12px, 2.4vw, 28px); row-gap: clamp(28px, 4vw, 44px);
}
@media (min-width: 900px) { .pains { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pain { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 12px; }
.pain .meme { aspect-ratio: 1; width: 100%; }
.pain .meme img { object-position: 50% 35%; }
.pain .meme-cap { font-size: clamp(0.95rem, 0.7rem + 1.1vw, 1.3rem); padding-inline: 8%; }
.pain .osd { font-size: 0.5625rem; bottom: 7px; }
.pain .osd-l { left: 9px; } .pain .osd-r { right: 9px; }
.pain-q { align-self: start; font-family: var(--display); font-weight: 700; color: var(--heading); font-size: clamp(1rem, 0.85rem + 0.6vw, 1.25rem); line-height: 1.22; letter-spacing: -0.01em; text-wrap: balance; }
.pain .vg-line { margin-top: 0; display: flex; flex-direction: column; gap: 6px; align-self: stretch; padding: 12px 14px; font-size: 0.9rem; line-height: 1.45; }
.pain .vg-who { display: flex; align-items: center; gap: 7px; }
.pain .vg-line img { width: 24px; height: 24px; flex: none; }
.pain .vg-line strong { line-height: 1.2; font-size: 0.875rem; white-space: nowrap; }
@media (max-width: 359px) { .pain .vg-line strong { white-space: normal; } }
@media (max-width: 899px) { .pain .vg-line { padding: 10px 12px; } }
@supports not (grid-template-rows: subgrid) {
  .pains { align-items: stretch; }
  .pain { grid-row: auto; display: flex; flex-direction: column; gap: 12px; }
  .pain .vg-line { flex: 1; }
}
.pains-more { margin-top: clamp(1.75rem, 3vw, 2.5rem); font-weight: 650; }
.pains-more a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.pains-more svg { width: 18px; height: 18px; transition: transform 200ms var(--ease); }
@media (hover: hover) { .pains-more a:hover svg { transform: translateX(3px); } }

/* outcomes list */
.outcomes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 3rem; }
@media (min-width: 760px) { .outcomes { grid-template-columns: 1fr 1fr; } }
.outcomes li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.outcomes li::before {
  content: ""; width: 20px; height: 20px; margin-top: 3px;
  background: no-repeat center/20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%233d6b14'/%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.outcomes b { display: block; color: var(--heading); font-weight: 650; }
.outcomes span { font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px; font-family: var(--display); font-weight: 650; font-size: 1.125rem; color: var(--heading); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px;
  background: no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%230f172a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform 260ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue-deep); }
.faq .a { padding: 0 4px 22px; max-width: 65ch; }
.faq .a a { font-weight: 600; }
.faq details.fun summary { color: var(--s-violet); }

/* ---------- about ---------- */
.story { display: grid; gap: 2.5rem 4rem; align-items: start; }
@media (min-width: 900px) { .story { grid-template-columns: 0.9fr 1.1fr; } }
.story .copy p { font-size: 1.125rem; }
.founders { display: grid; gap: 20px; }
@media (min-width: 700px) { .founders { grid-template-columns: 1fr 1fr; } }
.founder { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.founder img { width: 120px; height: 120px; border-radius: var(--r-md); object-fit: cover; }
.founder h3 { font-size: 1.25rem; font-weight: 700; }
.founder .role { font-weight: 650; color: var(--blue-deep); font-size: 0.9rem; }
.founder p { font-size: 0.95rem; margin-top: 6px; }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 3rem; }
@media (min-width: 860px) { .values { grid-template-columns: repeat(3, 1fr); } }
.values li { padding: 20px 0; border-top: 2px solid var(--heading); }
.values b { display: block; font-family: var(--display); font-size: 1.2rem; color: var(--heading); margin-bottom: 6px; }

/* ---------- pricing ---------- */
.factors { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 3rem; }
@media (min-width: 760px) { .factors { grid-template-columns: 1fr 1fr; } }
.factors li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.factors b { display: block; font-family: var(--display); font-weight: 700; color: var(--heading); font-size: 1.2rem; }
.included { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.included li { padding: 10px 16px; border-radius: 999px; background: var(--on-wash); color: var(--on); font-weight: 650; font-size: 0.95rem; }
.banana-note { margin-top: 1rem; font-size: 0.9rem; }

/* ---------- forms ---------- */
.form-shell { display: grid; gap: 2.5rem 4rem; align-items: start; }
@media (min-width: 960px) { .form-shell { grid-template-columns: 0.85fr 1.15fr; } }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-card); padding: clamp(1.25rem, 3vw, 2.25rem); }
.fields { display: grid; gap: 16px 18px; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .field.full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; color: var(--heading); font-size: 0.925rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font: inherit; font-size: 1rem; color: var(--heading);
  background: var(--paper); border: 1px solid #cbd5e1; border-radius: var(--r-sm);
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #64748b; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(53, 120, 196, 0.18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.field .err { display: none; margin-top: 6px; font-size: 0.85rem; color: var(--error); font-weight: 550; }
.field.invalid .err { display: block; }
.form-foot { margin-top: 20px; display: grid; gap: 12px; }
.form-foot .small a { font-weight: 600; }
.form-success { display: none; padding: 18px; border-radius: var(--r-md); background: var(--on-wash); color: var(--on); font-weight: 600; }
.form-success.show { display: block; }
.form-success span { display: block; font-weight: 450; color: var(--ink-body); margin-top: 4px; font-size: 0.9rem; }
.next-steps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 12px; counter-reset: ns; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.next-steps li::before { content: counter(ns); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-wash); color: var(--blue-deep); font-weight: 700; font-size: 0.875rem; }
.reassure { margin-top: 1.25rem; font-size: 0.9rem; font-weight: 600; color: var(--heading); }

/* ---------- support / status / legal ---------- */
.status-card { display: grid; gap: 2rem 3rem; align-items: center; }
@media (min-width: 860px) { .status-card { grid-template-columns: 1.1fr 0.9fr; } }
.status-ok { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 999px; background: var(--on-wash); color: var(--on); font-weight: 700; font-size: 1.05rem; }
.status-ok i { width: 12px; height: 12px; border-radius: 50%; background: #4f8a1f; }

.prose { max-width: 70ch; }
.prose h2 { font-size: 1.35rem; font-weight: 700; margin: 2.4rem 0 0.75rem; }
.prose p { margin-top: 0.8rem; }
.prose .meta { font-size: 0.9rem; }
.prose .prevails { margin-top: 1rem; padding: 14px 16px; border-radius: var(--r-md); background: var(--paper-alt); border: 1px solid var(--line); font-size: 0.95rem; }

.steps-plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps-plain li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.steps-plain b { display: block; color: var(--heading); font-family: var(--display); font-size: 1.1rem; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: clamp(3rem, 8vw, 6rem) 0; }
.nf .meme { max-width: 560px; margin: 0 auto 2rem; }
.nf .cta-row { justify-content: center; margin-top: 1.75rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--ink-muted); margin-top: 0; }
.footer-grid { display: grid; gap: 2rem 3rem; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid p { font-size: 0.95rem; margin-top: 12px; max-width: 36ch; }
.footer-grid h2 { font-family: var(--body); font-size: 0.8125rem; font-weight: 650; color: #fff; margin-bottom: 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-grid a { color: var(--ink-mist); text-decoration: none; display: inline-block; padding: 4px 0; font-size: 0.95rem; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 18px 0 28px; font-size: 0.8125rem; display: grid; gap: 8px; }
.footer-base a { color: var(--ink-mist); }
.preview-flag { display: inline-flex; gap: 8px; align-items: center; color: #ffcf9e; }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; z-index: 60;
  left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  max-width: 520px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 16px; border-radius: var(--r-lg);
  background: var(--night); color: #fff; box-shadow: 0 16px 40px -12px rgba(13, 10, 22, 0.6);
  transform: translateY(calc(140% + env(safe-area-inset-bottom))); transition: transform 380ms var(--ease);
}
.sticky-cta.show { transform: none; }
.sticky-cta p { font-size: 0.85rem; line-height: 1.3; color: var(--ink-mist); }
.sticky-cta .btn { min-height: 44px; padding: 10px 16px; white-space: nowrap; }
@media (min-width: 768px) and (min-height: 501px) { .sticky-cta { display: none; } }

/* the night reaches the header too while the reel is dark */
.site-header { transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), background-color 700ms var(--ease); }
.night .site-header { background: var(--night); border-bottom-color: rgba(255, 255, 255, 0.08); }
.night .site-header .nav a { color: var(--ink-mist); }
.night .site-header .nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.night .site-header .logo .vox { color: var(--ink-muted); }
.night .site-header .logo .gate { color: #fff; }
.night .menu summary { color: #fff; border-color: rgba(255, 255, 255, 0.2); background: transparent; }

.nw { white-space: nowrap; }

/* ---------- every phone, tablet and orientation ---------- */
html { -webkit-tap-highlight-color: rgba(53, 120, 196, 0.16); }
a, button, summary, label, select, input, textarea { touch-action: manipulation; }
.range-wrap input[type="range"] { touch-action: pan-y; }

/* the photo's own width decides what fits on it */
.meme { container-type: inline-size; }
@container (max-width: 299px) { .meme.chrome .osd-r { display: none; } }
@container (max-width: 289px) { .meme.cctv .osd-r { display: none; } }
@container (max-width: 270px) { .meme-cap { font-size: 1.2rem; } }
@container (max-width: 240px) { .osd { font-size: 0.625rem; letter-spacing: 0; } .osd-l { left: 8px; } }
@supports not (container-type: inline-size) { .meme.chrome .osd-r { display: none; } }

/* no sticky hover after a tap */
@media (hover: none) {
  .rota-card:hover { transform: none; box-shadow: none; border-color: var(--line); }
  .rota-card.is-chrome:hover { border-color: var(--heading); }
  .rota-card:active { transform: scale(0.98); }
}

/* swipe the rota to the screen edge rather than clipping it at the margin */
@media (max-width: 1099px) {
  .rota-list { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
}

/* thumb-sized targets */
@media (pointer: coarse), (max-width: 767px) {
  .seg span { padding: 11px 18px; }
  .footer-grid ul { gap: 0; }
  .footer-grid a { display: flex; align-items: center; min-height: 44px; padding: 0; }
  .pair .links { gap: 0 20px; }
  .pair .links a, .hero-proof a { display: inline-flex; align-items: center; min-height: 44px; }
  .hero-proof { align-items: center; gap: 0 18px; }
}
@media (min-width: 340px) and (max-width: 859px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
.footer-base { padding-bottom: max(28px, calc(env(safe-area-inset-bottom) + 12px)); }

/* one-handed buttons on phones */
@media (max-width: 479px) { .cta-row .btn { flex: 1 1 100%; } }

/* very small phones and folded screens */
@media (max-width: 359px) {
  .founder { grid-template-columns: 1fr; }
  .founder img { width: 96px; height: 96px; }
  .pms-logos { gap: 14px 22px; }
}
@media (max-width: 339px) {
  .btn { padding-inline: 14px; }
  .estimator { padding: 1.1rem; }
  .est-controls { gap: 10px 14px; }
}
@media (max-width: 299px) { .display { font-size: 2.15rem; } }

/* phones on their side: keep the story on screen, not the bars */
@media (max-height: 500px) and (max-width: 1023px) {
  :root { --header-h: 56px; }
  .site-header { position: relative; }
  .clock-panel { top: 0; padding-block: 4px; }
  .clock { font-size: 1.5rem; }
  .desk-status { display: flex; gap: 6px; justify-content: flex-end; }
  .hero { padding-top: 1.25rem; }
  .section { padding-block: 3rem; }
  .scene { padding-block: 2rem; }
}
@media (max-height: 500px) {
  .sticky-cta { left: auto; padding: 0; background: none; box-shadow: none; max-width: none; }
  .sticky-cta p { display: none; }
}

/* iPhone Safari ignores height on native dropdowns: draw them ourselves */
.field select {
  -webkit-appearance: none; appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 5l4.5 4.5L11.5 5' fill='none' stroke='%230f172a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 14px;
}

/* phones: the calculator sits at screen 2 now, keep it compact (SPEC §3.2 targets) */
@media (max-width: 639px) {
  .est-controls { margin-bottom: 1.2rem; }
  .est-money { margin-top: 0.9rem; }
  .est-tag { margin-top: 1.1rem; }
}

/* phones and tablets: the hero is the headline and the buttons; the big chrome photo and its badge
   only earn their space beside the headline on a wide screen (Mirko, 6 Nov 2026) */
@media (max-width: 959px) { .hero-plate { display: none; } }
.hero-plate picture { display: contents; }
