:root {
  --bg: #f7f7f5;
  --paper: #fff;
  --ink: #111411;
  --muted: #687068;
  --line: #dedfd9;
  --navy: #0b1826;
  --panel: #132b3c;
  --lime: #8eff22;
  --lime-text: #3f7d12;
  --teal: #61e1cb;
  --teal-text: #167b70;
  --tint: #f1f7ed;
  --danger: #9d321f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.skip-link { position: absolute; top: -4rem; left: 1rem; z-index: 10; padding: .6rem .8rem; background: var(--navy); color: #fff; }
.skip-link:focus { top: 1rem; }
.site-header, main, body > footer {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.7rem 0;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 650; }
.brand svg { width: 1.8rem; height: 1.8rem; }
.site-header nav { display: flex; gap: 1.1rem; }
.site-header nav a, .text-link { font-size: .9rem; font-weight: 500; text-underline-offset: .22rem; }
.hero, .section { padding: 5rem 0 1.5rem; }
.hero { display: grid; gap: 1.5rem; align-items: start; }
.kicker, .eyebrow {
  margin: 0 0 .75rem;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; letter-spacing: -.045em; }
h1 { font-size: clamp(2.25rem, 5.5vw, 3.75rem); line-height: 1.08; }
h2 { max-width: 30ch; font-size: clamp(1.65rem, 3.5vw, 2.35rem); line-height: 1.16; }
h3 { font-size: 1rem; }
.hero-proposition {
  margin: 1.4rem 0 0;
  color: #303530;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.025em;
}
.lede, .section-lede {
  max-width: 47rem;
  margin: 1.15rem 0 0;
  color: #353b35;
  font-size: 1.04rem;
  line-height: 1.6;
}
.section-lede { color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 1.5rem; }
.button {
  display: inline-flex;
  min-height: 44px;
  padding: .6rem 1.1rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.proof-bar {
  display: grid;
  gap: 0;
  margin-top: 1.75rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.proof-bar span {
  padding: 1rem;
  color: #414941;
  font-size: .82rem;
  font-weight: 700;
  text-align: center;
}
.proof-bar span + span { border-top: 1px solid var(--line); }
.problem-grid article, .capability-grid article, .evidence-grid article,
.pilot-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.problem-grid, .capability-grid, .pilot-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}
.problem-grid article, .capability-grid article { padding: 1.15rem; }
.problem-grid article > span, .capability-grid article > span { display: block; margin-bottom: .8rem; color: var(--lime-text); font-weight: 750; }
.problem-grid p, .capability-grid p, .evidence-grid p, .pilot-grid li {
  color: #515951;
  font-size: .9rem;
  line-height: 1.55;
}

.product { padding-top: 6.5rem; }
.product-story {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--line);
}
.product-copy { max-width: 29rem; }
.product-copy h3 { font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.25; }
.product-copy > p:last-of-type { margin: 1rem 0 0; color: #515951; font-size: .94rem; line-height: 1.55; }
.story-number {
  display: inline-block;
  margin-bottom: 1.4rem;
  color: var(--lime-text);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .12em;
}
.product-image { margin: 0; }
.product-image img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d8ddd4;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgb(23 37 23 / 12%);
}
.product-cta { margin-top: 1.25rem; }
.case-preview {
  overflow: hidden;
  border: 1px solid #314657;
  border-radius: 18px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 24px 60px rgb(23 37 23 / 12%);
}
.case-preview header,
.case-preview div,
.case-preview footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
}
.case-preview header {
  background: var(--panel);
  color: #adbdc4;
  font-size: .72rem;
  letter-spacing: .1em;
}
.case-preview header strong {
  color: var(--lime);
  letter-spacing: normal;
}
.case-preview div { border-top: 1px solid #294153; }
.case-preview div span { color: #9fb0b8; }
.case-preview div strong { text-align: right; }
.case-preview footer {
  justify-content: center;
  background: var(--lime);
  color: var(--navy);
  font-weight: 750;
}
.application-visual {
  display: grid;
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 24px 60px rgb(23 37 23 / 11%);
}
.conversation { padding: 1.25rem; background: var(--navy); color: #fff; }
.conversation header, .form-preview header { display: flex; align-items: center; gap: .5rem; }
.conversation header small { margin-left: auto; color: #a8b9c0; }
.status-dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.message { width: fit-content; max-width: 88%; margin-top: 1rem; padding: .75rem .85rem; border-radius: 14px; background: var(--panel); line-height: 1.5; }
.message.applicant { margin-left: auto; background: rgb(142 255 34 / 16%); }
.response { display: flex; gap: .65rem; margin-top: 1.4rem; padding: .75rem; border: 1px solid #345064; border-radius: 12px; color: #9fb0b8; }
.mic { color: var(--lime); }
.form-preview { padding: 1.25rem; }
.form-preview header { justify-content: space-between; }
.form-preview header div { display: grid; }
.form-preview header small, .form-preview header > span { color: var(--muted); font-size: .76rem; }
.progress { height: 5px; margin: 1rem 0; border-radius: 99px; background: #e3ebe6; }
.progress i { display: block; width: 42%; height: 100%; border-radius: inherit; background: var(--teal-text); }
.form-preview dl { margin: 0; }
.form-preview dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.form-preview dt { color: var(--muted); }
.form-preview dd { margin: 0; text-align: right; font-weight: 650; }
.form-preview aside { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: .85rem; border-radius: 10px; background: var(--tint); font-size: .86rem; }
.form-preview aside span { color: var(--muted); }

.answer-band {
  margin-top: 6rem;
  padding: 3.5rem;
  border-radius: 18px;
  background: radial-gradient(circle at 92% 8%, rgb(97 225 203 / 14%), transparent 30%), var(--navy);
  color: #fff;
}
.answer-band .kicker { color: var(--lime); }
.answer-band h2 em { display: block; color: var(--lime); font-style: normal; }
.answer-band > p:not(.kicker) { color: #bdccc9; }
.answer-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.answer-grid article { overflow: hidden; border: 1px solid rgb(255 255 255 / 18%); border-radius: 14px; background: #fff; color: var(--ink); }
.answer-preview { display: grid; min-height: 165px; padding: 1.25rem; align-content: center; gap: .6rem; background: linear-gradient(145deg, var(--tint), #e7f5ef); }
.answer-preview > strong { display: flex; justify-content: space-between; padding: .7rem; border: 1px solid #becbbf; border-radius: 9px; }
.answer-preview strong i { display: grid; width: 1.25rem; height: 1.25rem; place-items: center; border-radius: 50%; background: var(--navy); color: var(--lime); font-style: normal; }
.answer-preview small { color: var(--muted); }
.answer-preview.chat span { width: fit-content; max-width: 94%; padding: .55rem .7rem; border-radius: 10px; background: var(--navy); color: #fff; font-size: .76rem; }
.answer-preview.chat span + span { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.answer-preview.document { place-items: center; }
.answer-preview.document div { display: grid; width: 62px; height: 74px; padding: 1rem .7rem; align-content: start; gap: 7px; background: #fff; box-shadow: 0 8px 18px rgb(23 37 23 / 10%); }
.answer-preview.document i { height: 3px; background: #d7ddd7; }
.answer-grid footer { min-height: 112px; padding: 1.1rem 1.2rem; border-top: 1px solid var(--line); }
.answer-grid footer p { margin: .4rem 0 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }

.evidence-grid { display: grid; gap: 1rem; margin-top: 1.6rem; }
.evidence-grid pre { margin: 0; padding: 1.25rem; overflow: auto; border-radius: 14px; background: var(--navy); color: #c8e9e1; font-size: .8rem; line-height: 1.55; }
.evidence-grid > div { display: grid; gap: .75rem; }
.evidence-grid article { padding: 1rem; }
.evidence-grid p { margin: .4rem 0 0; }

.recovery-steps { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.recovery-steps li { display: grid; grid-template-columns: 2.5rem 1fr; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.recovery-steps li > span { grid-row: span 2; color: var(--lime-text); font-weight: 750; }
.recovery-steps small { margin-top: .25rem; color: var(--muted); }
.demo-proof-label { margin-top: 1.5rem; color: var(--lime-text); }
.governance-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  margin-top: 1.75rem;
  padding: .35rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #eef1ec;
}
.governance-tabs button {
  min-height: 3.2rem;
  padding: .75rem 1rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #586158;
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
}
.governance-tabs button[aria-selected="true"] {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 20px rgb(11 24 38 / 14%);
}
.governance-tabs button:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}
.governance-panel { padding-top: 2rem; }
.governance-panel[hidden] { display: none; }
.governance-panel > h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.25;
}
.governance-panel > h3 + p {
  max-width: 45rem;
  margin: .75rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.systems-flow {
  display: grid;
  gap: .75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.systems-flow li, .control-grid, .boundary {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.systems-flow li { padding: 1rem; }
.systems-flow li > span { color: var(--lime-text); font-size: .7rem; font-weight: 700; }
.systems-flow strong, .systems-flow small { display: block; margin-top: .35rem; }
.systems-flow small { color: var(--muted); line-height: 1.4; }
.control-grid {
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
  padding: 1rem;
}
.control-grid ul { margin: 0; padding-left: 1.2rem; }
.control-grid li { color: #515951; font-size: .92rem; line-height: 1.5; }
.control-grid li + li { margin-top: .45rem; }
.boundary { margin-top: 1rem; padding: 1rem; border-color: #e3b8b0; }
.boundary strong { color: var(--danger); }
.boundary p { margin: .35rem 0 0; color: #515951; line-height: 1.55; }
.systems ul { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.systems li { padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.pilot-grid article { padding: 1.25rem; }
.pilot-grid ul { margin: .8rem 0 0; padding-left: 1.15rem; }
.pilot-grid li + li { margin-top: .45rem; }

.live-proof { display: grid; gap: 1.3rem; }
.demo-stage { position: relative; min-height: 600px; height: 70vh; max-height: 740px; }
.demo-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 600px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.demo-stage.is-locked .demo-frame { visibility: hidden; pointer-events: none; }
.invite-gate {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 80% 20%, rgb(142 255 34 / 32%), transparent 32%),
    var(--paper);
}
.invite-gate[hidden] { display: none; }
.invite-panel { width: min(100%, 23rem); }
.invite-panel label {
  display: block;
  margin: .8rem 0 .35rem;
  color: var(--muted);
  font-size: .82rem;
}
.invite-row { display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
.invite-row input {
  min-width: 0;
  min-height: 44px;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}
.invite-row button {
  border: 0;
  border-radius: 8px;
  padding: 0 1rem;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.invite-error { color: var(--danger); }

.final-cta { margin-top: 6rem; padding: 4rem; border-radius: 18px; background: var(--navy); color: #fff; }
.final-cta .kicker { color: var(--teal); }
.final-cta > p:not(.kicker) { max-width: 42rem; margin: 1rem 0 0; color: #bdccc9; line-height: 1.6; }
.final-cta .button { margin-top: 1.5rem; }
.button.lime { background: var(--lime); color: var(--navy); }
body > footer { display: flex; justify-content: space-between; gap: 1rem; padding: 2rem 0 3rem; color: var(--muted); font-size: .82rem; }

@media (min-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .proof-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .proof-bar span + span { border-top: 0; border-left: 1px solid var(--line); }
  .problem-grid, .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .problem-grid article:last-child { grid-column: 1 / -1; }
  .product-story { grid-template-columns: minmax(15rem, .7fr) minmax(0, 1.3fr); }
  .product-story.reverse .product-copy { order: 2; justify-self: end; }
  .product-story.reverse .product-image { order: 1; }
  .application-visual { grid-template-columns: minmax(0, 1.05fr) minmax(20rem, .95fr); }
  .answer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .evidence-grid, .pilot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .systems-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .control-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .control-grid ul + ul { border-left: 1px solid var(--line); }
  .live-proof { grid-template-columns: minmax(15rem, .65fr) minmax(22rem, 1.35fr); align-items: start; }
}
@media (min-width: 1040px) {
  .problem-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .problem-grid article:last-child { grid-column: auto; }
  .capability-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .systems-flow { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 759px) {
  .site-header { flex-wrap: wrap; }
  .site-header nav { width: 100%; overflow-x: auto; }
  .site-header nav a { white-space: nowrap; }
  .governance-tabs { grid-template-columns: 1fr; }
  .product-story { padding: 3rem 0; }
  .product-copy { max-width: none; }
  .answer-band, .final-cta { padding: 2rem 1.25rem; border-radius: 14px; }
  .invite-row { grid-template-columns: 1fr; }
  .demo-stage, .demo-frame { min-height: 700px; height: 78vh; max-height: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
