/* ============================================================
   Adjuro — "Editorial Glass" design system (shared, all pages)
   Dark-first, theme-aware (data-theme="dark" | "light").
   Tokens + components lifted from the approved handoff reference
   and adapted to the live site's components (verifier, demo form,
   code panels, metrics strip, live-status rows).
   Self-hosted fonts. No third-party requests.
   ============================================================ */

/* ---------- self-hosted fonts ---------- */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --font: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", Menlo, Monaco, "Courier New", monospace;
  --serif: "Source Serif 4", Charter, Georgia, "Times New Roman", serif;
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --orange: oklch(0.74 0.16 45);
  --radius-pill: 999px;
  --radius-card: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
  --bg: oklch(0.17 0.012 195);
  --bg-2: oklch(0.2 0.014 195);
  --ink: oklch(0.98 0.004 190);
  --ink-2: oklch(0.98 0.004 190 / 0.62);
  --ink-3: oklch(0.98 0.004 190 / 0.48); /* was 0.40 (~3.67:1); 0.48 ≈ 4.7:1 on --bg, keeps gap from --ink-2 0.62 */
  --line: oklch(0.98 0.004 190 / 0.14);
  --line-2: oklch(0.98 0.004 190 / 0.08);
  --glass: oklch(0.19 0.012 195 / 0.55);
  --glass-strong: oklch(0.15 0.012 195 / 0.74);
  --card: oklch(0.22 0.014 195 / 0.55);
  --accent: oklch(0.76 0.105 188);
  --accent-soft: oklch(0.76 0.105 188 / 0.15);
  --cta: oklch(0.98 0.004 190);
  --cta-ink: oklch(0.18 0.012 195);
  --ok: oklch(0.78 0.16 150);
  --amber: oklch(0.78 0.14 70);
  --danger: oklch(0.68 0.18 25);
  /* legacy aliases consumed by cinematic.css (progress bar, underline, sheen) */
  --accent-primary: var(--accent);
  --accent-secondary: var(--orange);
}
html[data-theme="light"] {
  --bg: oklch(0.955 0.026 90); /* #F8F4E8 cream */
  --bg-2: oklch(0.975 0.018 90);
  --ink: oklch(0.18 0.004 60); /* #0A0A0A */
  --ink-2: oklch(0.44 0.012 84); /* #5A5849 mute */
  --ink-3: oklch(0.52 0.016 90); /* was 0.60 (~3.46:1); 0.52 ≈ 4.9:1 on cream, keeps gap from --ink-2 0.44 */
  --line: oklch(0.18 0.004 60 / 0.16);
  --line-2: oklch(0.18 0.004 60 / 0.09);
  --glass: oklch(0.955 0.02 88 / 0.72);
  --glass-strong: oklch(0.965 0.016 88 / 0.88);
  --card: oklch(0.18 0.004 60 / 0.035);
  --accent: oklch(0.5 0.078 192); /* #0D7377 teal */
  --accent-soft: oklch(0.5 0.078 192 / 0.12);
  --orange: oklch(0.66 0.17 42); /* #FF6B35 */
  --cta: oklch(0.16 0.004 60);
  --cta-ink: oklch(0.96 0.02 88);
  --ok: oklch(0.55 0.14 150);
  --amber: oklch(0.62 0.14 65);
  --danger: oklch(0.55 0.19 25);
  /* legacy aliases consumed by cinematic.css */
  --accent-primary: var(--accent);
  --accent-secondary: var(--orange);
}

/* ---------- base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  /* Fixed .nav-shell is 68px and .reveal blocks slide up 34px after the jump is computed, so the
     offset covers both: an anchored section lands just under the nav, not behind it. */
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--bg);
  scroll-behavior: smooth;
  transition: background 0.5s var(--ease);
  overflow-x: clip;
}
body {
  font-family: var(--font);
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  transition: color 0.5s var(--ease);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
::selection {
  background: var(--accent-soft);
}
.mono {
  font-family: var(--mono);
}

/* ---------- keyboard focus (shared) ----------
   Buttons, links, nav items, cards and the clickable <summary> otherwise fall
   back to the UA outline — inconsistent across the dark/cream glass surfaces and
   easy to lose. One teal ring, keyboard-only (:focus-visible), matching the
   dashboard's app.css ring. Inputs keep their own box-shadow ring (below). The
   outline follows each element's own border-radius. */
a:focus-visible,
.btn:focus-visible,
.nav-item > button:focus-visible,
.dropdown a:focus-visible,
.icon-btn:focus-visible,
.brand:focus-visible,
.agent-card:focus-visible,
.verifier > summary:focus-visible,
.verifier-buttons button:focus-visible,
.book-submit:focus-visible,
.foot-col a:focus-visible,
.foot-bot .fb-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* page-wide trust-network background canvas (cinematic.css positions .net-fixed) */
#bg-net {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
section {
  position: relative;
  z-index: 1;
}
.band {
  padding-block: clamp(80px, 11vw, 150px);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow .rn {
  color: var(--ink-3);
}

/* editorial accents */
.hero-etym {
  margin-top: 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--ink-2);
}
.hero-etym .pron {
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin: 0 8px;
}
.quote-band {
  padding-block: clamp(64px, 9vw, 124px);
  border-bottom: 1px solid var(--line-2);
}
.quote-band .wrap {
  max-width: 1000px;
}
.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(25px, 3.5vw, 46px);
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
  margin: 0;
}
.pull-quote em {
  font-style: italic;
  color: var(--accent);
}
.pq-attr {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.cite {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  max-width: 46ch;
}
.cite em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-2);
}

/* ---------- NAV ---------- */
.nav-shell {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 13px var(--gutter);
  background: color-mix(in oklch, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding-right: 22px;
  border-right: 1px solid var(--line);
}
.brand .mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #f8f4e8;
  color: #0d7377;
  box-shadow: inset 0 0 0 1px oklch(0 0 0 / 0.08);
}
.brand .mark svg {
  width: 21px;
  height: 21px;
  display: block;
}
.brand .name {
  font-size: 17px;
}
.badge-beta {
  font: 600 10px / 1 var(--font);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklch, var(--accent) 30%, transparent);
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  align-self: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: auto;
}
.nav-item {
  position: relative;
}
.nav-item > button {
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  background: none;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: 9px;
  transition: color 0.2s, background 0.2s;
}
.nav-item > button:hover,
.nav-item:hover > button {
  color: var(--ink);
  background: var(--line-2);
}
.nav-item > button svg {
  width: 11px;
  height: 11px;
  opacity: 0.6;
  transition: transform 0.25s var(--ease);
}
.nav-item.open > button svg {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  transform: translateY(8px);
  min-width: 280px;
  padding: 8px;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: 14px;
  backdrop-filter: blur(26px) saturate(1.4);
  -webkit-backdrop-filter: blur(26px) saturate(1.4);
  box-shadow: 0 24px 60px -28px oklch(0 0 0 / 0.7);
  opacity: 0;
  visibility: hidden;
  transition: all 0.26s var(--ease);
}
/* Click/tap/keyboard open via .open only (nav-menu.js). :hover and :focus-within
   are intentionally NOT openers: hover-open desynced from the ARIA/click state
   (clicking or Escape couldn't visually close while the pointer stayed over the
   item), and focus-within reopened on focus return — both defeat explicit close.
   .open is the single source of truth, so ARIA always matches what's visible (F11). */
.nav-item.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  transition: background 0.18s;
}
.dropdown a:hover {
  background: var(--line-2);
}
.dropdown .di-ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--accent);
}
.dropdown .di-ico svg {
  width: 17px;
  height: 17px;
}
.dropdown .di-t {
  font-size: 14px;
  font-weight: 600;
  display: block;
}
.dropdown .di-d {
  font-size: 12.5px;
  color: var(--ink-3);
  display: block;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: none;
  border: 1px solid transparent;
  color: var(--ink-2);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.icon-btn:hover {
  background: var(--line-2);
  color: var(--ink);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
}

.btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 9px 17px;
  border-radius: 10px;
  white-space: nowrap;
  border: 1px solid var(--line);
  background: none;
  color: var(--ink);
  transition: background 0.2s, transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn:hover {
  background: var(--line-2);
}
.btn.ghost {
  border-color: transparent;
  color: var(--ink-2);
}
.btn.ghost:hover {
  color: var(--ink);
  background: var(--line-2);
}
.btn.solid {
  background: var(--cta);
  color: var(--cta-ink);
  border-color: transparent;
}
.btn.solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -12px oklch(0 0 0 / 0.5);
}
.btn.lg {
  padding: 14px 26px;
  font-size: 15.5px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 92px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(120% 80% at 78% 42%, var(--bg) 0%, transparent 58%);
  opacity: 0.55;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 5vw, 88px);
  align-items: center;
}
.hero-copy {
  text-align: left;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  margin-bottom: 28px;
}
.hero-pill .tag {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--line-2);
  font-weight: 500;
  color: var(--ink);
}
.hero h1 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.99;
  font-size: clamp(40px, 5.4vw, 82px);
  text-wrap: balance;
  max-width: 16ch;
}
.hero h1 em {
  font-style: italic;
  font-family: var(--serif);
  font-weight: 500;
  color: var(--accent);
}
.hero-sub {
  margin-top: 22px;
  font-size: clamp(16px, 1.3vw, 18.5px);
  color: var(--ink-2);
  max-width: 52ch;
  text-wrap: pretty;
}
.hero-sub-alt {
  margin-top: 14px;
  font-size: clamp(14.5px, 1.1vw, 16px);
  color: var(--ink-3);
}
.hero-sub-alt a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.hero-sub-alt a:hover {
  color: var(--ink);
}
.hero-cta {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-cta .btn.solid,
.hero-cta .btn.lg {
  padding: 12px 22px;
  font-size: 15px;
}
.agent-cards {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line-2);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 560px;
}
.agent-card {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  padding: 13px 15px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  transition: transform 0.32s var(--ease), border-color 0.3s, background 0.3s;
}
.agent-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink-3);
}
.agent-badge {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--card);
  border: 1px solid var(--line);
}
.agent-badge svg {
  width: 19px;
  height: 19px;
}
.agent-meta {
  flex: 1;
  min-width: 0;
}
.agent-name {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.agent-name b {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.agent-name span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}
.agent-desc {
  font-size: 12.5px;
  color: var(--ink-2);
  margin-top: 2px;
}
.agent-arrow {
  flex: none;
  color: var(--ink-3);
  transition: transform 0.3s var(--ease), color 0.3s;
}
.agent-card:hover .agent-arrow {
  transform: translateX(4px);
  color: var(--ink);
}
.agent-arrow svg {
  width: 18px;
  height: 18px;
}

/* hero co-art: live attestation panel */
.hero-art {
  position: relative;
}
.hero-art .panel {
  position: relative;
  overflow: visible;
  box-shadow: 0 50px 100px -50px oklch(0 0 0 / 0.75);
  transform: perspective(1600px) rotateY(-7deg) rotateX(1.5deg);
  transition: transform 0.6s var(--ease);
}
.hero-art .panel:hover {
  transform: perspective(1600px) rotateY(-3deg) rotateX(0.5deg);
}
.hero-art .seal {
  position: absolute;
  z-index: 3;
  right: -18px;
  top: -18px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px 9px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: oklch(0.99 0.01 190);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 16px 36px -14px var(--accent);
}
.hero-art .seal svg {
  width: 16px;
  height: 16px;
}
.hero-art .seal .ring {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: oklch(0.99 0.01 190);
  animation: pulse2 2s ease-in-out infinite;
}
@keyframes pulse2 {
  0%,
  100% {
    box-shadow: 0 0 0 0 oklch(0.99 0.01 190 / 0.7);
  }
  50% {
    box-shadow: 0 0 0 5px oklch(0.99 0.01 190 / 0);
  }
}

/* ---------- trust strip ---------- */
.trust {
  padding-block: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--line-2);
}
.trust .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.trust .eyebrow {
  text-align: center;
}
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 3.4vw, 44px);
}
.logos span {
  font-family: var(--mono);
  font-size: clamp(13px, 1.4vw, 15.5px);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 9px;
}
.logos span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* ---------- section heading ---------- */
.sec-head {
  max-width: 680px;
}
.sec-head.center {
  margin-inline: auto;
  text-align: center;
}
.sec-head h2 {
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-top: 16px;
  text-wrap: balance;
}
.sec-head p {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-2);
  margin-top: 18px;
  text-wrap: pretty;
}

/* ---------- product spotlight ---------- */
.spot {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.spot + .spot {
  margin-top: clamp(64px, 8vw, 120px);
}
.spot.flip .spot-copy {
  order: 2;
}
.spot-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 8px;
  border-radius: var(--radius-pill);
  background: var(--card);
  border: 1px solid var(--line);
  width: fit-content;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--ink-2);
}
.spot-tag i {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}
.spot-tag i svg {
  width: 13px;
  height: 13px;
}
.spot-copy h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 18px 0 0;
}
.spot-copy > p {
  font-size: 17px;
  color: var(--ink-2);
  margin-top: 16px;
  max-width: 48ch;
  text-wrap: pretty;
}
.spot-list {
  list-style: none;
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.spot-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 13px 0;
  border-top: 1px solid var(--line-2);
}
.spot-list li:last-child {
  border-bottom: 1px solid var(--line-2);
}
.spot-list .ck {
  flex: none;
  margin-top: 1px;
  color: var(--accent);
}
.spot-list .ck svg {
  width: 18px;
  height: 18px;
}
.spot-list b {
  font-weight: 600;
  font-size: 15.5px;
}
.spot-list code {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
}
.spot-list p {
  font-size: 14px;
  color: var(--ink-3);
  margin-top: 3px;
}

/* ---------- code / attestation panel ---------- */
.panel {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--glass-strong);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 40px 90px -50px oklch(0 0 0 / 0.7);
}
.panel-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}
.panel-bar .dots {
  display: flex;
  gap: 6px;
  margin-right: 8px;
}
.panel-bar .dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.panel-bar .grow {
  margin-left: auto;
  color: var(--accent);
}
.panel pre {
  margin: 0;
  padding: 22px 24px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.75;
  white-space: pre;
  color: var(--ink);
}
.panel .k {
  color: var(--ink-3);
}
.panel .s {
  color: var(--ink);
}
.panel .t {
  color: var(--accent);
}
.panel .o {
  color: var(--orange);
}
.panel .p {
  color: var(--ink-3);
}
.panel .c {
  color: var(--ink-3);
  font-style: italic;
}
.panel .kw {
  color: var(--accent);
  font-weight: 700;
}
.panel .fn {
  color: var(--ink);
  font-weight: 700;
}
/* classes emitted by tools/sign-sample.mjs into the RECEIPT_JSON block */
.panel .punct {
  color: var(--ink-3);
}
.panel .n {
  color: var(--orange);
}
.panel .teal,
.panel .kid {
  color: var(--accent);
}
.panel-foot {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-2);
  border-top: 1px solid var(--line-2);
}
.panel-foot > div {
  background: var(--bg-2);
  padding: 13px 18px;
}
.panel-foot .pl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.panel-foot .pv {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink);
  margin-top: 3px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.panel-foot .pv.teal {
  color: var(--accent);
}

/* ---------- problem / security band ---------- */
.prob-band {
  background: color-mix(in oklch, var(--bg-2) 76%, transparent);
  border-block: 1px solid var(--line-2);
}
.prob-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.bignum {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(64px, 9vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.bignum + p {
  font-size: 16px;
  color: var(--ink-2);
  margin-top: 18px;
  max-width: 42ch;
  text-wrap: pretty;
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.stat {
  background: var(--bg);
  padding: 26px 24px;
}
.stat .k {
  font-family: var(--mono);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
/* .stat .k.amber removed (F8): orange is log-position-only; the one stat that
   used it (10-40 hrs) now uses .teal like its sibling ~80%. */
.stat .k.teal {
  color: var(--accent);
}
.stat .l {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 8px;
  line-height: 1.4;
}
.stat .l em {
  color: var(--ink-2);
  font-style: italic;
}

/* ---------- capabilities grid ---------- */
.cap-grid {
  margin-top: clamp(44px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.cap {
  background: var(--bg);
  padding: 32px 30px 36px;
  transition: background 0.3s;
}
.cap:hover {
  background: var(--bg-2);
}
.cap .ci {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--accent);
  margin-bottom: 20px;
}
.cap .ci svg {
  width: 21px;
  height: 21px;
}
.cap h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cap p {
  font-size: 14.5px;
  color: var(--ink-2);
  margin-top: 9px;
  text-wrap: pretty;
}
.cap .cmeta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-top: 14px;
}

/* ---------- CTA ---------- */
.cta-band {
  padding-block: clamp(80px, 10vw, 140px);
}
.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(48px, 7vw, 92px) clamp(28px, 5vw, 80px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(120% 140% at 50% 0%, var(--accent-soft) 0%, transparent 55%);
  pointer-events: none;
}
.cta-box > * {
  position: relative;
  z-index: 1;
}
.cta-box h2 {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.0;
  text-wrap: balance;
}
.cta-box p {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--ink-2);
  margin-top: 18px;
  max-width: 50ch;
}
.cta-actions {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- pilot offer ----------
   The $500 / 10,000-call / 30-day stat row. Defined HERE, not inline, because it
   renders on two pages (the /pilot hero and the homepage pilot band) and two copies
   of the same rules drift. web/pilot.html deliberately carries no .pt-* rules of its
   own — if you restyle the stat row, this is the only place to do it. */
.pilot-terms {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 56px);
  margin-top: clamp(32px, 4vw, 44px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.pt-item {
  min-width: 120px;
}
.pt-num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.pt-lab {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 10px;
}

/* Homepage pilot band. Reuses .pilot-terms above; the band itself is a bordered
   card so the offer reads as an offer and not as another editorial section. */
.pilot-band {
  padding-block: clamp(56px, 7vw, 96px);
}
.pilot-band-box {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-2);
  padding: clamp(32px, 4.5vw, 56px) clamp(24px, 4vw, 56px);
}
.pilot-band-box .pilot-terms {
  margin-top: 26px;
}
.pilot-band h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-top: 16px;
  text-wrap: balance;
}
.pilot-band .pb-dek {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-2);
  margin-top: 14px;
  max-width: 62ch;
}
.pilot-band .pb-list {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-2);
  max-width: 72ch;
}
.pilot-band .pb-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- footer ---------- */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-2);
  padding-block: clamp(56px, 7vw, 84px) 40px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 40px 30px;
}
.foot-brand .brand {
  margin-bottom: 16px;
  border-right: 0;
  padding-right: 0;
}
.foot-brand p {
  font-size: 14px;
  color: var(--ink-3);
  max-width: 34ch;
}
.foot-brand .etym {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 14px;
}
.foot-brand .etym em {
  color: var(--accent);
  font-style: normal;
}
/* Match both h3 (current) and h5 (legacy) so no page loses footer header styling
   if a markup change is missed. */
.foot-col h3,
.foot-col h5 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.foot-col a {
  display: block;
  font-size: 14.5px;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color 0.2s;
}
.foot-col a:hover {
  color: var(--ink);
}
.foot-bot {
  margin-top: clamp(44px, 6vw, 70px);
  padding-top: 26px;
  border-top: 1px solid var(--line-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.foot-bot p {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.foot-bot .fb-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.foot-bot .fb-links a {
  font-size: 13px;
  color: var(--ink-3);
}
.foot-bot .fb-links a:hover {
  color: var(--ink);
}
.foot-legal {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.55;
  max-width: 760px;
}

/* ============================================================
   LIVE COMPONENTS — re-skinned to the glass system
   (verifier widget, how-it-works code, demo form, metrics strip,
   live-status rows). Class/ID names preserved for the JS hooks.
   ============================================================ */

/* live status dot (status-probe.js toggles is-checking/is-live/is-degraded) */
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-3);
  flex: none;
  transition: background 220ms ease;
}
.live-dot.is-live {
  background: var(--ok);
  animation: pulse 2.4s ease-in-out infinite;
}
.live-dot.is-degraded {
  background: var(--amber);
  animation: none;
}
.live-dot.is-checking {
  background: var(--ink-3);
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 color-mix(in oklch, var(--ok) 55%, transparent);
  }
  50% {
    box-shadow: 0 0 0 6px transparent;
  }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot.is-live {
    animation: none;
  }
}
.sp-live {
  color: var(--ok) !important;
}
.sp-degraded {
  color: var(--amber) !important;
}
.sp-checking {
  color: var(--ink-3) !important;
}
.panel-foot .pv .ck {
  color: var(--ok);
}

/* how-it-works code steps */
.steps {
  margin-top: clamp(36px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.step {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.step-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.step-desc {
  font-size: 14.5px;
  color: var(--ink-2);
  margin-top: 12px;
  max-width: 34ch;
  line-height: 1.55;
}
.code-stack {
  display: grid;
  gap: 12px;
}
.code-block {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  overflow-x: auto;
  white-space: pre;
  color: var(--ink);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
}
.code-block .kw {
  color: var(--accent);
  font-weight: 700;
}
.code-block .fn {
  color: var(--ink);
  font-weight: 700;
}
.code-block .str {
  color: var(--ink);
}
.code-block .cmt {
  color: var(--ink-3);
  font-style: italic;
}
.code-block .var {
  color: var(--ink-2);
}
.code-block .punct {
  color: var(--ink-3);
}

/* verifier widget */
.verifier {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--glass-strong);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  overflow: hidden;
}
.verifier > summary {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 11px;
}
.verifier > summary::-webkit-details-marker {
  display: none;
}
.verifier > summary::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  background: var(--accent);
  -webkit-mask: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='black' stroke-width='2.5'/%3E%3C/svg%3E");
  mask: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='black' stroke-width='2.5'/%3E%3C/svg%3E");
  transition: transform 0.2s var(--ease);
}
.verifier[open] > summary::before {
  transform: rotate(90deg);
}
.verifier-body {
  padding: 0 22px 22px;
}
.verifier-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
#jws-input {
  width: 100%;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  resize: vertical;
  word-break: break-all;
}
#jws-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.verifier-buttons {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.verifier-buttons button {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: var(--cta);
  color: var(--cta-ink);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}
.verifier-buttons button:hover {
  transform: translateY(-1px);
}
.verifier-buttons button.secondary {
  background: none;
  color: var(--ink-2);
  border-color: var(--line);
}
.verifier-buttons button.secondary:hover {
  color: var(--ink);
  background: var(--line-2);
}
.verify-output {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  margin-top: 14px;
  overflow-x: auto;
  white-space: pre;
  min-height: 0;
  max-height: 0;
  opacity: 0;
}
.verify-output.show {
  padding: 16px 18px;
  min-height: 1em;
  max-height: 600px;
  opacity: 1;
}
.verify-output .ok,
.verify-output .teal {
  color: var(--accent);
  font-weight: 700;
}
.verify-output .bad {
  color: var(--danger);
  font-weight: 700;
}
.verify-output .warn {
  color: var(--amber);
  font-weight: 700;
}
.verify-output .dim {
  color: var(--ink-3);
}
@media (prefers-reduced-motion: no-preference) {
  .verify-output.show {
    animation: verifyfade 180ms ease-out;
  }
  @keyframes verifyfade {
    from {
      opacity: 0;
      transform: translateY(-3px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* demo / book-a-call form */
.book-form-card {
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 30px;
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 40px 90px -50px oklch(0 0 0 / 0.7);
}
.book-form-card .form-title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.book-form-card .form-sub {
  font-size: 14px;
  color: var(--ink-3);
  margin-top: 6px;
  margin-bottom: 22px;
}
.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 7px;
}
.field input,
.field select {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 13px;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238A8770'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 32px;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.book-submit {
  width: 100%;
  margin-top: 8px;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--cta-ink);
  background: var(--cta);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 14px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.book-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -12px oklch(0 0 0 / 0.5);
}
.book-microcopy {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 12px;
  text-align: center;
}
.demo-status {
  font-size: 13px;
  color: var(--danger);
  margin-bottom: 12px;
  line-height: 1.45;
}
.demo-status a {
  color: var(--danger);
  text-decoration: underline;
}
.demo-success {
  text-align: center;
  padding: 28px 8px 12px;
}
.demo-success-check {
  font-family: var(--mono);
  font-size: 34px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.demo-success-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 10px;
}
.demo-success-body {
  font-size: 14px;
  color: var(--ink-3);
  margin: 8px auto 0;
  max-width: 320px;
  line-height: 1.5;
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* the request-form popup: homepage "Request early access" and /pilot "Start the
   pilot" both open it, so it lives here rather than in one page's <style> */
dialog.modal {
  width: min(460px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}
dialog.modal::backdrop {
  background: oklch(0.08 0.02 200 / 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
dialog.modal .book-form-card {
  position: relative;
  max-height: calc(100dvh - 28px);
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 2;
}
.modal-close:hover {
  background: var(--line-2);
  color: var(--ink);
}
.modal-close svg {
  width: 16px;
  height: 16px;
}
dialog.modal[open] {
  animation: modalIn 0.26s var(--ease);
}
@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  dialog.modal[open] {
    animation: none;
  }
}

/* metrics strip (build-metrics.ts writes between markers; status-probe reads .bs-*) */
.metrics {
  padding-block: clamp(56px, 7vw, 90px);
}
.metrics .m-title {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin-bottom: 28px;
}
.bs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.bs-cell {
  background: var(--bg);
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 132px;
}
.bs-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.4;
}
.bs-value {
  font-family: var(--mono);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
  margin-top: auto;
}
.bs-value.accent {
  color: var(--accent);
}
.bs-value.green {
  color: var(--ok);
}
.bs-value.mute {
  color: var(--ink-3);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.bs-value.small {
  font-size: 17px;
}
.bs-value span {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.6em;
}
.bs-sub {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  line-height: 1.5;
}
/* only the endpoints cell needs its (long) sub list visible; others stay compact */
.bs-cell:not(.bs-show-sub) .bs-sub {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- reveal (defer to cinematic.css if present; safe fallback) ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ---------- touch targets (F10) ----------
   Raise interactive controls to the 44px minimum on touch/coarse pointers,
   where the guideline matters. Fine-pointer (mouse) desktop keeps its compact
   editorial density — a 34-41px target is fully clickable with a cursor. */
@media (pointer: coarse) {
  .nav-item > button,
  .btn,
  .verifier-buttons button,
  .foot-bot .fb-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  /* Footer column links stay full-column-width tap targets — block-level flex,
     NOT inline-flex (which would shrink the hitbox to text width). */
  .foot-col a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .icon-btn {
    width: 44px;
    height: 44px;
  }
}

/* ---------- responsive ---------- */
/* Breakpoint ladder (F9 — documented, not yet unified across surfaces):
     marketing (this file): 1100 / 960 / 720 / 460
     dashboard (app/app.css): 960 (max) + 861/860 (min/max boundary) / 560
     status (status.html): 640
   960 is the only shared edge. The dashboard's 861/860 is a deliberate
   non-overlapping min/max split (sidebar >=861, stacked <=860), not a typo —
   do not collapse it. Full unification to one ladder is deferred: it would
   reflow every screen size and carries layout-regression risk. */
/* Below 1100px the full nav (logo + Beta badge + dropdown links + 3 CTAs) no longer
   fits; hide the redundant Verifier SDK button (also in the Developers dropdown + footer). */
@media (max-width: 1100px) {
  .hide-md {
    display: none !important;
  }
}
@media (max-width: 960px) {
  .code-stack .code-block {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--bg-2);
  }
  .nav-links {
    display: none;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-art {
    max-width: 520px;
  }
  .hero-art .panel,
  .hero-art .panel:hover {
    transform: none;
  }
  .spot,
  .spot.flip {
    grid-template-columns: 1fr;
  }
  .spot.flip .spot-copy {
    order: 0;
  }
  .prob-grid {
    grid-template-columns: 1fr;
  }
  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .step {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
  .bs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .hide-sm {
    display: none !important;
  }
  .agent-cards {
    grid-template-columns: 1fr;
  }
  .cap-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 460px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .stat-grid,
  .bs-grid {
    grid-template-columns: 1fr;
  }
  .foot-bot {
    flex-direction: column;
    align-items: flex-start;
  }
}
