:root {
  --graphite: #171a18;
  --graphite-soft: #242825;
  --bone: #f2efe5;
  --bone-deep: #e4e0d4;
  --ink: #1d201e;
  --muted: #666b65;
  --line: #cbc9be;
  --ghost: #c8efcf;
  --ghost-deep: #8fb99a;
  --ghost-ink: #456c50;
  --white: #fbfaf5;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--graphite);
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

p:last-child,
ul:last-child {
  margin-bottom: 0;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ghost);
  color: var(--graphite);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

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

.site-header {
  position: relative;
  z-index: 10;
  background: var(--graphite);
  color: var(--bone);
  border-bottom: 1px solid #333834;
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark,
.footer-mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.wordmark b {
  color: var(--ghost);
  font-weight: 650;
}

.wordmark-signal {
  width: 9px;
  height: 17px;
  display: inline-block;
  background: var(--ghost);
  clip-path: polygon(0 0, 100% 0, 100% 66%, 50% 100%, 0 66%);
}

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

.site-header nav a,
.site-footer nav a {
  padding: 12px 0;
  color: #d8d9d4;
  font-size: 0.82rem;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"],
.site-footer nav a:hover {
  color: var(--ghost);
}

.hero {
  background: var(--graphite);
  color: var(--bone);
}

.home-hero {
  min-height: 660px;
  display: grid;
  align-items: center;
  padding: 92px 0 112px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.7fr);
  gap: clamp(60px, 9vw, 140px);
  align-items: end;
}

.eyebrow,
.section-number,
.synthetic-label {
  color: var(--ghost-ink);
  font-family: var(--mono);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero .eyebrow,
.proof-section .section-number,
.cases-section .section-number,
.cases-section .synthetic-label,
.limits-section .section-number {
  color: var(--ghost-deep);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(3.25rem, 7.2vw, 6.7rem);
  font-weight: 540;
  letter-spacing: -0.068em;
  line-height: 0.92;
}

.lede {
  max-width: 700px;
  color: #c7c9c3;
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
  line-height: 1.55;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 13px 18px;
  border: 1px solid transparent;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

.button-primary {
  background: var(--ghost);
  color: var(--graphite);
}

.button-primary:hover,
.button-light:hover {
  background: #dcf7e0;
}

.button-quiet {
  border-color: #4b504c;
  color: var(--bone);
}

.button-quiet:hover {
  border-color: var(--ghost-deep);
}

.claim-sheet {
  border-top: 1px solid #525853;
  border-bottom: 1px solid #525853;
}

.claim-sheet-head,
.proof-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #979c96;
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.11em;
}

.claim-sheet-head {
  padding: 14px 0 30px;
}

.claim-sheet > p {
  margin: 0;
  padding: 17px 0;
  border-top: 1px solid #333834;
  color: #f5f2e9;
  font-size: 1.04rem;
}

.claim-sheet-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 24px 0 15px;
  border-top: 1px solid #333834;
  color: var(--ghost-deep);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.machine-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  flex: 0 0 auto;
  background: var(--ghost);
  border: 1px solid var(--graphite);
  transform: rotate(45deg);
}

.section {
  padding: clamp(88px, 11vw, 150px) 0;
  border-bottom: 1px solid var(--line);
}

.split-intro,
.two-column,
.company-grid,
.restraint-grid,
.limits-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(50px, 9vw, 130px);
}

.section h2,
.alpha-band h2,
.alpha-panel h2 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 4.8vw, 4.6rem);
  font-weight: 530;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.intro-copy,
.long-copy,
.section-lede {
  color: #454a46;
  font-size: 1.08rem;
}

.intro-copy p:first-child {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  gap: 24px;
  margin-top: 24px;
  padding: 8px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: #3c6546;
  border-color: #3c6546;
}

.company-frame {
  background: var(--bone-deep);
}

.company-grid .section-number {
  align-self: start;
}

.company-grid > div p {
  max-width: 670px;
  color: #4f544f;
  font-size: 1.08rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 64px;
}

.section-heading > p {
  max-width: 470px;
  color: var(--muted);
}

.proof-section,
.cases-section {
  background: var(--graphite-soft);
  color: var(--bone);
}

.proof-section .section-heading > p,
.cases-section .section-heading > p {
  color: #aeb2ac;
}

.proof-window {
  border: 1px solid #555b56;
  background: #1d211e;
}

.proof-topline {
  padding: 15px 20px;
  border-bottom: 1px solid #3b403c;
}

.proof-topline > div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ghost-deep);
}

.proof-window h3 {
  margin: 0;
  padding: 38px 32px 30px;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-weight: 520;
  letter-spacing: -0.035em;
}

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

.proof-grid > div {
  min-height: 170px;
  padding: 24px 32px 30px;
  border-top: 1px solid #3b403c;
}

.proof-grid > div:nth-child(odd) {
  border-right: 1px solid #3b403c;
}

.proof-grid dt,
.case-body dt {
  margin-bottom: 14px;
  color: var(--ghost-deep);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proof-grid dd,
.case-body dd {
  margin: 0;
  color: #d9dbd5;
}

.state-label {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 3px 8px;
  border: 1px solid var(--ghost-deep);
  color: var(--ghost);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.authority-section {
  background: var(--white);
}

.authority-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.authority-flow li {
  position: relative;
  min-height: 230px;
  padding: 23px 24px;
  border-right: 1px solid var(--line);
}

.authority-flow li:last-child {
  border-right: 0;
}

.authority-flow li:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 2;
  top: 51px;
  right: -13px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: var(--white);
  color: #588363;
}

.authority-flow span {
  display: block;
  margin-bottom: 34px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  text-transform: uppercase;
}

.authority-flow strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1rem;
}

.authority-flow p {
  color: var(--muted);
  font-size: 0.88rem;
}

.boundary-list > div {
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
}

.boundary-list h3 {
  font-size: 1rem;
}

.boundary-list ul,
.fit-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.boundary-list li,
.fit-panel li {
  position: relative;
  padding: 10px 0 10px 25px;
  color: #4c514d;
}

.boundary-list li::before,
.fit-panel li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 2px;
  width: 6px;
  height: 6px;
  border: 1px solid #64806b;
  transform: rotate(45deg);
}

.boundary-list .refusal li::before {
  width: 8px;
  height: 1px;
  top: 22px;
  border: 0;
  background: #737873;
  transform: none;
}

.alpha-band,
.alpha-panel {
  padding: clamp(76px, 10vw, 130px) 0;
  background: var(--ghost);
  color: var(--graphite);
}

.alpha-grid,
.alpha-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(55px, 10vw, 140px);
}

.alpha-band .eyebrow,
.alpha-panel .eyebrow {
  color: #4b6d54;
}

.alpha-grid > div:last-child p {
  max-width: 470px;
  font-size: 1.05rem;
}

.button-light {
  margin-top: 18px;
  background: var(--graphite);
  color: var(--bone);
}

.site-footer {
  padding: 58px 0;
  background: var(--graphite);
  color: var(--bone);
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}

.footer-mark {
  color: var(--ghost);
  font-weight: 650;
}

.footer-inner p {
  margin: 12px 0 0;
  color: #8f948e;
  font-size: 0.8rem;
}

.verify-hero {
  padding: 110px 0 115px;
}

.verify-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(350px, 0.9fr);
  gap: clamp(60px, 9vw, 130px);
  align-items: start;
}

.verify-hero h1 {
  max-width: 660px;
}

.verify-hero-copy > p:nth-child(2) {
  color: #9ba09a;
}

.numbered-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.numbered-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.numbered-list li > span,
.workflow li > span {
  color: #60826a;
  font-family: var(--mono);
  font-size: 0.7rem;
}

.numbered-list h3 {
  margin-bottom: 7px;
  font-size: 1.1rem;
}

.numbered-list p {
  color: var(--muted);
}

.evidence-section,
.not-ai-section {
  background: var(--bone-deep);
}

.evidence-stack > div {
  display: grid;
  grid-template-columns: 16px 190px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid #c3c0b5;
}

.evidence-stack .machine-dot {
  margin-top: 8px;
}

.evidence-stack h3,
.evidence-stack p {
  margin: 0;
}

.evidence-stack p {
  color: var(--muted);
}

.states-section {
  background: #dfe4dc;
}

.state-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #b6beb4;
  border-bottom: 1px solid #b6beb4;
}

.state-grid article {
  min-height: 250px;
  padding: 30px;
  border-right: 1px solid #b6beb4;
}

.state-grid article:last-child {
  border-right: 0;
}

.state-grid h3 {
  margin: 32px 0 16px;
  font-family: var(--mono);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
}

.state-grid p {
  color: #555c56;
  font-size: 0.92rem;
}

.state-shape {
  width: 18px;
  height: 18px;
  display: block;
  border: 1px solid #45644d;
}

.accepted-shape {
  background: var(--ghost-deep);
  transform: rotate(45deg);
}

.review-shape {
  border-radius: 50%;
  border-style: dashed;
}

.blocked-shape {
  width: 20px;
  height: 2px;
  margin-top: 8px;
  background: #59615b;
  border: 0;
}

.state-note {
  max-width: 800px;
  margin-top: 25px;
  color: #4d554f;
  font-size: 0.86rem;
}

.case-list {
  display: grid;
  gap: 18px;
}

.case {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 0.66fr);
  border: 1px solid #4b514c;
  background: #1d211e;
}

.case-header {
  padding: 30px;
  border-right: 1px solid #4b514c;
}

.case-header > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.case-index {
  color: #777e78;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.case-header h3 {
  margin: 58px 0 16px;
  font-family: var(--mono);
  font-size: 1rem;
  letter-spacing: 0.07em;
}

.case-header p {
  color: #aeb2ac;
  font-size: 0.9rem;
}

.case-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.case-body > div {
  padding: 25px 28px 28px;
  border-bottom: 1px solid #3b403c;
}

.case-body > div:nth-child(odd) {
  border-right: 1px solid #3b403c;
}

.case-body > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.case-body dd {
  font-size: 0.88rem;
}

.state-review {
  border-style: dashed;
}

.state-blocked {
  border-color: #8d938e;
  color: #e5e2d9;
}

.limits-section {
  background: var(--graphite);
  color: var(--bone);
}

.limits-section .section-number {
  color: var(--ghost-deep);
}

.limits-section p {
  max-width: 500px;
  color: #aeb2ac;
}

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

.limit-list li {
  padding: 18px 0;
  border-top: 1px solid #3a3f3b;
  color: #d8d8d2;
}

.limit-list li::before {
  content: "—";
  margin-right: 16px;
  color: var(--ghost-deep);
}

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

.workflow li {
  display: grid;
  grid-template-columns: 80px 1fr;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.workflow p {
  margin: 0;
  color: var(--muted);
}

.workflow strong {
  color: var(--ink);
}

.integration-note {
  margin-top: 30px;
  padding: 22px 24px;
  border-left: 3px solid var(--ghost-deep);
  background: var(--white);
  font-weight: 650;
}

.alpha-panel {
  scroll-margin-top: 20px;
}

.alpha-lede {
  max-width: 650px;
  font-size: 1.08rem;
}

.fit-panel {
  padding-top: 7px;
}

.fit-panel h3 {
  padding-bottom: 18px;
  border-bottom: 1px solid #9fbea6;
}

.fit-panel li {
  color: #354139;
}

.contact-pending {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 14px;
  margin-top: 34px;
  padding: 22px;
  background: rgba(23, 26, 24, 0.08);
}

.contact-pending .machine-dot {
  margin-top: 7px;
}

.contact-pending strong,
.contact-pending p {
  display: block;
}

.contact-pending p {
  margin: 6px 0 0;
  color: #45534a;
  font-size: 0.86rem;
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 36px, 720px);
  }

  .hero-grid,
  .verify-hero-grid,
  .split-intro,
  .two-column,
  .company-grid,
  .restraint-grid,
  .limits-grid,
  .alpha-grid,
  .alpha-panel-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .verify-hero-grid {
    gap: 64px;
  }

  .section-heading {
    gap: 15px;
  }

  .section-heading > p {
    max-width: 620px;
  }

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

  .authority-flow li:nth-child(2) {
    border-right: 0;
  }

  .authority-flow li:nth-child(2)::after {
    display: none;
  }

  .authority-flow li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .state-grid {
    grid-template-columns: 1fr;
  }

  .state-grid article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #b6beb4;
  }

  .state-grid article:last-child {
    border-bottom: 0;
  }

  .case {
    grid-template-columns: 1fr;
  }

  .case-header {
    border-right: 0;
    border-bottom: 1px solid #4b514c;
  }

  .case-header h3 {
    margin-top: 35px;
  }
}

@media (max-width: 600px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .header-inner {
    min-height: 70px;
  }

  .site-header nav {
    gap: 16px;
  }

  .site-header nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .site-header nav a:last-child {
    display: none;
  }

  .home-hero,
  .verify-hero {
    min-height: 0;
    padding: 76px 0 84px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .button {
    justify-content: space-between;
  }

  .proof-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .proof-grid,
  .case-body {
    grid-template-columns: 1fr;
  }

  .proof-grid > div:nth-child(odd),
  .case-body > div:nth-child(odd) {
    border-right: 0;
  }

  .case-body > div:nth-last-child(2) {
    border-bottom: 1px solid #3b403c;
  }

  .authority-flow {
    grid-template-columns: 1fr;
  }

  .authority-flow li {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .authority-flow li:last-child {
    border-bottom: 0;
  }

  .authority-flow li:not(:last-child)::after {
    top: auto;
    right: 24px;
    bottom: -13px;
    transform: rotate(90deg);
  }

  .authority-flow li:nth-child(2)::after {
    display: grid;
  }

  .numbered-list li,
  .workflow li {
    grid-template-columns: 48px 1fr;
  }

  .evidence-stack > div {
    grid-template-columns: 16px 1fr;
  }

  .evidence-stack p {
    grid-column: 2;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
