@font-face {
  font-family: Geist;
  src: url(geist-regular.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url(geist-medium.ttf) format("truetype");
  font-weight: 500 750;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: PlexMono;
  src: url(plex-mono.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --sans: Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: PlexMono, "SFMono-Regular", ui-monospace, Consolas, monospace;
  --bg: #080a09;
  --bg-elev: #0f1311;
  --bg-card: #131815;
  --fg: #f5f4f0;
  --fg-secondary: #c8ccc3;
  --muted: #aeb4aa;
  --line: #2c322e;
  --control-border: #6d756b; /* >= 3.8:1 on dark surfaces for WCAG 1.4.11 */
  --orange: #ff7a4d;
  --orange-soft: #ff9c7a;
  --green: #9fd68a;
  --amber: #f2c46d;
  --gutter: clamp(20px, 5.2vw, 96px);
  color-scheme: dark;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  font-synthesis: none;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

::selection {
  color: #080a09;
  background: #ff9b78;
}

.shell {
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: fixed;
  z-index: 50;
  left: 20px;
  top: 12px;
  transform: translateY(-180%);
  background: #ffffff;
  color: #111311;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 500;
}
.skip:focus {
  transform: translateY(0);
}

h1, h2, h3, h4, p, figure, ul, ol, dl, dd {
  margin: 0;
}
h1, h2, h3 {
  font-weight: 500;
}
h1, h2 {
  letter-spacing: -0.055em;
}

button, .cta {
  touch-action: manipulation;
}

/* Buttons & CTAs — min 44px height for WCAG touch target comfort */
.cta {
  border-radius: 999px;
  min-height: 46px;
  padding: 11px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  line-height: 1.25;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}
.cta svg {
  flex: none;
}
.cta:active {
  transform: translateY(1px);
}
.cta-light {
  background: #f4f3ed;
  color: #101311;
  border-color: #f4f3ed;
}
.cta-light:hover {
  background: #ffd3bd;
  border-color: #ffd3bd;
}
.cta-ghost {
  background: #121614;
  color: var(--fg);
  border-color: var(--control-border);
}
.cta-ghost:hover {
  background: #1d231f;
  border-color: #aeb6ab;
}
.header-cta {
  background: #f4f3ed;
  color: #101311;
  border-color: #f4f3ed;
  justify-self: end;
  min-height: 44px;
  padding: 9px 18px;
}
.header-cta:hover {
  background: #ffd3bd;
  border-color: #ffd3bd;
  color: #101311;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-weight: 500;
  font-size: 0.95rem;
  color: #dfe3da;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: #7d857a;
}
.text-link:hover {
  color: var(--orange-soft);
  text-decoration-color: var(--orange);
}

/* Header & Brand */
.masthead {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 10, 9, 0.92);
  backdrop-filter: blur(10px);
}
.mast-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  font-family: var(--sans);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1;
  white-space: nowrap;
}
.brand-svg {
  width: 30px;
  height: 30px;
  flex: none;
  display: block;
}
.brand-period {
  color: var(--orange);
}

nav#site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 34px);
}
nav#site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.91rem;
  color: #cfd3ca;
  transition: color 0.18s;
}
nav#site-nav a:hover,
.foot a:hover {
  color: #ffffff;
}
nav#site-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: var(--orange);
}
.menu-toggle {
  display: none;
}

/* Eyebrows & Badges */
.eyebrow {
  font: 400 0.76rem/1.45 var(--mono);
  letter-spacing: 0.085em;
  text-transform: uppercase;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: #c7ccc2;
}
.section-tick {
  width: 14px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
  flex: none;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid #4d554c;
  background: #121714;
  font: 400 0.74rem/1.3 var(--mono);
  color: #d6dbd1;
  letter-spacing: 0.02em;
}
.status-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
}

/* Hero Section */
.hero {
  background:
    radial-gradient(ellipse 62% 58% at 78% 36%, rgba(255, 122, 77, 0.09) 0%, rgba(19, 26, 22, 0.45) 45%, transparent 75%),
    var(--bg);
}
.hero-stage {
  padding-block: clamp(42px, 5.4vw, 84px) clamp(38px, 4.6vw, 68px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 4.5vw, 64px);
}
.hero h1 {
  font-size: clamp(2.7rem, 5.1vw, 5.05rem);
  line-height: 1.02;
  margin: 18px 0 20px;
  letter-spacing: -0.06em;
}
.hero h1 span {
  color: #b4b9b0;
}
.hero-deck {
  color: var(--fg-secondary);
  font-size: clamp(1.04rem, 1.2vw, 1.18rem);
  line-height: 1.62;
  max-width: 57ch;
}
.hero-deck strong {
  color: var(--fg);
  font-weight: 500;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 28px;
}
.hero-offer-note {
  margin-top: 14px;
  font: 400 0.82rem/1.5 var(--mono);
  color: #c8cec3;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-offer-note i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}
.hero-meta {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #232925;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font: 400 0.78rem/1.5 var(--mono);
  color: var(--muted);
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-meta svg {
  color: var(--orange-soft);
  flex: none;
}

/* Hero Input -> Engine -> PR Deliverable Card */
.loop-card {
  border: 1px solid #485148;
  border-radius: 16px;
  background: linear-gradient(180deg, #131815 0%, #0c100e 100%);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.52);
  overflow: hidden;
}
.loop-io-band {
  padding: 14px 20px;
  background: #171d19;
  border-bottom: 1px solid #303731;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 12px;
}
.loop-io-label {
  font: 400 0.72rem/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #b7beb2;
}
.loop-io-ticket {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg);
  margin-top: 3px;
}
.loop-card-badge {
  font: 400 0.7rem/1.3 var(--mono);
  color: var(--orange-soft);
  background: rgba(255, 122, 77, 0.12);
  border: 1px solid rgba(255, 122, 77, 0.44);
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.loop-steps {
  list-style: none;
  padding: 14px 20px;
  display: grid;
  gap: 9px;
}
.loop-step {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid #2d342e;
  background: #111613;
}
.loop-step-highlight {
  border-color: #614d40;
  background: linear-gradient(90deg, rgba(255, 122, 77, 0.09), rgba(17, 22, 19, 0.96) 58%);
}
.loop-step-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #414941;
  background: #171e1a;
  display: grid;
  place-items: center;
  color: var(--orange-soft);
}
.loop-step-body strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--fg);
  line-height: 1.3;
}
.loop-step-body p {
  margin-top: 3px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #b8beb3;
}
.loop-step-tag {
  font: 400 0.69rem/1.35 var(--mono);
  color: #cbd2c6;
  background: #19201c;
  border: 1px solid #3c443d;
  border-radius: 6px;
  padding: 4px 8px;
  white-space: nowrap;
}
.loop-pr-out {
  margin: 0 20px 16px;
  padding: 13px 15px;
  border-radius: 11px;
  border: 1px solid #466147;
  background: linear-gradient(90deg, rgba(159, 214, 138, 0.1), rgba(19, 26, 21, 0.95) 65%);
}
.loop-pr-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 10px;
}
.loop-pr-head strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.93rem;
  font-weight: 500;
  color: #eef4ec;
}
.loop-pr-head span {
  font: 400 0.71rem/1.3 var(--mono);
  color: var(--green);
}
.loop-pr-Deliverables {
  margin-top: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font: 400 0.74rem/1.4 var(--mono);
  color: #cad3c7;
}

.loop-case-note {
  padding: 12px 20px 14px;
  background: #141916;
  border-top: 1px solid #2e352f;
  font-size: 0.81rem;
  line-height: 1.5;
  color: #c9d0c4;
}
.loop-case-note strong {
  color: var(--orange-soft);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 6px;
}
.loop-case-note a {
  color: #f0f2ec;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--orange);
  white-space: nowrap;
  margin-left: 6px;
}

/* Process summary strip */
.process-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0c0f0e;
}
.process-line {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 52px);
  padding-block: 15px;
}
.process-title {
  font: 400 0.75rem/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b4bbb0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.process-line ol {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 20px;
}
.process-line li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #dde1d8;
  font: 400 0.84rem/1.35 var(--mono);
}
.process-svg {
  width: 19px;
  height: 19px;
  color: var(--orange-soft);
  flex: none;
}

/* Shared Section Layout */
section[id], #example {
  scroll-margin-top: 86px;
}
.section {
  padding-block: clamp(64px, 7vw, 114px);
  border-top: 1px solid var(--line);
}
.section:first-of-type {
  border-top: 0;
}
.section h2,
.pilot-section h2 {
  font-size: clamp(2.2rem, 4.15vw, 4.15rem);
  line-height: 1.04;
}
.section h2 span {
  color: #a1a89f;
}
.section-intro,
.use-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: end;
  gap: clamp(28px, 5.5vw, 84px);
}
.section-intro h2,
.section-head h2,
.faq h2 {
  margin-top: 16px;
}
.section-intro > p,
.section-head > p,
.pilot-inner > div > p:last-of-type {
  font-size: clamp(1.01rem, 1.18vw, 1.15rem);
  color: var(--fg-secondary);
  line-height: 1.62;
  max-width: 52ch;
}

/* NEW SECTION: Why CTOs Trial Dooper (Executive Value + Copilot Comparison) */
.why-section {
  background: #0c100e;
}
.why-grid {
  margin-top: clamp(34px, 3.8vw, 52px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}
.why-card {
  padding: clamp(22px, 2.5vw, 32px);
  border-radius: 14px;
  border: 1px solid #394139;
  background: #121714;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.why-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.why-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #454e45;
  background: #181f1b;
  color: var(--orange-soft);
  display: grid;
  place-items: center;
}
.why-icon svg {
  width: 22px;
  height: 22px;
}
.why-metric {
  font: 400 0.73rem/1.3 var(--mono);
  color: #d2d8cd;
  background: #181f1b;
  border: 1px solid #3c443c;
  padding: 4px 9px;
  border-radius: 999px;
}
.why-card h3 {
  font-size: clamp(1.22rem, 1.5vw, 1.48rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.why-card p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: #bfc5ba;
}

/* Side-by-side Copilot vs Dooper Comparison Table */
.compare-box {
  margin-top: clamp(26px, 3vw, 40px);
  border: 1px solid #434b43;
  border-radius: 14px;
  background: #101412;
  overflow: hidden;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.compare-table th,
.compare-table td {
  padding: 15px 20px;
  border-bottom: 1px solid #2b322c;
  vertical-align: top;
  font-size: 0.93rem;
  line-height: 1.52;
}
.compare-table tr:last-child th,
.compare-table tr:last-child td {
  border-bottom: 0;
}
.compare-table thead th {
  background: #161b18;
  font: 500 0.8rem/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #cbd1c6;
}
.compare-table thead th:last-child {
  color: var(--orange-soft);
}
.compare-table tbody th {
  width: 22%;
  font-weight: 500;
  color: var(--fg);
}
.compare-table tbody td:nth-child(2) {
  width: 38%;
  color: #b5bcb0;
}
.compare-table tbody td:nth-child(3) {
  width: 40%;
  color: #eef1eb;
  background: rgba(255, 122, 77, 0.04);
}

/* Earned Autonomy Vision Section */
.autonomy-section {
  background:
    radial-gradient(ellipse 55% 60% at 15% 15%, rgba(255, 122, 77, 0.07), transparent 70%),
    #0d110f;
}
.autonomy-track {
  margin-top: clamp(32px, 3.6vw, 50px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 26px);
}
.autonomy-stage {
  position: relative;
  padding: clamp(22px, 2.5vw, 32px);
  border-radius: 14px;
  border: 1px solid #394139;
  background: #121714;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.autonomy-stage-vision {
  border-color: #634d3f;
  background: linear-gradient(180deg, rgba(255, 122, 77, 0.09) 0%, #121714 62%);
}
.autonomy-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 10px;
}
.autonomy-step {
  font: 500 0.75rem/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--orange-soft);
}
.autonomy-pill {
  font: 400 0.71rem/1.3 var(--mono);
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid #454e45;
  background: #171e1a;
  color: #d4dad0;
}
.autonomy-pill-now {
  color: var(--green);
  border-color: rgba(159, 214, 138, 0.42);
  background: rgba(159, 214, 138, 0.1);
}
.autonomy-stage h3 {
  font-size: clamp(1.22rem, 1.5vw, 1.48rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.autonomy-stage p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #bfc5ba;
}
.autonomy-rule {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #2a312b;
  font: 400 0.76rem/1.45 var(--mono);
  color: #cbd2c6;
}

/* Case Study Section */
.workflow {
  background: #0f1311;
}
.workflow-grid {
  margin-top: clamp(34px, 3.8vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.32fr);
  align-items: stretch;
  border: 1px solid #3c433c;
  border-radius: 15px;
  background: #121613;
  overflow: hidden;
}
.walkthrough {
  padding: clamp(24px, 3.2vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: radial-gradient(ellipse at 0% 100%, rgba(255, 122, 77, 0.09), transparent 72%);
  border-right: 1px solid #2b312b;
}
.sub-label {
  font-size: 0.74rem;
  color: #c5ccc0;
}
.walkthrough h3 {
  margin: 16px 0 14px;
  font-size: clamp(1.85rem, 2.7vw, 2.75rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}
.walkthrough > p:not(.sub-label) {
  max-width: 40ch;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #c2c7bd;
}
.walkthrough > p + p {
  margin-top: 12px;
}
.code-chip {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid #384038;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 12px;
  font: 400 0.75rem/1.45 var(--mono);
  color: #d2d7cd;
}
.code-chip svg {
  color: var(--orange-soft);
  flex: none;
}
.code-chip i {
  width: 1px;
  height: 12px;
  background: #5b635a;
}
.workflow #run-demo {
  align-self: center;
  padding: 22px;
}

/* Repository Controls (High-contrast Light Stone Section) */
.uses {
  background: #ecece6;
  color: #141715;
  border-top: 0;
}
.uses .eyebrow {
  color: #454c45;
}
.uses .section-tick {
  background: #b5451f;
}
.use-layout,
.faq-layout {
  align-items: start;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.22fr);
}
.section-head > p {
  margin-top: 20px;
  max-width: 40ch;
  color: #3f463f;
}
.scope-callout {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 8px;
  background: #dfe1d8;
  border: 1px solid #b3b9ac;
  font: 500 0.76rem/1.4 var(--mono);
  color: #262b26;
}
.use-list {
  border-top: 1px solid #9fa69a;
}
.use-list article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 0 28px;
  border-bottom: 1px solid #b1b7ac;
}
.use-list h3,
.proof-grid h3 {
  font-size: clamp(1.22rem, 1.55vw, 1.55rem);
  letter-spacing: -0.035em;
  line-height: 1.22;
}
.use-list p,
.proof-grid p,
.questions p {
  font-size: 0.99rem;
  line-height: 1.62;
}
.use-list p {
  color: #3b423b;
  max-width: 60ch;
  margin-top: 8px;
}
.use-icon {
  background: #dedfd6;
  color: #222822;
  width: 44px;
  height: 44px;
  border: 1px solid #9da497;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.use-icon svg {
  width: 22px;
  height: 22px;
  color: #9e3916;
}

/* Model Team / How It Works Section */
.team-section {
  background: #0b0e0d;
}
.roster-badges {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.team-sequence {
  margin-top: clamp(24px, 3.2vw, 44px);
  border-top: 1px solid #454b44;
  border-bottom: 1px solid #454b44;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.team-sequence article {
  padding: 26px clamp(14px, 2vw, 28px) 28px;
}
.team-sequence article:first-child {
  padding-left: 0;
}
.team-sequence article + article {
  border-left: 1px solid var(--line);
}
.team-role-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 400 0.78rem/1.4 var(--mono);
  color: var(--orange-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.team-role-head svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.team-sequence h3,
.team-example h3,
.catalog-link h3 {
  font-size: clamp(1.24rem, 1.6vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 14px 0 10px;
}
.team-sequence article > p:last-child,
.team-example p,
.catalog-link p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: #bfc5ba;
}
.team-example {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(18px, 3.8vw, 56px);
  align-items: start;
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 12px;
  border: 1px solid #343b34;
  background: #111513;
}
.team-example h3,
.catalog-link h3 {
  margin-top: 0;
}
.team-example p a,
.team-foot a {
  color: #eff2eb;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--orange);
}
.team-foot {
  font-size: 0.89rem;
  color: #b7bdb2;
  line-height: 1.6;
  margin-top: 20px;
  max-width: 94ch;
}

/* Model Policy & Economics Section */
.model-section {
  background: #111513;
}
.catalog-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  border-block: 1px solid #3f463e;
  align-items: center;
  padding: 26px 0;
  margin-top: 32px;
}
.catalog-link .cta-ghost {
  justify-self: end;
}
.catalog-link p {
  max-width: 64ch;
}
.model-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3.2vw, 44px);
  margin-top: clamp(28px, 3.5vw, 48px);
}
.model-notes article {
  border-top: 1px solid #444b43;
  padding-top: 20px;
}
.model-notes h3 {
  margin-bottom: 10px;
  font-size: clamp(1.15rem, 1.45vw, 1.42rem);
  letter-spacing: -0.035em;
}
.model-notes p,
.rate-sources {
  color: #bfc5ba;
  font-size: 0.95rem;
  line-height: 1.62;
}
.model-notes .source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
  font-size: 0.86rem;
}
.rate-sources {
  max-width: 105ch;
  margin-top: 32px;
  font-size: 0.84rem;
  line-height: 1.65;
  color: #b5bcb0;
}
.source-links a,
.rate-sources a {
  color: #e4e8df;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #848d80;
}
.source-links a:hover,
.rate-sources a:hover {
  color: var(--orange-soft);
}

/* Proof Section */
.proof {
  background: #0a0d0c;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 46px;
  border-block: 1px solid var(--line);
}
.proof-grid article {
  padding: 32px clamp(16px, 2.5vw, 40px) 34px 0;
}
.proof-grid article + article {
  border-left: 1px solid var(--line);
  padding-left: clamp(18px, 2.6vw, 40px);
}
.proof-grid p {
  margin-top: 12px;
  color: #bcc2b7;
}
.evidence-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.evidence-symbol {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #3e463e;
  background: #131815;
  color: var(--orange-soft);
  display: grid;
  place-items: center;
}
.evidence-symbol svg {
  width: 22px;
  height: 22px;
}
.evidence-tag {
  font: 400 0.71rem/1.3 var(--mono);
  color: #cbd1c6;
  background: #141916;
  border: 1px solid #3c433c;
  padding: 4px 9px;
  border-radius: 999px;
}

/* FAQ Section */
.faq {
  background: #0f1211;
}
.questions {
  border-top: 1px solid #414740;
}
.questions details {
  border-bottom: 1px solid #363c35;
}
.questions summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 18px 0;
  font-size: clamp(1.04rem, 1.25vw, 1.22rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.questions summary::-webkit-details-marker {
  display: none;
}
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--control-border);
  display: grid;
  place-items: center;
  flex: none;
  color: #d7ddd2;
  transition: transform 0.18s, border-color 0.18s;
}
.questions details[open] .faq-icon {
  transform: rotate(45deg);
  border-color: var(--orange-soft);
  color: var(--orange-soft);
}
.questions p {
  padding: 0 36px 22px 0;
  color: #bfc5ba;
  max-width: 66ch;
}

/* Pilot CTA Banner */
.pilot-section {
  padding-block: clamp(58px, 6.2vw, 100px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 92% 115%, rgba(255, 122, 77, 0.18), transparent 55%),
    #151916;
}
.pilot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.pilot-inner h2 {
  margin: 14px 0 12px;
}
.pilot-perks {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font: 400 0.8rem/1.45 var(--mono);
  color: #d3d9ce;
}
.pilot-perks span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.pilot-perks i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.pilot-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex: none;
}
.pilot-direct {
  font: 400 0.8rem/1.4 var(--mono);
  color: #c5cbc0;
}
.pilot-direct a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--orange);
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  background: #080a09;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  min-height: 88px;
  padding-block: 18px;
}
.foot .brand {
  font-size: 1.42rem;
}
.foot .brand-svg {
  width: 25px;
  height: 25px;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  font-size: 0.86rem;
  color: #bbc1b6;
}
.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #6d756b;
}
.foot-top {
  margin-left: auto;
  font-size: 0.86rem;
  color: #c8cec3;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Pilot Modal Dialog */
dialog#pilot-dialog {
  border: 1px solid #636b61;
  border-radius: 16px;
  background: #131714;
  color: var(--fg);
  width: min(600px, calc(100% - 24px));
  max-height: 92dvh;
  overflow-y: auto;
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.75);
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(5px);
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--control-border);
  background: #191e1a;
  font-size: 1.35rem;
  line-height: 1;
}
.close:hover {
  background: #2b312c;
}
dialog h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.35rem);
  line-height: 1.1;
  margin: 10px 0 8px;
}
dialog > p {
  color: #c3c9be;
  line-height: 1.55;
  font-size: 0.94rem;
}
form#pilot-form {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: #e8ebe4;
}
form label span.opt {
  font-weight: 400;
  color: #b4bab0;
}
form input,
form textarea {
  display: block;
  margin-top: 6px;
  width: 100%;
  min-height: 44px;
  background: #0b0e0c;
  color: #ffffff;
  border: 1px solid var(--control-border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.95rem;
  resize: vertical;
}
form select {
  margin-top: 6px;
  width: 100%;
  min-height: 44px;
  background: #0b0e0c;
  color: #ffffff;
  border: 1px solid var(--control-border);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.94rem;
}
form input[aria-invalid="true"],
form textarea[aria-invalid="true"] {
  border-color: #ff9470;
}
form input::placeholder,
form textarea::placeholder {
  color: #979f93;
}
#pilot-form select {
  cursor: pointer;
}
.modal-optional {
  border: 1px solid #384038;
  border-radius: 8px;
  padding: 8px 12px;
  background: #0e1210;
}
.modal-optional summary {
  cursor: pointer;
  font-size: 0.84rem;
  color: #c7cdc2;
  list-style: none;
}
.modal-optional summary::-webkit-details-marker {
  display: none;
}
.modal-optional-fields {
  display: grid;
  gap: 11px;
  margin-top: 10px;
}
.field-hint {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: #b1b8ac;
  font-weight: 400;
}
.form-error {
  color: #ffb49a;
  font-size: 0.86rem;
  line-height: 1.45;
}
.form-error:empty {
  display: none;
}
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 4px;
}
.form-status {
  line-height: 1.5;
  color: #d6e4cd;
  background: #182219;
  border: 1px solid #486049;
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 0.87rem;
}
.form-status a,
.form-status button.inline-action {
  color: #ffad90;
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.form-status:empty {
  display: none;
}

/* Responsive Breakpoints */
@media (max-width: 1060px) {
  .hero-stage {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .why-grid,
  .autonomy-track {
    grid-template-columns: 1fr;
  }
  .workflow-grid {
    grid-template-columns: 1fr;
  }
  .walkthrough {
    border-right: 0;
    border-bottom: 1px solid #2b312b;
  }
  .workflow #run-demo {
    padding: 18px;
  }
  .team-sequence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .team-sequence article:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .team-sequence article:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }
  .model-notes {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 820px) {
  .mast-inner {
    min-height: 68px;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
  }
  .menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid var(--control-border);
    background: #141916;
  }
  nav#site-nav {
    position: absolute;
    display: none;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px var(--gutter) 16px;
    background: #0e1210;
    border-bottom: 1px solid #444b44;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  }
  nav#site-nav[data-open] {
    display: flex;
  }
  nav#site-nav a {
    padding: 6px 4px;
    border-bottom: 1px solid #222723;
  }
  nav#site-nav a:last-child {
    border-bottom: 0;
  }
  .process-line {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .process-line ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section-intro,
  .use-layout,
  .faq-layout,
  .team-example,
  .catalog-link {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .catalog-link .cta-ghost {
    justify-self: start;
  }
  .compare-table,
  .compare-table tbody {
    display: block;
    width: 100%;
  }
  .compare-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .compare-table tr {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
    border-bottom: 1px solid #2b322c;
  }
  .compare-table th,
  .compare-table td,
  .compare-table tbody th,
  .compare-table tbody td:nth-child(2),
  .compare-table tbody td:nth-child(3) {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .compare-table tbody th {
    font-size: 1rem;
    color: #f4f5f0;
  }
  .compare-table td[data-col]::before {
    content: attr(data-col) ": ";
    font: 500 0.74rem/1.3 var(--mono);
    color: var(--orange-soft);
  }
  .compare-table td:nth-child(2)[data-col]::before {
    color: #9fa79b;
  }
  .proof-grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }
  .proof-grid article,
  .proof-grid article + article {
    border-left: 0;
    padding: 24px 0;
  }
  .proof-grid article + article {
    border-top: 1px solid var(--line);
  }
  .pilot-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .pilot-cta-group {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 18px;
  }
  .brand {
    font-size: 1.42rem;
    gap: 8px;
  }
  .brand-svg {
    width: 26px;
    height: 26px;
  }
  .header-cta {
    font-size: 0.83rem;
    padding: 8px 13px;
  }
  .hero h1 {
    font-size: clamp(2.25rem, 10.4vw, 3.2rem);
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .cta {
    width: 100%;
  }
  .loop-step {
    grid-template-columns: 34px minmax(0, 1fr);
  }
  .loop-step-tag {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
  }
  .process-line ol {
    grid-template-columns: 1fr;
  }
  .team-sequence {
    grid-template-columns: 1fr;
  }
  .team-sequence article,
  .team-sequence article:first-child,
  .team-sequence article:nth-child(3) {
    padding: 20px 0;
    border-left: 0;
  }
  .team-sequence article + article {
    border-top: 1px solid var(--line);
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .dialog-actions {
    flex-direction: column;
  }
  .dialog-actions .cta {
    width: 100%;
  }
  .foot-top {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
