/* ================================================================
   Dispovia — marketing site (dark)
   Components consume semantic tokens from tokens.css only.
   The `.mock` block is the dark design-language reference for the
   Outlook add-in: every custom property it reads already exists in
   outlook_addin/taskpane.css under the same name.
   ================================================================ */

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--border-strong) var(--surface-page);
}

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: var(--site-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

[id] {
  scroll-margin-top: calc(var(--site-header-height) + 16px);
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: var(--text-on-accent);
}

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

img,
svg {
  display: block;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  color: var(--text-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--accent);
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
blockquote,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

.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-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: var(--site-z-skip);
  padding: 10px 14px;
  background: var(--text-primary);
  color: var(--surface-page);
  border-radius: var(--radius-sm);
  font-size: var(--site-small);
  font-weight: 500;
  transform: translateY(-160%);
  transition: transform var(--site-dur-micro) var(--site-ease);
}

.skip-link:focus {
  transform: translateY(0);
  color: var(--surface-page);
}

.container {
  width: 100%;
  max-width: var(--site-container);
  margin-inline: auto;
  padding-inline: var(--site-gutter);
}

/* ---------- Ambient layers ---------- */

.ambient-fallback {
  position: fixed;
  inset: 0;
  z-index: var(--site-z-ambient);
  pointer-events: none;
  background:
    radial-gradient(
      138% 92% at 50% 0%,
      var(--surface-shader-fallback) 0%,
      var(--surface-page) 64%
    );
}

.ambient-shader {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  /* 80 px past the viewport. The last rows of a WebGL buffer are not
     repainted reliably by every compositor, and a pixel pattern cannot be
     faded out without showing the fade. Overflow instead of a mask. */
  height: calc(100% + 80px);
  z-index: var(--site-z-ambient);
  display: block;
  width: 100%;
  object-fit: fill;
  pointer-events: none;
  background:
    radial-gradient(
      138% 92% at 50% 0%,
      var(--surface-shader-fallback) 0%,
      var(--surface-page) 64%
    );
}

.ambient-shader[hidden] {
  display: none;
}

main,
.site-footer,
.site-header {
  position: relative;
  z-index: 2;
}

/* ---------- Type ---------- */

.eyebrow {
  display: block;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section {
  padding-block: var(--site-section);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head h2,
h2 {
  font-size: var(--site-h2);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-head .lead {
  margin-top: 20px;
}

.lead {
  max-width: var(--site-measure);
  font-size: var(--site-lead);
  line-height: 1.55;
  color: var(--text-secondary);
}

.body-copy {
  color: var(--text-secondary);
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.footnote {
  max-width: 76ch;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- Buttons ---------- */

.btn {
  --btn-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-height);
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color var(--site-dur-micro) var(--site-ease),
    border-color var(--site-dur-micro) var(--site-ease),
    color var(--site-dur-micro) var(--site-ease),
    transform 100ms var(--site-ease);
}

.btn svg {
  flex: 0 0 auto;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--surface-page);
}

.btn-primary:hover {
  background: var(--text-secondary);
  border-color: var(--text-secondary);
  color: var(--surface-page);
}

.btn-secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--surface-subtle);
  border-color: var(--accent);
  color: var(--text-primary);
}

.btn-accent {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: var(--brand-accent-ink);
  font-weight: 600;
}

.btn-accent:hover {
  background: var(--brand-accent-hover);
  border-color: var(--brand-accent-hover);
  color: var(--brand-accent-ink);
}

.btn-lg {
  --btn-height: 48px;
  padding-inline: 24px;
  font-size: 1rem;
}

.btn-sm {
  --btn-height: 40px;
  padding-inline: 16px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--site-header-height);
  z-index: var(--site-z-header);
  background: var(--surface-glass);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
  transition:
    background-color var(--site-dur-standard) var(--site-ease),
    border-color var(--site-dur-standard) var(--site-ease);
}

.site-header.is-scrolled {
  background: var(--surface-glass-strong);
  border-bottom-color: var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--text-primary);
  text-decoration: none;
}

.brand:hover {
  color: var(--text-primary);
}

/* Wordmark. No icon, no lockup: the word alone carries the brand. */
.brand-word {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 32px);
  margin-left: auto;
}

.nav-desktop a {
  position: relative;
  padding-block: 8px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--site-dur-micro) var(--site-ease);
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--site-dur-standard) var(--site-ease);
}

.nav-desktop a:hover {
  color: var(--text-primary);
}

.nav-desktop a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  cursor: pointer;
  transition:
    border-color var(--site-dur-micro) var(--site-ease),
    background-color var(--site-dur-micro) var(--site-ease);
}

.menu-toggle:hover {
  border-color: var(--accent);
  background: var(--surface-subtle);
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--site-z-menu);
  padding: calc(var(--site-header-height) + 20px) var(--site-gutter) 32px;
  background: var(--surface-page);
  overflow-y: auto;
  animation: menu-in var(--site-dur-standard) var(--site-ease);
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.mobile-menu a:not(.btn):hover {
  color: var(--accent);
}

.mobile-menu .btn {
  margin-top: 28px;
}

/* ---------- Theme toggle ---------- */

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  cursor: pointer;
  transition:
    border-color var(--site-dur-micro) var(--site-ease),
    background-color var(--site-dur-micro) var(--site-ease),
    color var(--site-dur-micro) var(--site-ease);
}

.theme-toggle:hover {
  border-color: var(--accent);
  background: var(--surface-subtle);
  color: var(--text-primary);
}

.theme-toggle svg {
  flex: 0 0 auto;
}

.theme-toggle .theme-icon-moon {
  display: none;
}

:root[data-theme="light"] .theme-toggle .theme-icon-sun {
  display: none;
}

:root[data-theme="light"] .theme-toggle .theme-icon-moon {
  display: block;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--site-header-height) + clamp(28px, 4vw, 44px))
    clamp(48px, 6vw, 88px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 566px);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero-copy {
  min-width: 0;
}

.hero-title {
  margin: 0 0 24px;
  font-size: var(--site-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.h1-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}

.h1-line > span {
  display: block;
  transform: translateY(112%);
  animation: line-up 900ms var(--site-ease) forwards;
}

.h1-line:nth-child(2) > span {
  animation-delay: 90ms;
}

@keyframes line-up {
  to {
    transform: translateY(0);
  }
}

.hero-lead {
  max-width: 46ch;
  font-size: var(--site-lead);
  line-height: 1.55;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 30px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
}

.hero-meta li:not(:last-child)::after {
  content: "/";
  margin-inline: 10px;
  color: var(--border-strong);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero-note svg {
  color: var(--accent);
}

.hero-visual {
  min-width: 0;
  width: 100%;
  margin-left: auto;
}

.mock-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 0.625rem;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--text-muted);
}

/* ---------- Product mock (portable token set) ---------- */

.mock {
  position: relative;
  width: 100%;
  max-width: 566px;
  margin-left: auto;
  background: var(--surface-muted);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: var(--type-3xl);
  color: var(--text-primary);
  overflow: hidden;
  contain: layout paint;
}

.mock-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  height: 42px;
  padding: 0 10px;
  background: var(--surface-default);
  border-bottom: 1px solid var(--border-default);
}

.mock-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding-right: 8px;
  border-right: 1px solid var(--border-soft);
}

.mock-brand-name {
  font-size: var(--type-lg);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.mock-subject {
  min-width: 0;
  font-family: var(--mono);
  font-size: var(--type-2xs);
  letter-spacing: 0.01em;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-subject strong {
  font-weight: 500;
  color: var(--text-secondary);
}

.mock-badge {
  margin-left: auto;
  flex: 0 0 auto;
  padding: 2px 5px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xs);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.mock-scan {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(var(--scan, 0));
  transform-origin: left;
  opacity: 0;
}

.mock.is-scanning .mock-scan {
  opacity: 1;
}

.mock-mail {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 7px;
  padding: 7px 10px;
  background: var(--surface-default);
  border-bottom: 1px solid var(--border-default);
}

.mock-mail-icon {
  color: var(--accent);
  padding-top: 1px;
}

.mail-kicker {
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mail-subject {
  margin-top: 1px;
  font-size: var(--type-md);
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mail-from {
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-tally {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  padding: 0 10px;
  background: var(--surface-muted);
  border-bottom: 1px solid var(--border-soft);
}

.tally {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  line-height: 1;
  white-space: nowrap;
}

.tally svg {
  flex: 0 0 auto;
}

.tally b {
  font-family: var(--mono);
  font-weight: 600;
}

.tally-ok {
  color: var(--status-ok);
}

.tally-warn {
  color: var(--status-warn);
}

.tally-miss {
  color: var(--status-error);
}

.mock-progress {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-muted);
  white-space: nowrap;
}

.mock-groups {
  padding: 6px 8px 7px;
}

.mock-group + .mock-group {
  margin-top: 2px;
}

.mock-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-height: 15px;
  margin-top: 3px;
}

.mock-group:first-child .mock-group-head {
  margin-top: 0;
}

.mock-group-name {
  font-size: 9px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mock-group-count {
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.4;
  color: var(--text-muted);
}

.mf {
  position: relative;
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 24px;
  padding: 0 4px;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 160ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 160ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 200ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mf:hover {
  background: var(--surface-subtle);
}

.mf.is-selected {
  background: var(--surface-selected);
  border-color: var(--accent-line);
}

.mf.is-target {
  border-color: var(--accent-line);
}

.mf.is-copied {
  background: var(--surface-subtle);
  border-color: var(--border-default);
}

.mf.is-copied::before {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 2px;
  background: var(--brand-accent);
  transform-origin: top;
  animation: confirm-spring 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes confirm-spring {
  0% {
    transform: scaleY(0.2);
    opacity: 0;
  }
  60% {
    transform: scaleY(1.12);
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.mf.is-copied .field-status {
  display: none;
}

.mf.is-copied .field-copied {
  display: inline-flex;
  animation: copy-enter 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.field-name {
  min-width: 0;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.field-value {
  min-width: 0;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.2;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.field-value .field-missing {
  color: var(--text-muted);
}

.field-value .field-missing::before {
  content: "—";
}

.field-status,
.field-copied {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
  font-size: 9px;
  line-height: 1.2;
  white-space: nowrap;
}

.field-status svg,
.field-copied svg {
  flex: 0 0 auto;
}

.field-copied {
  display: none;
  color: var(--brand-accent-text);
  font-weight: 500;
}

[data-status="ok"] .field-status {
  color: var(--status-ok);
}

[data-status="warn"] .field-status {
  color: var(--status-warn);
}

[data-status="miss"] .field-status {
  color: var(--status-error);
}

@keyframes copy-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.mock.is-playing .mf:not(.is-loaded) {
  opacity: 0;
  transform: translateY(3px);
}

.evidence {
  min-height: 44px;
  padding: 6px 10px;
  background: var(--surface-default);
  border-top: 1px solid var(--border-default);
}

.evidence-label {
  display: block;
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.evidence-text {
  display: -webkit-box;
  margin-top: 1px;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.45;
  color: var(--text-secondary);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.evidence-text mark {
  padding: 0 2px;
  background: var(--accent-soft);
  color: var(--text-primary);
  border-radius: 1px;
}

.mock-dock {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 5px 10px;
  background: var(--surface-default);
  border-top: 1px solid var(--border-default);
}

.mock-dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: var(--control-height-sm);
  padding: 0 12px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--text-on-accent);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 160ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 160ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 100ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mock-dock-btn:hover {
  background: var(--accent);
  border-color: var(--text-primary);
}

.mock-dock-btn:active {
  transform: translateY(1px);
}

.mock-dock-btn:disabled {
  background: var(--surface-subtle);
  border-color: var(--border-default);
  color: var(--text-muted);
  cursor: default;
}

.kbd {
  display: inline-flex;
  align-items: center;
  height: 16px;
  padding: 0 4px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  background: var(--surface-muted);
  color: var(--text-secondary);
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
}

.mock-dock-btn .kbd {
  border-color: var(--accent-line);
  background: transparent;
  color: var(--text-on-accent);
}

.mock-dock-status {
  min-width: 0;
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.3;
  text-align: right;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 320ms var(--site-ease),
    transform 320ms var(--site-ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js [data-reveal-group] > * {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 320ms var(--site-ease),
    transform 320ms var(--site-ease);
}

.js [data-reveal-group].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.js [data-reveal-group].is-visible > :nth-child(1) {
  transition-delay: 0ms;
}
.js [data-reveal-group].is-visible > :nth-child(2) {
  transition-delay: 52ms;
}
.js [data-reveal-group].is-visible > :nth-child(3) {
  transition-delay: 104ms;
}
.js [data-reveal-group].is-visible > :nth-child(4) {
  transition-delay: 156ms;
}

/* ---------- Problem (frosted glass band) ----------
   The section is one full-bleed slab of glass. The ambient shader stays the
   backdrop, so the blur shows real moving light instead of a painted gradient.
   Two layers sit above the fill: two drifting specular pools and one slow
   sheen pass. Nothing animates opacity of body text. */

.problem {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-block: var(--site-rule);
  background:
    linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        var(--site-glass-edge) 50%,
        rgba(255, 255, 255, 0) 100%
      )
      top / 100% 1px no-repeat,
    linear-gradient(180deg, var(--site-glass-wash), rgba(255, 255, 255, 0) 26%),
    linear-gradient(0deg, var(--site-glass-wash), rgba(255, 255, 255, 0) 20%),
    var(--site-glass-fill);
  -webkit-backdrop-filter: blur(var(--site-glass-blur)) saturate(122%);
  backdrop-filter: blur(var(--site-glass-blur)) saturate(122%);
  box-shadow:
    inset 0 1px 0 var(--site-glass-edge),
    inset 0 -1px 0 var(--site-glass-edge-bottom),
    inset 0 0 0 1px var(--site-glass-rim);
}

/* Two soft specular pools that never line up. */
.problem::after {
  content: "";
  position: absolute;
  inset: -30% -8%;
  z-index: 1;
  background:
    radial-gradient(42% 18% at 22% 28%, var(--site-glass-reflection), rgba(255, 255, 255, 0) 70%),
    radial-gradient(34% 14% at 76% 66%, var(--site-glass-reflection), rgba(255, 255, 255, 0) 74%);
  filter: blur(34px);
  pointer-events: none;
  animation: glass-pools 34s ease-in-out infinite alternate;
}

/* One unhurried glint per cycle, with a long rest between passes. */
.glass-sheen {
  position: absolute;
  inset-block: -20%;
  left: 0;
  z-index: 1;
  width: 52%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    var(--site-glass-glint) 42%,
    var(--site-glass-glint) 58%,
    rgba(255, 255, 255, 0) 100%
  );
  filter: blur(20px);
  pointer-events: none;
  animation: glass-sheen 24s var(--site-ease) infinite;
}

.problem > .container {
  position: relative;
  z-index: 2;
}

@keyframes glass-pools {
  from {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 2.5%, 0) scale(1.06);
  }
}

@keyframes glass-sheen {
  0%,
  52% {
    transform: translate3d(-140%, 0, 0) skewX(-10deg);
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  92% {
    transform: translate3d(340%, 0, 0) skewX(-10deg);
    opacity: 0;
  }
  100% {
    transform: translate3d(340%, 0, 0) skewX(-10deg);
    opacity: 0;
  }
}

/* No blur support: fall back to the page surface, keep the content readable. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .problem {
    background: var(--surface-page);
  }
}

@media (max-width: 700px) {
  .problem {
    --site-glass-blur: 12px;
  }

  .glass-sheen {
    display: none;
  }
}

@media (forced-colors: active) {
  .problem {
    background: Canvas;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .problem::after,
  .glass-sheen {
    display: none;
  }
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}

.problem-item {
  padding-top: 22px;
  border-top: 1px solid var(--border-default);
}

.problem-num {
  display: block;
  margin-bottom: 26px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.problem-item h3 {
  margin-bottom: 10px;
  font-size: var(--site-h3);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.problem-item p {
  max-width: 34ch;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ---------- Transformation (scroll-scrubbed) ---------- */

.transformation {
  position: relative;
  border-top: var(--site-rule);
}

.transform-track {
  height: 300vh;
}

.transform-sticky {
  position: sticky;
  top: 0;
  display: flex;
  /* Centre the stage in the viewport, not at the top: a top-aligned stage
     leaves the lower half of the screen empty for the whole 300vh scrub. */
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: calc(var(--site-header-height) + 16px) 24px;
}

/* Short viewports: the stage no longer fits, so anchor it under the header
   instead of letting centring push the headline out of view. */
@media (min-width: 901px) and (max-height: 660px) {
  .transform-sticky {
    align-items: flex-start;
    padding-block: calc(var(--site-header-height) + 10px) 16px;
  }
}

.transform-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.transform-head .eyebrow {
  margin-bottom: 12px;
}

.transform-title {
  font-size: clamp(1.75rem, 1.15rem + 1.9vw, 2.6rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.transform-phase {
  flex: 0 0 auto;
  min-width: 186px;
  padding: 6px 9px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xs);
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: right;
  color: var(--text-secondary);
  white-space: nowrap;
}

.transform-stage {
  --route: 1;
  --mail: 1;
  display: grid;
  grid-template-columns: minmax(0, 300px) 150px minmax(0, 1fr);
  align-items: center;
  gap: 0;
  min-height: 342px;
}

.transform-stage[data-scrub] {
  --route: 0;
  --mail: 0;
}

.mail-card {
  position: relative;
  min-width: 0;
  padding: 12px;
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  transform: translateX(calc((1 - var(--mail)) * -22px));
}

.mail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-soft);
}

.mail-head-label {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mail-time {
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--text-muted);
}

.mail-meta {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.45;
  color: var(--text-muted);
}

.mail-meta strong {
  font-weight: 500;
  color: var(--text-secondary);
}

.mail-subject-line {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-primary);
}

.mail-body {
  margin-top: 9px;
  font-size: 9.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.mail-body p + p {
  margin-top: 5px;
}

.mail-body mark {
  padding: 0 1px;
  background: var(--accent-soft);
  color: var(--text-primary);
  border-radius: 1px;
}

.mail-attach {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 9px;
  padding: 3px 5px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xs);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.3;
  color: var(--text-muted);
}

.mail-attach svg {
  color: var(--accent);
}

.route-col {
  position: relative;
  align-self: stretch;
  min-height: 300px;
}

.route-d,
.route-m {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.route-m {
  display: none;
}

.route-path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--route));
}

.route-end {
  fill: var(--surface-page);
  stroke: var(--accent);
  stroke-width: 1.5;
  opacity: calc(var(--route) * 1.4);
  transition: opacity var(--site-dur-standard) var(--site-ease);
}

.checkpoint {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 132px;
  transform: translate(-50%, -50%);
  text-align: center;
}

.checkpoint-node {
  display: block;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  background: var(--surface-page);
  transition:
    background-color var(--site-dur-standard) var(--site-ease),
    border-color var(--site-dur-standard) var(--site-ease);
}

.checkpoint-label {
  padding: 1px 4px;
  border-radius: var(--radius-xs);
  background: var(--surface-page);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--site-dur-standard) var(--site-ease);
}

.checkpoint-sub {
  display: none;
  margin-top: -4px;
  padding: 1px 5px;
  border-radius: var(--radius-xs);
  /* Orange fill, dark ink. Orange text fails on a light surface. */
  background: var(--brand-accent);
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--brand-accent-ink);
}

.checkpoint.is-human .checkpoint-node {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  animation: node-spring 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes node-spring {
  0% {
    transform: scale(0.72);
  }
  60% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

.checkpoint.is-human .checkpoint-label {
  color: var(--text-primary);
}

.checkpoint.is-human .checkpoint-sub {
  display: block;
}

.stack-col {
  min-width: 0;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.group-card {
  padding: 5px 7px 6px;
  background: var(--surface-default);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  transition:
    opacity 320ms var(--site-ease),
    transform 320ms var(--site-ease),
    border-color 320ms var(--site-ease);
}

[data-scrub] .group-card:not(.is-in) .group-fields,
[data-scrub] .group-card:not(.is-in) .group-count {
  visibility: hidden;
  opacity: 0;
}

.group-fields,
.group-count {
  transition: opacity 260ms var(--site-ease);
}

.group-card.is-in {
  opacity: 1;
  transform: translateY(0);
  border-color: var(--border-default);
}

.group-head {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}

.group-index {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--text-muted);
}

.group-name {
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.group-count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--text-muted);
  white-space: nowrap;
}

.group-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
  margin-top: 4px;
}

.gcell {
  min-width: 0;
  padding: 3px 4px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xs);
}

.gcell-label {
  display: block;
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gcell-value {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.35;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gcell-value.is-missing {
  color: var(--text-muted);
}

.gcell-status {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 2px;
  font-size: 7.5px;
  line-height: 1.2;
  white-space: nowrap;
}

.gcell[data-status="ok"] .gcell-status {
  color: var(--status-ok);
}
.gcell[data-status="warn"] .gcell-status {
  color: var(--status-warn);
}
.gcell[data-status="miss"] .gcell-status {
  color: var(--status-error);
}

.handoff {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 7px 9px;
  background: var(--surface-muted);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  transition:
    opacity 320ms var(--site-ease),
    transform 320ms var(--site-ease),
    border-color 320ms var(--site-ease);
}

[data-scrub] .handoff:not(.is-in) .handoff-sub {
  visibility: hidden;
  opacity: 0;
}

.handoff-sub {
  transition: opacity 260ms var(--site-ease);
}

.handoff.is-in {
  opacity: 1;
  transform: translateY(0);
  border-color: var(--accent-line);
}

.handoff-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-xs);
  color: var(--accent);
}

.handoff-copy {
  min-width: 0;
}

.handoff-label {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.handoff-sub {
  display: block;
  font-size: 8.5px;
  line-height: 1.35;
  color: var(--text-muted);
}

.transform-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
}

.legend-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: color var(--site-dur-standard) var(--site-ease);
}

.legend-num {
  color: var(--text-muted);
}

.legend-step.is-active {
  color: var(--text-primary);
}

.legend-step.is-active .legend-num {
  color: var(--accent);
}

.legend-step[data-human].is-active {
  color: var(--brand-accent-text);
}

.legend-step[data-human].is-active .legend-num {
  color: var(--brand-accent-text);
}

/* ---------- Security ---------- */

.security {
  background: transparent;
  border-block: var(--site-rule);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trust-card {
  padding: 24px;
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-sm);
  color: var(--accent);
}

.trust-card h3 {
  margin-bottom: 10px;
  font-size: var(--site-h3);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.trust-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.boundaries {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 20px;
  padding: 0;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--surface-default);
}

.boundaries li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 13px 14px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.boundaries li + li {
  border-left: 1px solid var(--border-soft);
}

.boundaries svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--status-ok);
}

.security .footnote {
  margin-top: 20px;
}

/* ---------- Four-step flow ---------- */

.flow {
  border-bottom: var(--site-rule);
}

.flow-route {
  position: relative;
  margin-bottom: 4px;
  padding-top: 12px;
}

.flow-path-svg {
  position: absolute;
  top: 12px;
  left: 0;
  width: 100%;
  height: 56px;
  overflow: visible;
  color: var(--accent);
}

.flow-path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.js .flow-route:not(.is-drawn) .flow-path {
  stroke-dashoffset: 1;
}

.flow-route.is-drawn .flow-path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1600ms var(--site-ease);
}

.flow-stops {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  height: 56px;
}

.flow-stop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
}

.flow-node {
  display: block;
  width: 11px;
  height: 11px;
  background: var(--surface-page);
  border: 1.5px solid var(--accent);
  border-radius: 50%;
}

.flow-stop.is-human .flow-node {
  width: 15px;
  height: 15px;
  background: var(--brand-accent);
  border-color: var(--brand-accent);
}

.flow-stop-label {
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.flow-stop.is-human .flow-stop-label {
  color: var(--brand-accent-text);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.flow-step {
  padding-top: 18px;
  border-top: 1px solid var(--border-default);
}

.flow-num {
  display: block;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.flow-step h3 {
  margin-bottom: 10px;
  font-size: var(--site-h3);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.flow-step p {
  max-width: 30ch;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.flow-human-note {
  display: inline-block;
  margin-top: 12px;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  background: var(--brand-accent);
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  /* Orange is a fill with dark ink, never orange text. Orange text on a light
     surface is 1.48:1. */
  color: var(--brand-accent-ink);
}

/* ---------- Pilot / references ---------- */

.pilot {
  background: transparent;
}

.pilot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.pilot-quote {
  margin: 34px 0 0;
  padding-left: 18px;
  border-left: 1px solid var(--accent);
}

.pilot-quote p {
  max-width: 34ch;
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.pilot-quote footer {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pilot-card {
  padding: 24px;
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
}

.pilot-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}

.pilot-card-title {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.pilot-card-note {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pilot-facts {
  display: grid;
  gap: 0;
  margin-top: 4px;
}

.pilot-fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
}

.pilot-fact:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pilot-fact dt {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.pilot-fact dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--text-primary);
  text-align: right;
  white-space: nowrap;
}

.honesty {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 16px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
}

.honesty svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--text-muted);
}

.honesty p {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.pilot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- v6: benefits, founder, price ---------- */

.benefits {
  background: transparent;
  /* The problem band owns the hairline above this section. */
  border-top: 0;
  border-bottom: var(--site-rule);
}

.benefits .footnote {
  margin-top: 20px;
}

.founder {
  background: transparent;
  border-top: var(--site-rule);
}

.founder h2,
.price h2 {
  margin-bottom: 20px;
}

.price .body-copy {
  margin-top: 16px;
}

.founder-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
  color: var(--text-primary);
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 500;
}

.price {
  background: transparent;
  border-top: var(--site-rule);
}

/* ---------- Integration band ----------
   Two brand lockups. The symbols are the vendors' own artwork in their brand
   colours, so they are never recoloured, filtered, or faded. A white plate
   keeps both marks legible on the dark page and gives light mode the same
   parity. The names, roles, and seam stay neutral text. */

.integrations {
  padding-block: clamp(44px, 6vw, 76px);
}

.integration-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.integration-copy h2 {
  font-size: clamp(1.55rem, 1.15rem + 1.5vw, 2.25rem);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.integration-copy .lead {
  max-width: 46ch;
  margin-top: 16px;
  font-size: var(--site-body);
}

.integration-logos {
  display: flex;
  align-items: stretch;
  gap: clamp(18px, 2.6vw, 30px);
}

.integration-seam {
  flex: 0 0 1px;
  align-self: stretch;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--border-default) 16%,
    var(--border-default) 84%,
    transparent
  );
}

.integration-lockup {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
}

.integration-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border: 1px solid var(--logo-plate-edge);
  border-radius: var(--radius-md);
  background: var(--logo-plate);
}

.integration-mark img,
.integration-mark svg {
  display: block;
  width: auto;
}

.integration-mark--outlook img {
  height: 24px;
}

.integration-mark--timocom svg {
  height: 18px;
  fill: var(--brand-timocom);
}

.integration-name {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.integration-name--timocom {
  font-weight: 600;
  letter-spacing: 0.03em;
}

.integration-role {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.integration-legal {
  max-width: 78ch;
  margin-top: clamp(30px, 4vw, 44px);
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .integration-band {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 520px) {
  .integration-logos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .integration-seam {
    width: auto;
    height: 1px;
    background: linear-gradient(
      to right,
      transparent,
      var(--border-default) 18%,
      var(--border-default) 82%,
      transparent
    );
  }

  .integration-name {
    font-size: 0.9375rem;
  }
}

/* ---------- FAQ ---------- */

.faq {
  background: transparent;
  border-block: var(--site-rule);
}

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

.faq-head {
  position: sticky;
  top: calc(var(--site-header-height) + 28px);
}

.faq-list {
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
}

.faq-item + .faq-item {
  border-top: 1px solid var(--border-soft);
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 17px 18px;
  background: transparent;
  border: 0;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--site-dur-micro) var(--site-ease);
}

.faq-trigger:hover {
  background: var(--surface-subtle);
}

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: transform 200ms var(--site-ease);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
}

.faq-icon::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 200ms var(--site-ease);
}

.faq-panel.is-open {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel-inner p {
  max-width: 60ch;
  padding: 0 18px 18px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ---------- Contact ---------- */

.contact {
  background: transparent;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.contact-copy h2 {
  margin-bottom: 18px;
}

.contact-points {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-point {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.contact-point span:first-child {
  font-family: var(--mono);
  font-size: 0.6875rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.contact-direct {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.contact-direct a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 4px;
}

.contact-direct a:hover {
  color: var(--accent);
}

.contact-form {
  padding: 24px;
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
}

.field label .optional {
  font-weight: 400;
  color: var(--text-muted);
}

.field input,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  background: var(--surface-page);
  border: 1px solid var(--border-control);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9375rem;
  line-height: 1.5;
  transition:
    border-color var(--site-dur-micro) var(--site-ease),
    background-color var(--site-dur-micro) var(--site-ease);
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.field input:hover,
.field textarea:hover {
  border-color: var(--border-strong);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  outline: 2px solid var(--focus-ring);
  outline-offset: 1px;
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: var(--status-error);
}

.consent {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 2px;
}

.consent input {
  appearance: none;
  display: grid;
  place-content: center;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 1px solid var(--border-control);
  border-radius: var(--radius-xs);
  background: var(--surface-page);
  cursor: pointer;
  transition:
    background-color var(--site-dur-micro) var(--site-ease),
    border-color var(--site-dur-micro) var(--site-ease);
}

.consent input::before {
  content: "";
  width: 9px;
  height: 5px;
  margin-top: -2px;
  border-bottom: 1.5px solid var(--text-on-accent);
  border-left: 1.5px solid var(--text-on-accent);
  transform: rotate(-45deg) scale(0);
  transition: transform var(--site-dur-micro) var(--site-ease);
}

.consent input:hover {
  border-color: var(--accent);
}

.consent input:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.consent input:checked::before {
  transform: rotate(-45deg) scale(1);
}

.consent input:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.consent label {
  padding-top: 3px;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.consent a {
  color: var(--text-primary);
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.form-status {
  min-height: 20px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.form-status.is-error {
  color: var(--status-error);
}

.form-note {
  font-size: 0.6875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 52px 24px;
  background: transparent;
  border-top: var(--site-rule);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 34ch;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-col h2 {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-col a {
  display: block;
  padding-block: 5px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.6875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-bottom p {
  max-width: 58ch;
}

/* ---------- Legal page ---------- */

.legal-page {
  padding-top: calc(var(--site-header-height) + clamp(48px, 7vw, 96px));
}

.legal {
  max-width: 760px;
  padding-bottom: var(--site-section);
}

.legal h1 {
  margin-bottom: 16px;
  font-size: clamp(2.25rem, 1.4rem + 3vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.legal .lead {
  margin-bottom: 40px;
}

.legal section {
  padding-block: 28px;
  border-top: 1px solid var(--border-soft);
}

.legal h2 {
  margin-bottom: 12px;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.legal p,
.legal li {
  margin-bottom: 12px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.legal ul {
  padding-left: 18px;
  list-style: disc;
}

.legal .note {
  padding: 16px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--surface-default);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.legal a {
  color: var(--text-primary);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding-block: 6px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
}

.legal-back:hover {
  color: var(--text-primary);
}

.legal-top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding-block: 6px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--site-dur-micro) var(--site-ease);
}

.legal-top-link:hover {
  color: var(--text-primary);
}

/* ---------- Legal content components ---------- */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--text-primary);
}

.breadcrumb [aria-current="page"] {
  color: var(--text-secondary);
}

.legal-toc {
  margin-bottom: 8px;
  padding: 20px 22px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--surface-default);
}

.legal-toc h2 {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.legal-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 28px;
  padding-left: 20px;
}

.legal .legal-toc li {
  margin: 0;
}

.legal-toc a {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.legal-dl {
  display: grid;
  gap: 0;
  margin-top: 18px;
}

.legal-dl > div {
  display: grid;
  grid-template-columns: minmax(132px, 0.36fr) minmax(0, 1fr);
  gap: 16px;
  padding-block: 11px;
  border-top: 1px solid var(--border-soft);
}

.legal-dl dt {
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.legal-dl dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.legal-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  margin-top: 4px;
  padding: 0 18px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--surface-default);
  color: var(--text-primary);
  font-size: 0.875rem;
  text-decoration: none;
  transition:
    border-color var(--site-dur-micro) var(--site-ease),
    background-color var(--site-dur-micro) var(--site-ease);
}

.legal-download:hover {
  border-color: var(--border-strong);
  background: var(--surface-subtle);
}

@media (max-width: 640px) {
  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  .legal-dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ---------- In-Outlook demo (mail client + add-in pane) ---------- */

.inbox-demo {
  border-bottom: var(--site-rule);
}

.inbox {
  margin: 0;
  max-width: 1180px;
}

.inbox-window {
  overflow: hidden;
  background: var(--surface-default);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  contain: layout paint;
}

.inbox-chrome {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  height: 34px;
  padding: 0 10px;
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--border-default);
}

.inbox-dots {
  display: inline-flex;
  gap: 5px;
  flex: 0 0 auto;
}

.inbox-dots span {
  width: 7px;
  height: 7px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
}

.inbox-title {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inbox-badge {
  margin-left: auto;
  flex: 0 0 auto;
  padding: 2px 5px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xs);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.inbox-body {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 340px;
  align-items: stretch;
}

/* Message list rail */

.inbox-list {
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--surface-muted);
  border-right: 1px solid var(--border-default);
}

.inbox-item {
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border-bottom: 1px solid var(--border-soft);
}

.inbox-item.is-active {
  background: var(--surface-selected);
  box-shadow: inset 2px 0 0 var(--accent);
}

.inbox-item-from {
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.4;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inbox-item-line {
  font-size: 10px;
  line-height: 1.35;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inbox-item.is-active .inbox-item-line {
  color: var(--text-primary);
}

.inbox-item-time {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--text-muted);
}

/* Reading pane */

.inbox-read {
  position: relative;
  min-width: 0;
  padding: 16px 20px 20px;
  background: var(--surface-default);
  overflow: hidden;
}

.inbox-read-head {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
}

.inbox-read-subject {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.inbox-read-meta {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.4;
  color: var(--text-muted);
}

.inbox-read-body {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.inbox-read-body p + p {
  margin-top: 7px;
}

.inbox-read-body strong {
  font-weight: 500;
  color: var(--text-primary);
}

.inbox-read-body mark {
  padding: 0 1px;
  background: var(--accent-soft);
  color: var(--text-primary);
  border-radius: 1px;
}

.inbox-attach {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  padding: 3px 6px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xs);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.3;
  color: var(--text-muted);
}

.inbox-attach svg {
  color: var(--accent);
}

.inbox-scan {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--accent);
  opacity: 0;
  transform: translateY(var(--ol-scan, 0px));
}

.inbox.is-scanning .inbox-scan {
  opacity: 1;
  animation: inbox-scan 1300ms var(--site-ease) forwards;
}

@keyframes inbox-scan {
  from {
    transform: translateY(0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  to {
    transform: translateY(var(--ol-scan-max, 520px));
    opacity: 0;
  }
}

/* Add-in pane */

.pane {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--surface-muted);
  border-left: 1px solid var(--border-default);
  overflow: hidden;
}

.pane-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 9px;
  background: var(--surface-default);
  border-bottom: 1px solid var(--border-default);
}

.pane-brand {
  display: inline-flex;
  align-items: center;
}

.pane-brand-name {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.pane-state {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.pane-body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}

.pane-view[hidden] {
  display: none;
}

.pane-start {
  display: grid;
  gap: 12px;
  padding: 12px 10px;
}

.pane-mailctx {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 7px;
  padding: 8px 9px;
  background: var(--surface-default);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xs);
}

.pane-mailctx-icon {
  color: var(--accent);
  padding-top: 3px;
}

.pane-kicker {
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pane-subject {
  margin-top: 2px;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-primary);
}

.pane-from {
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.4;
  color: var(--text-muted);
  word-break: break-all;
}

.pane-facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 5px;
}

.pane-facts li {
  position: relative;
  padding-left: 12px;
  font-size: 9px;
  line-height: 1.5;
  color: var(--text-muted);
}

.pane-facts li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 5px;
  height: 5px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
}

.pane-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 32px;
  padding: 0 10px;
  background: var(--accent);
  border: 1px solid var(--accent-strong);
  border-radius: var(--radius-xs);
  font: inherit;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-on-accent);
  cursor: pointer;
  transition:
    background-color var(--site-dur-micro) var(--site-ease),
    transform var(--site-dur-micro) var(--site-ease);
}

.pane-action:hover {
  background: var(--accent-strong);
}

.pane-action.is-pressed {
  transform: scale(0.985);
}

.pane-loading {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 44px 16px;
  text-align: center;
}

.pane-spinner {
  width: 15px;
  height: 15px;
  border: 1.5px solid var(--border-default);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: pane-spin 800ms linear infinite;
}

@keyframes pane-spin {
  to {
    transform: rotate(360deg);
  }
}

.pane-loading-title {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-primary);
}

.pane-loading-sub {
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.5;
  color: var(--text-muted);
}

.pane-result {
  display: flex;
  flex-direction: column;
}

.pane-tally {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 26px;
  padding: 0 9px;
  background: var(--surface-default);
  border-bottom: 1px solid var(--border-soft);
}

.pane-groups {
  padding: 5px 7px 6px;
}

.pane-group + .pane-group {
  margin-top: 3px;
}

.pane-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  padding: 0 3px 2px;
}

.pane-group:first-child .pane-group-head {
  margin-top: 0;
}

.pane-group-name {
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pane-group-count {
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
  color: var(--text-muted);
}

.pf {
  position: relative;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 6px;
  width: 100%;
  height: 22px;
  padding: 0 3px 0 0;
  border-radius: var(--radius-xs);
  opacity: 1;
  transition:
    opacity 200ms var(--site-ease),
    background-color 160ms var(--site-ease);
}

.pane.is-assembling .pf {
  opacity: 0;
}

.pane.is-assembling .pf.is-loaded {
  opacity: 1;
  animation: pf-enter 220ms var(--site-ease);
}

@keyframes pf-enter {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pf-step {
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1;
  color: var(--text-muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.pf .field-name {
  font-size: 8.5px;
}

.pf .field-value {
  font-size: 10px;
  text-align: left;
}

.pf .field-status {
  font-size: 8.5px;
  justify-self: end;
}

.pf .field-copied {
  font-size: 8.5px;
  justify-self: end;
}

.pf.is-copied {
  background: var(--surface-subtle);
}

.pf.is-copied::before {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  left: 0;
  width: 2px;
  background: var(--brand-accent);
  transform-origin: top;
  animation: confirm-spring 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pf.is-copied .field-status {
  display: none;
}

.pf.is-copied .field-copied {
  display: inline-flex;
  animation: copy-enter 180ms var(--site-ease);
}

.pf.is-next {
  background: var(--surface-selected);
}

.pf.is-next .field-name {
  color: var(--text-secondary);
}

.pane-dock {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 8px;
  margin-top: auto;
  padding: 8px 9px 7px;
  background: var(--surface-default);
  border-top: 1px solid var(--border-default);
}

.pane-dock-info {
  min-width: 0;
}

.pane-dock-kicker {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pane-dock-field {
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.4;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pane-dock-value {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pane-action-sm {
  width: auto;
  min-height: 28px;
  padding: 0 9px;
  font-size: 9.5px;
  white-space: nowrap;
}

.pane-dock-status {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
  color: var(--text-muted);
}

.pane-dock-status.is-flash {
  color: var(--brand-accent-text);
}

/* Synthetic pointer: the human, not decoration */

.pane-cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border: 1.5px solid var(--text-secondary);
  border-radius: 50%;
  background: var(--surface-page);
  opacity: 0;
  pointer-events: none;
  transform: translate(var(--cx, 0), var(--cy, 0));
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms linear,
    border-color 120ms linear,
    background-color 120ms linear;
}

.pane.is-pointing .pane-cursor {
  opacity: 1;
}

.pane-cursor.is-pressing {
  border-color: var(--brand-accent);
  background: var(--brand-accent);
}

.inbox-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.inbox-caption span + span::before {
  content: "·";
  margin-right: 16px;
  color: var(--border-strong);
}

@media (max-width: 1120px) {
  .inbox-body {
    grid-template-columns: 158px minmax(0, 1fr) 316px;
  }
}

@media (max-width: 900px) {
  .inbox-body {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .inbox-list {
    display: none;
  }

  .inbox-read {
    padding: 14px 16px 18px;
  }
}

@media (max-width: 640px) {
  .inbox-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .inbox-read {
    display: none;
  }

  .pane {
    border-left: 0;
  }

  .pane-tally {
    gap: 7px;
  }

  .pane-groups {
    padding-inline: 6px;
  }
}

/* ---------- Shared page shells ---------- */

.section-tight {
  padding-block: clamp(22px, 3.5vw, 44px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb [aria-current="page"] {
  color: var(--text-secondary);
}

.page-hero {
  padding-top: calc(var(--site-header-height) + clamp(56px, 8vw, 104px));
  padding-bottom: clamp(40px, 6vw, 72px);
}

.page-hero h1 {
  max-width: 19ch;
  font-size: var(--site-display);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.page-hero .lead {
  margin-top: 24px;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
}

/* ---------- Split layouts ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.split-wide {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.split h2 {
  font-size: var(--site-h2);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.split h3 {
  font-size: var(--site-h3);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.split .lead {
  margin-top: 20px;
}

.split .body-copy {
  margin-top: 16px;
}

/* ---------- Stat band ---------- */

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--surface-default);
}

.stat {
  padding: clamp(18px, 3vw, 28px);
  border-left: 1px solid var(--border-soft);
}

.stat:first-child {
  border-left: 0;
}

.stat-value {
  display: block;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}

.stat-label {
  display: block;
  margin-top: 10px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ---------- Generic card and lists ---------- */

.card {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--surface-default);
}

.card h3 {
  margin-bottom: 10px;
  font-size: var(--site-h3);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.card p + p,
.card .body-copy + .body-copy {
  margin-top: 10px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.check-list svg {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--accent);
}

.plain-list {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}

.plain-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.plain-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Status is always icon + text. The text keeps the neutral AA colour. */
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-secondary);
}

.status-tag[data-status="ok"] svg {
  color: var(--status-ok);
}

.status-tag[data-status="warn"] svg {
  color: var(--status-warn);
}

.status-tag[data-status="miss"] svg {
  color: var(--status-error);
}

.status-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.status-item {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}

.status-item h3 {
  margin-bottom: 4px;
}

.status-item p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ---------- Tables ---------- */

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--surface-default);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.55;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-soft);
}

.data-table thead th {
  background: var(--surface-subtle);
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.data-table tbody th {
  font-weight: 500;
  color: var(--text-primary);
}

.data-table td {
  color: var(--text-secondary);
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- Compare cards ---------- */

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.compare-card {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--surface-default);
}

.compare-card h3 {
  font-size: var(--site-h3);
  font-weight: 500;
  line-height: 1.35;
}

.compare-card ul {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.compare-card li {
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.compare-card--after {
  border-color: var(--accent-line);
  background: var(--accent-soft);
}

/* ---------- Evidence card ---------- */

.evidence-card {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--border-default);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  background: var(--surface-default);
}

.evidence-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.evidence-card-head .mono {
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.evidence-quote {
  margin-top: 16px;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-primary);
}

.evidence-card-note {
  margin-top: 10px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ---------- Mini facts ---------- */

.mini-facts {
  display: grid;
  margin-top: 20px;
}

.mini-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
  border-top: 1px solid var(--border-soft);
}

.mini-facts dt {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mini-facts dd {
  margin: 0;
  font-size: 0.875rem;
  text-align: right;
  color: var(--text-secondary);
}

/* ---------- Pricing ---------- */

.price-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.price-card {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface-default);
}

.price-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
}

.price-value {
  margin-top: 24px;
  font-size: clamp(2.75rem, 2rem + 3vw, 4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.price-value span {
  margin-left: 8px;
  font-size: 0.9375rem;
  letter-spacing: 0;
  color: var(--text-muted);
}

.price-sub {
  margin-top: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.price-card .pilot-facts {
  margin-top: 24px;
}

.price-card .btn {
  margin-top: 24px;
}

.price-includes {
  margin-top: 32px;
}

.price-includes h3 {
  font-size: 0.9375rem;
  font-weight: 500;
}

.price-includes .check-list {
  margin-top: 12px;
}

.price-grid > div > h2 {
  font-size: var(--site-h2);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.price-grid > div > .lead {
  margin-top: 20px;
}

.price-grid > div > .body-copy {
  margin-top: 16px;
}

/* ---------- Timeline ---------- */

.timeline {
  display: grid;
  max-width: 840px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 20px;
  padding-block: 22px;
  border-top: 1px solid var(--border-soft);
}

.timeline-item:last-child {
  border-bottom: 1px solid var(--border-soft);
}

.timeline-num {
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.timeline-item.is-human .timeline-num {
  color: var(--brand-accent-text);
}

.timeline-item h3 {
  margin-bottom: 6px;
  font-size: var(--site-h3);
  font-weight: 500;
  line-height: 1.35;
}

.timeline-item p {
  max-width: 62ch;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ---------- CTA band ---------- */

.cta-band {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface-default);
}

.cta-band h2 {
  font-size: var(--site-h2);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.cta-band .lead {
  margin-top: 14px;
}

.cta-band-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Contact cards ---------- */

.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--surface-default);
}

.contact-card .icon-box {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.contact-card h3 {
  margin-bottom: 4px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.contact-card p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.contact-card-note {
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---------- External embed ---------- */

.embed {
  position: relative;
  width: 100%;
  min-height: 320px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--surface-default);
}

.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: clamp(18px, 4vw, 32px);
  text-align: center;
}

.embed-placeholder .icon-box {
  margin-bottom: 0;
}

.embed-placeholder h3 {
  font-size: 1rem;
  font-weight: 500;
}

.embed-placeholder p {
  max-width: 46ch;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.embed-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---------- Footer link button ---------- */

.footer-col .footer-link-button {
  display: block;
  padding-block: 5px;
  background: none;
  border: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: left;
  color: var(--text-secondary);
  cursor: pointer;
}

.footer-col .footer-link-button:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

/* ---------- Legal extensions ---------- */

.faq-list--plain {
  background: transparent;
  border: 0;
  border-radius: 0;
}

.nav-desktop a[aria-current="page"],
.mobile-menu a[aria-current="page"] {
  color: var(--text-primary);
}

.nav-desktop a[aria-current="page"]::after {
  transform: scaleX(1);
}

.legal {
  overflow-wrap: break-word;
}

.legal h3 {
  margin: 20px 0 8px;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-primary);
}

.legal strong {
  font-weight: 500;
  color: var(--text-primary);
}

.legal .breadcrumb {
  margin-bottom: 24px;
}

.legal .table-wrap {
  margin-block: 16px;
}

.legal-toc {
  margin: 28px 0 8px;
  padding: 20px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--surface-default);
}

.legal-toc h2 {
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.legal-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 28px;
  padding-left: 18px;
  list-style: decimal;
}

.legal-toc li {
  margin-bottom: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.legal-toc a {
  color: var(--text-secondary);
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.legal-dl {
  display: grid;
  margin-top: 16px;
}

.legal-dl > div {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 16px;
  padding-block: 10px;
  border-top: 1px solid var(--border-soft);
}

.legal-dl dt {
  font-family: var(--mono);
  font-size: 0.625rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.legal-dl dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.legal-links {
  display: grid;
  gap: 12px;
  margin: 32px 0;
}

.legal-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--surface-default);
  color: var(--text-primary);
  text-decoration: none;
  transition: border-color var(--site-dur-micro) var(--site-ease);
}

.legal-link:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

.legal-link .icon-box {
  margin-bottom: 0;
}

.legal-link strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
}

.legal-link > span:not(.icon-box) > span {
  display: block;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.legal-link > svg {
  color: var(--text-muted);
}

.link-button {
  display: inline;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.link-button:hover {
  color: var(--text-primary);
}

/* ---------- Sitemap ---------- */

.sitemap-xml {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 56px;
}

.sitemap-group h2 {
  margin-bottom: 16px;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.3;
}

.sitemap-group ul {
  display: grid;
}

.sitemap-group li {
  padding-block: 12px;
  border-top: 1px solid var(--border-soft);
}

.sitemap-group li a {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.sitemap-group li span {
  display: block;
  margin-top: 3px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.sitemap-group .footnote {
  margin-top: 16px;
}

/* ---------- Status pages ---------- */

.status-page {
  display: grid;
  min-height: 100svh;
  align-items: center;
  padding-block: calc(var(--site-header-height) + 72px) 96px;
  overflow-wrap: break-word;
}

.status-page-inner {
  max-width: 760px;
}

.status-code {
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-accent-text);
}

.status-page h1 {
  font-size: clamp(2.5rem, 1.6rem + 4vw, 4.5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.status-page .lead {
  margin-top: 24px;
}

.status-page .page-actions {
  margin-top: 32px;
}

.status-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}

.status-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.status-note {
  margin-top: 24px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.status-timestamp {
  margin-top: 32px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---------- Consent manager ---------- */

.consent-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--site-z-consent);
  padding-block: 16px;
  background: var(--surface-glass-strong);
  border-top: 1px solid var(--border-strong);
  backdrop-filter: blur(18px) saturate(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(1.05);
  transform: translateY(105%);
  transition: transform var(--site-dur-standard) var(--site-ease);
}

.consent-banner.is-visible {
  transform: translateY(0);
}

.consent-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.consent-copy {
  max-width: 64ch;
}

.consent-copy p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.consent-title {
  margin-bottom: 4px;
  font-weight: 500;
  color: var(--text-primary);
}

.consent-copy a {
  color: var(--text-primary);
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.consent-actions .btn {
  min-height: 44px;
}

.consent-settings-link {
  padding: 6px 2px;
  background: none;
  border: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.consent-settings-link:hover {
  color: var(--text-primary);
}

body.menu-open .consent-banner {
  display: none;
}

.consent-dialog {
  width: min(580px, calc(100vw - 32px));
  max-height: calc(100svh - 48px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface-overlay);
  color: var(--text-primary);
}

.consent-dialog::backdrop {
  background: var(--site-scrim);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.consent-dialog-inner {
  padding: clamp(20px, 4vw, 32px);
}

.consent-dialog-head {
  position: relative;
  padding-right: 44px;
}

.consent-close {
  position: absolute;
  top: -10px;
  right: -10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--text-secondary);
  cursor: pointer;
}

.consent-close:hover {
  color: var(--text-primary);
}

.consent-dialog-head h2 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.consent-dialog-head p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.consent-category {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
  border-top: 1px solid var(--border-soft);
}

.consent-category:first-of-type {
  margin-top: 20px;
}

.consent-category-copy h3 {
  margin-bottom: 4px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.consent-category-copy p {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.consent-always {
  flex: 0 0 auto;
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.consent-check {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -10px;
  cursor: pointer;
}

.consent-check input {
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.consent-status {
  min-height: 1.2em;
  margin-top: 8px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--brand-accent-text);
}

.consent-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

.consent-dialog-actions .btn {
  flex: 1 1 auto;
}

.consent-legal {
  margin-top: 14px;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    max-width: 620px;
    margin-inline: auto;
  }

  .mock {
    margin-inline: auto;
  }

  .transform-stage {
    grid-template-columns: minmax(0, 270px) 128px minmax(0, 1fr);
  }

  .gcell-label {
    font-size: 6.5px;
  }

  .gcell-value {
    font-size: 8.5px;
  }

  .gcell-status {
    font-size: 6.5px;
  }
}

@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .transform-track {
    height: 260vh;
  }

  .transform-sticky {
    align-items: flex-start;
    padding-block: calc(var(--site-header-height) + 16px) 18px;
  }

  .transform-head {
    display: block;
    margin-bottom: 14px;
  }

  .transform-phase {
    display: inline-block;
    margin-top: 10px;
    min-width: 0;
    text-align: left;
  }

  .transform-stage {
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: 0;
  }

  .mail-card {
    padding: 10px;
  }

  .mail-body {
    max-height: none;
  }

  .mail-body p {
    display: none;
  }

  .mail-body p:nth-child(3) {
    display: block;
  }

  .route-col {
    min-height: 54px;
    height: 54px;
  }

  .route-d {
    display: none;
  }

  .route-m {
    display: block;
  }

  .checkpoint {
    top: 50%;
    left: 14px;
    flex-direction: row;
    align-items: center;
    width: auto;
    transform: translateY(-50%);
    text-align: left;
  }

  .checkpoint-sub {
    margin-top: 0;
    margin-left: 2px;
    white-space: nowrap;
  }

  .stack {
    gap: 4px;
  }

  .group-card {
    padding: 3px 5px 4px;
  }

  .group-name {
    font-size: 9px;
  }

  .group-fields {
    gap: 2px;
    margin-top: 2px;
  }

  .gcell {
    padding: 2px 3px;
  }

  .gcell-label {
    font-size: 7px;
  }

  .gcell-value {
    font-size: 8.5px;
  }

  .gcell-status {
    font-size: 7px;
  }

  .handoff {
    padding: 5px 8px;
  }

  .transform-legend {
    gap: 6px 14px;
    margin-top: 10px;
    padding-top: 8px;
  }

  .legend-step {
    font-size: 8px;
  }

  .flow-route {
    display: none;
  }

  .flow-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .flow-step {
    position: relative;
    padding: 18px 0 18px 30px;
    border-top: 0;
    border-left: 1px solid var(--border-default);
  }

  .flow-step:first-child {
    padding-top: 0;
  }

  .flow-step:last-child {
    padding-bottom: 0;
  }

  .flow-step::before {
    content: "";
    position: absolute;
    top: 24px;
    left: -5px;
    width: 9px;
    height: 9px;
    background: var(--surface-page);
    border: 1.5px solid var(--accent);
    border-radius: 50%;
  }

  .flow-step:first-child::before {
    top: 4px;
  }

  .flow-step.is-human::before {
    width: 12px;
    height: 12px;
    left: -6.5px;
    background: var(--brand-accent);
    border-color: var(--brand-accent);
  }

  .flow-num {
    margin-bottom: 10px;
  }

  .flow-step p {
    max-width: 46ch;
  }

  .flow-human-note {
    margin-top: 8px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .faq-head {
    position: static;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .boundaries {
    grid-template-columns: 1fr;
  }

  .boundaries li + li {
    border-top: 1px solid var(--border-soft);
    border-left: 0;
  }

  .pilot-grid {
    grid-template-columns: 1fr;
  }

  .pilot-quote {
    margin-top: 26px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .header-actions .btn {
    display: none;
  }

  .mock {
    border-radius: var(--radius-md);
  }

  .mock-brand-name {
    display: none;
  }

  .mf {
    grid-template-columns: minmax(0, 104px) minmax(0, 1fr) auto;
    gap: 5px;
    padding-inline: 3px;
  }

  .mock-group-name {
    font-size: 7.5px;
  }

  .field-name {
    font-size: 8px;
  }

  .field-value {
    font-size: 9.5px;
  }

  .field-status,
  .field-copied {
    font-size: 8px;
  }

  .mock-tally {
    gap: 7px;
  }

  .tally {
    font-size: 8px;
  }

  .mock-progress {
    font-size: 8px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--site-header-height) + 40px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .hero-meta li:not(:last-child)::after {
    content: none;
  }

  .transform-track {
    height: 230vh;
  }

  .transform-title {
    font-size: 1.6rem;
  }

  .mail-subject-line {
    font-size: 10.5px;
  }

  .mail-body {
    font-size: 9px;
    max-height: 62px;
  }

  .gcell-label {
    font-size: 6.5px;
  }

  .gcell-value {
    font-size: 8px;
  }

  .gcell-status {
    font-size: 6.5px;
  }

  .group-count {
    display: none;
  }

  .transform-legend {
    display: none;
  }

  .contact-form {
    padding: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 780px) and (min-width: 901px) {
  .transform-legend,
  .transform-head .eyebrow {
    display: none;
  }

  .transform-head {
    margin-bottom: 12px;
  }

  .transform-stage {
    min-height: 300px;
  }

  .route-col {
    min-height: 270px;
  }

  .mail-body {
    max-height: 118px;
    overflow: hidden;
  }
}

@media (max-height: 760px) and (max-width: 900px) {
  .transform-head .eyebrow,
  .transform-legend {
    display: none;
  }

  .transform-head {
    margin-bottom: 8px;
  }

  .transform-title {
    font-size: 1.4rem;
  }

  .mail-body {
    display: none;
  }

  .mail-card {
    padding: 8px;
  }

  .mail-meta {
    display: none;
  }

  .mail-attach {
    margin-top: 6px;
  }

  .route-col {
    height: 42px;
    min-height: 42px;
  }

  .gcell-label {
    font-size: 6px;
  }

  .gcell-value {
    font-size: 7.5px;
  }

  .gcell-status {
    display: none;
  }
}

@media (max-width: 1120px) {
  .stat-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat:nth-child(3) {
    border-top: 1px solid var(--border-soft);
    border-left: 0;
  }

  .stat:nth-child(4) {
    border-top: 1px solid var(--border-soft);
  }
}

@media (max-width: 900px) {
  .split,
  .split-wide,
  .price-grid,
  .compare-grid,
  .sitemap-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band-actions {
    width: 100%;
  }

  .consent-inner {
    align-items: flex-start;
  }

  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  .legal-dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .faq-list--plain {
    border: 0;
    background: transparent;
  }
}

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

  .stat {
    border-top: 1px solid var(--border-soft);
    border-left: 0;
  }

  .stat:first-child {
    border-top: 0;
  }

  .status-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sitemap-grid {
    gap: 36px;
  }

  .legal-link {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .legal-link > svg {
    display: none;
  }
}

@media (max-width: 640px) {
  .page-actions .btn {
    width: 100%;
  }

  .consent-actions {
    width: 100%;
  }

  .consent-actions .btn {
    flex: 1 1 auto;
  }

  .consent-dialog-actions {
    flex-direction: column-reverse;
  }

  .consent-dialog-actions .btn {
    width: 100%;
  }

  .timeline-item {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 12px;
  }

  .embed {
    min-height: 340px;
    aspect-ratio: auto;
  }

  .legal-link {
    padding: 14px;
    gap: 12px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .mobile-menu,
  .ambient-fallback,
  .ambient-shader,
  .consent-banner,
  .consent-dialog,
  .skip-link,
  .page-actions,
  .legal-toc {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
    font-size: 11pt;
  }

  .legal-page {
    padding-top: 0;
  }

  .legal {
    max-width: none;
  }

  .legal a {
    color: #000000;
    text-decoration: underline;
  }

  .table-wrap {
    overflow: visible;
    border-color: #000000;
  }

  .data-table {
    min-width: 0;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }

  .js [data-reveal],
  .js [data-reveal-group] > * {
    opacity: 1;
    transform: none;
  }

  .h1-line > span {
    transform: none;
  }

  .mock.is-playing .mf:not(.is-loaded) {
    opacity: 1;
    transform: none;
  }

  .route-path {
    stroke-dashoffset: 0;
  }

  .flow-path {
    stroke-dashoffset: 0;
  }

  .mail-card {
    opacity: 1;
    transform: none;
  }

  .group-card,
  .handoff {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Reduced transparency ---------- */

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--surface-page);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ---------- Forced colors ---------- */

@media (forced-colors: active) {
  .ambient-shader,
  .ambient-fallback {
    display: none;
  }

  .site-header {
    background: Canvas;
    backdrop-filter: none;
  }

  .btn,
  .menu-toggle,
  .mock,
  .mail-card,
  .group-card,
  .gcell,
  .handoff,
  .trust-card,
  .pilot-card,
  .faq-list,
  .contact-form,
  .field input,
  .field textarea,
  .boundaries {
    border: 1px solid CanvasText;
  }

  .icon-box,
  .handoff-mark {
    border: 1px solid CanvasText;
  }

  .mock-scan,
  .checkpoint-node,
  .flow-node {
    forced-color-adjust: none;
  }

  .mf.is-selected {
    outline: 2px solid Highlight;
    outline-offset: -2px;
  }

  .evidence-text mark,
  .mail-body mark {
    background: Highlight;
    color: HighlightText;
  }

  .faq-icon::before,
  .faq-icon::after {
    background: CanvasText;
  }
}

/* ---------- Print (legal documents, AVV PDF) ---------- */

@media print {
  :root {
    color-scheme: light;
  }

  html,
  body {
    background: #fff !important;
    color: #111 !important;
  }

  .ambient-shader,
  .ambient-fallback,
  .site-header,
  .site-footer,
  .mobile-menu,
  .consent-banner,
  .consent-dialog,
  .skip-link,
  .breadcrumb,
  .legal-back,
  .legal-download,
  .legal-top-link {
    display: none !important;
  }

  .legal-page {
    padding-top: 0;
  }

  .legal {
    max-width: none;
    padding-bottom: 0;
  }

  .legal h1,
  .legal h2,
  .legal h3,
  .legal a,
  .legal strong,
  .legal-dl dt,
  .legal-dl dd,
  .legal p,
  .legal li,
  .legal td,
  .legal th,
  .legal-toc a,
  .footnote {
    color: #111 !important;
  }

  .legal .lead {
    color: #333 !important;
  }

  .legal a {
    text-decoration: underline;
  }

  .legal section {
    border-top: 1px solid #c9c9c9;
  }

  .legal h2,
  .legal h3 {
    break-after: avoid;
  }

  .legal .note,
  .legal-toc,
  .legal-dl > div,
  .data-table tr {
    break-inside: avoid;
  }

  .legal .note,
  .legal-toc,
  .data-table,
  .table-wrap {
    background: #fff !important;
    border-color: #bbb !important;
  }

  .legal-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .data-table thead th {
    background: #f1f1f1 !important;
  }

  .legal-dl > div,
  .data-table th,
  .data-table td {
    border-color: #ccc !important;
  }
}
