:root {
  --green: #16a34a;
  --green-dark: #15803d;
  --green-soft: #dcfce7;
  --ink: #111111;
  --text: #172016;
  --muted: #58645d;
  --line: #dbe4dd;
  --paper: #ffffff;
  --wash: #f7faf7;
  --amber: #eab308;
  --blue: #2563eb;
  --rose: #dc2626;
  --radius: 8px;
  --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.08);
  --shadow-lift: 0 18px 42px rgba(22, 163, 74, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    #fbfcf8;
  background-size: 64px 64px;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(251, 252, 248, 0.9);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 186px;
  height: auto;
}

nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 0.92rem;
  color: var(--muted);
}

nav a:hover,
.site-footer a:hover {
  color: var(--green-dark);
}

nav a.active {
  color: var(--ink);
  font-weight: 750;
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button,
.light-button,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.primary-button {
  padding: 0 20px;
  color: #fff;
  background: var(--green);
  border: 1px solid #0f8a43;
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.2);
}

.secondary-button {
  padding: 0 20px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
}

.light-button {
  padding: 0 20px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #fff;
}

.link-button {
  min-height: 40px;
  color: var(--muted);
}

.small {
  min-height: 40px;
  padding: 0 16px;
}

.full {
  width: 100%;
}

.primary-button:hover,
.secondary-button:hover,
.light-button:hover {
  transform: translateY(-1px);
}

.primary-button:hover {
  background: var(--green-dark);
  box-shadow: var(--shadow-lift);
}

.section-band {
  position: relative;
  padding: 92px 0;
}

.hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 16%, rgba(220, 252, 231, 0.95), transparent 32%),
    radial-gradient(circle at 86% 24%, rgba(229, 246, 236, 0.8), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 247, 0.92) 58%, rgba(239, 246, 255, 0.82) 100%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(440px, 1.04fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.hero-copy-column {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 940px;
  margin-bottom: 22px;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: clamp(4.2rem, 6.6vw, 7rem);
  line-height: 0.96;
  font-weight: 500;
}

.decision-headline {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.28em;
  row-gap: 0.05em;
}

.decision-headline span:not(:last-child)::after {
  content: "·";
  margin-left: 0.28em;
  color: var(--green-dark);
}

.decision-word {
  color: var(--ink);
}

.decision-word.allow-word {
  text-shadow: 0 7px 28px rgba(22, 163, 74, 0.12);
}

.decision-headline .deny-word::after {
  color: #b45309;
}

h2 {
  max-width: 780px;
  margin-bottom: 16px;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 3.25rem;
  line-height: 1.04;
  font-weight: 500;
}

.hero-copy,
.section-heading p,
.split-section p,
.cta-content p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.7;
}

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

.hero-code {
  width: min(660px, 100%);
  margin: 28px 0 0;
  padding: 20px 22px;
  color: #dfffe9;
  background: #101312;
  border: 1px solid rgba(22, 163, 74, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  overflow-x: auto;
}

.hero-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.94rem;
  line-height: 1.65;
}

.hero-proof-column {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(17, 17, 17, 0.13);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    rgba(255, 255, 255, 0.72);
  background-size: 34px 34px;
  box-shadow: var(--shadow-soft);
}

.hero-proof-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.hero-proof-header strong {
  color: var(--green-dark);
  font-weight: 850;
}

.decision-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.decision-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  font-weight: 850;
}

.hero-product-window {
  height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
}

.hero-product-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.trust-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.trust-notes article {
  min-height: 132px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.92);
}

.note-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-bottom: 13px;
  border: 1px solid rgba(22, 163, 74, 0.35);
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 900;
}

.trust-notes strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.95rem;
}

.trust-notes p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.48;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-row span {
  border: 1px solid rgba(21, 128, 61, 0.18);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 9px 14px;
  color: #24432f;
  font-weight: 700;
  font-size: 0.9rem;
}

.assurance-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(820px, 100%);
  margin-top: 18px;
  overflow: hidden;
  color: #2d3a33;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.assurance-row span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.35;
}

.verbs-strip {
  padding: 26px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.verb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.verb-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.verb-card p {
  margin: 0;
}

.verb-name {
  margin-bottom: 8px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 1.15rem;
  font-weight: 800;
}

.verb-name.allow {
  color: var(--green-dark);
}

.verb-name.deny {
  color: var(--rose);
}

.verb-name.confirm {
  color: #b45309;
}

.verb-name.escalate {
  color: var(--blue);
}

.attribute-band {
  padding: 72px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.attribute-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
}

.attribute-layout h2 {
  font-size: 2.7rem;
}

.attribute-layout p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.attribute-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.attribute-cards article {
  min-height: 248px;
  padding: 20px;
  background:
    linear-gradient(rgba(17, 17, 17, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.028) 1px, transparent 1px),
    rgba(255, 255, 255, 0.96);
  background-size: 34px 34px;
}

.attribute-cards span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  font-weight: 900;
}

.attribute-cards h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.05rem;
}

.attribute-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.58;
}

.attribute-cards code {
  border: 1px solid rgba(21, 128, 61, 0.16);
  border-radius: 5px;
  background: rgba(220, 252, 231, 0.55);
  padding: 0.1em 0.35em;
  color: #102018;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.proof-strip {
  padding: 34px 0;
  background: var(--ink);
  color: #fff;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.proof-grid div {
  border-left: 2px solid var(--green);
  padding-left: 18px;
}

.proof-grid p {
  margin: 0;
  color: #cbd5cf;
}

.proof-grid .stat {
  margin-bottom: 6px;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 1.35rem;
}

.proof-grid code {
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.section-heading {
  margin-bottom: 36px;
}

.roadmap-note {
  margin-top: 14px;
  font-size: 1rem !important;
}

.visual-panel,
.image-frame,
.diagram-grid figure,
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.visual-panel {
  padding: 18px;
}

.product-shot {
  padding: 0;
  background: #f8fafc;
}

.product-shot img {
  width: 100%;
}

.muted {
  background: var(--wash);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 42px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
  color: var(--text);
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #29362d;
  font-weight: 650;
}

.feature-list span {
  color: var(--green);
}

.build-grid,
.boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.build-grid article,
.boundary-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.build-grid h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.08rem;
}

.build-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.trust-boundary-band {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7faf7 100%);
  border-top: 1px solid var(--line);
}

.boundary-kicker {
  margin-bottom: 16px;
  color: var(--green-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
  font-weight: 850;
  text-transform: uppercase;
}

.boundary-grid ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.boundary-grid li {
  color: var(--muted);
  line-height: 1.5;
}

.boundary-grid li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--green);
  font-weight: 900;
}

.image-frame {
  padding: 14px;
}

.code-walkthrough {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: stretch;
}

.code-panel {
  border: 1px solid #1f2937;
  border-radius: var(--radius);
  background: #0f172a;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
  overflow: hidden;
}

.code-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(203, 213, 225, 0.16);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  font-weight: 800;
}

.authorize-meta {
  display: none;
}

.code-walkthrough:has(#code-tab-authorize:checked) .check-meta {
  display: none;
}

.code-walkthrough:has(#code-tab-authorize:checked) .authorize-meta {
  display: inline;
}

.code-tab-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.code-tab-list {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(203, 213, 225, 0.18);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
}

.code-tab-list label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  color: #cbd5e1;
  cursor: pointer;
}

#code-tab-authorize:checked ~ .code-panel-header label[for="code-tab-authorize"],
#code-tab-check:checked ~ .code-panel-header label[for="code-tab-check"] {
  color: #0f172a;
  background: #e5f6ec;
}

.code-tab-content {
  display: none;
}

#code-tab-authorize:checked ~ .authorize-code,
#code-tab-check:checked ~ .check-code {
  display: block;
}

.code-panel pre {
  margin: 0;
  padding: 22px;
  overflow-x: auto;
}

.code-panel code {
  color: #e5f6ec;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 1rem;
  line-height: 1.72;
}

.decision-steps {
  display: block;
}

.step-set {
  display: none;
  gap: 14px;
}

.check-steps {
  display: grid;
}

.code-walkthrough:has(#code-tab-authorize:checked) .check-steps {
  display: none;
}

.code-walkthrough:has(#code-tab-authorize:checked) .authorize-steps {
  display: grid;
}

.step-set article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.step-set h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1rem;
}

.step-set p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.step-set code {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.step-kicker {
  margin-bottom: 8px !important;
  color: var(--ink) !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.86rem;
  font-weight: 850;
}

.step-kicker.allow {
  color: var(--green-dark) !important;
}

.step-kicker.confirm {
  color: #b45309 !important;
}

.step-kicker.escalate {
  color: var(--blue) !important;
}

.step-kicker.deny {
  color: var(--rose) !important;
}

.developer-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.developer-resource-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.resource-kicker {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.developer-resource-grid h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.02rem;
}

.developer-resource-grid p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.developer-resource-grid code {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.developer-resource-grid a,
.card-links a {
  color: var(--green-dark);
  font-weight: 800;
}

.sdk-band {
  background: var(--wash);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sdk-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.sdk-card-automation {
  grid-column: span 4;
}

.sdk-card-developer {
  grid-column: span 3;
}

.sdk-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.sdk-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

.sdk-logo-wordmark {
  width: 92px;
  height: 32px;
}

.sdk-card-header {
  display: flex;
  gap: 12px;
  align-items: center;
}

.sdk-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.16rem;
}

.sdk-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.integration-features {
  display: grid;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.integration-features li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.integration-features li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 0.5em;
  border-radius: 999px;
  background: var(--green);
}

.install-block {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.install-block span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.install-command {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.install-command code {
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  border: 1px solid rgba(21, 128, 61, 0.16);
  border-radius: 6px;
  background: rgba(220, 252, 231, 0.55);
  padding: 8px 10px;
  color: #102018;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
}

.install-command button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.install-command button:hover {
  border-color: rgba(21, 128, 61, 0.35);
  background: var(--green-soft);
}

.card-links {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  font-size: 0.9rem;
}

.pricing-band {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7faf7 100%);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.price-card.highlighted {
  border-color: rgba(22, 163, 74, 0.55);
  box-shadow: 0 18px 42px rgba(22, 163, 74, 0.12);
}

.price-card.dark {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.plan-name {
  margin-bottom: 14px;
  color: var(--green-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 1.1rem;
  font-weight: 800;
}

.price-card.dark .plan-name {
  color: #86efac;
}

.price {
  margin-bottom: 12px;
  color: inherit;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 2.15rem;
  font-weight: 600;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
}

.plan-note {
  min-height: 48px;
  color: var(--muted);
  line-height: 1.5;
}

.price-card.dark .plan-note,
.price-card.dark li {
  color: #d8e0dc;
}

.price-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 12px 0 24px;
  list-style: none;
}

.price-card li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--green);
  font-weight: 900;
}

.decision-list {
  font-weight: 800;
}

.decision-allow {
  color: var(--green-dark);
}

.decision-deny {
  color: var(--rose);
}

.decision-confirm {
  color: #b45309;
}

.decision-escalate {
  color: var(--blue);
}

.price-card .full {
  margin-top: auto;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

th,
td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  background: #f4faf5;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-weight: 700;
}

td:first-child {
  color: var(--ink);
  font-weight: 750;
}

.docs-shell {
  padding: 56px 0 92px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 8%, rgba(220, 252, 231, 0.8), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(247, 250, 247, 0.94) 100%);
}

.docs-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 22px;
  max-height: calc(100dvh - 112px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  scrollbar-color: rgba(21, 128, 61, 0.35) transparent;
  scrollbar-width: thin;
}

.docs-home-link {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 1.08rem;
  font-weight: 850;
}

.docs-sidebar-section {
  display: grid;
  gap: 5px;
}

.docs-sidebar-section p {
  margin: 0 0 6px;
  color: var(--green-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-sidebar-link {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.3;
}

.docs-sidebar-link:hover,
.docs-sidebar-link.active {
  color: var(--ink);
  background: var(--green-soft);
}

.docs-sidebar-link.active {
  font-weight: 750;
}

.docs-article {
  min-width: 0;
  max-width: 900px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.docs-article h1,
.docs-article h2,
.docs-article h3,
.docs-article h4 {
  max-width: none;
  color: var(--ink);
  line-height: 1.15;
}

.docs-article h1 {
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 4vw, 3.45rem);
}

.docs-article h2 {
  margin: 48px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 2rem;
}

.docs-article h3 {
  margin: 34px 0 12px;
  font-size: 1.25rem;
}

.docs-article h4 {
  margin: 28px 0 10px;
  font-size: 1.02rem;
}

.docs-article h1 a,
.docs-article h2 a,
.docs-article h3 a,
.docs-article h4 a {
  color: inherit;
}

.docs-article p,
.docs-article li {
  color: #354239;
  font-size: 1rem;
  line-height: 1.72;
}

.docs-article p {
  margin: 0 0 18px;
}

.docs-article a {
  color: var(--green-dark);
  font-weight: 750;
}

.docs-article ul,
.docs-article ol {
  display: grid;
  gap: 9px;
  padding-left: 22px;
  margin: 0 0 22px;
}

.docs-article code {
  border: 1px solid rgba(21, 128, 61, 0.16);
  border-radius: 5px;
  background: rgba(220, 252, 231, 0.5);
  padding: 0.1em 0.35em;
  color: #102018;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.docs-article pre {
  margin: 20px 0 26px;
  padding: 18px;
  overflow-x: auto;
  border: 1px solid rgba(22, 163, 74, 0.26);
  border-radius: var(--radius);
  background: #101312;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.docs-article pre code {
  display: block;
  min-width: max-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: #e4f9e9;
  font-size: 0.9rem;
  line-height: 1.68;
}

.docs-article blockquote {
  margin: 22px 0;
  padding: 16px 18px;
  border: 1px solid rgba(180, 83, 9, 0.22);
  border-left: 4px solid #b45309;
  border-radius: var(--radius);
  background: #fff8eb;
}

.docs-article blockquote p {
  margin: 0;
}

.docs-table-wrap {
  margin: 22px 0 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.docs-article table {
  min-width: 680px;
  font-size: 0.88rem;
}

.docs-article th,
.docs-article td {
  padding: 12px 14px;
}

.docs-article th {
  background: #f4faf5;
}

.about-band {
  background: var(--wash);
  border-top: 1px solid var(--line);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 18px;
}

.about-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.72;
}

.invest-hero {
  background:
    radial-gradient(circle at 20% 10%, rgba(220, 252, 231, 0.82), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f4faf5 58%, #eef6ff 100%);
  border-bottom: 1px solid var(--line);
}

.invest-hero-content h1 {
  max-width: 980px;
  font-size: 4.4rem;
  line-height: 1;
}

.invest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.invest-card,
.invest-disclaimer {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.invest-card h2 {
  font-size: 2rem;
}

.invest-card p,
.invest-disclaimer p {
  color: var(--muted);
  line-height: 1.7;
}

.invest-facts-wrap {
  max-width: 980px;
}

.invest-facts {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.invest-facts dl {
  margin: 0;
}

.invest-facts div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.invest-facts div:last-child {
  border-bottom: 0;
}

.invest-facts dt {
  color: var(--ink);
  font-weight: 800;
}

.invest-facts dd {
  margin: 0;
  color: var(--muted);
}

.invest-facts a {
  color: var(--green-dark);
  font-weight: 750;
}

.final-cta {
  color: #fff;
  background:
    radial-gradient(circle at 20% 10%, rgba(22, 163, 74, 0.28), transparent 35%),
    var(--ink);
}

.cta-content {
  text-align: center;
}

.cta-content h2,
.cta-content p {
  margin-left: auto;
  margin-right: auto;
  color: #fff;
}

.cta-content p {
  color: #d8e0dc;
}

.center {
  justify-content: center;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-grid p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 22px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .proof-grid,
  .verb-grid,
  .docs-layout,
  .hero-layout,
  .attribute-layout,
  .split-section,
  .about-section,
  .build-grid,
  .boundary-grid,
  .code-walkthrough,
  .invest-grid,
  .developer-resource-grid,
  .sdk-grid,
  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .sdk-card-automation,
  .sdk-card-developer {
    grid-column: auto;
  }

  .hero-proof-column {
    order: 2;
  }

  .docs-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    overscroll-behavior: auto;
  }

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

  .docs-home-link {
    grid-column: 1 / -1;
  }

  .price-card {
    min-height: auto;
  }

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

  h1 {
    font-size: 4.25rem;
  }

  .hero-product-window {
    height: 390px;
  }

  .trust-notes {
    grid-template-columns: 1fr;
  }

  .attribute-cards {
    grid-template-columns: 1fr;
  }

  .invest-hero-content h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.7rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand img {
    width: 152px;
  }

  .header-actions .link-button {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .section-band {
    padding: 64px 0;
  }

  h1 {
    font-size: 3.15rem;
    line-height: 1.02;
  }

  .invest-hero-content h1 {
    font-size: 2.85rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-copy,
  .section-heading p,
  .split-section p,
  .cta-content p {
    font-size: 1.05rem;
  }

  .proof-grid {
    gap: 18px;
  }

  .assurance-row {
    grid-template-columns: 1fr;
  }

  .hero-proof-column {
    padding: 12px;
  }

  .docs-shell {
    padding: 28px 0 64px;
  }

  .docs-layout {
    gap: 18px;
  }

  .docs-sidebar {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .docs-article {
    padding: 22px 16px;
  }

  .docs-article h2 {
    font-size: 1.7rem;
  }

  .hero-product-window {
    height: 310px;
  }

  .invest-facts div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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