:root {
  color-scheme: dark;
  --bg: #080807;
  --bg-soft: #0d0d0b;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-raised: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.065);
  --text: #f2f0e9;
  --muted: #96958f;
  --faint: #65645f;
  --warm: #d6b991;
  --warm-bright: #f0d2a6;
  --green: #87caa0;
  --shell: 1200px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(214, 185, 145, 0.28);
  color: #fff;
}

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

svg {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
}

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

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.ambient {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 980px;
  overflow: hidden;
  pointer-events: none;
}

.ambient::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, var(--bg) 94%);
  content: "";
}

.ambient__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.75;
}

.ambient__glow--one {
  top: -440px;
  left: 50%;
  width: 920px;
  height: 730px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(177, 142, 100, 0.2), rgba(87, 73, 55, 0.045) 55%, transparent 72%);
}

.ambient__glow--two {
  top: 390px;
  left: 67%;
  width: 560px;
  height: 400px;
  background: radial-gradient(circle, rgba(112, 102, 178, 0.08), transparent 68%);
}

.ambient__grid {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 1300px);
  height: 760px;
  transform: translateX(-50%);
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background 300ms ease, border-color 300ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line-soft);
  background: rgba(8, 8, 7, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
}

.header-inner {
  display: flex;
  height: 76px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f6f4ee;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--warm-bright);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.brand-dot {
  color: #8a8983;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  position: relative;
  color: var(--muted);
  font-size: 13px;
  transition: color 200ms ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  background: var(--warm);
  content: "";
  transition: transform 250ms var(--ease);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: #d9d7d0;
  font-size: 12px;
  font-weight: 600;
  transition: border-color 200ms ease, background 200ms ease;
}

.header-cta:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.header-cta svg {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100svh;
  padding-top: 184px;
  padding-bottom: 54px;
  flex-direction: column;
  align-items: center;
}

.hero-copy {
  width: min(100%, 950px);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #aaa8a0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-pulse {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warm);
  box-shadow: 0 0 0 4px rgba(214, 185, 145, 0.08);
}

.eyebrow-pulse::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(214, 185, 145, 0.22);
  border-radius: inherit;
  animation: ping 2.6s ease-out infinite;
  content: "";
}

.hero h1 {
  max-width: 940px;
  margin: 28px auto 0;
  color: #f1efe8;
  font-size: clamp(58px, 7.2vw, 100px);
  font-weight: 520;
  letter-spacing: -0.072em;
  line-height: 0.96;
}

.hero h1 span {
  display: block;
  background: linear-gradient(100deg, #a8a49b 10%, #f2d3a6 58%, #9a9082 100%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
}

.hero-subtitle {
  max-width: 760px;
  margin: 30px auto 0;
  color: #9f9d96;
  font-size: clamp(16px, 1.55vw, 19px);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  margin-top: 32px;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 19px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
  transition: transform 220ms var(--ease), box-shadow 220ms ease, background 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.button--primary {
  border-color: rgba(255, 255, 255, 0.18);
  background: #ece9e1;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.6);
  color: #151411;
}

.button--primary:hover {
  background: #fffdf7;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 28px rgba(214, 185, 145, 0.1);
}

.hero-note {
  color: var(--faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.hero-proof {
  display: grid;
  width: min(100%, 910px);
  margin-top: 68px;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
}

.proof-card {
  position: relative;
  min-height: 154px;
  padding: 18px 20px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(15, 15, 13, 0.68);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.02), 0 22px 50px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(10px);
}

.proof-card--old {
  opacity: 0.7;
}

.proof-card--new {
  border-color: rgba(214, 185, 145, 0.18);
  background: linear-gradient(145deg, rgba(214, 185, 145, 0.075), rgba(255, 255, 255, 0.025));
}

.proof-card--new::before {
  position: absolute;
  top: -90px;
  left: 35%;
  width: 220px;
  height: 140px;
  border-radius: 50%;
  background: rgba(214, 185, 145, 0.12);
  filter: blur(46px);
  content: "";
}

.proof-card__top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #bab8b1;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.proof-label {
  padding: 4px 7px;
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  color: var(--faint);
  letter-spacing: 0.02em;
}

.proof-label--accent {
  border-color: rgba(214, 185, 145, 0.15);
  background: rgba(214, 185, 145, 0.055);
  color: var(--warm);
}

.token-stream,
.tool-stream {
  position: relative;
  display: flex;
  height: 56px;
  align-items: center;
  justify-content: center;
}

.token-stream {
  gap: 6px;
}

.token {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 12px;
}

.token:nth-child(2),
.token:nth-child(4) {
  transform: translateY(-4px);
}

.stream-arrow {
  margin: 0 4px;
  color: var(--faint);
  font-size: 12px;
}

.result-node {
  display: grid;
  height: 28px;
  padding: 0 9px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

.proof-card p {
  position: relative;
  margin: 4px 0 0;
  color: #6f6e69;
  font-size: 12px;
  text-align: center;
}

.proof-card--new p {
  color: #8f8b83;
}

.proof-divider {
  display: flex;
  align-items: center;
}

.proof-divider span {
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, var(--line-soft), rgba(214, 185, 145, 0.18));
}

.proof-divider span:last-child {
  background: linear-gradient(90deg, rgba(214, 185, 145, 0.18), var(--line-soft));
}

.proof-divider svg {
  width: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: var(--warm);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.1;
}

.tool-stream {
  gap: 10px;
}

.tool-stream > svg {
  width: 42px;
  fill: none;
  stroke: rgba(214, 185, 145, 0.35);
  stroke-dasharray: 3 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1;
}

.llm-node,
.tool-node,
.infinity-node {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(214, 185, 145, 0.17);
  border-radius: 8px;
  background: rgba(214, 185, 145, 0.045);
  color: var(--warm);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

.tool-node {
  gap: 3px;
}

.tool-node span {
  width: 16px;
  height: 1px;
  background: var(--warm);
  opacity: 0.7;
}

.tool-node span:nth-child(2) {
  width: 11px;
  margin-right: 5px;
}

.infinity-node {
  border-color: rgba(135, 202, 160, 0.2);
  background: rgba(135, 202, 160, 0.045);
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 20px;
}

.scroll-cue {
  display: flex;
  margin-top: auto;
  padding-top: 46px;
  align-items: center;
  gap: 9px;
  color: #51504c;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-cue span {
  position: relative;
  width: 1px;
  height: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.scroll-cue span::after {
  position: absolute;
  top: -100%;
  left: 0;
  width: 1px;
  height: 60%;
  background: var(--warm);
  animation: scroll-line 2.4s ease-in-out infinite;
  content: "";
}

.section {
  position: relative;
  padding-top: 160px;
  padding-bottom: 160px;
}

.section-kicker {
  margin-bottom: 40px;
  color: #74726c;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.statement {
  border-top: 1px solid var(--line-soft);
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  gap: 10%;
  align-items: end;
}

.statement h2,
.section-heading h2,
.closing-card h2 {
  margin: 0;
  color: #e8e5de;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.04;
}

.gradient-text {
  background: linear-gradient(90deg, #f0d3a8, #a8957e);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
}

.statement-copy {
  padding-bottom: 5px;
}

.statement-copy p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.statement-copy p:last-child {
  margin-bottom: 0;
}

.shift-grid {
  display: grid;
  margin-top: 100px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  grid-template-columns: repeat(3, 1fr);
}

.shift-card {
  position: relative;
  min-height: 330px;
  padding: 30px;
  overflow: hidden;
  border-right: 1px solid var(--line-soft);
  transition: background 300ms ease;
}

.shift-card:last-child {
  border-right: 0;
}

.shift-card:hover {
  background: rgba(255, 255, 255, 0.018);
}

.shift-number {
  color: #565550;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

.shift-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-top: 62px;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.shift-icon svg {
  width: 23px;
  fill: none;
  stroke: #b8aa97;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.shift-card h3 {
  margin: 27px 0 8px;
  color: #d9d7d0;
  font-size: 17px;
  font-weight: 550;
  letter-spacing: -0.025em;
}

.shift-card p {
  max-width: 260px;
  margin: 0;
  color: #77766f;
  font-size: 13px;
  line-height: 1.65;
}

.architecture {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: #090908;
}

.section-heading {
  display: flex;
  margin-bottom: 70px;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
}

.section-heading .section-kicker {
  margin-bottom: 32px;
}

.section-heading h2 {
  max-width: 720px;
}

.section-heading > p {
  width: 340px;
  margin: 0 0 5px;
  flex: 0 0 340px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.architecture-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.03);
}

.frame-header {
  display: grid;
  height: 49px;
  padding: 0 18px;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  color: #5f5e58;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  grid-template-columns: 1fr 1fr 1fr;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.frame-header > span:first-of-type {
  text-align: center;
}

.frame-lights {
  display: flex;
  gap: 6px;
}

.frame-lights span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #33332f;
}

.frame-lights span:first-child {
  background: rgba(214, 185, 145, 0.42);
}

.frame-status {
  display: inline-flex;
  margin-left: auto;
  align-items: center;
  gap: 6px;
  color: #6f756d;
}

.frame-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(135, 202, 160, 0.35);
}

.pipeline {
  display: grid;
  min-height: 410px;
  padding: 54px 38px 46px;
  grid-template-columns: 1fr 66px 1fr 66px 1fr;
  align-items: center;
}

.pipeline-stage {
  min-width: 0;
  text-align: center;
}

.stage-tag {
  display: inline-block;
  padding: 5px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  color: #77756f;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-tag--warm {
  border-color: rgba(214, 185, 145, 0.13);
  background: rgba(214, 185, 145, 0.04);
  color: var(--warm);
}

.stage-tag--green {
  border-color: rgba(135, 202, 160, 0.14);
  background: rgba(135, 202, 160, 0.04);
  color: var(--green);
}

.stage-visual {
  display: grid;
  width: 104px;
  height: 104px;
  margin: 30px auto 28px;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 32%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
}

.stage-visual--intent {
  align-content: center;
  gap: 7px;
}

.stage-visual--intent span {
  width: 45px;
  height: 2px;
  border-radius: 2px;
  background: #6e6d67;
}

.stage-visual--intent span:nth-child(2) {
  width: 31px;
  margin-right: 14px;
}

.stage-visual--intent span:nth-child(3) {
  width: 38px;
  margin-right: 7px;
}

.stage-visual--build {
  position: relative;
  border-color: rgba(214, 185, 145, 0.2);
  background: radial-gradient(circle, rgba(214, 185, 145, 0.1), rgba(214, 185, 145, 0.015) 68%);
  box-shadow: 0 0 45px rgba(214, 185, 145, 0.055);
  color: var(--warm-bright);
}

.stage-visual--build strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 500;
}

.build-orbit {
  position: absolute;
  inset: -7px;
  border: 1px dashed rgba(214, 185, 145, 0.17);
  border-radius: 50%;
  animation: orbit 24s linear infinite;
}

.build-orbit::after {
  position: absolute;
  top: 12px;
  right: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--warm);
  box-shadow: 0 0 10px rgba(214, 185, 145, 0.6);
  content: "";
}

.stage-visual--runtime {
  border-color: rgba(135, 202, 160, 0.16);
  background: radial-gradient(circle, rgba(135, 202, 160, 0.065), rgba(135, 202, 160, 0.01) 70%);
}

.stage-visual--runtime svg {
  width: 48px;
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1;
}

.pipeline-stage h3 {
  margin: 0 0 10px;
  color: #cfcdc6;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.02em;
}

.pipeline-stage p {
  max-width: 230px;
  margin: 0 auto;
  color: #6f6e68;
  font-size: 12px;
  line-height: 1.6;
}

.pipeline-connector {
  position: relative;
  display: flex;
  align-items: center;
}

.connector-line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.pipeline-connector svg {
  position: absolute;
  right: -1px;
  width: 12px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1;
}

.connector-pulse {
  position: absolute;
  z-index: 1;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--warm);
  box-shadow: 0 0 10px rgba(214, 185, 145, 0.6);
  animation: move-pulse 3.2s ease-in-out infinite;
}

.connector-pulse--delay {
  animation-delay: 1.6s;
  background: var(--green);
  box-shadow: 0 0 10px rgba(135, 202, 160, 0.6);
}

.runtime-bar {
  display: grid;
  min-height: 61px;
  padding: 0 24px;
  align-items: center;
  border-top: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.15);
  color: #74736d;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  grid-template-columns: auto 1fr auto auto auto;
  gap: 22px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.runtime-bar strong {
  color: var(--green);
  font-size: 10px;
  font-weight: 500;
}

.runtime-track {
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.runtime-track__fill {
  display: block;
  width: 54%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--green));
  animation: runtime-fill 4s var(--ease) infinite;
}

.economics {
  display: flex;
  min-height: 140px;
  padding: 40px 46px;
  align-items: center;
  justify-content: space-between;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
  border-radius: 0 0 14px 14px;
}

.economics-label {
  color: #686761;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.economics p {
  display: flex;
  margin: 0;
  align-items: center;
  gap: 25px;
  color: #b6b3ab;
  font-size: 16px;
  letter-spacing: -0.025em;
}

.economics-equals {
  color: #55544f;
}

.economics-fraction {
  display: flex;
  width: 220px;
  flex-direction: column;
  color: var(--warm);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  text-align: center;
}

.economics-fraction span {
  padding: 5px 10px;
}

.economics-fraction span:first-child {
  border-bottom: 1px solid rgba(214, 185, 145, 0.35);
}

.section-heading--principles {
  margin-bottom: 80px;
}

.principles-list {
  border-top: 1px solid var(--line-soft);
}

.principle {
  display: grid;
  min-height: 150px;
  padding: 42px 0;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  grid-template-columns: 12% 36% 1fr;
  transition: padding 350ms var(--ease), background 350ms ease;
}

.principle:hover {
  padding-right: 20px;
  padding-left: 20px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.02), transparent);
}

.principle-index {
  color: #52514d;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
}

.principle h3 {
  margin: 0;
  color: #d3d1ca;
  font-size: clamp(20px, 2.1vw, 27px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.principle p {
  max-width: 470px;
  margin: 0;
  color: #7f7e77;
  font-size: 14px;
  line-height: 1.7;
}

.closing {
  padding-top: 30px;
  padding-bottom: 150px;
}

.closing-card {
  position: relative;
  display: flex;
  min-height: 580px;
  padding: 70px 30px;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.04), rgba(214, 185, 145, 0.025));
  text-align: center;
}

.closing-card::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle, black 10%, transparent 70%);
  content: "";
}

.closing-glow {
  position: absolute;
  top: 35%;
  left: 50%;
  width: 600px;
  height: 400px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(214, 185, 145, 0.075);
  filter: blur(90px);
}

.closing-mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 40px;
  place-items: center;
  border: 1px solid rgba(214, 185, 145, 0.22);
  border-radius: 10px;
  background: rgba(214, 185, 145, 0.045);
  color: var(--warm);
  font-family: Georgia, serif;
  font-size: 16px;
}

.closing-card p {
  position: relative;
  margin: 0 0 12px;
  color: #77756e;
  font-size: 15px;
}

.closing-card h2 {
  position: relative;
  max-width: 780px;
  font-size: clamp(42px, 5vw, 68px);
}

.closing-card .button {
  position: relative;
  margin-top: 46px;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  display: grid;
  min-height: 120px;
  align-items: center;
  color: #5e5d58;
  font-size: 11px;
  grid-template-columns: 1fr 1fr 1fr;
}

.footer-inner p {
  margin: 0;
  text-align: center;
}

.footer-inner > span {
  text-align: right;
}

.brand--footer {
  font-size: 14px;
}

.brand--footer .brand-mark {
  width: 21px;
  height: 21px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 800ms var(--ease) var(--delay, 0ms), transform 800ms var(--ease) var(--delay, 0ms);
}

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

@keyframes ping {
  0%, 45% { transform: scale(0.6); opacity: 0; }
  70% { opacity: 1; }
  100% { transform: scale(1.25); opacity: 0; }
}

@keyframes scroll-line {
  0% { transform: translateY(0); }
  60%, 100% { transform: translateY(360%); }
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@keyframes move-pulse {
  0%, 10% { left: 0; opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  90%, 100% { left: calc(100% - 5px); opacity: 0; }
}

@keyframes runtime-fill {
  0% { transform: translateX(-105%); opacity: 0; }
  15% { opacity: 1; }
  75% { opacity: 1; }
  100% { transform: translateX(190%); opacity: 0; }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 160px;
  }

  .hero h1 {
    font-size: clamp(54px, 10vw, 82px);
  }

  .statement-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .statement-copy {
    max-width: 610px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 28px;
  }

  .section-heading > p {
    width: auto;
    max-width: 520px;
    flex: auto;
  }

  .pipeline {
    padding: 46px 24px 40px;
    grid-template-columns: 1fr 32px 1fr 32px 1fr;
  }

  .stage-visual {
    width: 86px;
    height: 86px;
  }

  .runtime-bar {
    grid-template-columns: auto 1fr auto;
  }

  .runtime-bar span:nth-last-child(-n + 2) {
    display: none;
  }

  .economics {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .principle {
    grid-template-columns: 10% 40% 1fr;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .header-inner {
    height: 68px;
  }

  .header-cta {
    display: none;
  }

  .brand {
    font-size: 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 142px;
    padding-bottom: 88px;
  }

  .eyebrow {
    font-size: 9px;
  }

  .hero h1 {
    margin-top: 23px;
    font-size: clamp(46px, 14.5vw, 64px);
    letter-spacing: -0.065em;
    line-height: 0.98;
  }

  .hero-subtitle {
    margin-top: 25px;
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 28px;
    flex-direction: column;
    gap: 14px;
  }

  .hero-proof {
    margin-top: 56px;
    grid-template-columns: 1fr;
  }

  .proof-divider {
    width: 60px;
    height: 46px;
    margin: 0 auto;
    transform: rotate(90deg);
  }

  .proof-card {
    min-height: 150px;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding-top: 105px;
    padding-bottom: 105px;
  }

  .section-kicker {
    margin-bottom: 28px;
  }

  .statement h2,
  .section-heading h2,
  .closing-card h2 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .statement-grid {
    gap: 34px;
  }

  .shift-grid {
    margin-top: 70px;
    border-bottom: 0;
    grid-template-columns: 1fr;
  }

  .shift-card {
    min-height: 260px;
    padding: 26px 6px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .shift-icon {
    margin-top: 38px;
  }

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

  .architecture-frame {
    border-radius: 14px;
  }

  .frame-header {
    grid-template-columns: 1fr 1fr;
  }

  .frame-header > span:first-of-type {
    display: none;
  }

  .pipeline {
    padding: 38px 26px;
    grid-template-columns: 1fr;
  }

  .pipeline-connector {
    width: 1px;
    height: 60px;
    margin: 0 auto;
  }

  .connector-line {
    width: 1px;
    height: 100%;
  }

  .pipeline-connector svg {
    right: auto;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }

  .connector-pulse {
    top: 0;
    left: -2px;
    animation: move-pulse-mobile 3.2s ease-in-out infinite;
  }

  .stage-visual {
    margin-top: 25px;
    margin-bottom: 22px;
  }

  .runtime-bar {
    padding: 18px;
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .runtime-track,
  .runtime-bar span:nth-last-child(-n + 2) {
    display: none;
  }

  .economics {
    min-height: 200px;
    padding: 30px 24px;
  }

  .economics p {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .economics-equals {
    display: none;
  }

  .economics-fraction {
    width: 100%;
    text-align: left;
  }

  .economics-fraction span {
    padding-right: 0;
    padding-left: 0;
  }

  .principle {
    padding: 30px 0;
    grid-template-columns: 44px 1fr;
    row-gap: 12px;
  }

  .principle p {
    grid-column: 2;
  }

  .principle:hover {
    padding-right: 0;
    padding-left: 0;
  }

  .closing {
    padding-top: 5px;
    padding-bottom: 90px;
  }

  .closing-card {
    min-height: 540px;
    padding: 60px 22px;
  }

  .footer-inner {
    padding: 34px 0;
    grid-template-columns: 1fr 1fr;
    row-gap: 22px;
  }

  .footer-inner p {
    display: none;
  }
}

@keyframes move-pulse-mobile {
  0%, 10% { top: 0; opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  90%, 100% { top: calc(100% - 5px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
