@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/fonts/inter-400.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/fonts/inter-500.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./assets/fonts/inter-600.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./assets/fonts/inter-700.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("./assets/fonts/inter-800.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("./assets/fonts/inter-900.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --bg: #f3f1ec;
  --cream: #f7f5ef;
  --warm: #e6d1bc;
  --dark: #03080a;
  --graphite: rgba(32, 31, 32, 0.86);
  --graphite-soft: rgba(124, 118, 120, 0.72);
  --text: #f8f7f2;
  --ink: #052b28;
  --ink-soft: rgba(5, 43, 40, 0.7);
  --muted: #77706a;
  --quiet: #b9b4ad;
  --line: #d7d1c7;
  --line-soft: #e5e0d6;
  --line-strong: #aaa39b;
  --lime: #9cff00;
  --lime-deep: #7ad400;
  --steel: #8fa4b0;
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-pad: clamp(96px, 13vw, 200px);
}

* {
  box-sizing: border-box;
}

*::selection {
  color: #071007;
  background: var(--lime);
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11", "cv02";
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

p {
  margin: 0 0 1em;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 880;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

/* ---------- Grain & progress ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 2px;
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--lime), var(--lime-deep));
  box-shadow: 0 0 18px rgba(156, 255, 0, 0.5);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 22px;
  z-index: 40;
  display: flex;
  justify-content: center;
  align-items: center;
  width: max-content;
  margin: 22px auto 0;
  padding: 6px 14px 6px 8px;
  border: 1px solid rgba(5, 43, 40, 0.08);
  border-radius: 999px;
  background: rgba(247, 245, 239, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 1px 0 rgba(5, 43, 40, 0.03),
    0 14px 40px -22px rgba(5, 30, 28, 0.22);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 245, 239, 0.85);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 0 rgba(5, 43, 40, 0.06),
    0 18px 50px -22px rgba(5, 30, 28, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 6px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  transition: color 200ms ease, background 200ms ease;
}

.brand:hover {
  color: var(--ink);
  background: rgba(5, 43, 40, 0.05);
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background:
    conic-gradient(from 220deg at 60% 40%, #052b28, #0a4a44 35%, #052b28 70%, #031816);
  box-shadow:
    inset 0 0 0 1px rgba(5, 43, 40, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 1px 6px rgba(5, 43, 40, 0.18);
}

.brand-mark::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(156, 255, 0, 0.7);
  content: "";
}

.nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.nav a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: color 180ms ease, background 180ms ease;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(5, 43, 40, 0.06);
}

.header-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(5, 43, 40, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(156, 255, 0, 0.6);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(156, 255, 0, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(156, 255, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(156, 255, 0, 0); }
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.contact-link:hover {
  background: var(--lime);
  color: #071007;
  border-color: var(--lime);
}

.contact-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(247, 245, 239, 0.16);
  font-size: 13px;
  transition: background 220ms ease, transform 260ms ease;
}

.contact-link:hover .contact-arrow {
  background: rgba(7, 16, 7, 0.16);
  transform: translateX(2px);
}

/* ---------- Section frame & chapter rails ---------- */
section {
  position: relative;
}

.hero,
.mission-lines,
.definition,
.principles,
.group,
.ledger,
.closing,
.signup,
.site-footer {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

.integration-stage,
.marquee {
  width: 100%;
}

[data-chapter] {
  padding-block: var(--section-pad);
}

[data-chapter]::before {
  display: none;
  content: "";
}

.integration-stage[data-chapter]::before {
  color: rgba(247, 245, 239, 0.55);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 32px;
  align-items: end;
  width: 100%;
  min-height: 100svh;
  padding: clamp(48px, 7vh, 84px) max(var(--gutter), calc((100vw - var(--max)) / 2)) 48px;
  color: var(--text);
  background:
    radial-gradient(120% 60% at 80% 0%, rgba(255, 220, 180, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(243, 241, 236, 0.0) 0%, rgba(243, 241, 236, 0) 30%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.78) 100%),
    url("./assets/hero-warm.png") center / cover no-repeat;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 30%);
}

.hero-rail {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  align-self: end;
  padding-bottom: 4px;
  color: rgba(248, 247, 242, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-variant-numeric: tabular-nums;
}

.hero-rail-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, rgba(248, 247, 242, 0.7), rgba(248, 247, 242, 0.0));
  writing-mode: horizontal-tb;
}

.hero-meta {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, auto));
  gap: 0;
  padding: 14px 4px 0;
  border-top: 1px solid rgba(248, 247, 242, 0.32);
  color: rgba(248, 247, 242, 0.78);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}

.hero-meta div {
  display: grid;
  gap: 6px;
  padding: 0 18px;
  border-left: 1px solid rgba(248, 247, 242, 0.18);
}

.hero-meta div:first-child {
  border-left: 0;
  padding-left: 0;
}

.hero-meta span {
  color: rgba(248, 247, 242, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-meta strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.hero-copy {
  grid-column: 2 / -1;
  grid-row: 1;
  align-self: center;
  max-width: 1100px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: rgba(248, 247, 242, 0.86);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(156, 255, 0, 0.5);
}

.eyebrow-light {
  color: rgba(248, 247, 242, 0.86);
}

.eyebrow-center {
  margin-inline: auto;
}

h1 {
  margin: 0 0 32px;
  font-size: clamp(54px, 9vw, 138px);
  font-weight: 870;
  line-height: 0.9;
  letter-spacing: -0.035em;
}

h1 span {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  animation: lift 1100ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

h1 span:nth-child(1) { animation-delay: 80ms; }
h1 span:nth-child(2) { animation-delay: 200ms; }
h1 span:nth-child(3) { animation-delay: 320ms; }

h1 .accent {
  color: var(--lime);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

@keyframes lift {
  to { opacity: 1; transform: translateY(0); }
}

.hero-lede {
  max-width: 880px;
  margin: 0;
  color: rgba(248, 247, 242, 0.92);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.012em;
  opacity: 0;
  transform: translateY(18px);
  animation: lift 1100ms cubic-bezier(0.2, 0.7, 0.2, 1) 460ms forwards;
}

.hero-scroll {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  color: rgba(248, 247, 242, 0.78);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, rgba(248, 247, 242, 0.7), transparent);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  position: absolute;
  inset: 0;
  width: 30%;
  background: var(--lime);
  content: "";
  animation: rail 2.4s ease-in-out infinite;
}

@keyframes rail {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(330%); }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  padding: 28px 0;
  border-block: 1px solid var(--line);
  background: var(--cream);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  animation: marquee 40s linear infinite;
}

.marquee-track span[aria-hidden="true"] {
  color: var(--lime-deep);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Mission lines ---------- */
.mission-lines {
  display: grid;
  gap: 14px;
  padding-inline: 0;
}

.mission-lines p {
  max-width: 1080px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 6vw, 92px);
  font-weight: 870;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.mission-lines p:nth-child(2) {
  color: rgba(5, 43, 40, 0.55);
}

.mission-lines p:nth-child(3) {
  color: var(--ink);
}

.mission-lines p:nth-child(3)::after {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 14px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 22px rgba(156, 255, 0, 0.6);
  vertical-align: 0.05em;
  content: "";
}

/* ---------- Definition ---------- */
.definition {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.definition .stage-copy {
  position: sticky;
  top: 130px;
}

.stage-copy h2 {
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 0.95;
}

.stage-sub {
  max-width: 380px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}

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

.system-list li {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 28px;
  padding: 28px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 320ms ease, padding 320ms ease;
}

.system-list li::after {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 18px;
  height: 1px;
  background: var(--ink);
  opacity: 0;
  transform: translateY(-50%) translateX(-12px);
  transition: opacity 320ms ease, transform 320ms ease;
  content: "";
}

.system-list li:hover {
  padding-left: 14px;
  background: linear-gradient(90deg, rgba(156, 255, 0, 0.1), transparent 70%);
}

.system-list li:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.system-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}

.system-list p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.012em;
}

/* ---------- Principles ---------- */
.principles-head {
  display: block;
  margin-bottom: clamp(56px, 8vw, 110px);
}

.principles-head h2 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(40px, 5.4vw, 80px);
  line-height: 0.96;
}

.principles-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.principle {
  position: relative;
  display: grid;
  grid-template-columns: clamp(120px, 14vw, 200px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
  transition: padding 320ms ease;
}

.principle:last-child {
  border-bottom: 1px solid var(--line);
}

.principle::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--lime);
  transition: width 480ms cubic-bezier(0.2, 0.7, 0.2, 1);
  content: "";
}

.principle:hover::before {
  width: 100%;
}

.principle:hover {
  padding-left: 14px;
}

.principle-num {
  display: block;
  color: var(--ink);
  font-size: clamp(64px, 9vw, 132px);
  font-weight: 880;
  line-height: 0.85;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  -webkit-text-stroke: 1px var(--ink);
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition: -webkit-text-fill-color 320ms ease, color 320ms ease;
}

.principle:hover .principle-num {
  -webkit-text-fill-color: var(--ink);
  color: var(--ink);
}

.principle-body {
  max-width: 720px;
}

.principle-kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.principle-body h3 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.principle-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(15.5px, 1.2vw, 18px);
  line-height: 1.6;
}

/* ---------- Headline accent (group, etc.) ---------- */
.head-accent {
  color: var(--ink-soft);
  font-style: italic;
  font-weight: 800;
}

.group-head h2 .head-accent {
  position: relative;
  display: inline-block;
}

.group-head h2 .head-accent::after {
  position: absolute;
  bottom: 0.06em;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--lime);
  opacity: 0.55;
  z-index: -1;
  content: "";
}

/* ---------- Group ---------- */
.group {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.group-head {
  position: sticky;
  top: 130px;
}

.group-head h2 {
  font-size: clamp(40px, 5.4vw, 80px);
  line-height: 0.96;
}

.group-links {
  display: grid;
  gap: 8px;
}

.group-links a {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 78px;
  padding: 0 24px 0 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(247, 245, 239, 0.55);
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease, padding 220ms ease;
  overflow: hidden;
}

.group-links a::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--lime);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 280ms ease;
  content: "";
}

.group-links a:hover {
  border-color: rgba(5, 43, 40, 0.18);
  background: rgba(247, 245, 239, 0.95);
  transform: translateX(4px);
  padding-left: 28px;
}

.group-links a:hover::before {
  transform: scaleY(1);
}

.group-num {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}

.group-name {
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 750;
  letter-spacing: -0.018em;
}

/* ---------- Integration stage ---------- */
.integration-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(480px, 1fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
  padding: var(--section-pad) max(var(--gutter), calc((100vw - var(--max)) / 2));
  color: var(--text);
  background:
    linear-gradient(110deg, rgba(3, 8, 10, 0.92), rgba(3, 8, 10, 0.55) 55%, rgba(3, 8, 10, 0.95)),
    linear-gradient(180deg, rgba(3, 8, 10, 0.05), rgba(3, 8, 10, 0.96)),
    url("./assets/integration-dark.png") center / cover no-repeat;
  overflow: hidden;
  isolation: isolate;
}

.integration-spotlight {
  position: absolute;
  inset: -10%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(380px 380px at var(--mx, 30%) var(--my, 35%), rgba(156, 255, 0, 0.12), transparent 65%);
  transition: background 200ms ease;
}

.integration-sticky {
  position: sticky;
  top: 130px;
}

.integration-sticky h2 {
  font-size: clamp(40px, 5.4vw, 80px);
  line-height: 0.96;
}

.integration-sub {
  max-width: 360px;
  margin: 24px 0 0;
  color: rgba(248, 247, 242, 0.7);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}

.integration-flow {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.integration-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(160px, 0.5fr) minmax(0, 1fr);
  align-items: baseline;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(22px, 2.6vw, 32px) 4px;
  border-top: 1px solid rgba(248, 247, 242, 0.08);
  transition: padding 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.integration-flow li:last-child {
  border-bottom: 1px solid rgba(248, 247, 242, 0.08);
}

.integration-flow li::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--lime), transparent 90%);
  transition: width 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
  content: "";
}

.integration-flow li:hover::before {
  width: 100%;
}

.integration-flow li:hover {
  padding-left: 14px;
}

.flow-num {
  display: block;
  color: rgba(248, 247, 242, 0.34);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  font-variant-numeric: tabular-nums;
  transition: color 320ms ease;
}

.integration-flow li:hover .flow-num {
  color: var(--lime);
}

.flow-word {
  display: block;
  margin: 0;
  color: rgba(248, 247, 242, 0.96);
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  font-variation-settings: "opsz" 32;
  transition: color 320ms ease, transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.integration-flow li:hover .flow-word {
  color: var(--cream);
  transform: translateX(2px);
}

.flow-desc {
  margin: 0;
  max-width: 520px;
  color: rgba(248, 247, 242, 0.5);
  font-size: clamp(13.5px, 1vw, 15px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.005em;
  transition: color 320ms ease;
}

.integration-flow li:hover .flow-desc {
  color: rgba(248, 247, 242, 0.78);
}

/* ---------- Ledger ---------- */
.ledger-head {
  margin-bottom: clamp(40px, 6vw, 80px);
}

.ledger-head h2 {
  max-width: 920px;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.98;
}

.ledger-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}

.ledger-grid > div {
  position: relative;
  padding: 32px 24px 32px 0;
}

.ledger-grid > div + div {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.ledger-grid dt {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ledger-grid dd {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
}

.ledger-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- Closing ---------- */
.closing {
  max-width: 1080px;
  text-align: center;
}

.closing .eyebrow {
  margin-inline: auto;
  margin-bottom: 32px;
}

.closing h2 {
  font-size: clamp(46px, 6.6vw, 110px);
  line-height: 0.94;
  letter-spacing: -0.035em;
}

.closing-accent {
  color: var(--ink-soft);
  display: block;
  font-style: italic;
  font-weight: 800;
}

.closing-lede {
  max-width: 720px;
  margin: 36px auto 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.5;
}

/* ---------- Signup (the high-ticket list) ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.signup {
  position: relative;
  border-top: 1px solid var(--line);
}

.signup-inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(156, 255, 0, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(247, 245, 239, 0.4));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 30px 80px -40px rgba(5, 30, 28, 0.32);
  text-align: center;
  overflow: hidden;
}

.signup-inner::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 220px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  transform: translateX(-50%);
  content: "";
}

.signup-inner > .eyebrow {
  margin-bottom: 26px;
}

.signup-inner h2 {
  margin: 0 0 22px;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 870;
}

.signup-inner h2 br + * {
  display: inline;
}

.signup-lede {
  max-width: 540px;
  margin: 0 auto 42px;
  color: var(--ink-soft);
  font-size: clamp(15.5px, 1.3vw, 18px);
  font-weight: 500;
  line-height: 1.55;
}

.signup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
  padding: 8px;
  border: 1px solid rgba(5, 43, 40, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 0 rgba(5, 43, 40, 0.04);
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.signup-form:focus-within {
  border-color: var(--ink);
  background: var(--cream);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 4px rgba(156, 255, 0, 0.22);
}

.signup-field {
  display: block;
  min-width: 0;
}

.signup-field input {
  width: 100%;
  height: 52px;
  padding: 0 22px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  letter-spacing: -0.005em;
  outline: none;
}

.signup-field input::placeholder {
  color: rgba(5, 43, 40, 0.4);
}

.signup-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 8px 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.signup-btn:hover {
  background: var(--lime);
  color: #071007;
}

.submit-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(247, 245, 239, 0.14);
  font-size: 14px;
  transition: background 220ms ease, transform 260ms ease;
}

.signup-btn:hover .submit-arrow {
  background: rgba(7, 16, 7, 0.16);
  transform: translateX(2px);
}

.signup-meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 26px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.signup-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.meta-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--quiet);
}

.signup-meta li:first-child .meta-dot {
  background: var(--lime);
  box-shadow: 0 0 8px rgba(156, 255, 0, 0.6);
}

/* ---------- Footer ---------- */
.site-footer {
  display: grid;
  gap: 56px;
  padding: clamp(60px, 8vw, 100px) 0 32px;
  margin-top: clamp(60px, 8vw, 100px);
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.footer-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-brand .brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.footer-brand .brand-mark::after {
  top: 6px;
  left: 6px;
  width: 8px;
  height: 8px;
}

.footer-statement {
  max-width: 540px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.012em;
}

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

.footer-cols > div {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-cols a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  transition: color 180ms ease;
}

.footer-cols a:hover {
  color: var(--lime-deep);
}

.footer-meta {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

.footer-bottom p {
  margin: 0;
}

/* ---------- Reveal ---------- */
.js-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 800ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal,
  .group-links a,
  .system-list li,
  .integration-flow li,
  h1 span,
  .hero-lede,
  .marquee-track,
  .hero-scroll-line::after,
  .status-dot {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .principle {
    grid-template-columns: clamp(80px, 16vw, 140px) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 40px);
  }
  .ledger-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ledger-grid > div + div {
    padding-left: 24px;
  }
  .ledger-grid > div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
  }
  .ledger-grid > div:nth-child(3),
  .ledger-grid > div:nth-child(4) {
    margin-top: 0;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    min-height: 100svh;
    padding-top: clamp(42px, 7vh, 72px);
    padding-bottom: clamp(42px, 7vh, 72px);
    gap: 24px;
  }
  .hero-rail { display: none; }
  .hero-copy { grid-column: 1; grid-row: 1; }
  .hero-scroll { grid-column: 1; justify-self: start; }

  .definition,
  .group,
  .integration-stage {
    grid-template-columns: 1fr;
  }
  .definition .stage-copy,
  .integration-sticky,
  .group-head {
    position: static;
  }

  .integration-flow li {
    grid-template-columns: 44px minmax(140px, auto) minmax(0, 1fr);
    gap: 18px;
  }

  .ledger-grid {
    grid-template-columns: 1fr;
  }
  .ledger-grid > div + div {
    padding-left: 0;
    padding-top: 24px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  [data-chapter]::before {
    left: var(--gutter);
    top: clamp(40px, 8vw, 80px);
  }
}

@media (max-width: 600px) {
  :root { --gutter: 18px; }
  .brand-name { display: none; }
  .system-list li { grid-template-columns: 48px 1fr; gap: 16px; padding: 22px 4px; }
  .integration-flow li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 4px;
  }
  .integration-flow li:hover { padding-left: 4px; }
  .flow-desc { max-width: 100%; }
  .principle { grid-template-columns: 1fr; }
  .principle-num { font-size: clamp(56px, 16vw, 96px); }
  .signup-form { grid-template-columns: 1fr; border-radius: 18px; }
  .signup-btn { justify-content: center; padding: 0 22px; }
  .signup-meta { gap: 10px 18px; }
  h1 { letter-spacing: -0.04em; }
  .closing h2, .mission-lines p {
    letter-spacing: -0.035em;
  }
}
