@import url("tokens.css");

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

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

@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-Variable.ttf") format("truetype");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --canvas: var(--sp-color-canvas);
  --paper: var(--sp-color-paper);
  --ink: var(--sp-color-ink);
  --muted: var(--sp-color-muted);
  --line: var(--sp-color-line);
  --green: var(--sp-color-green);
  --green-2: var(--sp-color-green-bright);
  --mint: var(--sp-color-green-soft);
  --dark: var(--sp-color-midnight);
  --dark-2: #0b2930;
  --amber: var(--sp-color-warning);
  --blue: #2f6db4;
  --violet: var(--sp-color-subtle);
  --danger: #9a3b34;
  --mono: var(--sp-font-mono);
  --sans: var(--sp-font-body);
  --heading: var(--sp-font-heading);
  --max: var(--sp-content-max);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

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

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

h1,
h2,
h3 {
  font-family: var(--heading);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

h1 {
  font-size: var(--sp-text-display);
  font-weight: 630;
}

h2 {
  font-size: var(--sp-text-h2);
  font-weight: 620;
}

h3 {
  font-size: 1.4rem;
  font-weight: 650;
}

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

.skip {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  padding: 10px 14px;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.skip:focus {
  transform: none;
}

.announcement {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 7px 20px;
  background: var(--dark);
  color: #dcebe5;
  font-size: 12px;
}

.announcement strong {
  color: #74e2bb;
}

.announcement a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(16, 35, 29, 0.1);
  background: rgba(244, 245, 239, 0.91);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 28px;
}

.logo {
  flex: 0 0 auto;
}

.brand-logo {
  width: 118px;
  height: auto;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}

.navlinks a {
  position: relative;
  color: #40544c;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.navlinks a:hover,
.navlinks a[aria-current="page"] {
  color: var(--green);
}

.navlinks a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  content: "";
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: 160ms ease;
}

.nav-cta,
.button.primary {
  background: var(--ink);
  color: #fff;
}

.nav-cta:hover,
.button.primary:hover {
  background: var(--green);
  transform: translateY(-1px);
}

.button.secondary {
  border-color: #a9b7b0;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--green);
  background: #fff;
  color: var(--green);
}

.button.light {
  background: #e8fff5;
  color: #09241e;
}

.menu {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.hero {
  overflow: hidden;
  padding: 88px 0 80px;
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--green);
  font: 800 11px/1.2 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero h1 {
  max-width: 1050px;
  margin-bottom: 28px;
}

.hero h1 em {
  color: var(--green);
  font-style: normal;
}

.lede {
  max-width: 780px;
  color: #4f625b;
  font-size: clamp(1.14rem, 2vw, 1.48rem);
  line-height: 1.55;
}

.lede strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-weight: 700;
}

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

.maturity-key {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 27px;
  color: #5e7069;
  font: 750 10px/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.maturity-key span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.maturity-key i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8b9792;
}

.maturity-key .available i {
  background: var(--green-2);
  box-shadow: 0 0 0 5px rgba(55, 198, 148, 0.13);
}

.maturity-key .thin i {
  border: 1px solid var(--green);
  background: transparent;
}

.loop-wrap {
  margin-top: 58px;
}

.loop-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(13, 127, 95, 0.4);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 5%, rgba(0, 168, 115, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(7, 29, 37, 0.98), rgba(5, 24, 30, 0.99) 72%);
  color: #e8f6f0;
  box-shadow: var(--sp-shadow-product);
}

.loop-topbar {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(199, 238, 224, 0.12);
  background: rgba(4, 20, 17, 0.58);
  color: #86a99d;
  font: 750 9px/1.2 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.loop-brand,
.loop-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.loop-mark {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  background: #65e0b4;
  color: #09241d;
  font: 900 11px var(--mono);
}

.loop-live {
  color: #73ddb8;
}

.loop-live::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: #65e0b4;
  box-shadow: 0 0 0 5px rgba(101, 224, 180, 0.11);
  content: "";
}

.loop-toggle {
  border: 1px solid rgba(197, 231, 218, 0.22);
  border-radius: 999px;
  padding: 7px 10px;
  background: transparent;
  color: #b9d2c9;
  cursor: pointer;
  font: 750 8px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.loop-toggle:hover,
.loop-toggle:focus-visible {
  border-color: #65e0b4;
  color: #65e0b4;
}

.loop-stage-nav {
  display: grid;
  grid-template-columns: repeat(8, minmax(112px, 1fr));
  overflow-x: auto;
  border-bottom: 1px solid rgba(199, 238, 224, 0.12);
  scrollbar-width: thin;
}

.loop-stage {
  position: relative;
  min-height: 82px;
  border: 0;
  border-right: 1px solid rgba(199, 238, 224, 0.09);
  padding: 16px 14px;
  background: transparent;
  color: #73968b;
  cursor: pointer;
  text-align: left;
}

.loop-stage:last-child {
  border-right: 0;
}

.loop-stage span,
.loop-stage strong {
  display: block;
}

.loop-stage span {
  margin-bottom: 8px;
  color: #52776b;
  font: 800 8px var(--mono);
  letter-spacing: 0.1em;
}

.loop-stage strong {
  font-size: 11px;
  letter-spacing: 0;
}

.loop-stage[aria-selected="true"] {
  background: rgba(223, 248, 236, 0.09);
  color: #ebfff7;
}

.loop-stage[aria-selected="true"]::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #62deb0;
  content: "";
}

.loop-body {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.45fr);
  min-height: 455px;
}

.loop-copy {
  padding: 34px;
  border-right: 1px solid rgba(199, 238, 224, 0.12);
}

.stage-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(101, 224, 180, 0.28);
  border-radius: 999px;
  padding: 7px 10px;
  color: #66deb2;
  font: 800 8px/1 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.stage-status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.loop-copy h2 {
  margin: 24px 0 14px;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.loop-copy > p {
  color: #91aca2;
  font-size: 14px;
}

.loop-copy ul {
  margin: 24px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(199, 238, 224, 0.12);
  list-style: none;
}

.loop-copy li {
  position: relative;
  padding: 5px 0 5px 18px;
  color: #c1d6ce;
  font-size: 12px;
}

.loop-copy li::before {
  position: absolute;
  top: 13px;
  left: 0;
  width: 7px;
  height: 1px;
  background: #60d6aa;
  content: "";
}

.truth-board {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background:
    linear-gradient(rgba(88, 150, 128, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 150, 128, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}

.truth-pipes {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.truth-title {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: #708f84;
  font: 750 8px/1.3 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.truth-title strong {
  color: #c7ddd5;
  font-size: 9px;
}

.truth-grid {
  position: relative;
  z-index: 2;
  display: grid;
  flex: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.truth-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(181, 222, 207, 0.16);
  border-radius: 14px;
  padding: 19px;
  background: rgba(7, 29, 37, 0.62);
  backdrop-filter: blur(11px);
  opacity: 0.42;
  transition: opacity var(--sp-duration-standard) var(--sp-ease-standard), transform var(--sp-duration-standard) var(--sp-ease-standard), border-color var(--sp-duration-standard) ease, box-shadow var(--sp-duration-standard) ease;
}

.truth-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: #5adeae;
  content: "";
}

.truth-card.realized::before {
  background: #5adeae;
}

.truth-card.observed::before {
  background: #5adeae;
}

.truth-card.is-active {
  border-color: rgba(190, 232, 216, 0.35);
  opacity: 1;
  transform: translateY(-2px);
}

.truth-card.is-flowing {
  border-color: rgba(0, 168, 115, 0.75);
  box-shadow: 0 0 0 1px rgba(0, 168, 115, 0.11), 0 0 34px rgba(0, 168, 115, 0.12);
}

.truth-card.is-updating .truth-row strong,
.truth-card.is-updating h3 {
  animation: truth-reveal 520ms var(--sp-ease-standard) both;
}

@keyframes truth-reveal {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}

.truth-card > span {
  display: block;
  margin-bottom: 10px;
  color: #6e9185;
  font: 800 8px var(--mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.truth-card h3 {
  min-height: 44px;
  margin-bottom: 20px;
  color: #edf9f5;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.truth-row {
  padding: 11px 0;
  border-top: 1px solid rgba(193, 224, 213, 0.1);
}

.truth-row small,
.truth-row strong {
  display: block;
}

.truth-row small {
  margin-bottom: 3px;
  color: #6c8a80;
  font: 700 7px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.truth-row strong {
  color: #bdd2ca;
  font-size: 10px;
}

.truth-card.is-active .truth-row strong {
  color: #ecf8f4;
}

.contradiction {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  border: 1px solid rgba(207, 108, 88, 0.34);
  border-radius: 11px;
  padding: 12px 14px;
  background: rgba(119, 41, 32, 0.18);
  color: #dfb4aa;
  font-size: 10px;
  transition: border-color var(--sp-duration-standard) ease, background var(--sp-duration-standard) ease, color var(--sp-duration-standard) ease;
}

.contradiction strong {
  color: #f0c2b7;
  font: 800 8px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contradiction.is-quiet {
  border-color: rgba(13, 127, 95, 0.32);
  background: rgba(13, 127, 95, 0.09);
  color: #a9c5ba;
}

.contradiction.is-quiet strong {
  color: #67d9b1;
}

.loop-visual[data-paused="true"] .loop-live::before {
  background: var(--sp-color-subtle);
  box-shadow: none;
}

.loop-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.07);
}

.loop-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: #61ddb0;
  box-shadow: 0 0 14px #61ddb0;
}

.loop-progress i.running {
  animation: loop-progress 4.2s linear forwards;
}

@keyframes loop-progress {
  from { width: 0; }
  to { width: 100%; }
}

.visual-caption {
  margin: 16px 0 0;
  color: #687a73;
  font: 750 9px/1.5 var(--mono);
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}

.section {
  padding: 104px 0;
}

.section.paper {
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.section.dark {
  background: var(--dark);
  color: #edf7f3;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(270px, 0.55fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 54px;
}

.section-head h2 {
  max-width: 820px;
  margin-bottom: 0;
}

.section-head > p,
.section-head > div > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.dark .section-head > p {
  color: #91a9a0;
}

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

.suite-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
}

.suite-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--green-2);
  content: "";
}

.suite-card.craftr::before {
  background: var(--green-2);
}

.suite-card.imprint::before {
  background: var(--green-2);
}

.suite-number {
  color: #82918b;
  font: 800 9px var(--mono);
  letter-spacing: 0.1em;
}

.suite-card h3 {
  margin: 54px 0 16px;
  font-size: 2.25rem;
}

.suite-card p {
  color: var(--muted);
  font-size: 14px;
}

.suite-card ul {
  margin: 28px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.suite-card li {
  padding: 4px 0;
  color: #536760;
  font-size: 12px;
}

.suite-card li::before {
  margin-right: 8px;
  color: var(--green);
  content: "→";
}

.truth-section-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid #29423b;
  border-radius: 18px;
  background: #29423b;
}

.state-column {
  min-height: 420px;
  padding: 30px;
  background: #0b2520;
}

.state-column:nth-child(2) {
  background: #10251f;
}

.state-column > span {
  color: #6ddbb3;
  font: 800 9px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.state-column:nth-child(2) > span {
  color: #6ddbb3;
}

.state-column:nth-child(3) > span {
  color: #6ddbb3;
}

.state-column h3 {
  margin: 17px 0 26px;
  color: #eef9f5;
  font-size: 1.75rem;
}

.state-column dl {
  margin: 0;
}

.state-column dl div {
  padding: 13px 0;
  border-top: 1px solid rgba(216, 239, 230, 0.1);
}

.state-column dt {
  color: #759086;
  font: 750 8px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.state-column dd {
  margin: 4px 0 0;
  color: #d3e4de;
  font-size: 12px;
}

.graph-panel {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 42px;
  background: #fff;
}

.graph-panel h3 {
  max-width: 370px;
  font-size: 2.5rem;
}

.graph-panel > div:first-child p {
  color: var(--muted);
}

.graph-nodes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.graph-nodes span {
  display: grid;
  min-height: 82px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 14px;
  background: #f8faf7;
  color: #42564f;
  font-size: 11px;
  font-weight: 750;
  text-align: center;
}

.graph-nodes span:nth-child(3n + 1) {
  border-color: #a8dcc8;
}

.graph-nodes span:nth-child(3n + 2) {
  border-color: #a8dcc8;
}

.graph-nodes span:nth-child(3n) {
  border-color: #a8dcc8;
}

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

.maturity-card {
  min-height: 245px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
}

.maturity-card > span {
  color: var(--green);
  font: 800 9px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.maturity-card h3 {
  margin: 35px 0 12px;
  font-size: 1.4rem;
}

.maturity-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.page-hero {
  padding: 92px 0 70px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 1050px;
  font-size: clamp(3.4rem, 7vw, 6.5rem);
}

.page-hero .lede {
  max-width: 800px;
}

.simulator-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sim-card {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
}

.sim-card.featured {
  border-color: #6ec8a6;
  background: #edfaf4;
  box-shadow: 0 20px 50px rgba(24, 103, 76, 0.1);
}

.sim-size {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 13px;
  background: #e8f0ec;
  color: var(--green);
  font: 900 17px var(--mono);
}

.featured .sim-size {
  background: var(--green);
  color: #fff;
}

.sim-card h3 {
  margin: 44px 0 16px;
  font-size: 1.75rem;
}

.sim-card dl {
  margin: 24px 0 0;
}

.sim-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.sim-card dt {
  color: var(--muted);
}

.sim-card dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

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

.feature-item {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
}

.feature-item > span {
  color: var(--green);
  font: 800 9px var(--mono);
  letter-spacing: 0.1em;
}

.feature-item h3 {
  margin: 30px 0 10px;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.handoff {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid #2b4a41;
  border-radius: 18px;
  background: #2b4a41;
}

.handoff article {
  min-height: 300px;
  padding: 28px;
  background: #0b2520;
}

.handoff article + article {
  border-left: 1px solid #2b4a41;
}

.handoff span {
  color: #6bdcb2;
  font: 800 9px var(--mono);
  letter-spacing: 0.1em;
}

.handoff h3 {
  margin: 47px 0 15px;
  color: #edf7f3;
}

.handoff p {
  color: #92aaa1;
  font-size: 12px;
}

.comparison {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.comparison th,
.comparison td {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  text-align: left;
  vertical-align: top;
}

.comparison th:last-child,
.comparison td:last-child {
  border-right: 0;
}

.comparison tr:last-child td {
  border-bottom: 0;
}

.comparison thead th {
  background: #edf4f0;
  color: #40534c;
  font: 800 9px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison tbody th {
  color: var(--green);
  font-weight: 800;
}

.journey {
  counter-reset: journey;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.journey article {
  counter-increment: journey;
  min-height: 235px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
}

.journey article::before {
  color: var(--green);
  content: counter(journey, decimal-leading-zero);
  font: 800 9px var(--mono);
}

.journey h3 {
  margin: 45px 0 12px;
  font-size: 1.25rem;
}

.journey p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.scope-card {
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
}

.scope-card.deferred {
  background: #f0f1ed;
}

.scope-card > span {
  color: var(--green);
  font: 800 9px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scope-card ul {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.scope-card li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: #4c6058;
  font-size: 13px;
}

.scope-card li::before {
  margin-right: 9px;
  color: var(--green);
  content: "→";
}

.sku-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.sku-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.sku-table th,
.sku-table td {
  padding: 17px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

.sku-table th:last-child,
.sku-table td:last-child {
  border-right: 0;
}

.sku-table tr:last-child td {
  border-bottom: 0;
}

.sku-table thead th {
  background: #0b2822;
  color: #edf8f4;
  font-size: 12px;
}

.sku-table thead th:first-child {
  min-width: 310px;
  text-align: left;
}

.sku-table tbody th {
  padding: 0;
  background: #f6f8f4;
  text-align: left;
}

.product-details summary {
  padding: 18px;
  cursor: pointer;
  list-style: none;
}

.product-details summary::-webkit-details-marker {
  display: none;
}

.product-details summary strong,
.product-details summary span {
  display: block;
}

.product-details summary strong {
  font-size: 16px;
}

.product-details summary span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.product-details summary::after {
  float: right;
  margin-top: -29px;
  color: var(--green);
  content: "+";
  font: 800 18px var(--mono);
}

.product-details[open] summary::after {
  content: "−";
}

.product-details ul {
  margin: 0;
  padding: 0 18px 18px 34px;
  color: #53665f;
  font-size: 11px;
  font-weight: 500;
}

.sku-state {
  display: inline-block;
  border-radius: 999px;
  padding: 6px 9px;
  background: #e5f5ed;
  color: #087354;
  font: 800 9px var(--mono);
  text-transform: uppercase;
}

.sku-state.lite {
  border: 1px solid #a8d5c4;
  background: transparent;
}

.sku-state.optional {
  background: #eef0ed;
  color: #65736e;
}

.sku-state.standalone {
  background: #edf3f7;
  color: #47738c;
}

.sku-notes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.sku-notes article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  background: #fff;
}

.sku-notes h3 {
  font-size: 1.1rem;
}

.sku-notes p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.platform-statement {
  margin-top: 32px;
  border-radius: 18px;
  padding: 38px;
  background: var(--dark);
  color: #eaf6f2;
}

.platform-statement h2 {
  max-width: 890px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.platform-statement p {
  max-width: 760px;
  margin: 0;
  color: #96ada5;
}

.cta {
  padding: 38px 0 104px;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.5fr auto;
  align-items: end;
  gap: 40px;
  border-radius: 24px;
  padding: 58px;
  background: var(--dark);
  color: #eff9f5;
}

.cta-panel h2 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.cta-panel p {
  max-width: 690px;
  margin-bottom: 0;
  color: #94ada4;
}

.footer {
  border-top: 1px solid var(--line);
  background: #ebeee8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  padding-block: 56px;
}

.footer-logo p {
  max-width: 310px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.footer h3 {
  margin-bottom: 17px;
  color: #74847e;
  font: 800 9px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  color: #3d514a;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--green);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px 28px;
  border-top: 1px solid var(--line);
  color: #72817c;
  font-size: 10px;
}

.legal {
  padding: 80px 0 110px;
}

.legal article {
  max-width: 780px;
}

.legal h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.legal h2 {
  margin-top: 45px;
  font-size: 1.75rem;
}

.legal p {
  color: #50635c;
}

@media (max-width: 980px) {
  .navlinks {
    gap: 16px;
  }

  .navlinks a {
    font-size: 12px;
  }

  .nav-cta {
    display: none;
  }

  .loop-body,
  .graph-panel {
    grid-template-columns: 1fr;
  }

  .loop-copy {
    border-right: 0;
    border-bottom: 1px solid rgba(199, 238, 224, 0.12);
  }

  .suite-grid,
  .truth-section-grid,
  .simulator-panel {
    grid-template-columns: 1fr;
  }

  .suite-card,
  .sim-card {
    min-height: 0;
  }

  .maturity-grid,
  .journey,
  .sku-notes {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .handoff article {
    border-bottom: 1px solid #2b4a41;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

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

  .announcement {
    justify-content: space-between;
    font-size: 10px;
  }

  .nav {
    min-height: 64px;
  }

  .menu {
    display: block;
    margin-left: auto;
  }

  .navlinks {
    position: fixed;
    top: 98px;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 98px);
    align-items: stretch;
    overflow: auto;
    border-bottom: 1px solid var(--line);
    padding: 24px;
    background: var(--canvas);
    box-shadow: 0 24px 50px rgba(18, 45, 36, 0.15);
  }

  .navlinks.open {
    display: flex;
    flex-direction: column;
  }

  .navlinks a {
    padding: 9px 0;
    font-size: 16px;
  }

  .navlinks a[aria-current="page"]::after {
    display: none;
  }

  .hero {
    padding: 64px 0;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 16vw, 5.4rem);
  }

  .loop-wrap {
    margin-top: 42px;
  }

  .loop-visual {
    margin-inline: -6px;
    border-radius: 16px;
  }

  .loop-brand span:last-child,
  .loop-live {
    display: none;
  }

  .loop-stage-nav {
    grid-template-columns: repeat(8, 124px);
  }

  .loop-body {
    min-height: 0;
  }

  .loop-copy,
  .truth-board {
    padding: 23px;
  }

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

  .truth-card {
    display: none;
  }

  .truth-card.is-active {
    display: block;
  }

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

  .section,
  .page-hero {
    padding: 72px 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 38px;
  }

  .graph-panel {
    padding: 26px;
  }

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

  .maturity-grid,
  .feature-list,
  .journey,
  .scope-grid,
  .sku-notes {
    grid-template-columns: 1fr;
  }

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

  .comparison-wrap {
    overflow-x: auto;
  }

  .comparison {
    min-width: 650px;
  }

  .cta {
    padding-bottom: 72px;
  }

  .cta-panel {
    padding: 34px 26px;
  }

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

  .footer-logo {
    grid-column: 1 / -1;
  }

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

@media (max-width: 440px) {
  .announcement span {
    display: none;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .actions .button {
    width: 100%;
  }

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

  .graph-nodes {
    grid-template-columns: 1fr;
  }

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

  .footer-logo {
    grid-column: auto;
  }
}

@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;
  }
}
