:root {
  --harbor-950: oklch(0.19 0.055 230);
  --harbor-900: oklch(0.25 0.085 230);
  --harbor-800: oklch(0.32 0.105 230);
  --harbor-700: oklch(0.38 0.12 230);
  --harbor-600: oklch(0.47 0.12 230);
  --calibration: oklch(0.88 0.18 115);
  --calibration-hover: oklch(0.82 0.18 115);
  --signal-red: oklch(0.58 0.20 25);
  --white: oklch(1 0 0);
  --surface: oklch(0.965 0.008 230);
  --surface-deep: oklch(0.925 0.014 230);
  --ink: oklch(0.17 0.025 230);
  --muted: oklch(0.42 0.025 230);
  --line: oklch(0.82 0.018 230);
  --display: "Anybody", "Arial Black", sans-serif;
  --body: "Chivo", "Avenir Next", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --type-micro: 0.65rem;
  --type-meta: 0.72rem;
  --type-label: 0.8rem;
  --type-compact: 0.84rem;
  --type-support: 0.9rem;
  --type-body: 1rem;
  --type-brand: 1.1rem;
  --type-subhead: 1.25rem;
  --type-price: 1.45rem;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shell: min(1180px, calc(100% - 40px));
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --z-sticky: 20;
  --z-skip: 50;
}

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

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--type-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body, button, input, select, textarea { font-family: var(--body); }

a { color: inherit; }

button, input, select, textarea { font-size: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

button { cursor: pointer; }

img { display: block; max-width: 100%; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  text-wrap: balance;
}

p { text-wrap: pretty; }

::selection {
  background: var(--calibration);
  color: var(--harbor-950);
}

:focus-visible {
  outline: 3px solid var(--calibration);
  outline-offset: 4px;
}

.shell { width: var(--shell); margin-inline: auto; }

.visually-hidden {
  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: 12px;
  left: 12px;
  z-index: var(--z-skip);
  padding: 10px 16px;
  background: var(--calibration);
  color: var(--harbor-950);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--harbor-700);
  color: var(--white);
  border-bottom: 1px solid oklch(0.7 0.04 230 / 0.35);
}

.nav-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 11px;
  font-family: var(--display);
  font-variation-settings: "wdth" 105;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
  font-size: var(--type-brand);
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  width: 7px;
  border-block: 2px solid currentColor;
}

.brand-mark::before { left: 0; border-left: 2px solid currentColor; }
.brand-mark::after { right: 0; border-right: 2px solid currentColor; }

.brand-mark span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--calibration);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: oklch(0.94 0.015 230);
  font-size: var(--type-compact);
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links a:hover { color: var(--calibration); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background: var(--calibration);
  color: var(--harbor-950);
  font-size: var(--type-compact);
  font-weight: 850;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms var(--ease-out);
}

.nav-cta:hover { background: var(--calibration-hover); transform: translateY(-1px); }

.hero {
  overflow: hidden;
  background: var(--harbor-700);
  color: var(--white);
  padding: clamp(72px, 8vw, 118px) 0 clamp(92px, 10vw, 148px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(480px, 1.06fr);
  gap: clamp(52px, 6vw, 92px);
  align-items: center;
}

.hero-copy {
  animation: hero-copy-in 700ms var(--ease-out) both;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: oklch(0.91 0.035 230);
  font-size: var(--type-compact);
  font-weight: 760;
}

.hero-kicker span {
  width: 28px;
  height: 4px;
  background: var(--calibration);
}

.hero h1 {
  max-width: 10ch;
  margin-bottom: 28px;
  font-family: var(--display);
  font-size: clamp(3.25rem, 6.1vw, 5.85rem);
  font-variation-settings: "wdth" 108;
  font-weight: 850;
  line-height: 0.94;
  letter-spacing: -0.038em;
}

.hero-lede {
  max-width: 58ch;
  margin-bottom: 30px;
  color: oklch(0.92 0.016 230);
  font-size: clamp(1.02rem, 1.4vw, 1.17rem);
  line-height: 1.65;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 27px; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius-sm);
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms var(--ease-out);
}

.button:hover { transform: translateY(-2px); }

.button-accent { background: var(--calibration); color: var(--harbor-950); }
.button-accent:hover { background: var(--calibration-hover); }

.button-quiet {
  border: 1px solid oklch(0.8 0.03 230 / 0.55);
  color: var(--white);
  background: transparent;
}

.button-quiet:hover { background: oklch(0.47 0.11 230); }

.reference-note {
  max-width: 56ch;
  margin: 0;
  color: oklch(0.82 0.025 230);
  font-size: var(--type-compact);
}

.reference-note a { color: var(--white); text-underline-offset: 3px; }

.instrument {
  position: relative;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-md);
  box-shadow: 13px 13px 0 var(--harbor-950);
  animation: instrument-in 820ms 90ms var(--ease-out) both;
}

.instrument::before {
  content: "";
  position: absolute;
  top: -18px;
  right: 28px;
  width: 68px;
  height: 18px;
  background: var(--calibration);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.instrument-head {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.instrument-head > div { display: grid; gap: 1px; }
.instrument-head strong { font-family: var(--display); font-size: var(--type-body); letter-spacing: -0.01em; }

.instrument-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: var(--type-micro);
  line-height: 1.2;
  text-transform: uppercase;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--harbor-800);
  font-size: var(--type-label);
  font-weight: 800;
}

.live-indicator i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--calibration-hover);
  box-shadow: 0 0 0 4px oklch(0.88 0.18 115 / 0.18);
}

.demo-form { padding: 18px 20px 16px; }

.demo-form > label,
.dimension-row label {
  color: var(--harbor-900);
  font-size: var(--type-meta);
  font-weight: 780;
}

.url-control { display: flex; margin-top: 7px; }

.url-control input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  padding: 9px 12px;
  font-family: var(--mono);
  font-size: var(--type-label);
}

.url-control input:focus { border-color: var(--harbor-600); outline: 3px solid oklch(0.47 0.12 230 / 0.2); outline-offset: 0; }

.url-control button {
  min-width: 96px;
  min-height: 46px;
  border: 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--harbor-800);
  color: var(--white);
  font-weight: 850;
  transition: background 160ms ease;
}

.url-control button:hover { background: var(--harbor-950); }
.url-control button:disabled { cursor: wait; background: var(--muted); }

.dimension-row {
  display: flex;
  align-items: end;
  gap: 10px;
  margin-top: 12px;
}

.dimension-row label { display: grid; grid-template-columns: auto; gap: 3px; }

.dimension-row select {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  padding: 6px 28px 6px 9px;
}

.dimension-row > span:not(.demo-limit) { align-self: center; color: var(--muted); }
.demo-limit { margin-left: auto; align-self: center; color: var(--muted); font-size: var(--type-meta); }

.capture-stage {
  position: relative;
  min-height: 352px;
  margin: 0 20px 20px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--harbor-950);
  color: var(--white);
}

.capture-empty {
  min-height: 312px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 30px;
  text-align: center;
}

.capture-empty strong { font-family: var(--display); font-size: var(--type-body); }
.capture-empty > span:last-child { max-width: 36ch; color: oklch(0.76 0.025 230); font-size: var(--type-meta); }

.reticle {
  width: 60px;
  height: 60px;
  position: relative;
  margin-bottom: 8px;
  border: 1px solid oklch(0.75 0.05 230 / 0.55);
  border-radius: 50%;
}

.reticle::before,
.reticle::after {
  content: "";
  position: absolute;
  background: var(--calibration);
}

.reticle::before { width: 74px; height: 1px; top: 29px; left: -8px; }
.reticle::after { width: 1px; height: 74px; top: -8px; left: 29px; }

.capture-output {
  height: 312px;
  background: var(--white);
}

.capture-output img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--white);
}

.capture-scan { display: none; }

.capture-stage.is-loading .capture-scan {
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, oklch(0.88 0.18 115 / 0.15) 46%, var(--calibration) 50%, transparent 54%);
  transform: translateY(-100%);
  animation: scan 1.3s linear infinite;
}

.capture-stage figcaption {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 12px;
  background: oklch(0.23 0.055 230);
  color: oklch(0.83 0.025 230);
  font-family: var(--mono);
  font-size: var(--type-micro);
}

#demo-status.is-error { color: oklch(0.8 0.14 25); }
#demo-status.is-success { color: var(--calibration); }

.demo-next {
  display: grid;
  gap: 12px;
  margin: -2px 20px 20px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--harbor-800);
  color: var(--white);
}

.demo-trial-prompt { display: grid; gap: 12px; }
.demo-next-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.demo-next-head > div { display: grid; gap: 2px; }
.demo-next-head strong { font-family: var(--display); font-size: var(--type-support); letter-spacing: -0.01em; }
.demo-next-head span { color: oklch(0.88 0.02 230); font-size: var(--type-meta); }
.demo-next-head a { color: oklch(0.91 0.035 230); font-size: var(--type-meta); text-underline-offset: 3px; white-space: nowrap; }
.demo-next-head a:hover { color: var(--calibration); }
.demo-key-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.demo-key-entry input {
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  padding: 9px 12px;
}
.demo-key-entry input::placeholder { color: oklch(0.48 0.025 230); opacity: 1; }
.demo-key-entry input:focus { position: relative; border-color: var(--calibration); outline: 3px solid oklch(0.88 0.18 115 / 0.24); outline-offset: 0; }
.demo-key-entry button {
  min-height: 44px;
  border: 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--calibration);
  color: var(--harbor-950);
  padding: 9px 14px;
  font-size: var(--type-label);
  font-weight: 850;
}
.demo-key-entry button:hover { background: var(--calibration-hover); }
.demo-key-entry button:disabled { cursor: wait; background: var(--line); }
.demo-trial-note,
.demo-trial-status { margin: 0; font-size: var(--type-meta); line-height: 1.45; }
.demo-trial-note { color: oklch(0.83 0.025 230); }
.demo-trial-status { min-height: 17px; color: oklch(0.88 0.02 230); }
.demo-trial-status.is-error { color: oklch(0.8 0.14 25); }
.demo-next.has-key { padding: 0; background: transparent; }
.demo-trial-result { margin-top: 0; }

.section { padding: clamp(84px, 10vw, 144px) 0; }

.section-index {
  margin-bottom: 18px;
  color: var(--harbor-700);
  font-size: var(--type-label);
  font-weight: 820;
}

.section-intro {
  max-width: 850px;
  margin-bottom: clamp(48px, 6vw, 76px);
}

.section-intro.compact { margin-bottom: 48px; }

.section-intro h2,
.boundary-statement h2,
.pricing-intro h2,
.upgrade-copy h2,
.trial-copy h2 {
  margin-bottom: 24px;
  font-family: var(--display);
  font-size: clamp(2.55rem, 5.2vw, 4.8rem);
  font-variation-settings: "wdth" 105;
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.section-intro > p:last-child,
.boundary-statement > p:last-child,
.pricing-intro > p,
.trial-copy > p {
  max-width: 67ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.evidence { background: var(--white); }

.benchmark-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(270px, 0.55fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: start;
  margin-bottom: 40px;
}

.benchmark-visual {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.benchmark-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.benchmark-head span { color: var(--muted); font-size: var(--type-compact); font-weight: 720; }
.benchmark-head strong { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1; letter-spacing: -0.03em; }

.benchmark-strip {
  display: grid;
  grid-template-columns: repeat(25, 1fr);
  gap: 3px;
}

.benchmark-strip span {
  aspect-ratio: 1;
  min-width: 2px;
  background: var(--harbor-600);
  animation: cell-in 420ms var(--ease-out) both;
}

.benchmark-strip span.timeout { background: var(--signal-red); }

.benchmark-legend { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 18px; color: var(--muted); font-size: var(--type-meta); }
.benchmark-legend span { display: inline-flex; align-items: center; gap: 7px; }
.benchmark-legend i { width: 10px; height: 10px; }
.legend-success { background: var(--harbor-600); }
.legend-timeout { background: var(--signal-red); }

.evidence-list { margin: 0; }
.evidence-list div { padding: 17px 0; border-bottom: 1px solid var(--line); }
.evidence-list div:first-child { padding-top: 0; }
.evidence-list dt { margin-bottom: 2px; color: var(--muted); font-size: var(--type-meta); }
.evidence-list dd { margin: 0; font-size: var(--type-body); font-weight: 780; }

.text-link { color: var(--harbor-700); font-weight: 820; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link span { display: inline-block; transition: transform 160ms var(--ease-out); }
.text-link:hover span { transform: translateX(5px); }

.boundaries { background: var(--surface); }

.boundary-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(60px, 9vw, 132px);
  align-items: start;
}

.boundary-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.boundary-columns h3 { margin-bottom: 20px; font-family: var(--display); font-size: var(--type-subhead); }
.boundary-columns ul { list-style: none; margin: 0; padding: 0; }
.boundary-columns li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); color: var(--harbor-900); font-size: var(--type-support); }
.boundary-columns li::before { position: absolute; left: 0; top: 12px; font-family: var(--mono); font-weight: 850; }
.check-list li::before { content: "+"; color: var(--harbor-600); }
.minus-list li::before { content: "−"; color: var(--signal-red); }

.workflow { background: var(--white); }

.workflow-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0 0 64px; padding: 0; }
.workflow-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 0 28px; border-right: 1px solid var(--line); }
.workflow-steps li:first-child { padding-left: 0; }
.workflow-steps li:last-child { border-right: 0; padding-right: 0; }
.workflow-steps > li > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--harbor-700); color: var(--white); font-family: var(--mono); font-weight: 800; }
.workflow-steps strong { display: block; margin-bottom: 6px; font-size: var(--type-body); }
.workflow-steps p { margin: 0; color: var(--muted); font-size: var(--type-compact); }

.code-panel {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--harbor-950);
  color: var(--white);
}

.code-head,
.code-foot { display: flex; align-items: center; gap: 16px; padding: 13px 18px; }
.code-head { justify-content: space-between; background: oklch(0.23 0.06 230); border-bottom: 1px solid oklch(0.7 0.03 230 / 0.2); }
.code-head span { color: oklch(0.78 0.025 230); font-family: var(--mono); font-size: var(--type-meta); }

.copy-button {
  min-height: 34px;
  border: 1px solid oklch(0.72 0.03 230 / 0.42);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--white);
  padding: 6px 10px;
  font-size: var(--type-meta);
  font-weight: 750;
}

.copy-button:hover { background: var(--harbor-800); }

.code-panel pre { margin: 0; overflow-x: auto; padding: clamp(22px, 4vw, 38px); }
.code-panel code { font-family: var(--mono); font-size: clamp(0.72rem, 1.3vw, 0.88rem); line-height: 1.7; }
.code-foot { flex-wrap: wrap; border-top: 1px solid oklch(0.7 0.03 230 / 0.2); }
.code-foot a { color: var(--calibration); font-size: var(--type-meta); font-weight: 760; text-underline-offset: 3px; }

.pricing { background: var(--harbor-700); color: var(--white); }

.pricing .section-index { color: var(--calibration); }
.pricing-intro { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 60px; align-items: end; margin-bottom: 54px; }
.pricing-intro h2 { max-width: 15ch; margin-bottom: 0; }
.pricing-intro > p { color: oklch(0.88 0.02 230); }

.pricing-table-wrap { overflow-x: auto; }

.pricing-table { width: 100%; border-collapse: collapse; min-width: 780px; }
.pricing-table th,
.pricing-table td { padding: 21px 18px; text-align: left; border-bottom: 1px solid oklch(0.72 0.04 230 / 0.36); }
.pricing-table thead th { color: oklch(0.79 0.025 230); font-size: var(--type-meta); font-weight: 700; }
.pricing-table tbody th strong { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: var(--type-body); }
.pricing-table tbody th span { display: block; margin-top: 2px; color: oklch(0.81 0.025 230); font-size: var(--type-meta); font-weight: 400; }
.pricing-table tbody td { font-size: var(--type-support); }
.pricing-table tbody td > strong { font-family: var(--display); font-size: var(--type-price); }
.pricing-table tbody a { display: inline-flex; min-height: 42px; align-items: center; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--white); color: var(--harbor-900); font-size: var(--type-label); font-weight: 850; text-decoration: none; }
.pricing-table tbody a:hover { background: var(--calibration); }
.pricing-table .recommended { background: oklch(0.43 0.125 230); }
.pricing-table .recommended th span { color: var(--white); }
.pricing-table em { padding: 4px 7px; border-radius: var(--radius-sm); background: var(--calibration); color: var(--harbor-950); font-family: var(--body); font-size: var(--type-micro); font-style: normal; }
.table-scroll-hint { display: none; }

.pricing-calculator-note {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: baseline;
  margin: 18px 0 0;
  padding: 18px 0;
  border-block: 1px solid var(--pricing-divider);
  color: var(--inverse-body);
  font-size: var(--type-compact);
}
.pricing-calculator-note strong { color: var(--white); }
.pricing-calculator-note a { color: var(--calibration); font-weight: 800; text-underline-offset: 4px; }

.pilot-offer {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 30px;
  padding: 24px 0;
  border-block: 1px solid var(--pricing-divider);
}
.pilot-price span { display: block; color: var(--pricing-subtitle); font-size: var(--type-meta); font-weight: 700; }
.pilot-price strong { display: block; margin-top: 4px; font-family: var(--display); font-size: clamp(2.25rem, 4vw, 3.2rem); line-height: 0.96; letter-spacing: -0.035em; }
.pilot-copy h3 { margin: 0 0 6px; color: var(--white); font-family: var(--display); font-size: var(--type-subhead); line-height: 1.1; text-wrap: balance; }
.pilot-copy p { max-width: 67ch; margin: 0; color: var(--inverse-body); font-size: var(--type-compact); line-height: 1.55; text-wrap: pretty; }
.pilot-action { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 11px 16px; border-radius: var(--radius-sm); background: var(--calibration); color: var(--harbor-950); font-size: var(--type-label); font-weight: 850; text-decoration: none; white-space: nowrap; }
.pilot-action:hover { background: var(--calibration-hover); transform: translateY(-1px); }

.security-service-note {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 18px 0 0;
  border-top: 1px solid var(--pricing-divider);
  color: var(--inverse-body);
}
.security-service-note p { max-width: 72ch; margin: 0; font-size: var(--type-support); }
.security-service-note strong { color: var(--white); }
.security-service-actions { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: flex-end; }
.security-service-note a { display: inline-flex; min-height: 44px; align-items: center; color: var(--calibration); font-size: var(--type-compact); font-weight: 800; white-space: nowrap; }

.pricing-note { margin: 24px 0 0; color: oklch(0.82 0.025 230); font-size: var(--type-label); }
.pricing-note a { color: var(--white); text-underline-offset: 3px; }

.upgrade { background: var(--white); }
.upgrade-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr); gap: clamp(60px, 10vw, 140px); align-items: start; }
.upgrade-copy > p:not(.section-index) { max-width: 58ch; color: var(--muted); }
.upgrade-process { margin: 34px 0 0; }
.upgrade-process div { padding: 17px 0; border-bottom: 1px solid var(--line); }
.upgrade-process dt { margin-bottom: 3px; color: var(--harbor-900); font-weight: 820; }
.upgrade-process dd { margin: 0; color: var(--muted); font-size: var(--type-compact); }
.upgrade-actions { display: grid; gap: 18px; }
.upgrade-form { background: var(--surface); }
.form-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 24px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.form-heading strong { color: var(--harbor-900); font-family: var(--display); font-size: var(--type-subhead); }
.form-heading span { color: var(--muted); font-size: var(--type-meta); font-weight: 650; text-align: right; }
.existing-upgrade { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.existing-upgrade > summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 18px; color: var(--harbor-900); cursor: pointer; font-size: var(--type-label); font-weight: 800; list-style: none; }
.existing-upgrade > summary::-webkit-details-marker { display: none; }
.existing-upgrade > summary::after { content: "+"; color: var(--harbor-700); font-size: var(--type-subhead); line-height: 1; }
.existing-upgrade[open] > summary { border-bottom: 1px solid var(--line); }
.existing-upgrade[open] > summary::after { content: "−"; }
.existing-upgrade-form { border-radius: 0; }
.field-help { color: var(--muted); font-size: var(--type-meta); font-weight: 450; line-height: 1.45; }
.field-help a { color: var(--harbor-700); text-underline-offset: 3px; }
.optional-label { color: var(--muted); font-weight: 450; }

.trial { background: var(--surface); }
.trial-grid { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr); gap: clamp(60px, 10vw, 140px); align-items: start; }
.trial-copy ul { list-style: none; margin: 30px 0 0; padding: 0; }
.trial-copy li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--harbor-900); font-size: var(--type-compact); }
.trial-copy li::before { content: "✓"; margin-right: 11px; color: var(--harbor-600); font-weight: 850; }

.trial-form { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-md); background: var(--white); }
.trial-form label { display: grid; gap: 7px; margin-bottom: 18px; color: var(--harbor-900); font-size: var(--type-label); font-weight: 780; }
.trial-form input,
.trial-form textarea,
.trial-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  padding: 10px 12px;
}

.trial-form textarea { resize: vertical; min-height: 124px; }
.trial-form input:focus,
.trial-form textarea:focus,
.trial-form select:focus { border-color: var(--harbor-600); outline: 3px solid oklch(0.47 0.12 230 / 0.2); outline-offset: 0; }
.trial-form textarea::placeholder { color: oklch(0.48 0.025 230); opacity: 1; }

.trial-optional { margin: 4px 0 20px; border-block: 1px solid var(--line); }
.trial-optional summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  color: var(--harbor-900);
  cursor: pointer;
  font-size: var(--type-label);
  font-weight: 780;
}
.trial-optional summary::-webkit-details-marker { display: none; }
.trial-optional summary span { margin-left: auto; color: var(--muted); font-weight: 450; }
.trial-optional summary::after { content: "+"; color: var(--harbor-700); font-size: var(--type-subhead); line-height: 1; }
.trial-optional[open] summary { border-bottom: 1px solid var(--line); }
.trial-optional[open] summary::after { content: "−"; }
.trial-optional:not([open]) .trial-optional-fields { display: none; }
.trial-optional-fields { padding-top: 18px; }

.trial-form .consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.consent input { width: 20px; min-height: 20px; margin: 2px 0 0; accent-color: var(--harbor-700); }
.trial-submit { width: 100%; }
.trial-submit:disabled { cursor: wait; background: var(--line); }
.form-status { min-height: 24px; margin: 13px 0 0; color: var(--muted); font-size: var(--type-label); }
.form-status.is-error { color: var(--signal-red); }
.form-status.is-success { color: var(--harbor-700); font-weight: 760; }

.trial-result {
  display: grid;
  gap: 13px;
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--harbor-950);
  color: var(--white);
  outline: none;
}
.trial-result[hidden] { display: none; }
.trial-result:focus-visible { outline: 3px solid var(--calibration); outline-offset: 3px; }
.trial-result-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.trial-result-head strong { font-family: var(--display); font-size: var(--type-subhead); }
.trial-result-head span,
.trial-key-label { color: oklch(0.83 0.025 230); font-size: var(--type-meta); font-weight: 700; }
.trial-key-label { margin-bottom: -5px; }
.trial-key-control,
.trial-first-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.trial-key-control code,
.trial-first-control code {
  min-width: 0;
  overflow-x: auto;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: oklch(0.23 0.06 230);
  color: var(--white);
  font-family: var(--mono);
  font-size: var(--type-compact);
  line-height: 1.5;
  white-space: nowrap;
}
.trial-key-control button,
.trial-first-control button {
  min-height: 44px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--calibration);
  color: var(--harbor-950);
  padding: 8px 13px;
  font-size: var(--type-label);
  font-weight: 850;
}
.trial-key-control button:hover,
.trial-first-control button:hover { background: var(--calibration-hover); }
.trial-first-step { display: grid; gap: 8px; padding-top: 13px; border-top: 1px solid var(--code-divider); }
.trial-first-step-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.trial-first-step-head span:last-child { color: oklch(0.83 0.025 230); font-size: var(--type-meta); font-weight: 700; }
.trial-result p { margin: 0; color: oklch(0.88 0.02 230); font-size: var(--type-compact); }
.trial-result a { color: var(--calibration); text-underline-offset: 3px; }
.trial-commercial-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding-top: 13px;
  border-top: 1px solid var(--code-divider);
}
.trial-commercial-next > div { display: grid; gap: 3px; }
.trial-commercial-next strong { font-family: var(--display); font-size: var(--type-support); }
.trial-commercial-next span { color: oklch(0.83 0.025 230); font-size: var(--type-meta); line-height: 1.5; }
.trial-commercial-next .button { color: var(--white); white-space: nowrap; }

.site-footer { background: var(--harbor-950); color: var(--white); padding: 54px 0; }
.footer-row { display: flex; justify-content: space-between; gap: 50px; }
.footer-brand { margin-bottom: 13px; }
.footer-row p { margin: 0; color: oklch(0.76 0.025 230); font-size: var(--type-label); }
.footer-row nav { display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: flex-end; gap: 10px 22px; }
.footer-row nav a { color: oklch(0.86 0.02 230); font-size: var(--type-label); text-underline-offset: 4px; }
.footer-row nav a:hover { color: var(--calibration); }

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(22px); clip-path: inset(0 0 18% 0); }
  to { opacity: 1; transform: translateY(0); clip-path: inset(0); }
}

@keyframes instrument-in {
  from { opacity: 0; transform: translate(28px, 16px); }
  to { opacity: 1; transform: translate(0); }
}

@keyframes scan {
  to { transform: translateY(100%); }
}

@keyframes cell-in {
  from { opacity: 0.2; transform: scaleY(0.4); transform-origin: bottom; }
  to { opacity: 1; transform: scaleY(1); }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .instrument { max-width: 700px; }
  .boundary-grid { grid-template-columns: 1fr; gap: 58px; }
  .pricing-intro { grid-template-columns: 1fr; gap: 24px; }
  .pilot-offer { grid-template-columns: 150px minmax(0, 1fr); }
  .pilot-action { grid-column: 2; justify-self: start; }
  .trial-grid { grid-template-columns: 1fr; gap: 54px; }
  .trial-form { max-width: 720px; }
  .upgrade-grid { grid-template-columns: 1fr; gap: 54px; }
  .upgrade-form { max-width: 720px; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .nav-row { min-height: 64px; gap: 16px; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .hero { padding-top: 58px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.7rem); }
  .instrument { box-shadow: 8px 8px 0 var(--harbor-950); }
  .instrument-head { padding: 14px; }
  .demo-form { padding: 16px 14px 14px; }
  .capture-stage { margin: 0 14px 14px; min-height: 288px; }
  .capture-empty, .capture-output { min-height: 248px; height: 248px; }
  .capture-stage figcaption { align-items: flex-start; flex-direction: column; gap: 2px; }
  .demo-next { margin: 0 14px 14px; }
  .benchmark-layout { grid-template-columns: 1fr; }
  .benchmark-strip { gap: 2px; }
  .boundary-columns { grid-template-columns: 1fr; }
  .workflow-steps { grid-template-columns: 1fr; gap: 28px; }
  .workflow-steps li { padding: 0 0 28px; border-right: 0; border-bottom: 1px solid var(--line); }
  .workflow-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
  .table-scroll-hint { display: block; margin: 12px 0 0; color: var(--calibration); font-size: var(--type-meta); font-weight: 760; }
  .pilot-offer { grid-template-columns: 1fr; gap: 16px; }
  .pilot-action { grid-column: auto; justify-self: stretch; white-space: normal; }
  .security-service-note { align-items: flex-start; flex-direction: column; }
  .security-service-actions { justify-content: flex-start; }
  .footer-row { flex-direction: column; }
  .footer-row nav { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .brand { font-size: var(--type-body); }
  .brand-mark { width: 25px; height: 25px; }
  .nav-cta { padding-inline: 10px; font-size: var(--type-meta); }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .url-control { flex-direction: column; gap: 8px; }
  .url-control input { border: 1px solid var(--line); border-radius: var(--radius-sm); }
  .url-control button { width: 100%; border-radius: var(--radius-sm); }
  .dimension-row { flex-wrap: wrap; }
  .demo-limit { flex-basis: 100%; margin-left: 0; }
  .demo-next-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .demo-next-head a { white-space: normal; }
  .demo-key-entry { grid-template-columns: 1fr; gap: 8px; }
  .demo-key-entry input,
  .demo-key-entry button { width: 100%; border: 0; border-radius: var(--radius-sm); }
  .benchmark-head { align-items: flex-start; flex-direction: column; }
  .benchmark-strip { grid-template-columns: repeat(20, 1fr); }
  .section-intro h2,
  .boundary-statement h2,
  .pricing-intro h2,
  .upgrade-copy h2,
  .trial-copy h2 { font-size: clamp(2.35rem, 12vw, 3.4rem); }
  .trial-form { padding: 20px 16px; }
  .trial-result-head { align-items: flex-start; flex-direction: column; gap: 3px; }
  .trial-key-control,
  .trial-first-control { grid-template-columns: 1fr; }
  .trial-key-control button,
  .trial-first-control button { width: 100%; }
  .trial-first-step-head { align-items: flex-start; flex-direction: column; gap: 3px; }
  .trial-commercial-next { grid-template-columns: 1fr; }
  .trial-commercial-next .button { width: 100%; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .capture-stage.is-loading .capture-scan { display: none; }
}
