:root {
  color-scheme: light dark;
  --ink: #081c15;
  --muted: #4d5a53;
  --paper: #f4f7f5;
  --paper-deep: #effaf1;
  --surface: #ffffff;
  --mist: #d8f3dc;
  --line: #d7dfd9;
  --forest: #2d6a4f;
  --forest-deep: #081c15;
  --teal: #2d6a4f;
  --mint-strong: #52b788;
  --mint: #74c69d;
  --celadon-strong: #95d5b2;
  --celadon: #b7e4c7;
  --nyanza: #d8f3dc;
  --mint-cream: #effaf1;
  --brunswick: #1b4332;
  --night: #04100c;
  --action-bg: var(--forest);
  --action-border: var(--forest);
  --action-ink: #fff;
  --article-hero-bg:
    linear-gradient(100deg, rgba(251, 250, 246, 0.98) 0%, rgba(251, 250, 246, 0.84) 48%, rgba(251, 250, 246, 0.2) 72%),
    linear-gradient(135deg, #e7efe7 0%, #f8f0de 48%, #d7e6e1 100%);
  --barcode-ink: var(--brunswick);
  --button-secondary-bg: rgba(251, 250, 246, 0.42);
  --button-shadow: rgba(8, 42, 39, 0.16);
  --chip-bg: var(--nyanza);
  --chip-border: rgba(45, 106, 79, 0.14);
  --final-cta-bg:
    linear-gradient(115deg, rgba(251, 250, 246, 0.98), rgba(242, 236, 221, 0.86)),
    repeating-linear-gradient(135deg, rgba(14, 63, 58, 0.08) 0 1px, transparent 1px 30px);
  --home-hero-bg:
    linear-gradient(90deg, rgba(244, 247, 245, 0.98) 0 44%, rgba(244, 247, 245, 0.34) 64%),
    repeating-linear-gradient(90deg, rgba(45, 106, 79, 0.05) 0 1px, transparent 1px 56px),
    linear-gradient(135deg, #f4f7f5 0%, #effaf1 52%, #d8f3dc 100%);
  --home-hero-grid: repeating-linear-gradient(0deg, rgba(8, 42, 39, 0.07) 0 1px, transparent 1px 26px);
  --mode-display-bg:
    linear-gradient(135deg, rgba(239, 250, 241, 0.96), rgba(183, 228, 199, 0.8)),
    repeating-linear-gradient(90deg, rgba(8, 28, 21, 0.1) 0 1px, transparent 1px 22px);
  --mode-display-line: rgba(45, 106, 79, 0.18);
  --nav-ink: rgba(20, 32, 29, 0.78);
  --panel-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 250, 241, 0.92));
  --panel-border: rgba(45, 106, 79, 0.18);
  --panel-muted: rgba(8, 28, 21, 0.62);
  --panel-shadow: rgba(8, 28, 21, 0.14);
  --proof-ink: rgba(20, 32, 29, 0.76);
  --scan-line-soft: rgba(45, 106, 79, 0.2);
  --scan-line-strong: rgba(45, 106, 79, 0.32);
  --scan-mode-bg: rgba(239, 250, 241, 0.94);
  --scan-mode-border: rgba(255, 255, 255, 0.28);
  --scan-mode-hover: #fff;
  --scan-surface-bg: linear-gradient(180deg, rgba(216, 243, 220, 0.48), rgba(255, 255, 255, 0.78));
  --scan-surface-border: rgba(45, 106, 79, 0.12);
  --scan-sweep: rgba(64, 145, 108, 0.34);
  --scan-token-bg: rgba(255, 255, 255, 0.84);
  --scan-token-border: rgba(45, 106, 79, 0.1);
  --step-glow: rgba(64, 145, 108, 0.1);
  --x-ink: #b31a1f;
  --max: 1120px;
  --header-height: 76px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eef3f0;
  --muted: #bcc5bf;
  --paper: #090c0a;
  --paper-deep: #0f1411;
  --surface: #151b18;
  --mist: #1d2420;
  --line: #252d29;
  --nyanza: rgba(82, 183, 136, 0.12);
  --mint-cream: #0f1411;
  --brunswick: #d8f3dc;
  --teal: #74c69d;
  --night: #eef3f0;
  --action-bg: var(--mint-strong);
  --action-border: rgba(116, 198, 157, 0.72);
  --action-ink: #04100c;
  --article-hero-bg:
    linear-gradient(100deg, rgba(9, 12, 10, 0.98) 0%, rgba(9, 12, 10, 0.88) 52%, rgba(9, 12, 10, 0.18) 76%),
    linear-gradient(135deg, #090c0a 0%, #0f1411 50%, #081c15 100%);
  --barcode-ink: #b7e4c7;
  --button-secondary-bg: rgba(21, 27, 24, 0.68);
  --button-shadow: rgba(0, 0, 0, 0.36);
  --chip-bg: rgba(82, 183, 136, 0.12);
  --chip-border: rgba(116, 198, 157, 0.2);
  --final-cta-bg:
    linear-gradient(115deg, rgba(9, 12, 10, 0.98), rgba(15, 20, 17, 0.92)),
    repeating-linear-gradient(135deg, rgba(116, 198, 157, 0.1) 0 1px, transparent 1px 30px);
  --home-hero-bg:
    linear-gradient(90deg, rgba(9, 12, 10, 0.98) 0 44%, rgba(9, 12, 10, 0.38) 66%),
    repeating-linear-gradient(90deg, rgba(116, 198, 157, 0.08) 0 1px, transparent 1px 56px),
    linear-gradient(135deg, #090c0a 0%, #0f1411 52%, #081c15 100%);
  --home-hero-grid: repeating-linear-gradient(0deg, rgba(116, 198, 157, 0.12) 0 1px, transparent 1px 26px);
  --mode-display-bg:
    linear-gradient(135deg, rgba(21, 27, 24, 0.96), rgba(29, 36, 32, 0.86)),
    repeating-linear-gradient(90deg, rgba(116, 198, 157, 0.12) 0 1px, transparent 1px 22px);
  --mode-display-line: rgba(116, 198, 157, 0.24);
  --nav-ink: rgba(238, 243, 240, 0.78);
  --panel-bg: linear-gradient(135deg, rgba(21, 27, 24, 0.94), rgba(15, 20, 17, 0.92));
  --panel-border: rgba(116, 198, 157, 0.22);
  --panel-muted: rgba(238, 243, 240, 0.68);
  --panel-shadow: rgba(0, 0, 0, 0.38);
  --proof-ink: rgba(238, 243, 240, 0.76);
  --scan-line-soft: rgba(116, 198, 157, 0.2);
  --scan-line-strong: rgba(116, 198, 157, 0.36);
  --scan-mode-bg: rgba(21, 27, 24, 0.9);
  --scan-mode-border: rgba(116, 198, 157, 0.18);
  --scan-mode-hover: rgba(29, 36, 32, 0.98);
  --scan-surface-bg: linear-gradient(180deg, rgba(29, 36, 32, 0.76), rgba(15, 20, 17, 0.96));
  --scan-surface-border: rgba(116, 198, 157, 0.18);
  --scan-sweep: rgba(116, 198, 157, 0.36);
  --scan-token-bg: rgba(238, 243, 240, 0.08);
  --scan-token-border: rgba(116, 198, 157, 0.18);
  --step-glow: rgba(116, 198, 157, 0.14);
  --x-ink: hsl(358, 85.3%, 64%);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  min-height: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100svh;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 0 auto;
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr auto 1fr;
  left: 0;
  min-height: var(--header-height);
  padding: 18px clamp(20px, 5vw, 56px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 5;
  isolation: isolate;
}

.brand {
  font-size: 1.1rem;
  font-weight: 900;
}

.site-header nav,
.site-footer nav {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: center;
}

.site-header nav a,
.site-footer nav a,
.language-link {
  color: var(--nav-ink);
  font-size: 0.92rem;
  font-weight: 750;
}

.site-header nav a,
.site-footer nav a,
.language-link,
.brand {
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

.site-header nav a:hover,
.site-footer nav a:hover,
.language-link:hover {
  color: var(--teal);
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-self: end;
}

.mobile-menu {
  display: none;
}

.theme-toggle {
  align-items: center;
  background: var(--button-secondary-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-grid;
  height: 44px;
  justify-content: center;
  padding: 0;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
  width: 44px;
}

.theme-toggle:hover {
  border-color: var(--teal);
  box-shadow: 0 12px 30px var(--button-shadow);
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 3px solid rgba(82, 183, 136, 0.38);
  outline-offset: 3px;
}

.theme-toggle__icon {
  display: block;
  height: 21px;
  position: relative;
  width: 21px;
}

.theme-toggle__icon::before,
.theme-toggle__icon::after {
  content: "";
  inset: 2px;
  position: absolute;
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.theme-toggle__icon::before {
  background: var(--teal);
  border-radius: 999px;
  box-shadow:
    0 -8px 0 -6px var(--teal),
    0 8px 0 -6px var(--teal),
    -8px 0 0 -6px var(--teal),
    8px 0 0 -6px var(--teal),
    -6px -6px 0 -6px var(--teal),
    6px 6px 0 -6px var(--teal),
    -6px 6px 0 -6px var(--teal),
    6px -6px 0 -6px var(--teal);
}

.theme-toggle__icon::after {
  border-radius: 999px;
  box-shadow: inset -6px -4px 0 0 var(--mint);
  opacity: 0;
  transform: rotate(-18deg) scale(0.72);
}

html[data-theme="dark"] .theme-toggle__icon::before {
  opacity: 0;
  transform: rotate(90deg) scale(0.42);
}

html[data-theme="dark"] .theme-toggle__icon::after {
  opacity: 1;
  transform: rotate(-18deg) scale(1);
}

.button {
  align-items: center;
  border: 1px solid var(--action-border);
  border-radius: 7px;
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 850;
  justify-content: center;
  line-height: 1;
  min-height: 44px;
  padding: 12px 17px;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button.primary {
  background: var(--action-bg);
  border-color: var(--action-border);
  color: var(--action-ink);
}

.button.secondary {
  background: var(--button-secondary-bg);
}

.button:hover {
  box-shadow: 0 12px 30px var(--button-shadow);
  transform: translateY(-2px);
}

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

.eyebrow {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  margin: 0;
}

h1,
h2 {
  line-height: 0.96;
}

h3 {
  line-height: 1.1;
}

.home-hero {
  align-items: start;
  background: var(--home-hero-bg);
  display: grid;
  gap: clamp(32px, 4vw, 72px);
  grid-template-columns: minmax(0, 560px) minmax(600px, 760px);
  isolation: isolate;
  justify-content: center;
  min-height: 76svh;
  overflow: hidden;
  padding: clamp(104px, 12vh, 132px) clamp(28px, 4vw, 64px) clamp(54px, 8vh, 82px);
  position: relative;
}

.home-hero::before {
  background: var(--home-hero-grid);
  bottom: -8%;
  content: "";
  height: 42%;
  left: 0;
  opacity: 0.45;
  position: absolute;
  right: 0;
  transform: skewY(-5deg);
  transform-origin: left bottom;
  z-index: -1;
}

.home-hero__copy {
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.home-hero h1 {
  font-size: 9rem;
  max-width: 6ch;
}

.home-hero__lede {
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.28;
  margin: 24px 0 0;
  max-width: 650px;
}

.hero-proof {
  color: var(--proof-ink);
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 36px 0 0;
  max-width: 570px;
  padding: 0;
}

.hero-proof li {
  align-items: center;
  display: grid;
  font-size: 0.98rem;
  font-weight: 750;
  gap: 10px;
  grid-template-columns: 12px 1fr;
  line-height: 1.35;
}

.hero-proof li::before {
  background: var(--teal);
  border-radius: 999px;
  content: "";
  height: 10px;
  width: 10px;
}

.workflow-theater {
  justify-self: end;
  min-height: 610px;
  perspective: 1400px;
  position: relative;
  width: min(100%, 760px);
  z-index: 1;
}

.workflow-stack {
  min-height: 610px;
  position: relative;
}

.workflow-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  box-shadow: 0 28px 70px var(--panel-shadow);
  display: grid;
  gap: 14px;
  min-height: 310px;
  padding: 22px;
  position: absolute;
  right: 0;
  top: 30px;
  transform-origin: center;
  width: min(100%, 390px);
}

.workflow-card > p {
  color: var(--panel-muted);
  font-size: 0.76rem;
  font-weight: 900;
  margin: 0;
  text-transform: uppercase;
}

.workflow-card > div:first-of-type {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.workflow-card h3 {
  color: var(--night);
  font-size: 1.85rem;
}

.workflow-card strong {
  color: var(--forest);
  font-size: 3.4rem;
  line-height: 0.85;
}

.workflow-card div:first-of-type > span {
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  border-radius: 999px;
  color: var(--brunswick);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 9px 11px;
  text-transform: uppercase;
  white-space: nowrap;
}

.workflow-card small {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.42;
}

.workflow-card-1 {
  left: 0;
  right: auto;
  top: 132px;
  transform: rotate(-4deg);
  width: 370px;
  z-index: 5;
}

.workflow-card-2 {
  right: 36px;
  top: 8px;
  transform: rotate(3deg);
  z-index: 4;
}

.workflow-card-3 {
  right: 0;
  top: 174px;
  transform: rotate(2deg);
  z-index: 3;
}

.workflow-card-4 {
  right: 24px;
  top: 330px;
  transform: rotate(-2deg);
  z-index: 2;
}

.workflow-card-5 {
  right: 8px;
  top: 470px;
  transform: rotate(3deg);
  z-index: 1;
}

.workflow-theater .workflow-card:not(.workflow-card-1) {
  gap: 11px;
  min-height: 152px;
  padding: 18px;
  width: 342px;
}

.workflow-theater .workflow-card:not(.workflow-card-1) > p {
  font-size: 0.64rem;
}

.workflow-theater .workflow-card:not(.workflow-card-1) > div:first-of-type {
  align-items: center;
  gap: 10px;
}

.workflow-theater .workflow-card:not(.workflow-card-1) h3 {
  font-size: 1.16rem;
  max-width: 12ch;
}

.workflow-theater .workflow-card:not(.workflow-card-1) strong {
  font-size: 3.1rem;
}

.workflow-theater .workflow-card:not(.workflow-card-1) small {
  display: none;
}

.workflow-theater .workflow-card:not(.workflow-card-1) .score-bars {
  margin-top: 4px;
}

.scan-surface {
  background: var(--scan-surface-bg);
  border: 1px solid var(--scan-surface-border);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 124px;
  overflow: hidden;
  padding: 58px 12px 12px;
  position: relative;
}

.scan-surface::before {
  background: repeating-linear-gradient(
    90deg,
    var(--barcode-ink) 0 3px,
    transparent 3px 8px,
    var(--barcode-ink) 8px 10px,
    transparent 10px 15px
  );
  content: "";
  height: 32px;
  left: 14px;
  opacity: 0.82;
  position: absolute;
  top: 14px;
  width: 118px;
}

.scan-surface::after {
  background:
    linear-gradient(var(--celadon-strong), var(--celadon-strong)) 0 0 / 92px 6px no-repeat,
    linear-gradient(var(--scan-line-strong), var(--scan-line-strong)) 0 16px / 128px 5px no-repeat,
    linear-gradient(var(--scan-line-soft), var(--scan-line-soft)) 0 30px / 104px 5px no-repeat;
  content: "";
  height: 42px;
  opacity: 0.9;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 136px;
}

.scan-surface .scan-sweep {
  background: linear-gradient(90deg, transparent, var(--scan-sweep), transparent);
  bottom: 0;
  left: -34%;
  position: absolute;
  top: 0;
  width: 32%;
  z-index: 1;
}

.scan-surface span:not(.scan-sweep) {
  background: var(--scan-token-bg);
  border: 1px solid var(--scan-token-border);
  border-radius: 999px;
  color: var(--brunswick);
  font-size: 0.75rem;
  font-weight: 850;
  padding: 8px 9px;
  position: relative;
  z-index: 2;
}

.score-bars {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}

.score-bars span {
  background: var(--mint-strong);
  border-radius: 999px;
  height: 9px;
  transform-origin: left center;
  width: var(--bar-a, 72%);
}

.score-bars span:nth-child(2) {
  background: var(--mint);
  width: var(--bar-b, 58%);
}

.score-bars span:nth-child(3) {
  background: var(--celadon-strong);
  width: var(--bar-c, 42%);
}

.workflow-card-2 {
  --bar-a: 74%;
  --bar-b: 58%;
  --bar-c: 42%;
}

.workflow-card-3 {
  --bar-a: 24%;
  --bar-b: 14%;
  --bar-c: 9%;
}

.workflow-card-4 {
  --bar-a: 39%;
  --bar-b: 48%;
  --bar-c: 34%;
}

.workflow-card-5 {
  --bar-a: 88%;
  --bar-b: 78%;
  --bar-c: 70%;
}

.home-section,
.article-shell {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(82px, 12vw, 140px) clamp(22px, 5vw, 56px);
}

.scan-story {
  padding-top: clamp(54px, 7vw, 84px);
}

.section-kicker {
  max-width: 930px;
}

.section-kicker h2,
.lens-copy h2,
.final-cta h2 {
  font-size: 4.7rem;
}

.section-kicker > p:not(.eyebrow),
.lens-copy > p:not(.eyebrow),
.final-cta p:not(.eyebrow):not(.cta-signal) {
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.58;
  max-width: 720px;
}

.scan-grid {
  align-items: start;
  display: grid;
  gap: clamp(36px, 7vw, 88px);
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  margin-top: clamp(46px, 7vw, 82px);
}

.scan-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.scan-step {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 18px minmax(0, 1fr);
  padding: 26px 0;
}

.scan-step:last-child {
  border-bottom: 1px solid var(--line);
}

.scan-step > span {
  background: var(--teal);
  border-radius: 999px;
  box-shadow: 0 0 0 8px var(--step-glow);
  display: block;
  height: 10px;
  margin-top: 8px;
  width: 10px;
}

.scan-step:nth-child(2) > span {
  background: var(--forest);
}

.scan-step:nth-child(3) > span {
  background: var(--mint-strong);
}

.scan-step:nth-child(4) > span {
  background: var(--brunswick);
}

.scan-step h3 {
  font-size: 1.55rem;
}

.scan-step p {
  color: var(--muted);
  line-height: 1.6;
  margin: 10px 0 0;
}

.scan-mode-board {
  background:
    linear-gradient(180deg, rgba(8, 28, 21, 0.96), rgba(27, 67, 50, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 42px);
  background-color: var(--forest-deep);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(8, 42, 39, 0.22);
  display: grid;
  gap: 22px;
  min-height: 548px;
  overflow: hidden;
  padding: 34px;
  position: sticky;
  top: 104px;
}

.scan-mode-board::after {
  background: linear-gradient(180deg, transparent, rgba(116, 198, 157, 0.22), transparent);
  content: "";
  height: 150px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: -120px;
}

.scan-mode-display {
  background: var(--mode-display-bg);
  border: 1px solid var(--scan-mode-border);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  min-height: 154px;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.scan-mode-display::before {
  background: repeating-linear-gradient(
    90deg,
    var(--barcode-ink) 0 4px,
    transparent 4px 9px,
    var(--barcode-ink) 9px 12px,
    transparent 12px 18px
  );
  content: "";
  height: 46px;
  opacity: 0.9;
  position: absolute;
  right: 28px;
  top: 28px;
  width: 148px;
}

.scan-mode-display span {
  background: var(--mode-display-line);
  border-radius: 999px;
  display: block;
  height: 12px;
  width: var(--scan-line, 64%);
}

.scan-mode-display span:nth-child(2) {
  --scan-line: 48%;
}

.scan-mode-display span:nth-child(3) {
  --scan-line: 72%;
}

.scan-mode-list {
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.scan-mode {
  background: var(--scan-mode-bg);
  border: 1px solid var(--scan-mode-border);
  border-radius: 8px;
  color: var(--night);
  display: grid;
  gap: 8px;
  padding: 16px;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.scan-mode > div {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: flex-start;
}

.scan-mode > div p {
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  border-radius: 999px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
  margin: 0;
  padding: 7px 9px;
  text-transform: uppercase;
}

.scan-mode h3 {
  font-size: 1.25rem;
}

.scan-mode > p {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.44;
  margin: 0;
}

.scan-mode:hover {
  background: var(--scan-mode-hover);
  transform: translateX(-4px);
}

.lens-band {
  background:
    linear-gradient(90deg, rgba(8, 42, 39, 0.96), rgba(14, 63, 58, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 48px);
  background-color: var(--forest-deep);
  color: #fff;
  display: grid;
  gap: clamp(38px, 7vw, 88px);
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1fr);
  padding: clamp(84px, 12vw, 148px) clamp(22px, 7vw, 88px);
}

.lens-band .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.lens-band .lens-copy > p:not(.eyebrow),
.lens-band .lens-row p {
  color: var(--celadon);
}

.lens-copy {
  max-width: 660px;
}

.lens-stack {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.lens-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  padding: 28px 0;
  transition:
    background 180ms ease,
    padding 180ms ease,
    transform 180ms ease;
}

.lens-row h3 {
  font-size: 1.36rem;
}

.lens-row p {
  line-height: 1.6;
  margin: 0;
}

.lens-row:hover {
  background: rgba(183, 228, 199, 0.08);
  padding-left: 18px;
  padding-right: 18px;
}

.final-cta {
  align-items: start;
  background: var(--final-cta-bg);
  display: grid;
  gap: clamp(48px, 8vw, 112px);
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  min-height: 72svh;
  padding: clamp(86px, 13vw, 156px) clamp(22px, 7vw, 88px);
}

.final-cta__copy {
  max-width: 760px;
}

.cta-signal {
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  border-radius: 999px;
  color: var(--brunswick);
  font-size: 0.88rem;
  font-weight: 950;
  margin: 0;
  padding: 13px 16px;
  text-transform: uppercase;
  white-space: nowrap;
}

.final-cta__copy .cta-signal {
  display: inline-flex;
  margin-top: 28px;
}

.early-access-panel {
  isolation: isolate;
  max-width: 560px;
  width: 100%;
}

.early-access-form,
.early-access-status {
  border-top: 2px solid var(--teal);
  padding-top: 28px;
}

.early-access-form {
  display: grid;
  gap: 24px;
}

.early-access-form[hidden],
.early-access-status[hidden] {
  display: none;
}

.early-access-field {
  display: grid;
  gap: 8px;
}

.early-access-field label,
.early-access-platform legend {
  color: var(--brunswick);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.early-access-field input {
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 52px;
  padding: 12px 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.early-access-field input::placeholder {
  color: var(--muted);
  opacity: 0.72;
}

.early-access-field input:hover {
  border-color: var(--teal);
}

.early-access-field input:focus-visible,
.early-access-submit:focus-visible,
.early-access-beta input:focus-visible + span {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
}

.early-access-platform {
  border: 0;
  margin: 0;
  padding: 0;
}

.early-access-platform legend {
  margin-bottom: 8px;
}

.early-access-platform__options {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.early-access-platform__options label {
  cursor: pointer;
  position: relative;
}

.early-access-platform__options input {
  inset: 0;
  opacity: 0;
  position: absolute;
}

.early-access-platform__options span {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 2px;
  min-height: 68px;
  padding: 12px 14px;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.early-access-platform__options strong {
  color: var(--ink);
  font-size: 0.96rem;
}

.early-access-platform__options small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.early-access-platform__options label:hover span {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.early-access-platform__options input:checked + span {
  background: var(--nyanza);
  border-color: var(--teal);
}

.early-access-platform__options input:focus-visible + span {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
}

.early-access-beta {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: 22px minmax(0, 1fr);
  position: relative;
}

.early-access-beta input {
  height: 22px;
  margin: 0;
  opacity: 0;
  position: absolute;
  width: 22px;
}

.early-access-beta > span {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  display: flex;
  height: 22px;
  justify-content: center;
  transition: background-color 160ms ease, border-color 160ms ease;
  width: 22px;
}

.early-access-beta input:checked + span {
  background: var(--action-bg);
  border-color: var(--action-border);
}

.early-access-beta input:checked + span::after {
  border-bottom: 2px solid var(--action-ink);
  border-right: 2px solid var(--action-ink);
  content: "";
  height: 10px;
  transform: rotate(45deg) translate(-1px, -1px);
  width: 5px;
}

.early-access-beta strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.early-access-submit {
  border: 0;
  cursor: pointer;
  justify-content: center;
  width: 100%;
}

.early-access-submit:disabled {
  cursor: wait;
  opacity: 0.58;
}

.early-access-consent {
  color: var(--muted);
  font-size: 0.78rem !important;
  line-height: 1.55 !important;
  margin: -8px 0 0;
}

.early-access-consent a {
  color: var(--brunswick);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.early-access-status h3 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.early-access-status p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.early-access-honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

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

.hero {
  background: var(--article-hero-bg);
  min-height: 92svh;
  overflow: hidden;
  padding: 132px clamp(22px, 7vw, 80px) 72px;
  position: relative;
}

.hero-content {
  max-width: 650px;
  position: relative;
  z-index: 1;
}

.hero p,
.lede {
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.55;
  max-width: 660px;
}

.section,
.article-shell {
  margin: 0 auto;
  max-width: var(--max);
  padding: 86px clamp(22px, 5vw, 56px);
}

.section.split {
  align-items: start;
  display: grid;
  gap: clamp(36px, 7vw, 88px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.section h2,
.article-shell h1 {
  font-size: 4.3rem;
}

.rule-list {
  border-top: 1px solid var(--line);
  margin: 36px 0 0;
}

.rule-list div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 190px minmax(0, 1fr);
  padding: 24px 0;
}

.rule-list dt {
  font-weight: 900;
}

.rule-list dd {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.pricing-shell {
  margin: 0 auto;
  max-width: 1260px;
  padding: 136px clamp(22px, 5vw, 56px) 96px;
}

.pricing-hero {
  max-width: 860px;
}

.pricing-hero h1 {
  font-size: 4.35rem;
  max-width: 14ch;
}

.pricing-caveat {
  border-left: 4px solid var(--teal);
  color: var(--brunswick);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.55;
  margin: 28px 0 0;
  max-width: 790px;
  padding-left: 18px;
}

.pricing-billing-selector {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-top: 44px;
  padding-bottom: 20px;
}

.pricing-billing-selector fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.pricing-billing-selector legend {
  color: var(--brunswick);
  font-size: 0.78rem;
  font-weight: 950;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.pricing-billing-selector__options {
  display: inline-grid;
  gap: 4px;
  grid-template-columns: repeat(2, minmax(112px, 1fr));
}

.pricing-billing-selector__options label {
  cursor: pointer;
  display: block;
  position: relative;
}

.pricing-billing-selector__options input {
  inset: 0;
  opacity: 0;
  position: absolute;
}

.pricing-billing-selector__options span {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  display: flex;
  font-size: 0.88rem;
  font-weight: 850;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
}

.pricing-billing-selector__options input:checked + span {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

.pricing-billing-selector__options input:focus-visible + span {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
}

.pricing-billing-selector__options label:hover span {
  border-color: var(--teal);
}

.pricing-billing-selector > p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  max-width: 460px;
}

.pricing-plan-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.pricing-plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.pricing-plan__header > p {
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 950;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.pricing-plan h2 {
  color: var(--night);
  font-size: 1.85rem;
}

.pricing-plan__billing {
  border-bottom: 1px solid var(--line);
  margin-top: 24px;
  min-height: 82px;
  padding-bottom: 20px;
}

.pricing-plan__billing strong {
  color: var(--forest);
  display: block;
  font-size: 1.75rem;
  line-height: 1.1;
}

.pricing-plan__billing p {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 9px 0 0;
}

.pricing-plan__allowances {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
}

.pricing-plan__allowances div {
  display: grid;
  gap: 4px;
}

.pricing-plan__allowances dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-plan__allowances dd {
  color: var(--night);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.35;
  margin: 0;
}

.pricing-plan__credit-advantage {
  border-left: 3px solid var(--teal);
  color: var(--brunswick);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.45;
  margin: 18px 0 0;
  padding-left: 12px;
}

.pricing-plan__features {
  margin-top: 26px;
}

.pricing-plan__features > p {
  color: var(--brunswick);
  font-size: 0.88rem;
  font-weight: 900;
  margin: 0;
}

.pricing-plan__features ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.pricing-plan__features li {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 5px;
  padding: 14px 0;
}

.pricing-plan__features li:last-child {
  padding-bottom: 0;
}

.pricing-plan__features strong {
  color: var(--night);
  font-size: 0.94rem;
  line-height: 1.35;
}

.pricing-plan__features span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.48;
}

.pricing-credit-reference {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.6fr);
  margin-top: 72px;
  padding-top: 42px;
}

.pricing-credit-reference header {
  max-width: 520px;
}

.pricing-credit-reference h2 {
  font-size: 2.75rem;
}

.pricing-credit-reference header > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
  margin: 16px 0 0;
}

.pricing-credit-rules {
  display: grid;
  gap: 0 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.pricing-credit-rules div {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.pricing-credit-rules dt {
  color: var(--night);
  font-size: 0.92rem;
  font-weight: 900;
}

.pricing-credit-rules dd {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.5;
  margin: 7px 0 0;
}
.band {
  background: var(--forest);
  color: #fff;
}

.band .section p,
.band .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.paths {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
}

.path {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  padding-top: 20px;
}

.path h3,
.article-body h2 {
  font-size: 1.25rem;
  margin: 0 0 12px;
}

.path p,
.section p,
.article-body p,
.article-body li {
  line-height: 1.65;
}

.path p,
.section p,
.article-body p,
.article-body li {
  color: var(--muted);
}

.band .path p {
  color: rgba(255, 255, 255, 0.72);
}

.article-list {
  border-top: 1px solid var(--line);
  margin-top: 36px;
}

.article-link {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr auto;
  padding: 26px 0;
}

.article-link h2 {
  font-size: 1.9rem;
}

.article-meta,
.back-link {
  color: var(--muted);
  display: flex;
  font-size: 0.92rem;
  gap: 14px;
}

.article-shell {
  padding-top: 136px;
}

.article-shell h1 {
  max-width: 12ch;
}

.article-shell .definition-article-heading {
  column-gap: 0.28em;
  display: flex;
  flex-wrap: wrap;
  max-width: none;
  row-gap: 0.08em;
}

.article-shell .definition-article-heading--sentence-lock {
  font-size: 3.45rem;
}

.definition-article-heading--sentence-lock .definition-article-heading__sentence {
  white-space: nowrap;
}

.article-body {
  max-width: 760px;
}

.article-body h2 {
  margin-top: 46px;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.article-cta {
  border-top: 1px solid var(--line);
  margin-top: 54px;
  max-width: 760px;
  padding-top: 24px;
}

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

.fact-grid div,
.summary-panel {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.fact-grid dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fact-grid dd {
  font-size: 1.05rem;
  font-weight: 850;
  margin: 8px 0 0;
}

.summary-panel {
  margin-top: 34px;
  max-width: 760px;
}

.summary-panel h2 {
  font-size: 2.1rem;
}

.summary-panel ul {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.summary-panel li {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
  padding-bottom: 16px;
}

.summary-panel li span,
.summary-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.summary-panel.quiet {
  opacity: 0.86;
}

.lens-preview {
  border-top: 1px solid var(--line);
  margin-top: 44px;
  max-width: 880px;
  padding-top: 22px;
}

.lens-preview__heading {
  align-items: end;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.lens-preview__heading h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.lens-preview__heading p,
.lens-preview__more {
  color: var(--muted);
  line-height: 1.6;
}

.lens-preview__switcher {
  margin-top: 24px;
  position: relative;
}

.lens-preview__radio {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.lens-preview__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.lens-preview__tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  display: inline-grid;
  gap: 2px;
  min-height: 54px;
  padding: 9px 15px;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.lens-preview__tab span {
  font-size: 0.92rem;
  font-weight: 850;
}

.lens-preview__tab small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.lens-preview__tab:hover {
  border-color: var(--teal);
  transform: translateY(-1px);
}

.lens-preview__panels {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  min-height: 290px;
}

.lens-preview__panel {
  display: none;
  gap: 28px;
  grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
  padding: 28px 0;
}

.lens-preview__score {
  align-content: center;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 12px;
  min-height: 180px;
  padding-right: 24px;
}

.lens-preview__score span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lens-preview__score strong {
  color: var(--teal);
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  letter-spacing: 0;
  line-height: 0.95;
}

.lens-preview__copy {
  align-content: center;
  display: grid;
  gap: 14px;
}

.lens-preview__copy h3 {
  font-size: 1.55rem;
}

.lens-preview__copy p {
  color: var(--muted);
  line-height: 1.6;
  max-width: 58ch;
}

.lens-preview__copy .lens-preview__default-note {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.3;
  margin: -4px 0 0;
  text-transform: uppercase;
}

.lens-preview__copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.lens-preview__copy li {
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 760;
  padding: 8px 11px;
}

.lens-preview__more {
  margin-top: 18px;
  max-width: 720px;
}

.lens-preview__radio-0:checked ~ .lens-preview__tabs .lens-preview__tab-0,
.lens-preview__radio-1:checked ~ .lens-preview__tabs .lens-preview__tab-1,
.lens-preview__radio-2:checked ~ .lens-preview__tabs .lens-preview__tab-2,
.lens-preview__radio-3:checked ~ .lens-preview__tabs .lens-preview__tab-3,
.lens-preview__radio-4:checked ~ .lens-preview__tabs .lens-preview__tab-4 {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.lens-preview__radio-0:checked ~ .lens-preview__tabs .lens-preview__tab-0 small,
.lens-preview__radio-1:checked ~ .lens-preview__tabs .lens-preview__tab-1 small,
.lens-preview__radio-2:checked ~ .lens-preview__tabs .lens-preview__tab-2 small,
.lens-preview__radio-3:checked ~ .lens-preview__tabs .lens-preview__tab-3 small,
.lens-preview__radio-4:checked ~ .lens-preview__tabs .lens-preview__tab-4 small {
  color: var(--paper);
}

.lens-preview__radio-0:checked ~ .lens-preview__panels .lens-preview__panel-0,
.lens-preview__radio-1:checked ~ .lens-preview__panels .lens-preview__panel-1,
.lens-preview__radio-2:checked ~ .lens-preview__panels .lens-preview__panel-2,
.lens-preview__radio-3:checked ~ .lens-preview__panels .lens-preview__panel-3,
.lens-preview__radio-4:checked ~ .lens-preview__panels .lens-preview__panel-4 {
  animation: lens-panel-in 180ms ease-out;
  display: grid;
}

@keyframes lens-panel-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mobile-menu-enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  flex: 0 0 auto;
  justify-content: space-between;
  padding: 34px clamp(22px, 5vw, 56px);
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
  margin: 0;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes theater-enter {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes scan-sweep {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(410%);
  }
}

@keyframes workflow-focus {
  0%,
  18% {
    filter: saturate(1.08);
  }

  24%,
  100% {
    filter: saturate(0.96);
  }
}

@keyframes score-fill {
  0%,
  100% {
    transform: scaleX(0.88);
  }

  42%,
  68% {
    transform: scaleX(1);
  }
}

@keyframes scan-sweep-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(410%);
  }
}

@keyframes score-fill-scroll {
  from {
    opacity: 0.74;
    transform: scaleX(0.18);
  }

  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(34px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stage-depth {
  from {
    transform: translateY(28px) scale(0.96);
  }

  to {
    transform: translateY(0) scale(1);
  }
}

@keyframes mode-scan {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(680px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .home-hero__copy > * {
    animation: hero-rise 760ms ease both;
  }

  .home-hero__copy > *:nth-child(2) {
    animation-delay: 80ms;
  }

  .home-hero__copy > *:nth-child(3) {
    animation-delay: 150ms;
  }

  .home-hero__copy > *:nth-child(4) {
    animation-delay: 220ms;
  }

  .home-hero__copy > *:nth-child(5) {
    animation-delay: 310ms;
  }

  .workflow-theater {
    animation: theater-enter 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .scan-surface .scan-sweep {
    animation: scan-sweep 3.8s ease-in-out 700ms 2 both;
  }

  .workflow-card {
    animation: workflow-focus 9s ease-in-out infinite;
  }

  .workflow-card-2 {
    animation-delay: 1.5s;
  }

  .workflow-card-3 {
    animation-delay: 3s;
  }

  .workflow-card-4 {
    animation-delay: 4.5s;
  }

  .workflow-card-5 {
    animation-delay: 6s;
  }

  .score-bars span {
    animation: score-fill 1.2s ease-out 420ms both;
  }

  .score-bars span:nth-child(2) {
    animation-delay: 420ms;
  }

  .score-bars span:nth-child(3) {
    animation-delay: 820ms;
  }

  .scan-mode-board::after {
    animation: mode-scan 5s ease-in-out 2 both;
  }

  @supports (animation-timeline: view()) {
    .scan-surface .scan-sweep {
      animation: scan-sweep-scroll linear both;
      animation-range: entry -10% cover 48%;
      animation-timeline: view();
    }

    .workflow-card .score-bars span {
      animation: score-fill-scroll linear both;
      animation-delay: 0s;
      animation-range: entry 0% cover 36%;
      animation-timeline: view();
    }

    .score-bars span:nth-child(2),
    .score-bars span:nth-child(3) {
      animation-delay: 0s;
    }

    .section-kicker,
    .scan-step,
    .lens-copy,
    .lens-row {
      animation: reveal-up linear both;
      animation-range: entry 0% cover 30%;
      animation-timeline: view();
    }

    .scan-mode-board {
      animation: stage-depth linear both;
      animation-range: entry 0% cover 42%;
      animation-timeline: view();
    }

    .scan-mode-board::after {
      animation: mode-scan linear both;
      animation-range: entry -8% cover 68%;
      animation-timeline: view();
    }
  }
}

@media (max-width: 920px) {
  .home-hero,
  .scan-grid,
  .lens-band,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: 76svh;
    padding-top: 116px;
  }

  .workflow-theater {
    justify-self: center;
    min-height: 560px;
    width: min(100%, 520px);
  }

  .scan-mode-board {
    min-height: 540px;
    position: relative;
    top: auto;
  }

  .final-cta {
    align-items: start;
    min-height: 64svh;
  }

  .cta-signal {
    justify-self: start;
  }

  .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lens-preview__heading {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .lens-preview__heading .button {
    justify-self: start;
  }

  .lens-preview__panel {
    grid-template-columns: 1fr;
  }

  .lens-preview__score {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: auto;
    padding: 0 0 22px;
  }

  .pricing-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    align-items: center;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: var(--header-height);
    padding: 12px 18px;
  }

  .site-header .desktop-navigation,
  .site-header .header-actions {
    display: none;
  }

  .mobile-menu {
    display: block;
    justify-self: end;
  }

  .mobile-menu summary {
    align-items: center;
    border-radius: 7px;
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 850;
    gap: 10px;
    justify-content: center;
    min-height: 44px;
    padding: 0 4px 0 12px;
    transition:
      background-color 160ms ease,
      color 160ms ease;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary::marker {
    content: "";
  }

  .mobile-menu summary:hover {
    background: var(--mist);
  }

  .mobile-menu summary:focus-visible {
    outline: 3px solid rgba(82, 183, 136, 0.38);
    outline-offset: 2px;
  }

  .mobile-menu__icon {
    height: 20px;
    position: relative;
    width: 24px;
  }

  .mobile-menu__icon::before,
  .mobile-menu__icon::after {
    background: currentColor;
    content: "";
    height: 2px;
    left: 3px;
    position: absolute;
    transform-origin: center;
    transition:
      top 180ms ease,
      transform 180ms ease;
    width: 18px;
  }

  .mobile-menu__icon::before {
    top: 6px;
  }

  .mobile-menu__icon::after {
    top: 13px;
  }

  .mobile-menu[open] .mobile-menu__icon::before {
    top: 9px;
    transform: rotate(45deg);
  }

  .mobile-menu[open] .mobile-menu__icon::after {
    top: 9px;
    transform: rotate(-45deg);
  }

  .mobile-menu__panel {
    background: var(--surface);
    box-shadow: 0 20px 44px var(--panel-shadow);
    left: 0;
    padding: 12px 18px 18px;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 1;
  }

  .site-header .mobile-navigation {
    align-items: stretch;
    display: grid;
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    width: 100%;
  }

  .site-header .mobile-navigation a {
    align-items: center;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    display: flex;
    font-size: 1.05rem;
    font-weight: 800;
    justify-content: space-between;
    min-height: 52px;
    transition:
      color 160ms ease,
      padding-left 160ms ease;
  }

  .mobile-navigation__arrow {
    color: var(--muted);
    font-size: 0.9rem;
  }

  .site-header .mobile-navigation a:hover {
    color: var(--teal);
    padding-left: 4px;
  }

  .site-header .mobile-navigation a:focus-visible,
  .mobile-menu__preference:focus-visible {
    outline: 3px solid rgba(82, 183, 136, 0.38);
    outline-offset: -3px;
  }

  .mobile-menu__preferences {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 16px;
  }

  .mobile-menu__preference {
    align-items: center;
    background: var(--paper-deep);
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    gap: 10px;
    justify-content: center;
    min-height: 48px;
    padding: 0 12px;
    transition:
      background-color 160ms ease,
      border-color 160ms ease,
      color 160ms ease;
  }

  .mobile-menu__preference:hover {
    border-color: var(--teal);
    color: var(--teal);
  }

  .mobile-theme-toggle .theme-toggle__icon {
    flex: 0 0 21px;
  }

  @media (prefers-reduced-motion: no-preference) {
    .mobile-menu[open] .mobile-menu__panel {
      animation: mobile-menu-enter 180ms ease-out both;
    }
  }

  .home-hero {
    display: block;
    min-height: auto;
    padding-bottom: 58px;
    padding-top: calc(var(--header-height) + 24px);
  }

  .home-hero h1 {
    font-size: 5.7rem;
  }

  .home-hero__lede {
    font-size: 1.28rem;
  }

  .hero-proof {
    margin-top: 28px;
  }

  .workflow-theater {
    display: none;
  }

  .hero-proof {
    display: none;
  }

  .scan-mode-board {
    min-height: auto;
    padding: 24px;
  }

  .scan-mode-display {
    min-height: 130px;
    padding: 20px;
  }

  .scan-mode-display::before {
    right: 20px;
    top: 20px;
    transform: scale(0.82);
    transform-origin: right top;
  }

  .scan-mode {
    padding: 14px;
  }

  .scan-mode h3 {
    font-size: 1.08rem;
  }

  .home-section,
  .article-shell,
  .section {
    padding-block: 72px;
  }

  .section-kicker h2,
  .lens-copy h2,
  .final-cta h2 {
    font-size: 3.35rem;
  }

  .lens-row,
  .article-link,
  .rule-list div {
    grid-template-columns: 1fr;
  }

  .scan-step {
    gap: 18px;
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .lens-band,
  .final-cta {
    padding-inline: clamp(22px, 7vw, 38px);
  }

  .lens-row:hover {
    padding-left: 0;
    padding-right: 0;
  }

  .fact-grid,
  .paths {
    grid-template-columns: 1fr;
  }

  .lens-preview__tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .lens-preview__tab {
    border-radius: 8px;
    min-height: 50px;
  }

  .lens-preview__panels {
    min-height: 360px;
  }

  .pricing-shell {
    padding-block: 112px 72px;
  }

  .pricing-hero h1 {
    font-size: 3.35rem;
  }

  .article-shell .definition-article-heading--sentence-lock {
    font-size: 3rem;
  }

  .pricing-plan-grid {
    grid-template-columns: 1fr;
  }

  .pricing-billing-selector {
    align-items: start;
    flex-direction: column;
  }

  .pricing-billing-selector__options {
    width: 100%;
  }

  .pricing-billing-selector fieldset {
    width: 100%;
  }

  .pricing-credit-reference {
    gap: 26px;
    grid-template-columns: 1fr;
  }

  .pricing-credit-reference h2 {
    font-size: 2.45rem;
  }

  .pricing-credit-rules {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 86svh;
    padding-top: calc(var(--header-height) + 24px);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 430px) {
  .early-access-platform__options {
    grid-template-columns: 1fr;
  }

  .article-shell .definition-article-heading--sentence-lock {
    font-size: 2rem;
  }

  .home-hero {
    padding-inline: 18px;
  }

  .cta-signal {
    white-space: normal;
  }
}

@media (max-width: 360px) {
  .article-shell .definition-article-heading--sentence-lock {
    font-size: 1.78rem;
  }
}

@media (max-width: 320px) {
  .article-shell .definition-article-heading--sentence-lock {
    font-size: 1.72rem;
  }
}

@media (max-width: 300px) {
  .article-shell .definition-article-heading--sentence-lock {
    font-size: 1.6rem;
  }
}
