:root {
  --ink: #10232a;
  --muted: #53656a;
  --paper: #f5f3eb;
  --white: #fffefa;
  --line: #ccd4d1;
  --lime: #c8ff45;
  --teal: #006c62;
  --teal-dark: #004b45;
  --gold: #f3b94f;
  --shadow: 0 24px 70px rgba(16, 35, 42, 0.12);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
}
.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  color: var(--white);
  background: rgba(16, 35, 42, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--lime);
  color: var(--lime);
  font:
    700 11px/1 ui-monospace,
    monospace;
}
nav {
  display: flex;
  gap: clamp(16px, 2.4vw, 34px);
  align-items: center;
}
nav a {
  color: #dce7e3;
  font-size: 0.88rem;
  text-decoration: none;
}
nav a:hover {
  color: var(--lime);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.65fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: end;
  min-height: 720px;
  padding: clamp(72px, 10vw, 150px) 6vw clamp(70px, 9vw, 130px);
  color: var(--white);
  background: linear-gradient(135deg, rgba(200, 255, 69, 0.07), transparent 38%), var(--ink);
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font:
    800 0.72rem/1.3 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero .eyebrow,
.safety .eyebrow {
  color: var(--lime);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
h1 {
  max-width: 780px;
  margin-bottom: 32px;
  font-size: clamp(4rem, 9vw, 8.7rem);
}
h2 {
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 5vw, 5.2rem);
}
h3 {
  line-height: 1.2;
}
.hero-statement {
  max-width: 760px;
  color: #dce7e3;
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid currentColor;
  text-decoration: none;
  font-weight: 800;
}
.button.primary {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}
.button.secondary {
  color: var(--white);
}
.button.secondary.light {
  color: var(--ink);
}
.button:hover {
  transform: translateY(-2px);
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  color: #abc0bd;
  font-size: 0.88rem;
}
.trust-list li::before {
  content: "●";
  margin-right: 8px;
  color: var(--lime);
}

.signal-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #0b1e24;
  box-shadow: var(--shadow);
}
.signal-topline {
  display: flex;
  justify-content: space-between;
  color: #aac0bc;
  font:
    700 0.68rem/1 ui-monospace,
    monospace;
  letter-spacing: 0.12em;
}
.signal-topline .status {
  color: var(--lime);
}
.signal-number {
  margin: 26px 0 -10px;
  color: var(--lime);
  font:
    700 clamp(5rem, 9vw, 8rem) / 1 Georgia,
    serif;
}
.signal-label {
  margin-bottom: 28px;
  color: #dce7e3;
}
.signal-card dl {
  margin: 0;
}
.signal-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.signal-card dt {
  color: #abc0bd;
}
.signal-card dd {
  margin: 0;
  font-weight: 800;
}
.signal-footnote {
  margin: 22px 0 0;
  color: #abc0bd;
  font-size: 0.78rem;
}

.band,
.section {
  padding: clamp(74px, 10vw, 140px) 6vw;
}
.quick-start {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr;
  gap: 28px 7vw;
  align-items: center;
  background: var(--lime);
}
.quick-start h2 {
  max-width: 600px;
  font-size: clamp(2.6rem, 4vw, 4.4rem);
}
.code-wrap {
  position: relative;
  overflow: hidden;
  min-width: 0;
}
pre {
  overflow-x: auto;
  margin: 0;
  padding: 24px 80px 24px 24px;
  color: #e8f0ed;
  background: var(--ink);
  border: 1px solid #2b4248;
  font:
    0.9rem/1.65 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
}
pre code {
  display: block;
  width: 100%;
}
.copy-button {
  position: absolute;
  top: 12px;
  right: 12px;
  min-width: 58px;
  padding: 8px 10px;
  border: 1px solid #678087;
  color: var(--white);
  background: #1e373e;
  font:
    700 0.75rem/1 ui-monospace,
    monospace;
  cursor: pointer;
}
.copy-button:hover {
  border-color: var(--lime);
  color: var(--lime);
}
.quick-links {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-weight: 750;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 52px;
}
.section-heading > p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.1rem;
}
.section-heading.narrow {
  max-width: 760px;
}
.demo {
  background: var(--white);
}
.demo-frame {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  background: #e8ecea;
  box-shadow: var(--shadow);
}
.demo-frame img {
  width: 100%;
}
.demo-frame figcaption {
  padding: 18px 22px;
  color: var(--muted);
  background: var(--white);
  font-size: 0.88rem;
}

.contrast {
  color: var(--white);
  background: var(--teal-dark);
}
.contrast .eyebrow {
  color: var(--lime);
}
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
}
.comparison-grid article {
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.comparison-grid article h3 {
  font-size: 1.6rem;
}
.comparison-grid article p:last-child {
  color: #c4d8d4;
}
.comparison-grid .accent-card {
  border-color: var(--lime);
}
.step-number {
  color: var(--lime);
  font:
    700 0.72rem/1 ui-monospace,
    monospace;
}
.flow-arrow {
  align-self: center;
  color: var(--lime);
  font-size: 2rem;
}
.disclaimer {
  margin: 30px 0 0;
  color: #b7cbc7;
  font-size: 0.85rem;
}

.workflow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.workflow-list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.workflow-list li > span {
  color: var(--teal);
  font:
    800 0.78rem/1.6 ui-monospace,
    monospace;
}
.workflow-list h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}
.workflow-list p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
}

.cases {
  background: #e5eae6;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.case-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--white);
}
.case-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
  border-bottom: 1px solid var(--line);
}
.case-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}
.case-kicker {
  color: var(--teal);
  font:
    750 0.72rem/1.4 ui-monospace,
    monospace;
  text-transform: uppercase;
}
.case-body h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}
.case-body > p {
  color: var(--muted);
}
.case-body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: auto 0 22px;
  padding: 0;
  list-style: none;
}
.case-body li {
  padding: 5px 8px;
  background: #edf1ee;
  font-size: 0.74rem;
}
.case-body a {
  font-weight: 800;
}
.center-link {
  margin: 38px 0 0;
  text-align: center;
  font-weight: 800;
}

.safety {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8vw;
  color: var(--white);
  background: var(--ink);
}
.safety-copy p {
  color: #c4d5d2;
}
.boundary-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.boundary-list li {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}
.boundary-list span {
  color: var(--lime);
  font-weight: 800;
}
.boundary-list p {
  margin: 6px 0 0;
  color: #b6c9c5;
}

.ci {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 6vw;
  align-items: center;
}
.code-wrap.large pre {
  min-height: 220px;
}
.docs {
  background: var(--white);
}
.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.docs-grid > a {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.docs-grid > a:nth-child(odd) {
  padding-right: 30px;
}
.docs-grid > a:nth-child(even) {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}
.docs-grid span {
  color: var(--teal);
  font:
    750 0.74rem/1.5 ui-monospace,
    monospace;
}
.docs-grid h3 {
  margin-bottom: 6px;
}
.docs-grid p {
  margin: 0;
  color: var(--muted);
}
.docs-grid a:hover h3 {
  color: var(--teal);
}

.limitations {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 7vw;
  background: var(--gold);
}
.limitations .eyebrow {
  color: #004d46;
}
.limitations ul {
  margin: 0;
  padding-left: 22px;
}
.limitations li {
  margin-bottom: 12px;
}
.cta {
  text-align: center;
}
.cta h2,
.cta > p {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}
.cta > p {
  color: var(--muted);
}
.cta .hero-actions {
  justify-content: center;
}
.cta .button.secondary {
  color: var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 6vw;
  color: #bdceca;
  background: var(--ink);
  font-size: 0.82rem;
}
.site-footer p {
  margin: 0;
}
.copy-status {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  max-width: 320px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--teal-dark);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}
.copy-status.visible {
  opacity: 1;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }
  .hero > * {
    min-width: 0;
  }
  .signal-card {
    max-width: 620px;
  }
  .quick-start,
  .safety,
  .ci,
  .limitations {
    grid-template-columns: minmax(0, 1fr);
  }
  .quick-start > *,
  .safety > *,
  .ci > *,
  .limitations > * {
    min-width: 0;
  }
  .quick-links {
    grid-column: 1;
  }
  .case-grid {
    grid-template-columns: 1fr;
  }
  .case-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) 1fr;
  }
  .case-card img {
    height: 100%;
    aspect-ratio: auto;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
}

@media (max-width: 650px) {
  .site-header {
    position: static;
    align-items: flex-start;
    gap: 18px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 16px;
  }
  nav a:nth-child(1),
  nav a:nth-child(2) {
    display: none;
  }
  .hero,
  .band,
  .section {
    padding-left: 22px;
    padding-right: 22px;
  }
  h1 {
    font-size: clamp(3.6rem, 19vw, 5.8rem);
  }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .flow-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
  .workflow-list li {
    grid-template-columns: 44px 1fr;
  }
  .case-card {
    display: flex;
  }
  .case-card img {
    height: auto;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .docs-grid {
    grid-template-columns: 1fr;
  }
  .docs-grid > a:nth-child(odd),
  .docs-grid > a:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
  }
  .site-footer {
    flex-direction: column;
  }
  pre {
    font-size: 0.78rem;
  }
}

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