:root {
  --paper: #f6f4ee;
  --paper-strong: #fffdf6;
  --ink: #0d1216;
  --ink-soft: #2e3837;
  --line: rgba(13, 18, 22, 0.16);
  --line-strong: rgba(13, 18, 22, 0.32);
  --green: #35ff9b;
  --cyan: #3dceff;
  --violet: #be4aff;
  --red: #ff5b6d;
  --amber: #deb858;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(13, 18, 22, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(13, 18, 22, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(246, 244, 238, 0.88)),
    repeating-linear-gradient(135deg, rgba(13, 18, 22, 0.028) 0 1px, transparent 1px 16px);
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-150%);
}

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

.page-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  background: rgba(246, 244, 238, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 190px;
  text-decoration: none;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.nav a {
  padding: 8px 10px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  border: 1px solid transparent;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
  border-color: var(--line-strong);
  outline: none;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(44px, 7vw, 88px) 0 clamp(30px, 5vw, 58px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-size: clamp(4.3rem, 12vw, 10.4rem);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.6vw, 4.4rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-dek {
  max-width: 680px;
  margin-bottom: 26px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  border: 1px solid var(--ink);
  border-radius: 6px;
}

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

.button-secondary {
  background: var(--green);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: 3px solid rgba(61, 206, 255, 0.46);
  outline-offset: 2px;
}

.source-note {
  max-width: 620px;
  margin-bottom: 0;
  color: #505c58;
  font-size: 0.95rem;
}

.source-note a {
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.hero-visual {
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 14px 14px 0 var(--ink);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: auto;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--ink);
  background: var(--paper-strong);
}

.signal-strip div {
  min-height: 126px;
  padding: 22px;
  border-right: 1px solid var(--line-strong);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip span {
  display: block;
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-strip strong {
  display: block;
  max-width: 24ch;
  font-size: 1.15rem;
  line-height: 1.15;
}

.overview,
.nodes,
.proof,
.faq {
  padding: clamp(62px, 8vw, 104px) 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(280px, 0.45fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -16px;
}

.section-heading p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-heading.compact {
  display: block;
  max-width: 840px;
}

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

.feature-card,
.node-card,
details,
.proof-panel {
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.84);
}

.feature-card {
  min-height: 310px;
  padding: 24px;
}

.feature-card:nth-child(2) {
  background: rgba(53, 255, 155, 0.14);
}

.feature-card:nth-child(3) {
  background: rgba(61, 206, 255, 0.14);
}

.card-index {
  display: inline-block;
  margin-bottom: 78px;
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--ink);
  border-bottom: 5px solid var(--red);
}

.feature-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.node-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.node-card {
  min-height: 168px;
  padding: 18px;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.node-card span {
  display: block;
  margin-bottom: 54px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.node-card strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.17;
}

.node-card:hover,
.node-card:focus-visible {
  background: var(--green);
  box-shadow: 6px 6px 0 var(--ink);
  outline: none;
  transform: translate(-2px, -2px);
}

.proof-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(280px, 0.35fr);
  gap: 40px;
  padding: clamp(28px, 5vw, 54px);
  color: var(--paper);
  background: var(--ink);
}

.proof-panel .eyebrow,
.proof-panel p {
  color: rgba(246, 244, 238, 0.76);
}

.proof-panel h2 {
  margin-bottom: 0;
}

.proof-panel p:last-child {
  align-self: end;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 0;
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 22px 24px;
  font-size: 1.08rem;
  font-weight: 900;
  list-style-position: inside;
}

details p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--ink-soft);
}

.footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  width: min(var(--max), calc(100% - 32px));
  margin: clamp(62px, 9vw, 110px) auto 0;
  padding: 28px 0 34px;
  border-top: 1px solid var(--ink);
}

.footer div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.footer p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 800;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  outline: none;
}

.is-scrolled {
  box-shadow: 0 10px 28px rgba(13, 18, 22, 0.08);
}

@media (max-width: 920px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero,
  .section-heading,
  .proof-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-visual {
    box-shadow: 8px 8px 0 var(--ink);
  }

  .signal-strip,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .signal-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .signal-strip div:last-child {
    border-bottom: 0;
  }

  .node-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .section,
  .topbar,
  .footer {
    width: min(100% - 24px, var(--max));
  }

  .brand img {
    width: 178px;
  }

  .nav {
    gap: 4px;
  }

  .nav a {
    padding: 7px 6px;
    font-size: 0.76rem;
  }

  h1 {
    font-size: clamp(4rem, 25vw, 6.8rem);
  }

  h2 {
    font-size: clamp(2rem, 14vw, 3.4rem);
  }

  .button {
    width: 100%;
  }

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

  .feature-card,
  .node-card {
    min-height: auto;
  }

  .card-index,
  .node-card span {
    margin-bottom: 34px;
  }

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