:root {
  --bg: #f4f1ea;
  --bg-alt: #ebe4d7;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-deep: #182028;
  --ink: #16212b;
  --muted: #5c6977;
  --line: rgba(22, 33, 43, 0.12);
  --line-strong: rgba(22, 33, 43, 0.2);
  --predx: #156f69;
  --predx-soft: #d8f0ec;
  --cageos: #274690;
  --cageos-soft: #dde6fb;
  --lite: #6b8f3d;
  --lite-soft: #e6f0d8;
  --accent: #b85c38;
  --accent-soft: #f3ddd2;
  --shadow: 0 18px 44px rgba(17, 24, 39, 0.08);
  --shadow-strong: 0 28px 64px rgba(17, 24, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(39, 70, 144, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(21, 111, 105, 0.08), transparent 24%),
    linear-gradient(180deg, #f7f4ee 0%, #f2ede5 44%, #ece4d8 100%);
  min-height: 100vh;
}

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

img {
  max-width: 100%;
}

.site-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 56px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  background: rgba(250, 247, 240, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #7b2f17);
  color: #fffaf6;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 24px rgba(123, 47, 23, 0.22);
}

.eyebrow,
.platform-tag,
.principle-number,
.block-label,
.signal-label,
.proof-label {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 0.82rem;
}

.sub-eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.topnav a {
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--ink);
  border-color: rgba(22, 33, 43, 0.22);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
  padding: 68px 4px 34px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.9rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

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

.hero-text,
.section-heading p,
.platform-summary,
.deployment-card p,
.company-copy p,
.difference li,
.proof-card p,
.detail-card p,
.detail-card li,
.frontier-card p,
.frontier-card li,
.credibility-card p:last-child,
.mission-band p,
.status-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.trust-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(22, 33, 43, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  font-size: 0.86rem;
}

.hero-actions,
.company-actions,
.top-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--ink), #273646);
  color: #fffdfa;
  box-shadow: 0 16px 28px rgba(22, 33, 43, 0.16);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
}

.button-accent {
  background: linear-gradient(135deg, var(--accent), #8f3f24);
  color: #fffaf6;
  box-shadow: 0 16px 28px rgba(143, 63, 36, 0.2);
}

.hero-panel,
.section-stack {
  display: grid;
  gap: 16px;
}

.brand-poster,
.signal-card,
.principle,
.platform-card,
.deployment-card,
.difference article,
.company-copy,
.frontier-card,
.proof-card,
.detail-card,
.status-card,
.credibility-card,
.proof-band,
.product-overview,
.contact-band {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.brand-poster {
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 244, 236, 0.94)),
    radial-gradient(circle at top, rgba(184, 92, 56, 0.12), transparent 42%);
}

.brand-poster img {
  display: block;
  width: 100%;
  border-radius: 18px;
}

.signal-card {
  padding: 22px;
}

.signal-card strong {
  color: var(--ink);
}

.signal-card.accent {
  background: linear-gradient(180deg, rgba(216, 240, 236, 0.96), rgba(255, 255, 255, 0.9));
}

.signal-list,
.platform-block ul,
.contrast-list,
.detail-card ul,
.frontier-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  line-height: 1.8;
}

.signal-label,
.block-label,
.proof-label {
  font-size: 0.8rem;
  color: var(--muted);
}

.metric-text {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.7;
}

.principles,
.deployment-grid,
.difference-grid,
.credibility-grid,
.platform-detail-grid,
.proof-grid,
.frontier-grid,
.status-grid,
.proof-row,
.platform-grid {
  display: grid;
  gap: 18px;
}

.principles {
  grid-template-columns: repeat(3, 1fr);
  margin: 8px 0 56px;
}

.principle,
.deployment-card,
.difference article,
.frontier-card,
.proof-card,
.detail-card,
.status-card,
.credibility-card,
.company-copy,
.platform-card,
.product-overview {
  padding: 24px;
}

.principle-number {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.86rem;
}

.principle h2,
.section-heading h2,
.platform-head h3,
.deployment-card h3,
.proof-card h3 {
  margin: 0 0 12px;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.principle h2 {
  font-size: 1.6rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.platforms,
.model,
.difference,
.company,
.frontier,
.proof,
.credibility,
.company-status,
.research,
.contact {
  padding: 26px 0 56px;
}

.proof-band,
.mission-band,
.contact-band {
  padding: 28px;
}

.proof-band {
  display: grid;
  gap: 18px;
  margin: 0 0 56px;
  background:
    linear-gradient(135deg, rgba(221, 230, 251, 0.72), rgba(243, 221, 210, 0.72)),
    rgba(255, 255, 255, 0.9);
}

.proof-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-item {
  padding-top: 12px;
  border-top: 1px solid rgba(22, 33, 43, 0.1);
}

.proof-item p:last-child {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.platform-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.platform-card {
  position: relative;
  overflow: hidden;
}

.platform-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
}

.platform-card.predx::before {
  background: var(--predx);
}

.platform-card.cageos::before {
  background: var(--cageos);
}

.platform-card.lite::before {
  background: var(--lite);
}

.platform-card.predx {
  background: linear-gradient(180deg, rgba(216, 240, 236, 0.8), rgba(255, 255, 255, 0.92));
}

.platform-card.cageos {
  background: linear-gradient(180deg, rgba(221, 230, 251, 0.82), rgba(255, 255, 255, 0.92));
}

.platform-card.lite {
  background: linear-gradient(180deg, rgba(230, 240, 216, 0.86), rgba(255, 255, 255, 0.92));
}

.platform-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.platform-tag {
  font-size: 0.82rem;
}

.predx .platform-tag {
  color: var(--predx);
}

.cageos .platform-tag {
  color: var(--cageos);
}

.lite .platform-tag {
  color: var(--lite);
}

.platform-head h3 {
  font-size: 1.92rem;
}

.platform-block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(22, 33, 43, 0.1);
}

.platform-link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.platform-link:hover,
.platform-link:focus-visible {
  color: var(--accent);
}

.deployment-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.deployment-card.featured {
  background: linear-gradient(180deg, rgba(243, 221, 210, 0.85), rgba(255, 255, 255, 0.92));
}

.deployment-card h3 {
  font-size: 1.42rem;
}

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

.contrast-list.negative li::marker {
  color: var(--accent);
}

.contrast-list.positive li::marker {
  color: var(--predx);
}

.mission-band {
  margin: 0 0 56px;
  background:
    linear-gradient(135deg, rgba(221, 230, 251, 0.52), rgba(230, 240, 216, 0.56)),
    rgba(255, 255, 255, 0.92);
}

.mission-kicker {
  color: var(--accent);
}

.mission-band h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.frontier-grid,
.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.platform-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 12px 0 32px;
}

.frontier-card.highlight,
.proof-card.highlight {
  background: linear-gradient(180deg, rgba(243, 221, 210, 0.78), rgba(255, 255, 255, 0.92));
}

.proof-card h3 {
  font-size: 1.36rem;
}

.credibility-grid,
.status-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.company-copy {
  display: grid;
  gap: 14px;
}

.company-actions {
  margin-top: 6px;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, rgba(24, 32, 40, 0.96), rgba(39, 54, 70, 0.96));
  color: #f5efe6;
}

.contact-band .eyebrow,
.contact-band .block-label,
.contact-band p {
  color: rgba(245, 239, 230, 0.74);
}

.contact-band h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
}

.contact-band a {
  font-weight: 700;
}

.company-status {
  padding-top: 12px;
}

.status-card p:last-child {
  color: var(--ink);
  font-size: 1.03rem;
}

.compact-hero {
  grid-template-columns: 1fr;
  padding-bottom: 28px;
}

.compact-panel {
  max-width: 420px;
}

.product-poster {
  margin-top: 6px;
}

.product-overview {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 236, 0.94));
}

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

.product-chip {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.product-chip strong {
  display: block;
  margin-bottom: 6px;
}

.product-chip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.product-chip.predx {
  background: var(--predx-soft);
}

.product-chip.cageos {
  background: var(--cageos-soft);
}

.product-chip.lite {
  background: var(--lite-soft);
}

.page-shell .hero-copy {
  max-width: 860px;
}

.emphasis {
  margin-top: 14px;
}

.demo-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
  padding: 8px 0 48px;
}

.demo-nav,
.demo-panel,
.demo-controls,
.demo-output,
.demo-receipt {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.demo-nav {
  display: grid;
  gap: 12px;
  align-self: start;
  padding: 16px;
  position: sticky;
  top: 110px;
}

.demo-tab,
.demo-option {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.demo-tab.is-active,
.demo-option.is-active {
  border-color: rgba(22, 33, 43, 0.2);
  background: linear-gradient(135deg, rgba(221, 230, 251, 0.9), rgba(243, 221, 210, 0.9));
  box-shadow: var(--shadow);
}

.demo-panels {
  display: grid;
}

.demo-panel {
  display: none;
  padding: 24px;
}

.demo-panel.is-active {
  display: block;
}

.demo-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.demo-head h2,
.demo-output h3 {
  margin: 8px 0 0;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.demo-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.demo-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
}

.demo-controls,
.demo-output,
.demo-receipt {
  padding: 18px;
}

.demo-controls {
  display: grid;
  gap: 12px;
  align-self: start;
}

.demo-output h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.demo-kicker {
  margin: 0;
  color: var(--muted);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demo-output > p:not(.demo-kicker) {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.demo-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 18px;
}

.demo-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(22, 33, 43, 0.08);
  color: var(--ink);
  font-size: 0.86rem;
}

.demo-receipt ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.hover-lift {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.signal-card:hover,
.principle:hover,
.platform-card:hover,
.deployment-card:hover,
.difference article:hover,
.company-copy:hover,
.frontier-card:hover,
.proof-card:hover,
.detail-card:hover,
.status-card:hover,
.credibility-card:hover,
.product-overview:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 33, 43, 0.2);
  box-shadow: var(--shadow-strong);
}

@media (max-width: 1120px) {
  .platform-grid,
  .deployment-grid,
  .proof-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero,
  .principles,
  .platform-grid,
  .deployment-grid,
  .difference-grid,
  .frontier-grid,
  .proof-grid,
  .platform-detail-grid,
  .status-grid,
  .credibility-grid,
  .proof-row,
  .product-grid,
  .demo-shell,
  .demo-grid {
    grid-template-columns: 1fr;
  }

  .topbar,
  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-nav {
    position: static;
  }

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

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 1200px);
  }

  .hero {
    padding-top: 44px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .button {
    width: 100%;
  }

  .topnav {
    gap: 12px;
  }

  .company-actions,
  .hero-actions,
  .top-actions {
    flex-direction: column;
  }
}

/* Polish pass: production-grade visual system and interaction refinements. */
:root {
  --bg: #f6f8fb;
  --bg-alt: #edf2f7;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: #ffffff;
  --surface-deep: #111827;
  --ink: #111827;
  --muted: #536170;
  --line: rgba(17, 24, 39, 0.1);
  --line-strong: rgba(17, 24, 39, 0.2);
  --predx: #087f78;
  --predx-soft: #e3f7f4;
  --cageos: #3157b7;
  --cageos-soft: #e8eefc;
  --lite: #668c2f;
  --lite-soft: #edf6df;
  --companion: #7752a8;
  --companion-soft: #f0e8fb;
  --accent: #b65a32;
  --accent-soft: #f8e7dc;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
  --shadow-strong: 0 18px 46px rgba(15, 23, 42, 0.12);
  --radius: 8px;
}

body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(246, 248, 251, 0.92)),
    repeating-linear-gradient(90deg, rgba(17, 24, 39, 0.035) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(17, 24, 39, 0.03) 0 1px, transparent 1px 96px),
    var(--bg);
}

.site-shell {
  width: min(1180px, calc(100% - 40px));
  padding: 18px 0 64px;
}

.topbar {
  top: 12px;
  padding: 12px 14px;
  border-color: rgba(17, 24, 39, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #111827, #2b3b4f);
  letter-spacing: 0;
  box-shadow: none;
}

.topnav {
  flex: 1;
  justify-content: flex-end;
  gap: 6px;
  font-size: 0.88rem;
}

.topnav a {
  padding: 8px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
}

.topnav a:hover,
.topnav a:focus-visible {
  background: #f3f6fa;
  border-color: var(--line);
}

.hero {
  position: relative;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 132px);
  padding: 58px 0 42px;
}

.compact-hero {
  min-height: auto;
  padding: 56px 0 28px;
}

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

.hero h1 {
  max-width: 920px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 6.4vw, 5.65rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.compact-hero h1 {
  font-size: clamp(2.45rem, 5vw, 4.8rem);
}

.hero-text,
.section-heading p,
.platform-summary,
.deployment-card p,
.company-copy p,
.difference li,
.proof-card p,
.detail-card p,
.detail-card li,
.frontier-card p,
.frontier-card li,
.credibility-card p:last-child,
.mission-band p,
.status-card p:last-child {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

.hero-text {
  max-width: 720px;
  font-size: 1.08rem;
}

.eyebrow,
.platform-tag,
.principle-number,
.block-label,
.signal-label,
.proof-label {
  letter-spacing: 0.04em;
}

.trust-row {
  margin-bottom: 22px;
}

.trust-pill,
.demo-badges span {
  border-radius: 999px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.08);
}

.button {
  min-height: 48px;
  border-radius: var(--radius);
}

.button-primary,
.button-accent {
  background: #111827;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.16);
}

.button-secondary {
  background: #ffffff;
}

.brand-poster,
.signal-card,
.principle,
.platform-card,
.deployment-card,
.difference article,
.company-copy,
.frontier-card,
.proof-card,
.detail-card,
.status-card,
.credibility-card,
.proof-band,
.product-overview,
.contact-band,
.demo-nav,
.demo-panel,
.demo-controls,
.demo-output,
.demo-receipt,
.product-chip {
  border-color: rgba(17, 24, 39, 0.09);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.hero-panel {
  gap: 12px;
}

.brand-poster {
  padding: 12px;
  background: #ffffff;
}

.brand-poster img {
  border-radius: 6px;
}

.signal-card {
  padding: 20px;
}

.signal-card.accent,
.deployment-card.featured,
.frontier-card.highlight,
.proof-card.highlight {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border-color: rgba(49, 87, 183, 0.18);
}

.principles,
.proof-band,
.platforms,
.model,
.proof,
.research,
.credibility,
.company-status,
.difference,
.company,
.contact {
  margin-top: 0;
}

.principles {
  margin-bottom: 62px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 26px;
}

.section-heading h2,
.principle h2,
.platform-head h3,
.deployment-card h3,
.proof-card h3,
.mission-band h2,
.contact-band h2 {
  letter-spacing: 0;
}

.section-heading h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
}

.proof-band {
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(232, 238, 252, 0.9), rgba(227, 247, 244, 0.82)),
    #ffffff;
}

.proof-row {
  gap: 16px;
}

.proof-item {
  padding: 14px 0 0;
}

.platform-card {
  min-height: 100%;
}

.platform-card.predx,
.platform-card.cageos,
.platform-card.lite {
  background: #ffffff;
}

.platform-card::before {
  height: 4px;
}

.platform-head h3 {
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
}

.platform-link::after {
  content: "->";
  font-weight: 800;
}

.coming-soon-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 24px;
  border: 1px solid rgba(119, 82, 168, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(240, 232, 251, 0.86), rgba(255, 255, 255, 0.96)),
    #ffffff;
  box-shadow: var(--shadow);
}

.coming-soon-card h3 {
  margin: 6px 0 10px;
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.coming-soon-card p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.product-chip.companion {
  background: var(--companion-soft);
}

.mission-band {
  border-radius: var(--radius);
  background: #111827;
  color: #f8fafc;
  box-shadow: var(--shadow-strong);
}

.mission-band p {
  color: rgba(248, 250, 252, 0.74);
}

.mission-kicker {
  color: #91d8d1;
}

.contact-band {
  background: #111827;
}

.demo-shell {
  grid-template-columns: 220px minmax(0, 1fr);
}

.demo-nav {
  gap: 10px;
  top: 96px;
}

.demo-tab,
.demo-option {
  border-radius: var(--radius);
  background: #ffffff;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.demo-tab:hover,
.demo-option:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.demo-tab.is-active,
.demo-option.is-active {
  background: #111827;
  color: #ffffff;
  box-shadow: none;
}

.demo-panel {
  padding: 26px;
}

.demo-output {
  min-height: 360px;
}

.demo-output h3 {
  letter-spacing: 0;
}

.demo-receipt {
  margin-top: 18px;
  background: #f8fafc;
  box-shadow: none;
}

.demo-receipt li::marker,
.signal-list li::marker,
.platform-block li::marker {
  color: var(--accent);
}

.signal-card:hover,
.principle:hover,
.platform-card:hover,
.deployment-card:hover,
.difference article:hover,
.company-copy:hover,
.frontier-card:hover,
.proof-card:hover,
.detail-card:hover,
.status-card:hover,
.credibility-card:hover,
.product-overview:hover {
  transform: translateY(-3px);
}

@media (max-width: 980px) {
  .site-shell {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .demo-shell,
  .demo-grid,
  .product-grid,
  .platform-detail-grid,
  .frontier-grid,
  .proof-grid,
  .status-grid,
  .credibility-grid {
    grid-template-columns: 1fr;
  }

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

  .demo-nav {
    position: static;
  }

  .coming-soon-card {
    align-items: stretch;
    flex-direction: column;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 9vw, 4.35rem);
  }

  .topnav {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 18px, 1180px);
    padding-top: 10px;
  }

  .topbar {
    top: 8px;
  }

  .brand-lockup {
    align-items: flex-start;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .topnav a {
    padding: 8px 9px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    font-size: clamp(2.34rem, 12vw, 3.5rem);
  }

  .proof-band,
  .demo-panel,
  .product-overview,
  .mission-band,
  .contact-band {
    padding: 20px;
  }
}
