@charset "UTF-8";

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

:root {
  color-scheme: light;
  --paper: #fcf9f4;
  --surface: #fffdf9;
  --warm: #f7f1e8;
  --ink: #332e29;
  --muted: #71685f;
  --orange: #ed7a28;
  --line: #e5ddd2;
  --control-line: #d8cabc;
  --diagram-neutral: #b7a99b;
  --agent-surface: #fff4e9;
  --accent-line: color-mix(in srgb, var(--orange) 33%, transparent);
  --button-bg: #ffa462;
  --button-hover: #ffba86;
  --button-text: #261b13;
  --text-body: 16px;
  --text-ui: 14px;
  --text-small: 12px;
  --text-section: 34px;
  --text-card: 20px;
  --radius-card: 12px;
  --radius-control: 6px;
  --section-space: 24px;
  --dot-pattern: radial-gradient(circle, #fff 1px, transparent 1.5px);
  --dot-spacing: 84px 84px;
  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #211d19;
  --surface: #2d2722;
  --warm: #383029;
  --ink: #f5ece2;
  --muted: #c4b6a8;
  --orange: #ffa462;
  --line: #51443a;
  --control-line: #78665a;
  --diagram-neutral: #a39283;
  --agent-surface: #39291e;
  --accent-line: color-mix(in srgb, var(--orange) 40%, transparent);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
section[tabindex="-1"]:focus { outline: none; }
::selection { background: var(--orange); color: #261b13; }
h1, h2, h3, p { margin-top: 0; }
.wrap { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: -80px; background: var(--orange); color: var(--button-text); padding: 12px; z-index: 20; }
.skip-link:focus { top: 12px; }

/* Keep navigation accessible while reading. */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 86px; position: sticky; top: 0; z-index: 10; background: var(--paper); }
:is(.site-header, .site-footer)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper); box-shadow: 0 0 0 100vmax var(--paper); clip-path: inset(0 -100vmax); pointer-events: none; }
.site-header::after { content: ""; position: absolute; bottom: 0; inset-inline: 0; height: 1px; background: var(--line); box-shadow: 0 0 0 100vmax var(--line); clip-path: inset(0 -100vmax); pointer-events: none; }
.wordmark { display: flex; align-items: center; font-size: 25px; font-weight: 750; letter-spacing: -1.1px; color: var(--orange); }
.brand-icon { display: block; flex-shrink: 0; width: 37px; height: 40px; margin-right: 2px; }
.brand-dot { color: var(--orange); }
.site-header nav { display: flex; align-items: center; gap: 20px; font-size: var(--text-ui); font-weight: 550; }
.mobile-nav { display: none; }
.theme-toggle {
  --light-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4' fill='black'/%3E%3Cpath d='M12 2.5V4m0 16v1.5M2.5 12H4m16 0h1.5M5.3 5.3l1.1 1.1m11.2 11.2 1.1 1.1m0-13.4-1.1 1.1M6.4 17.6l-1.1 1.1' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round'/%3E%3C/svg%3E");
  --dark-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.9 14a9 9 0 0 1-10.9-10.9A9 9 0 1 0 20.9 14Z' fill='none' stroke='black' stroke-width='1.65' stroke-linejoin='round'/%3E%3C/svg%3E");
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.theme-toggle:not([hidden]) { display: grid; }
.theme-toggle:hover { background: var(--warm); }
.theme-toggle:focus-visible { outline: 2px solid var(--orange); }
.theme-toggle::before { content: ""; width: 18px; height: 18px; background: currentColor; mask: var(--dark-icon) center / contain no-repeat; }
:root[data-theme="dark"] .theme-toggle::before { mask-image: var(--light-icon); }
@media (min-width: 701px) {
  .site-header nav > .theme-toggle { margin-inline-start: -12px; }
}
.site-header nav a:hover, .text-link:hover, .difference-link:hover, .site-footer a:not(.footer-brand):hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 5px; }

.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) min(38%, 420px); gap: 44px; align-items: center; padding-top: 68px; padding-bottom: var(--section-space); }
.eyebrow { font: 500 var(--text-small)/1.7 var(--mono); letter-spacing: 1.5px; color: var(--muted); margin-bottom: 24px; }
h1 { font-size: clamp(40px, 4.4vw, 62px); font-size: min(7.1cqw, 48px); font-weight: 750; line-height: 1.28; letter-spacing: -.015em; margin-bottom: 25px; }
.hero-copy { container-type: inline-size; min-width: 0; }
.hero-line { display: block; white-space: normal; }
.hero-line > span { display: block; }
.accent { color: var(--orange); }
.hero-description { max-width: 475px; font-size: var(--text-body); line-height: 1.9; color: var(--muted); margin-bottom: 29px; }
.hero-local { color: var(--orange); font-weight: 600; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 10px 16px; border: 1px solid transparent; border-radius: var(--radius-control); font-size: var(--text-ui); font-weight: 650; line-height: 1.25; transition: transform .15s; }
.primary { background: color-mix(in srgb, var(--button-bg) var(--button-fill, 100%), transparent); color: var(--button-text); box-shadow: 0 3px 8px #513b2512; }
:root:not([data-theme="dark"]) :is(.hero, .pilot-form) .primary { --button-fill: 90%; }
.button:hover { transform: translateY(-2px); }
.primary:hover { background: color-mix(in srgb, var(--button-hover) var(--button-fill, 100%), transparent); box-shadow: 0 5px 12px #513b2526; }
.text-link { font-size: var(--text-ui); font-weight: 550; border-bottom: 1px solid var(--control-line); padding-block: 7px; }
.text-link:hover { border-bottom-color: var(--orange); text-decoration: none; }
.text-link span { margin-left: 12px; }

.hero-art { position: relative; min-width: 0; margin: 0; background: #f2eee7; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 15px 40px #80572f0c; }
:root[data-theme="dark"] .hero-art { background: #29231e; border-color: #3c3027; }
.hero-art img { grid-area: 1 / 1; display: block; width: 100%; height: auto; }
.mascot-link { display: grid; border-radius: inherit; }
[data-mascot-theme="dark"], :root[data-theme="dark"] [data-mascot-theme="light"] { visibility: hidden; }
:root[data-theme="dark"] [data-mascot-theme="dark"] { visibility: visible; }
.mascot-link:focus-visible { outline-offset: -5px; }

.section-space { padding-block: var(--section-space); }
.engineering-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.engineering-title { text-align: center; margin-bottom: 32px; }
.heading-lead, .heading-tomorrow { display: inline-block; }
.heading-tomorrow { position: relative; }
.heading-tomorrow svg { position: absolute; left: 0; bottom: -10px; width: 100%; height: 16px; }
.heading-amp { color: inherit; margin-inline: .06em; }
.engineering-column { position: relative; min-width: 0; padding: 28px; border-radius: var(--radius-card); color: var(--ink); }
.engineering-column h3 { font-size: var(--text-card); font-weight: 650; line-height: 1.45; letter-spacing: -.5px; margin-bottom: 18px; }
.engineering-column ul { list-style: none; padding: 0; margin: 0; }
.engineering-column li { position: relative; min-height: 116px; font-size: 19px; line-height: 1.55; font-weight: 550; }
.engineering-column li p { margin: 0; }
.engineering-today { padding-left: 0; }
.engineering-today li { margin-bottom: 16px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); box-shadow: 0 6px 18px #513b2506; }
.workflow-copy { padding: 18px; }
.engineering-column li .workflow-note { margin-top: 10px; color: var(--muted); font-size: var(--text-ui); font-weight: 400; line-height: 1.6; }
.engineering-column li .workflow-time { display: inline-block; padding: 3px 8px; border-radius: 4px; background: var(--warm); font-family: var(--mono); font-size: var(--text-small); }
.engineering-tomorrow { align-self: start; padding-bottom: 0; }
.engineering-tomorrow h3 { color: var(--orange); }
.engineering-tomorrow li { display: flex; min-height: 0; padding: 0 0 16px; }
.engineering-tomorrow li:last-child { padding-bottom: 0; }
.engineering-tomorrow li > div { position: relative; flex: 1; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); box-shadow: 0 6px 18px #513b2506; }
.engineering-tomorrow li:nth-child(2) > div { border-color: var(--accent-line); background: var(--agent-surface); }
.engineering-column .workflow-label { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--ink); font: 700 22px/1.4 var(--sans); letter-spacing: 0; }
.engineering-tomorrow li:nth-child(2) .workflow-label { color: var(--orange); }
.role-icon { width: 24px; height: 24px; flex-shrink: 0; }
@media (min-width: 681px) {
  .engineering-grid { column-gap: 28px; row-gap: 16px; padding-top: 12px; }
  .engineering-column { display: grid; grid-template-rows: subgrid; grid-row: span 3; align-self: stretch; padding: 0; }
  .engineering-column ul { display: contents; }
  .engineering-column h3 { margin-bottom: 0; }
  .engineering-column li { min-height: 0; margin-bottom: 0; padding-bottom: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .engineering-section.is-visible .heading-lead { animation: heading-flow .7s cubic-bezier(.2,.8,.2,1) both; }
  .engineering-section.is-visible .heading-tomorrow { animation: heading-swing .85s .12s cubic-bezier(.2,.8,.2,1) both; }
  .engineering-section.is-visible .heading-tomorrow path { stroke-dasharray: 1; animation: draw-tool-links .65s .55s ease both; }
  @keyframes heading-flow { from { opacity: 0; translate: -12px 7px; } to { opacity: 1; translate: 0 0; } }
  @keyframes heading-swing { 0% { opacity: 0; translate: 16px 10px; } 65% { opacity: 1; translate: 0 -3px; } 100% { opacity: 1; translate: 0 0; } }
  .difference-item.is-visible .local-computer { animation: reveal-feature .65s ease both; }
  .difference-item.is-visible .computer-files { animation: reveal-feature .55s .25s ease both; }
  .difference-item.is-visible .llm-choice { animation: reveal-feature .65s .5s ease both; }
  .difference-item.is-visible .llm-options > span { animation: reveal-feature .5s .7s ease both; }
  .difference-item.is-visible .llm-options > span + span { animation-delay: .85s; }
  .difference-item.is-visible .tools-visual { animation: reveal-tools .85s ease-out; }
  @keyframes reveal-tools { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
  .engineering-section.is-visible li { animation: workflow-arrive .65s both; }
  .engineering-section.is-visible li:nth-child(2) { animation-delay: .15s; }
  @keyframes workflow-arrive { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
}
@media (max-width: 680px) {
  .engineering-grid { grid-template-columns: 1fr; gap: 24px; }
  .engineering-column { padding: 0 24px; }
  .engineering-today li:last-child { margin-bottom: 0; }
  .engineering-column li { min-height: 0; font-size: 18px; }
}
h2 { font-size: var(--text-section); font-weight: 700; line-height: 1.3; letter-spacing: -1.2px; margin-bottom: 24px; }
.interactive-demo { position: relative; display: flow-root; padding-block-end: 0; }
/* Draw the shadow on the page so it can fade past the iframe edges. */
.interactive-demo::before {
  content: "";
  position: absolute;
  inset: calc(var(--section-space) + 8px) 0 calc(2 * var(--section-space));
  border-radius: 18px;
  box-shadow: 0 3px 12px light-dark(#332e290d, #0002), 0 16px 48px -8px light-dark(#332e2917, #0004);
  pointer-events: none;
}
.interactive-demo + .engineering-section .section-space { padding-block-start: 0; }
/* Let the callout extend past the section gap without clipping it inside the iframe. */
.interactive-demo-frame { --callout-overhang: 8px; position: relative; z-index: 6; display: block; width: 100%; height: calc(var(--demo-app-bottom, 674px) + 2 * var(--section-space) + var(--callout-overhang)); margin-block-end: calc(-1 * var(--callout-overhang)); border: 0; background: transparent; }
.difference-heading, .benchmark-heading, .benchmark-context { text-align: center; }
.difference-heading h2, .benchmark-heading h2 { margin-bottom: 0; }
.benchmark-paper { display: inline-block; margin-top: 4px; }
.difference-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.difference-item { container-type: inline-size; display: flex; flex-direction: column; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); text-align: center; }
.feature-label { font: var(--text-small)/1.6 var(--mono); letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.feature-visual { width: 100%; min-height: 148px; margin-top: 12px; padding-block: 8px; }
.behavior-visual { display: flex; align-items: center; }
.behavior-visual svg { display: block; width: 100%; height: 112px; color: var(--orange); }
.system-spring { transform-origin: 36px 43px; }
.system-damper { transform-origin: 116px 78px; }
.privacy-visual { display: grid; grid-template-columns: repeat(2, max-content); place-content: center; align-items: end; gap: 24px; }
.local-computer { display: grid; justify-items: center; gap: 12px; font-size: var(--text-small); }
.computer-screen { position: relative; display: grid; grid-template-columns: auto auto; align-items: center; justify-content: center; gap: 14px; width: 178px; min-height: 88px; padding: 10px; border: 2px solid var(--diagram-neutral); border-radius: 9px; background: var(--surface); }
.computer-screen::after { content: ""; position: absolute; left: -8px; right: -8px; bottom: -6px; height: 4px; background: var(--diagram-neutral); border-radius: 0 0 5px 5px; }
.computer-app { color: var(--orange); font-size: var(--text-ui); font-weight: 650; }
.computer-files { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--muted); white-space: nowrap; }
.computer-files svg { width: 28px; height: 26px; }
.llm-choice { display: grid; justify-items: center; gap: 10px; color: var(--muted); font-size: var(--text-small); text-align: center; }
.llm-options { display: grid; gap: 5px; }
.llm-options > span { padding: 5px 8px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--surface); white-space: nowrap; }
.visual-chip { display: inline-flex; align-items: center; justify-content: center; padding: 7px 10px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--surface); color: var(--ink); font: var(--text-small)/1.5 var(--mono); }
.comparison-visual { display: flex; flex-direction: column; justify-content: center; gap: 10px; max-width: 420px; text-align: left; }
.comparison-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: var(--text-small); }
.comparison-legend span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 2px; background: var(--diagram-neutral); }
.comparison-legend .legend-pufibara::before { background: var(--orange); }
.comparison-row { display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 12px; font-size: var(--text-small); }
.comparison-pair { display: grid; gap: 3px; }
.comparison-bar { display: block; width: var(--bar-width); height: 8px; border-radius: 4px; transform-origin: left; }
.comparison-baseline { background: var(--diagram-neutral); }
.comparison-pufibara { background: var(--orange); }
.tools-visual { display: flex; align-items: center; justify-content: center; width: fit-content; max-width: 100%; }
.agent-hub { border-color: var(--accent-line); color: var(--orange); }
.tools-visual > svg { width: 76px; height: 130px; flex: 0 1 76px; }
.tools-visual > .tool-exchange { width: 24px; flex: 0 0 24px; }
.tool-destinations { display: grid; gap: 14px; }
.tool-destinations > span { height: 34px; }
@container (max-width: 300px) {
  .privacy-visual { grid-template-columns: max-content; gap: 10px; }
  .local-computer { gap: 8px; }
  .computer-screen { padding: 8px; }
  .llm-choice { gap: 5px; }
}
@media (max-width: 420px) {
  .visual-chip { padding: 6px 8px; }
  .comparison-row { grid-template-columns: 78px 1fr; gap: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .difference-item.is-visible .system-mass { animation: settle-mass 2.8s ease-in-out both; }
  .difference-item.is-visible .system-spring { animation: settle-spring 2.8s ease-in-out both; }
  .difference-item.is-visible .system-damper { animation: settle-damper 2.8s ease-in-out both; }
  .difference-item.is-visible .comparison-bar { animation: reveal-comparison .8s ease both; }
  .difference-item.is-visible .comparison-pufibara { animation-delay: .15s; }
  @keyframes settle-mass { 0% { transform: translateX(18px); } 18% { transform: translateX(-12px); } 34% { transform: translateX(8px); } 50% { transform: translateX(-5px); } 65% { transform: translateX(3px); } 80% { transform: translateX(-1px); } 100% { transform: translateX(0); } }
  @keyframes settle-spring { 0% { transform: scaleX(1.13846); } 18% { transform: scaleX(.90769); } 34% { transform: scaleX(1.06154); } 50% { transform: scaleX(.96154); } 65% { transform: scaleX(1.02308); } 80% { transform: scaleX(.99231); } 100% { transform: scaleX(1); } }
  @keyframes settle-damper { 0% { transform: scaleX(1.36); } 18% { transform: scaleX(.76); } 34% { transform: scaleX(1.16); } 50% { transform: scaleX(.9); } 65% { transform: scaleX(1.06); } 80% { transform: scaleX(.98); } 100% { transform: scaleX(1); } }
  @keyframes reveal-comparison { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes reveal-feature { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes draw-tool-links { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}
.difference-item h3 { font-size: var(--text-card); font-weight: 650; line-height: 1.45; letter-spacing: -.5px; margin: 23px 0 15px; }
.difference-item > p { font-size: var(--text-body); line-height: 1.8; color: var(--muted); margin-bottom: 23px; }
.difference-link { margin-top: auto; font-size: var(--text-ui); line-height: 1.8; font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.difference-link span { margin-left: 10px; }

.benchmark-section { padding-block: var(--section-space); background: var(--paper); }
.benchmark-matchup { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; font-size: var(--text-section); }
.matchup-vs { color: var(--muted); font-size: .55em; font-weight: 500; letter-spacing: 0; }
.matchup-competitor { color: var(--ink); white-space: nowrap; }
.benchmark-takeaway { margin: 17px 0 0; font-size: var(--text-body); line-height: 1.8; color: var(--ink); }
.benchmark-context { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 16px; font: var(--text-small)/1.9 var(--mono); color: var(--muted); margin-top: 29px; }
.benchmark-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 25px; }
.benchmark-metric { min-width: 0; padding: 25px 22px 22px; border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: var(--radius-card); background: var(--surface); box-shadow: 0 4px 12px #69451f04; text-align: center; }
.benchmark-metric h3 { font-size: var(--text-card); line-height: 1.7; font-weight: 550; color: var(--ink); margin-bottom: 24px; min-height: 44px; }
.metric-value { font-size: clamp(48px, 6vw, 64px); font-weight: 750; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -2px; margin-bottom: 8px; white-space: nowrap; }
.metric-value > span { font-size: .55em; letter-spacing: -.5px; }
.metric-value > .metric-number { font-size: inherit; letter-spacing: inherit; }
.metric-value > .metric-prefix { display: block; margin-bottom: 8px; color: var(--muted); font-size: var(--text-ui); font-weight: 500; line-height: 1.5; letter-spacing: 0; }
.benchmark-footer { margin-top: 23px; text-align: left; }
.benchmark-footer p { margin: 0; color: var(--muted); font-size: var(--text-small); line-height: 1.85; }
.evaluation-details { margin-top: 12px; }
.evaluation-details summary { width: fit-content; padding: 8px 0; cursor: pointer; font-size: var(--text-ui); font-weight: 600; }
.evaluation-details summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.evaluation-details[open] summary { margin-bottom: 6px; }

.site-footer { position: relative; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 25px; border-top: 1px solid var(--line); background: var(--paper); font-family: var(--sans); font-size: var(--text-ui); line-height: 1.8; color: var(--muted); }
.footer-brand { font-size: 18px; font-weight: 750; color: var(--orange); letter-spacing: -.7px; }

/* Pilot applications are submitted directly to the configured mail form service. */
.nav-pilot { color: var(--ink); font-weight: 650; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 5px; }
.pilot-section { display: flex; flex-direction: column; align-items: center; gap: 34px; padding: var(--section-space) 40px; margin-bottom: var(--section-space); background: var(--paper); }
.pilot-section h2 { margin-bottom: 0; text-align: center; }
.pilot-form { position: relative; z-index: 6; width: 100%; max-width: 640px; min-width: 0; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 19px; min-width: 0; }
.form-field label { font-size: var(--text-ui); font-weight: 600; line-height: 1.7; }
.form-field input, .form-field textarea { width: 100%; min-width: 0; min-height: 40px; padding: 6px 12px; border: 1px solid var(--control-line); border-radius: var(--radius-control); background: var(--surface); color: var(--ink); font: var(--text-body)/1.6 var(--sans); }
.form-field textarea { field-sizing: content; resize: none; }
.form-field input:focus-visible, .form-field textarea:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.pilot-form .button { cursor: pointer; font-family: var(--sans); }
.pilot-form .button:disabled { cursor: progress; opacity: .75; transform: none; }
.pilot-email { margin: 24px 0 0; color: var(--muted); font-size: var(--text-ui); line-height: 1.8; }
.pilot-email a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

.success-page { min-height: calc(100svh - 160px); display: grid; align-items: center; padding-block: 65px; }
.success-card { max-width: 680px; width: 100%; margin-inline: auto; padding: 50px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); text-align: center; }
.success-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 25px; border: 2px solid var(--orange); border-radius: 50%; color: var(--ink); font-size: 25px; }
.success-card .hero-actions { justify-content: center; margin-top: 27px; }

body::after {
  content: "";
  position: fixed;
  inset: 24px;
  z-index: 5;
  pointer-events: none;
  background-image: var(--dot-pattern);
  background-size: var(--dot-spacing);
  opacity: .22;
  mix-blend-mode: difference;
}

@media (min-width: 1500px) {
  .hero { padding-top: 80px; }
}
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 56px); }
  .hero { gap: 30px; }
  .site-header nav { gap: 15px; }
  .benchmark-metric { padding-inline: 17px; }
  .pilot-section { padding-inline: 28px; gap: 35px; }
}
@media (max-width: 700px) {
  :root { --dot-spacing: 72px 72px; }
  :root { --text-section: 28px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 36px; }
  .hero-line { text-wrap: balance; }
  .hero-line.accent { font-size: min(1em, 7.1cqw); }
  .hero-line + .hero-line { margin-top: .12em; }
  .hero-art { width: min(84%, 320px); justify-self: center; }
  .engineering-title { margin-bottom: 24px; }
  html { scroll-padding-top: 90px; }
  .wrap { width: calc(100% - 40px); }
  .interactive-demo.wrap { width: calc(100% - 16px); }
  .site-header { min-height: 72px; gap: 12px; }
  .wordmark { font-size: 22px; }
  .brand-icon { width: 31px; height: 34px; margin-right: 2px; }
  .site-header nav { gap: 0; }
  .site-header nav > .theme-toggle, .mobile-nav > summary { width: 38px; }
  .site-header .desktop-nav-link { display: none; }
  .site-header nav > a.nav-pilot { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
  .mobile-nav { display: block; margin-inline-start: 10px; }
  .mobile-nav > summary { display: grid; place-items: center; height: 44px; border-radius: var(--radius-control); cursor: pointer; list-style: none; }
  .mobile-nav > summary::-webkit-details-marker { display: none; }
  .mobile-nav > summary:focus-visible { outline: 2px solid var(--orange); }
  .mobile-nav > summary span { width: 18px; height: 12px; border-block: 2px solid currentColor; position: relative; }
  .mobile-nav > summary span::after { content: ""; position: absolute; top: 3px; width: 100%; border-top: 2px solid currentColor; }
  .mobile-nav[open] > summary { background: var(--warm); }
  .mobile-nav-links { position: absolute; top: 100%; right: 0; display: grid; min-width: 180px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: 0 8px 20px #513b2514; }
  .mobile-nav-links a { display: flex; align-items: center; min-height: 44px; padding-inline: 12px; border-radius: var(--radius-control); }
  .mobile-nav-links a:hover { background: var(--warm); }
  .eyebrow { margin-bottom: 22px; }
  h1 { font-size: clamp(32px, 8.7vw, 40px); line-height: 1.25; }
  .hero-actions { gap: 20px; }
  .button { min-height: 44px; }
  h2 { font-size: var(--text-section); letter-spacing: -.8px; }
  .difference-grid { grid-template-columns: 1fr; margin-top: 27px; gap: 14px; }
  .difference-item h3 { margin-top: 18px; }
  .difference-item > p { margin-bottom: 16px; }
  .benchmark-context { margin-top: 23px; }
  .benchmark-metrics { grid-template-columns: 1fr; gap: 12px; }
  .benchmark-metric { padding: 24px; }
  .benchmark-metric h3 { min-height: 0; margin-bottom: 18px; }
  .metric-value { font-size: clamp(48px, 16vw, 64px); }
  .pilot-section { gap: 26px; padding-inline: 22px; }
  .success-page { padding-block: 40px; }
  .success-card { padding: 32px 23px; }
}
@media (max-width: 390px) {
  .site-header.wrap { width: calc(100% - 28px); gap: 8px; }
  .site-header nav { font-size: 13px; }
  .wordmark { font-size: 18px; }
  .brand-icon { width: 28px; }
}
@media (max-width: 360px) {
  .site-header.wrap { width: calc(100% - 16px); gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
