:root {
  --paper: #f7f5fa;
  --paper-bright: #fffefd;
  --ink: #211829;
  --ink-soft: #34283d;
  --muted: #6d6573;
  --line: #ded9e3;
  --line-dark: rgba(52, 36, 64, 0.18);
  --acid: #38d39f;
  --acid-soft: #e6f8f1;
  --purple: #713bd2;
  --purple-soft: #eee8f8;
  --green: #22bf8b;
  --white: #ffffff;
  --sans: "Manrope", sans-serif;
  --mono: "DM Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 5%, rgba(113, 59, 210, 0.07), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(34, 191, 139, 0.07), transparent 24%),
    linear-gradient(180deg, #faf8fc 0%, var(--paper) 52%, #f8f7f4 100%);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.11'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  top: 16px;
}

.section-frame,
.site-header {
  width: min(1380px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
}

.wordmark {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.08em;
  text-decoration: none;
}

.brand-symbol {
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.brand-symbol img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand-name {
  color: var(--ink);
}

.brand-name > span {
  color: var(--purple);
}

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

.site-nav a,
.header-cta {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--muted);
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.header-cta {
  justify-self: end;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
}

.header-cta span {
  display: inline-block;
  margin-left: 7px;
  transition: transform 180ms ease;
}

.header-cta:hover span,
.button:hover span {
  transform: translate(3px, -3px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
  gap: clamp(34px, 6vw, 96px);
  padding-top: clamp(76px, 9vw, 136px);
  padding-bottom: 42px;
}

.hero-copy {
  align-self: center;
  padding-bottom: 40px;
}

.signal-label,
.section-index,
.node-kicker,
.product-card-head > span,
.window-title-row p,
.window-controls,
.kpi-grid span,
.kpi-grid small,
.chart-head span,
.chart-legend,
.action-row span,
.platform-rail > p,
.role-list article > span {
  font-family: var(--mono);
}

.signal-label {
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.signal-label > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 191, 139, 0.18);
}

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

h1,
h2,
h3 {
  letter-spacing: -0.055em;
  font-weight: 500;
}

h1 {
  margin-bottom: 30px;
  font-size: clamp(4rem, 7vw, 7.5rem);
  line-height: 0.88;
  max-width: 8.5ch;
}

h1 em {
  display: block;
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--purple);
}

.hero-lede {
  max-width: 580px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.5vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

.button span {
  transition: transform 180ms ease;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding: 10px 0 7px;
  border-bottom: 1px solid var(--ink);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

.product-window {
  align-self: center;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--ink);
  background: var(--paper-bright);
  box-shadow: 16px 16px 0 #ddd5ed;
}

.window-bar {
  height: 54px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.window-brand {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.window-brand span,
.ai-node h3 span {
  color: var(--purple);
  font-weight: 500;
}

.ads-node h3 span,
.product-card-head p span {
  color: var(--green);
  font-weight: 500;
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.58rem;
}

.window-controls span {
  padding: 7px 9px;
  border: 1px solid var(--line);
}

.window-controls i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
}

.window-body {
  display: grid;
  grid-template-columns: 46px 1fr;
}

.window-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  padding-top: 22px;
  border-right: 1px solid var(--line);
}

.window-sidebar span {
  width: 15px;
  height: 15px;
  border: 1px solid #aaa9a2;
}

.window-sidebar span:nth-child(2) {
  border-radius: 50%;
}

.window-sidebar .active {
  background: linear-gradient(135deg, var(--purple), var(--green));
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.window-content {
  min-width: 0;
  padding: 22px;
}

.window-title-row,
.chart-head,
.action-row,
.product-card-head,
.plan-card > div:first-child,
.plan-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.window-title-row p {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.58rem;
}

.window-title-row h2 {
  margin: 0;
  font-size: 1.35rem;
}

.live-pill {
  padding: 7px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.56rem;
  white-space: nowrap;
}

.live-pill i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--green);
}

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

.kpi-grid article {
  padding: 13px;
}

.kpi-grid article + article {
  border-left: 1px solid var(--line);
}

.kpi-grid span,
.kpi-grid small {
  display: block;
  color: var(--muted);
  font-size: 0.53rem;
}

.kpi-grid strong {
  display: block;
  margin: 8px 0;
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.kpi-grid .positive {
  color: #16825e;
}

.chart-card {
  margin-top: 14px;
  padding: 16px 14px 8px;
  border: 1px solid var(--line);
}

.chart-head > div:first-child span,
.chart-head > div:first-child strong {
  display: block;
}

.chart-head strong {
  margin-top: 5px;
  font-size: 1.1rem;
}

.chart-head span,
.chart-legend {
  color: var(--muted);
  font-size: 0.54rem;
}

.chart-legend {
  display: flex;
  gap: 6px;
  align-items: center;
}

.chart-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
}

.chart-legend i:nth-of-type(2) {
  margin-left: 6px;
  background: #b6b6af;
}

.chart-card svg {
  display: block;
  width: 100%;
  height: 150px;
  margin-top: 8px;
  overflow: visible;
}

.chart-grid line {
  stroke: #e0e0da;
  stroke-width: 1;
}

.chart-area {
  fill: url(#chartFill);
}

.chart-line,
.chart-baseline {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-line {
  stroke: var(--ink);
  stroke-width: 2.5;
}

.chart-baseline {
  stroke: #977cbc;
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
}

.chart-card circle {
  fill: var(--acid);
  stroke: var(--ink);
  stroke-width: 2;
}

.chart-dates {
  display: flex;
  justify-content: space-between;
  color: #96968e;
  font-family: var(--mono);
  font-size: 0.5rem;
}

.action-row {
  gap: 12px;
  margin-top: 14px;
  padding: 13px 14px;
  background: var(--ink);
  color: var(--white);
}

.action-mark {
  flex: 0 0 auto;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  background: var(--acid);
  color: var(--ink);
}

.action-row > div:nth-child(2) {
  flex: 1;
}

.action-row span,
.action-row strong {
  display: block;
}

.action-row span {
  margin-bottom: 4px;
  color: #aaa9a2;
  font-size: 0.49rem;
}

.action-row strong {
  font-size: 0.68rem;
  font-weight: 500;
}

.action-row button {
  padding: 8px 10px;
  border: 1px solid #4a4b45;
  background: transparent;
  color: var(--white);
  font-size: 0.56rem;
  cursor: pointer;
}

.hero-proof {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.hero-proof > div {
  min-height: 108px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 30px;
}

.hero-proof > div + div {
  border-left: 1px solid var(--line-dark);
}

.hero-proof strong {
  font-size: 2.45rem;
  font-weight: 500;
  letter-spacing: -0.07em;
}

.hero-proof span {
  max-width: 150px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.platform-rail {
  overflow: hidden;
  margin-top: 40px;
  padding: 26px 32px;
  background:
    radial-gradient(circle at 85% 40%, rgba(34, 191, 139, 0.18), transparent 28%),
    linear-gradient(120deg, #211529, #30203d 68%, #203c35);
  color: var(--white);
}

.platform-rail > p {
  margin-bottom: 20px;
  color: #8f9088;
  font-size: 0.62rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.platform-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px 42px;
}

.platform-list span {
  color: #d1d1cb;
  font-size: 0.9rem;
  font-weight: 500;
}

.problem-section,
.roles-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.3fr) minmax(0, 1fr);
  gap: 60px;
  padding-top: 150px;
  padding-bottom: 150px;
}

.section-index {
  color: var(--muted);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.problem-copy h2,
.section-heading h2,
.evidence-title h2,
.roles-copy h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5.6vw, 6.4rem);
  line-height: 0.98;
}

.problem-copy h2 span {
  color: transparent;
  -webkit-text-stroke: 1.3px var(--purple);
}

.problem-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px;
  max-width: 800px;
  margin: 52px 0 0 auto;
}

.problem-notes p,
.system-node > p,
.product-card > p,
.evidence-stats p,
.role-list p,
.final-cta-copy > p,
.site-footer > p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.system-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #fffefd 0%, #f5f0fb 52%, #edf9f5 100%);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.3fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.section-heading .signal-label {
  margin-bottom: 20px;
}

.system-map {
  display: grid;
  grid-template-columns: 1fr 84px 1fr 84px 1fr;
  align-items: stretch;
  margin-top: 88px;
}

.system-node {
  position: relative;
  min-width: 0;
  min-height: 500px;
  padding: 28px;
  border: 1px solid var(--ink);
  background: rgba(255, 254, 253, 0.86);
}

.sources-node {
  background: linear-gradient(150deg, #f7f3fc, var(--purple-soft));
}

.ai-node {
  border-color: var(--purple);
  box-shadow: inset 0 4px 0 var(--purple);
}

.ads-node {
  background: linear-gradient(150deg, #f7fcfa, var(--acid-soft));
  border-color: #229d75;
  box-shadow: inset 0 4px 0 var(--green);
}

.system-node h3 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.system-node > p:not(.node-kicker) {
  max-width: 320px;
}

.node-number {
  position: absolute;
  top: 23px;
  right: 23px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.6rem;
}

.node-kicker {
  margin-bottom: 52px;
  color: var(--muted);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.map-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 1.3rem;
}

.map-arrow span {
  font-family: var(--mono);
  font-size: 0.54rem;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.source-stack {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
}

.source-stack span {
  display: block;
  padding: 11px 12px;
  border-top: 1px solid var(--line-dark);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6rem;
}

.model-orbit {
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 210px;
  height: 210px;
  transform: translateX(-50%);
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}

.model-orbit::before,
.model-orbit::after {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.model-orbit::after {
  inset: 62px;
  background: linear-gradient(135deg, var(--purple), #3e8bcb 50%, var(--green));
  border-color: var(--ink);
}

.model-orbit strong {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.62rem;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.model-orbit i {
  position: absolute;
  z-index: 3;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
}

.model-orbit i:nth-child(1) { left: 19px; top: 68px; }
.model-orbit i:nth-child(2) { right: 29px; top: 29px; }
.model-orbit i:nth-child(3) { right: 13px; bottom: 58px; }

.allocation-bars {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  gap: 20px;
}

.allocation-bars > div {
  display: grid;
  grid-template-columns: 60px 1fr 36px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.56rem;
}

.allocation-bars i {
  position: relative;
  height: 8px;
  background: #deded7;
}

.allocation-bars i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar);
  background: linear-gradient(90deg, var(--purple), var(--green));
}

.allocation-bars b {
  color: #16825e;
  font-weight: 500;
}

.products-section {
  padding-top: 140px;
  padding-bottom: 140px;
}

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

.product-card {
  position: relative;
  overflow: hidden;
  min-height: 700px;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid var(--ink);
}

.product-ai {
  background:
    radial-gradient(circle at 90% 92%, rgba(56, 211, 159, 0.18), transparent 30%),
    linear-gradient(145deg, #211529, #332044 72%, #263d39);
  color: var(--white);
}

.product-ads {
  background: linear-gradient(145deg, #eefaf6, #e7f8f1 58%, #eee8f8);
}

.product-card-head {
  padding-bottom: 22px;
  border-bottom: 1px solid currentColor;
}

.product-card-head p {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.product-card-head > span {
  font-size: 0.58rem;
  text-transform: uppercase;
}

.product-ai .product-card-head > span,
.product-ai .product-card-head p span {
  color: #7be0bd;
}

.product-card h3 {
  max-width: 15ch;
  margin: 54px 0 38px;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1.02;
}

.product-card ul {
  width: min(100%, 440px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card li {
  padding: 12px 0;
  border-top: 1px solid currentColor;
  font-size: 0.78rem;
}

.query-card,
.plan-card {
  position: absolute;
  right: 8%;
  bottom: 0;
  left: 16%;
  min-height: 180px;
  padding: 24px;
  background: linear-gradient(145deg, #fffefd, #f1ebf9);
  color: var(--ink);
  transform: rotate(-2deg);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.18);
}

.query-card > span,
.plan-card span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.56rem;
  text-transform: uppercase;
}

.query-card p {
  margin: 20px 0 30px;
  font-size: 0.86rem;
  line-height: 1.5;
}

.query-answer {
  display: grid;
  gap: 8px;
}

.query-answer i {
  display: block;
  height: 6px;
  background: #d8d8d1;
}

.query-answer i:nth-child(2) { width: 87%; }
.query-answer i:nth-child(3) { width: 64%; }

.plan-card {
  right: 10%;
  left: 10%;
  min-height: 190px;
  background: linear-gradient(145deg, #fffefd, #eefaf6);
  transform: rotate(1.5deg);
}

.plan-card b {
  font-size: 0.82rem;
}

.plan-line {
  display: grid;
  grid-template-columns: 30% 24% 28% 18%;
  height: 38px;
  margin: 28px 0;
}

.plan-line span:nth-child(1) { background: var(--purple); }
.plan-line span:nth-child(2) { background: #8a76ad; }
.plan-line span:nth-child(3) { background: var(--acid); }
.plan-line span:nth-child(4) { background: #d8d8d0; }

.plan-footer {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.plan-footer strong {
  font-size: 1.35rem;
}

.evidence-section {
  padding: 120px 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(56, 211, 159, 0.14), transparent 28%),
    linear-gradient(145deg, #1f1427, #2e1d3c 70%, #1d342f);
  color: var(--white);
}

.evidence-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
}

.evidence-title .section-index {
  color: #8b8c85;
  margin-bottom: 80px;
}

.evidence-title h2 {
  max-width: 9ch;
}

.evidence-stats {
  border-top: 1px solid #40413d;
}

.evidence-stats article {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 30px;
  align-items: center;
  min-height: 200px;
  border-bottom: 1px solid #40413d;
}

.evidence-stats strong {
  font-size: clamp(3.6rem, 6vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -0.08em;
}

.evidence-stats strong span {
  color: var(--acid);
  font-size: 0.45em;
}

.evidence-stats p {
  max-width: 380px;
  margin: 0;
  color: #aeafa8;
}

.roles-section {
  padding-top: 140px;
  padding-bottom: 140px;
}

.roles-copy .section-index {
  margin-bottom: 72px;
}

.roles-copy h2 {
  font-size: clamp(2.8rem, 5vw, 5.6rem);
}

.role-list {
  border-top: 1px solid var(--ink);
}

.role-list article {
  display: grid;
  grid-template-columns: 0.35fr 0.8fr 0.85fr;
  gap: 24px;
  min-height: 230px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line-dark);
}

.role-list article > span {
  color: var(--muted);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.role-list h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.8rem);
  line-height: 1.05;
}

.role-list p {
  margin: 0;
}

.final-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 60px;
  min-height: 520px;
  padding: 76px;
  border: 1px solid rgba(71, 45, 84, 0.22);
  background:
    radial-gradient(circle at 90% 5%, rgba(34, 191, 139, 0.26), transparent 32%),
    linear-gradient(120deg, #eee7f8 0%, #f8f5fb 48%, #e5f7f0 100%);
}

.final-cta > div {
  position: relative;
  z-index: 2;
}

.cta-brand-mark {
  position: absolute;
  z-index: 1;
  width: min(320px, 32vw);
  right: 32px;
  top: 24px;
  max-height: calc(100% - 48px);
  object-fit: contain;
  opacity: 0.12;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.final-cta .signal-label {
  color: #46483f;
}

.final-cta .signal-label > span {
  background: var(--purple);
  box-shadow: none;
}

.final-cta-copy {
  align-self: end;
}

.final-cta-copy > p {
  margin-bottom: 34px;
  color: #3f4139;
  font-size: 1.05rem;
}

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

.site-footer {
  display: grid;
  grid-template-columns: 0.6fr 1.3fr 0.7fr auto;
  gap: 34px;
  align-items: end;
  min-height: 210px;
  padding-top: 60px;
  padding-bottom: 32px;
}

.footer-wordmark {
  font-size: 2.1rem;
}

.footer-wordmark .brand-symbol {
  width: 42px;
  height: 42px;
}

.footer-wordmark .brand-symbol img {
  width: 100%;
  height: 100%;
}

.site-footer > p {
  margin: 0;
}

.site-footer > div {
  display: flex;
  gap: 24px;
}

.site-footer > div a,
.site-footer > span {
  color: var(--muted);
  font-size: 0.72rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

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

.product-window.reveal {
  transition-delay: 120ms;
}

.hero-proof.reveal {
  transition-delay: 200ms;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
  }

  h1 { font-size: clamp(3.8rem, 7vw, 6.3rem); }
  .system-map { grid-template-columns: 1fr 52px 1fr 52px 1fr; }
  .system-node { padding: 22px; }
  .source-stack,
  .allocation-bars { left: 22px; right: 22px; }
}

@media (max-width: 980px) {
  .section-frame,
  .site-header { width: min(100% - 36px, 1380px); }

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

  .hero-copy { padding-bottom: 0; }
  .hero-lede { max-width: 680px; }
  .product-window { width: 100%; }

  .problem-section,
  .roles-section,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .system-map {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .system-node { min-height: 450px; }
  .map-arrow { height: 76px; transform: rotate(90deg); }
  .map-arrow span { display: none; }
  .evidence-grid { grid-template-columns: 1fr; gap: 70px; }
  .evidence-title h2 { max-width: 12ch; }
  .product-card { min-height: 660px; }
  .role-list article { grid-template-columns: 0.3fr 0.9fr 0.8fr; }
}

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

  .site-nav { display: none; }
  .header-cta { font-size: 0.66rem; }
  .hero { padding-top: 68px; }
  h1 { font-size: clamp(3.4rem, 18vw, 5.7rem); }
  .hero-lede { font-size: 1rem; }
  .window-controls span { display: none; }
  .window-body { grid-template-columns: 32px 1fr; }
  .window-sidebar { gap: 14px; }
  .window-sidebar span { width: 12px; height: 12px; }
  .window-content { padding: 14px; }
  .kpi-grid article { padding: 10px 8px; }
  .kpi-grid strong { font-size: 0.9rem; }
  .chart-card svg { height: 116px; }
  .action-row button { display: none; }

  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof > div { min-height: 88px; padding: 14px 0; }
  .hero-proof > div + div { border-left: 0; border-top: 1px solid var(--line-dark); }

  .platform-rail { padding-inline: 18px; }
  .platform-list { gap: 18px 24px; }

  .problem-section,
  .roles-section,
  .products-section { padding-top: 100px; padding-bottom: 100px; }

  .problem-copy h2,
  .section-heading h2,
  .evidence-title h2,
  .roles-copy h2,
  .final-cta h2 { font-size: clamp(2.7rem, 13vw, 4.8rem); }

  .problem-notes { grid-template-columns: 1fr; gap: 14px; margin-top: 38px; }
  .system-section { padding: 90px 0; }
  .system-map { margin-top: 56px; }
  .system-node { min-height: 440px; }

  .product-grid { grid-template-columns: 1fr; margin-top: 56px; }
  .product-card { min-height: 650px; }
  .product-card h3 { font-size: clamp(2.4rem, 11vw, 3.8rem); }
  .query-card,
  .plan-card { left: 8%; right: 8%; }

  .evidence-section { padding: 90px 0; }
  .evidence-title .section-index { margin-bottom: 44px; }
  .evidence-stats article { grid-template-columns: 1fr; gap: 0; padding: 28px 0; }

  .role-list article { grid-template-columns: 1fr; gap: 16px; padding: 30px 0; }
  .roles-copy .section-index { margin-bottom: 36px; }

  .final-cta {
    grid-template-columns: 1fr;
    min-height: 580px;
    padding: 42px 28px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .site-footer > p { grid-column: 1 / -1; }
  .site-footer > div { order: 3; }
  .site-footer > span { order: 4; text-align: right; }
}

@media (max-width: 430px) {
  .section-frame,
  .site-header { width: calc(100% - 28px); }
  .hero { padding-top: 52px; }
  h1 { font-size: clamp(3.2rem, 18vw, 4.4rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { justify-content: space-between; }
  .text-link { justify-content: space-between; }
  .product-window { box-shadow: 8px 8px 0 #ddd5ed; }
  .window-title-row h2 { font-size: 1.05rem; }
  .live-pill { display: none; }
  .chart-legend { display: none; }
  .action-row strong { font-size: 0.62rem; }
  .system-node { min-height: 420px; }
  .product-card { min-height: 620px; }
  .product-card-head { align-items: flex-start; gap: 10px; }
  .product-card-head > span { text-align: right; }
}
