:root {
  --ink: #0d0e0c;
  --graphite: #151714;
  --graphite-2: #20231f;
  --smoke: #d9dbd2;
  --paper: #f4f1e8;
  --paper-2: #e9e5d9;
  --muted: #777a71;
  --lime: #dfff3f;
  --line: rgba(13, 14, 12, 0.12);
  --line-light: rgba(244, 241, 232, 0.16);
  --radius: 28px;
  --shadow: 0 30px 90px rgba(13, 14, 12, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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.5;
  overflow-x: hidden;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 800;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  min-height: 64px;
  padding: 8px 8px 8px 18px;
  border: 1px solid rgba(244, 241, 232, 0.14);
  border-radius: 999px;
  background: rgba(13, 14, 12, 0.72);
  color: var(--paper);
  backdrop-filter: blur(22px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.24);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
}

.brand img {
  width: 156px;
  max-height: 36px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav-links a,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 16px;
  color: rgba(244, 241, 232, 0.82);
  font-size: 0.92rem;
  font-weight: 750;
}

.nav-links a:hover {
  background: rgba(244, 241, 232, 0.09);
}

.nav-cta {
  background: var(--lime);
  color: var(--ink);
}

.section-dark {
  background: var(--graphite);
  color: var(--paper);
}

.section-light {
  background: var(--paper);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 920px;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: end;
  padding: 156px clamp(20px, 5vw, 70px) 72px;
}

.hero-media,
.final-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-scrim,
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 35%, rgba(223, 255, 63, 0.18), transparent 26rem),
    linear-gradient(180deg, rgba(13, 14, 12, 0.18), rgba(13, 14, 12, 0.92));
}

.hero-inner {
  width: min(780px, 100%);
}

.kicker {
  margin: 0 0 18px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 960px;
  font-size: clamp(4.3rem, 10vw, 9.5rem);
  line-height: 0.88;
  font-weight: 760;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(3rem, 6.5vw, 6.6rem);
  line-height: 0.9;
  font-weight: 730;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.hero-copy,
.section-copy p:not(.kicker),
.final-cta p {
  max-width: 610px;
  color: rgba(244, 241, 232, 0.76);
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
}

.hero-copy {
  margin-top: 28px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-1px);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.button.primary {
  background: var(--lime);
  color: var(--ink);
}

.button.ghost {
  border-color: rgba(244, 241, 232, 0.26);
  color: var(--paper);
  background: rgba(244, 241, 232, 0.07);
}

.button.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.35);
}

.live-card {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 76px;
  width: min(360px, calc(100% - 40px));
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(21, 23, 20, 0.68);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
}

.card-topline,
.live-card dl,
.proof-grid,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.card-topline span,
.card-topline strong,
.live-card dt,
.live-card dd {
  font-size: 0.82rem;
}

.card-topline span,
.live-card dt {
  color: rgba(244, 241, 232, 0.62);
}

.card-topline strong,
.live-card dd {
  color: var(--paper);
  font-weight: 850;
}

.receipt-strip {
  display: grid;
  gap: 10px;
  min-height: 132px;
  margin: 26px 0;
  padding: 18px;
  border: 1px solid var(--line-light);
  border-radius: 20px;
  background: rgba(244, 241, 232, 0.06);
}

.receipt-strip span {
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.receipt-strip strong {
  color: var(--paper);
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.receipt-strip small {
  color: rgba(244, 241, 232, 0.62);
  line-height: 1.35;
}

.live-card dl {
  margin: 0;
}

.live-card div {
  min-width: 0;
}

.proof {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1.2fr;
  align-items: center;
  gap: 34px;
  padding: 54px clamp(20px, 5vw, 72px);
  background: var(--lime);
  color: var(--ink);
}

.proof > p {
  font-size: clamp(1.7rem, 3.2vw, 3.2rem);
  line-height: 0.98;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.proof-grid {
  align-items: stretch;
}

.proof-grid div {
  flex: 1;
  min-height: 122px;
  border-left: 1px solid rgba(13, 14, 12, 0.2);
  padding: 8px 0 8px 24px;
}

.proof-grid strong {
  display: block;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.proof-grid span {
  display: block;
  margin-top: 14px;
  color: rgba(13, 14, 12, 0.66);
  font-weight: 760;
}

.features,
.architecture,
.modes,
.testimonials,
.checklist,
.txline,
.preview,
.final-cta {
  padding: clamp(86px, 11vw, 160px) clamp(20px, 5vw, 72px);
}

.features {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: center;
}

.section-copy p:not(.kicker) {
  margin-top: 24px;
  color: var(--muted);
}

.section-dark .section-copy p:not(.kicker) {
  color: rgba(244, 241, 232, 0.7);
}

.feature-masonry {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.feature-card {
  min-height: 250px;
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
  background: rgba(255, 255, 255, 0.36);
  box-shadow: 0 18px 60px rgba(13, 14, 12, 0.08);
}

.feature-card.tall {
  grid-row: span 2;
  min-height: 514px;
  background: var(--graphite);
  color: var(--paper);
}

.feature-card.wide {
  grid-column: span 6;
}

.feature-card span {
  color: var(--muted);
  font-weight: 850;
}

.feature-card.tall span,
.feature-card.tall p {
  color: rgba(244, 241, 232, 0.68);
}

.feature-card p {
  max-width: 360px;
  color: var(--muted);
}

.architecture {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.82fr);
  gap: clamp(44px, 8vw, 120px);
  align-items: center;
}

.architecture-visual {
  min-height: 560px;
  position: relative;
  border: 1px solid var(--line-light);
  border-radius: 36px;
  padding: clamp(22px, 4vw, 46px);
  background:
    linear-gradient(rgba(244, 241, 232, 0.07) 1px, transparent 1px) 0 0 / 100% 72px,
    linear-gradient(90deg, rgba(244, 241, 232, 0.04) 1px, transparent 1px) 0 0 / 72px 100%,
    #11130f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--shadow);
}

.architecture-visual::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
}

.layer {
  position: relative;
  width: min(370px, 100%);
  border: 1px solid var(--line-light);
  border-radius: 24px;
  padding: 24px;
  background: rgba(244, 241, 232, 0.08);
  backdrop-filter: blur(18px);
}

.layer + .layer {
  margin-top: 36px;
  margin-left: auto;
}

.layer.strategy {
  transform: translateX(-7%);
  background: rgba(223, 255, 63, 0.1);
}

.layer span,
.mode-slices span {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--lime);
  font-weight: 850;
}

.layer strong {
  display: block;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.layer small {
  display: block;
  margin-top: 10px;
  color: rgba(244, 241, 232, 0.62);
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-weight: 850;
}

.text-link::after {
  content: " ->";
}

.text-link.light {
  color: var(--paper);
}

.modes {
  position: relative;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(38px, 7vw, 90px);
  overflow: hidden;
  background:
    linear-gradient(90deg, var(--paper) 0 57%, var(--graphite) 57% 100%);
}

.side-note {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left top;
  color: rgba(13, 14, 12, 0.46);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.mode-slices {
  display: grid;
  grid-template-columns: 0.7fr 1.25fr 0.7fr;
  gap: 12px;
  min-height: 470px;
}

.mode-slices article {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(244, 241, 232, 0.18);
  border-radius: 30px;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(244, 241, 232, 0.09);
  color: var(--paper);
}

.mode-slices article.active {
  background:
    radial-gradient(circle at 70% 20%, rgba(223, 255, 63, 0.22), transparent 16rem),
    rgba(244, 241, 232, 0.14);
}

.mode-slices p {
  margin-top: 16px;
  color: rgba(244, 241, 232, 0.67);
}

.testimonials {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: end;
  background:
    radial-gradient(circle at 82% 18%, rgba(223, 255, 63, 0.15), transparent 22rem),
    var(--graphite);
}

.quote-wall {
  display: grid;
  gap: 14px;
}

figure {
  margin: 0;
  border: 1px solid var(--line-light);
  border-radius: 26px;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(244, 241, 232, 0.08);
}

blockquote {
  margin: 0;
  color: var(--paper);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

figcaption {
  margin-top: 24px;
  color: var(--lime);
  font-weight: 850;
}

.checklist {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(38px, 8vw, 110px);
  background:
    linear-gradient(rgba(13, 14, 12, 0.04) 1px, transparent 1px) 0 0 / 100% 86px,
    var(--paper);
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.checklist-grid article {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(22px, 3vw, 32px);
  background: rgba(255, 255, 255, 0.3);
}

.checklist-grid span {
  color: var(--muted);
  font-weight: 850;
}

.checklist-grid p {
  max-width: 330px;
  color: var(--muted);
}

.txline {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(38px, 8vw, 100px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(13, 14, 12, 0.04), transparent 48%),
    var(--paper-2);
}

.txline-console {
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.36);
  box-shadow: 0 20px 70px rgba(13, 14, 12, 0.1);
}

.status-row,
.proof-note {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-radius: 22px;
  background: var(--graphite);
  color: var(--paper);
  padding: 16px;
}

.status-pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(223, 255, 63, 0.16);
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.status-pill.live {
  background: var(--lime);
  color: var(--ink);
}

.txline-log {
  margin-top: 14px;
  border-radius: 22px;
  padding: 16px;
  background: rgba(13, 14, 12, 0.06);
  color: var(--muted);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.endpoint-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.endpoint-list article {
  min-height: 172px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  background: rgba(244, 241, 232, 0.62);
}

.endpoint-list span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.endpoint-list strong {
  display: block;
  margin-top: 18px;
  font-size: 1.05rem;
}

.endpoint-list p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.proof-note {
  display: block;
  margin-top: 14px;
}

.proof-note p {
  margin-top: 10px;
  color: rgba(244, 241, 232, 0.66);
  font-size: 0.95rem;
}

.stream-panel,
.validation-panel {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.5);
}

.validation-panel {
  border-color: var(--line-light);
  background: rgba(244, 241, 232, 0.06);
}

.stream-panel span,
.validation-panel span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.validation-panel span {
  color: var(--lime);
}

.stream-panel strong,
.validation-panel strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.validation-panel strong {
  color: var(--paper);
}

.stream-panel p,
.validation-panel p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.validation-panel p {
  color: rgba(244, 241, 232, 0.68);
}

.stream-grid,
.validation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.validation-grid {
  grid-template-columns: repeat(3, 1fr);
}

.stream-grid article,
.validation-grid article {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.48);
}

.validation-grid article {
  border-color: var(--line-light);
  background: rgba(13, 14, 12, 0.2);
}

.preview {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(38px, 7vw, 100px);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 12%, rgba(223, 255, 63, 0.16), transparent 22rem),
    linear-gradient(180deg, #11130f, var(--graphite));
}

.preview-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 14px;
  align-items: stretch;
  min-width: 0;
}

.preview-main,
.preview-rail img {
  border: 1px solid var(--line-light);
  border-radius: 28px;
  background: rgba(244, 241, 232, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.preview-main {
  min-height: 430px;
  overflow: hidden;
}

.preview-main img,
.preview-rail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-rail {
  display: grid;
  gap: 14px;
}

.preview-rail img {
  min-height: 0;
  aspect-ratio: 1 / 1.12;
  opacity: 0.82;
}

.final-cta {
  position: relative;
  min-height: 700px;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}

.final-cta div {
  width: min(880px, 100%);
}

.final-cta p {
  margin: 28px auto 0;
}

.final-cta .hero-actions {
  justify-content: center;
}

.demo-workspace {
  width: min(100%, 960px);
  margin: 46px auto 0;
  border: 1px solid var(--line-light);
  border-radius: 34px;
  padding: clamp(16px, 3vw, 24px);
  background: rgba(13, 14, 12, 0.66);
  text-align: left;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.demo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 18px;
}

.demo-toolbar span {
  color: var(--lime);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.match-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.match-option {
  min-height: 38px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(244, 241, 232, 0.08);
  color: var(--paper);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  cursor: pointer;
}

.match-option.active,
.match-option:hover,
.match-option:focus-visible {
  background: var(--lime);
  color: var(--ink);
}

.match-loading {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(244, 241, 232, 0.7);
  font-size: 0.86rem;
  font-weight: 850;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.demo-grid article {
  min-height: 170px;
  border: 1px solid var(--line-light);
  border-radius: 22px;
  padding: 20px;
  background: rgba(244, 241, 232, 0.08);
}

.demo-grid span {
  color: rgba(244, 241, 232, 0.58);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.demo-grid strong {
  display: block;
  margin-top: 18px;
  color: var(--paper);
  font-size: 1.1rem;
}

.demo-grid p {
  margin: 12px 0 0;
  color: rgba(244, 241, 232, 0.68);
  font-size: 0.94rem;
}

.agent-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: 14px;
  margin-top: 16px;
  border: 1px solid rgba(223, 255, 63, 0.34);
  border-radius: 24px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(223, 255, 63, 0.16), rgba(244, 241, 232, 0.07));
}

.agent-summary span {
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-summary strong {
  display: block;
  margin-top: 8px;
  color: var(--paper);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  line-height: 1.02;
}

.agent-summary p {
  margin-top: 10px;
  max-width: 56ch;
  color: rgba(244, 241, 232, 0.76);
  line-height: 1.5;
}

.agent-summary ul {
  display: grid;
  gap: 10px;
}

.agent-summary li {
  min-height: 74px;
  border: 1px solid var(--line-light);
  border-radius: 16px;
  padding: 12px;
  background: rgba(13, 14, 12, 0.24);
}

.agent-summary li strong {
  margin-top: 0;
  font-size: 1rem;
}

.agent-summary li span {
  display: block;
  margin-top: 8px;
  color: rgba(244, 241, 232, 0.58);
  letter-spacing: 0;
  text-transform: none;
}

.strategy-board {
  margin-top: 16px;
  border: 1px solid var(--line-light);
  border-radius: 22px;
  padding: 16px;
  background: rgba(244, 241, 232, 0.06);
}

.strategy-board span {
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.strategy-board p {
  margin-top: 8px;
  color: rgba(244, 241, 232, 0.68);
}

.strategy-board ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
  counter-reset: strategies;
}

.strategy-board li {
  counter-increment: strategies;
  position: relative;
  min-height: 116px;
  border: 1px solid var(--line-light);
  border-radius: 16px;
  padding: 14px;
  background: rgba(13, 14, 12, 0.24);
}

.strategy-board li::before {
  content: counter(strategies);
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-weight: 900;
}

.strategy-board strong {
  display: block;
  margin-top: 12px;
  color: var(--paper);
}

.strategy-board small {
  display: block;
  margin-top: 8px;
  color: rgba(244, 241, 232, 0.58);
  line-height: 1.4;
}

.receipt-panel {
  margin-top: 16px;
  border: 1px solid var(--line-light);
  border-radius: 24px;
  padding: 18px;
  background: rgba(244, 241, 232, 0.07);
}

.receipt-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 14px;
}

.receipt-head span,
.receipt-grid span {
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.receipt-head strong {
  color: var(--paper);
  overflow-wrap: anywhere;
}

.receipt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.receipt-grid article {
  min-height: 138px;
  border: 1px solid var(--line-light);
  border-radius: 18px;
  padding: 16px;
  background: rgba(13, 14, 12, 0.22);
}

.receipt-grid p {
  margin-top: 12px;
  color: rgba(244, 241, 232, 0.7);
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.receipt-history {
  margin-top: 14px;
  border-top: 1px solid var(--line-light);
  padding-top: 14px;
}

.receipt-history span {
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.receipt-history p {
  margin-top: 8px;
  color: rgba(244, 241, 232, 0.7);
  font-size: 0.9rem;
}

.receipt-history ul {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.receipt-history li {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  padding: 12px;
  background: rgba(13, 14, 12, 0.2);
  color: rgba(244, 241, 232, 0.78);
  font-size: 0.84rem;
}

.receipt-history strong {
  color: var(--paper);
  overflow-wrap: anywhere;
}

.receipt-history small {
  color: rgba(244, 241, 232, 0.56);
}

.site-footer {
  flex-wrap: wrap;
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: var(--paper);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(244, 241, 232, 0.68);
  font-weight: 750;
}

.site-footer p {
  max-width: 420px;
  color: rgba(244, 241, 232, 0.52);
  font-size: 0.88rem;
}

.helper-page,
.docs-page {
  background: var(--graphite);
}

.token-helper h1 {
  max-width: 760px;
}

.helper-hero {
  min-height: 620px;
  display: grid;
  align-content: space-between;
  padding: 34px clamp(20px, 5vw, 72px) clamp(70px, 10vw, 140px);
  background:
    radial-gradient(circle at 80% 20%, rgba(223, 255, 63, 0.2), transparent 22rem),
    linear-gradient(180deg, #11130f, var(--graphite));
}

.helper-hero > div {
  width: min(900px, 100%);
}

.helper-hero p:not(.kicker) {
  max-width: 660px;
  margin-top: 28px;
  color: rgba(244, 241, 232, 0.72);
  font-size: 1.15rem;
}

.helper-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 72px);
}

.helper-card,
.helper-code {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 24px 80px rgba(13, 14, 12, 0.12);
}

.helper-card {
  display: grid;
  gap: 18px;
}

.helper-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.helper-card input,
.helper-card select,
.helper-card textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font: inherit;
}

.helper-card textarea {
  min-height: 120px;
  padding-top: 14px;
  resize: vertical;
}

.helper-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.status-stack {
  display: grid;
  gap: 8px;
  border-radius: 20px;
  padding: 16px;
  background: rgba(13, 14, 12, 0.06);
}

.status-stack p,
.helper-note {
  margin: 0;
  color: var(--muted);
}

.helper-note {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.helper-code {
  border-color: var(--line-light);
  background: rgba(244, 241, 232, 0.08);
}

.helper-code pre {
  margin: 0;
  overflow: auto;
  color: var(--paper);
  font-size: 0.95rem;
  line-height: 1.6;
}

.docs-main {
  background: var(--paper);
}

.docs-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 7vw, 96px);
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 72px);
}

.docs-section + .docs-section {
  border-top: 1px solid var(--line);
}

.docs-list {
  display: grid;
  gap: 14px;
}

.docs-list article {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(20px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.36);
}

.docs-list h3 {
  margin-bottom: 12px;
}

.docs-list p,
.docs-list li {
  color: var(--muted);
}

.docs-list ul,
.docs-list ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

.docs-list code {
  color: var(--ink);
  font-weight: 850;
}

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

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 850px;
    padding-top: 132px;
  }

  h1 {
    font-size: clamp(4rem, 14vw, 7rem);
  }

  .live-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 44px;
  }

  .proof,
  .features,
  .architecture,
  .modes,
  .testimonials,
  .checklist,
  .txline,
  .preview {
    grid-template-columns: 1fr;
  }

  .modes {
    background: linear-gradient(180deg, var(--paper) 0 38%, var(--graphite) 38% 100%);
  }

  .side-note {
    display: none;
  }

  .checklist-grid,
  .endpoint-list,
  .agent-summary,
  .demo-grid,
  .receipt-grid,
  .stream-grid,
  .validation-grid,
  .preview-stage {
    grid-template-columns: 1fr;
  }

  .receipt-history li {
    grid-template-columns: 1fr;
  }

  .preview-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .helper-panel {
    grid-template-columns: 1fr;
  }

  .docs-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    top: 10px;
    left: 10px;
    right: 10px;
    width: auto;
    max-width: none;
    padding-left: 14px;
    transform: none;
    overflow: hidden;
  }

  .brand {
    min-height: 40px;
  }

  .brand img {
    width: 124px;
    max-height: 32px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 780px;
    padding: 118px 18px 46px;
  }

  .hero-inner,
  .hero-copy {
    width: 100%;
    max-width: calc(100vw - 36px);
    overflow-wrap: anywhere;
  }

  .hero-copy {
    max-width: 32ch;
    font-size: 0.98rem;
  }

  h1 {
    max-width: min(7.7ch, calc(100vw - 36px));
    font-size: clamp(2.75rem, 13.3vw, 3.85rem);
    line-height: 0.92;
    letter-spacing: -0.036em;
  }

  h2 {
    font-size: clamp(2.7rem, 12vw, 4.7rem);
  }

  .hero-actions {
    display: grid;
    width: 100%;
    max-width: calc(100vw - 36px);
  }

  .button {
    width: 100%;
  }

  .proof {
    padding: 42px 18px;
  }

  .proof-grid {
    display: grid;
  }

  .proof-grid div {
    border-left: 0;
    border-top: 1px solid rgba(13, 14, 12, 0.2);
    padding: 18px 0 0;
    min-height: auto;
  }

  .features,
  .architecture,
  .modes,
  .testimonials,
  .checklist,
  .txline,
  .preview,
  .final-cta {
    padding-left: 18px;
    padding-right: 18px;
  }

  .feature-masonry {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card.tall,
  .feature-card.wide {
    grid-column: auto;
    min-height: 260px;
  }

  .architecture-visual {
    min-height: auto;
  }

  .layer,
  .layer + .layer {
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  .mode-slices {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .mode-slices article {
    min-height: 260px;
  }

  .status-row {
    display: grid;
  }

  .preview-main {
    min-height: 250px;
  }

  .preview-rail {
    gap: 8px;
  }

  .preview-rail img {
    border-radius: 18px;
  }

  .final-cta {
    min-height: 620px;
  }

  .site-footer {
    display: grid;
    justify-content: stretch;
  }

  .helper-hero {
    min-height: 560px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .helper-panel {
    padding-left: 18px;
    padding-right: 18px;
  }
}

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