* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--pc-surface-canvas);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--pc-text-primary);
  background:
    radial-gradient(circle at 86% 4%, rgb(22 117 223 / 0.09), transparent 31rem),
    radial-gradient(circle at 12% 32%, rgb(20 136 144 / 0.07), transparent 30rem),
    var(--pc-surface-canvas);
  font-family: var(--pc-font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-tap-highlight-color: rgb(22 117 223 / 0.16);
}

body p {
  max-width: 65ch;
  line-height: 1.65;
}

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

a,
button,
select {
  touch-action: manipulation;
}

a {
  color: inherit;
}

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

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

h1,
h2,
h3 {
  font-family: var(--pc-font-sans);
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}

h1 {
  max-width: 12.5ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3.4rem, 6.6vw, 5.65rem);
  font-weight: 760;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 5.2vw, 4.8rem);
  font-weight: 730;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.4rem, 2.1vw, 2rem);
  font-weight: 700;
}

p {
  text-wrap: pretty;
}

[id] {
  scroll-margin-top: 6rem;
}

.shell {
  width: min(100% - 2rem, 84rem);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: var(--pc-layer-dialog);
  padding: 0.75rem 1rem;
  border-radius: var(--pc-radius-button);
  color: var(--pc-text-inverse);
  background: var(--pc-action-primary);
  transform: translateY(-160%);
  transition: transform var(--pc-motion-fast) var(--pc-motion-easing);
}

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

:focus-visible {
  outline: var(--pc-focus-width) solid var(--pc-action-focus);
  outline-offset: 0.2rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--pc-layer-header);
  border-bottom: 1px solid transparent;
  background: rgb(244 247 251 / 0.86);
  backdrop-filter: blur(18px) saturate(150%);
  transition:
    border-color var(--pc-motion-standard) var(--pc-motion-easing),
    background-color var(--pc-motion-standard) var(--pc-motion-easing);
}

[data-pc-theme="dark"] .site-header,
[data-pc-theme="contrast"] .site-header {
  background: rgb(7 22 42 / 0.9);
}

.site-header[data-scrolled="true"] {
  border-color: var(--pc-border-default);
}

.nav-shell {
  min-height: 4.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: var(--pc-text-primary);
  font-size: 1.15rem;
  font-weight: 760;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.wordmark img {
  width: 2.6rem;
  height: 2.6rem;
}

.site-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
}

.site-navigation a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.8rem;
  border-radius: var(--pc-radius-button);
  color: var(--pc-text-secondary);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  transition:
    color var(--pc-motion-fast) var(--pc-motion-easing),
    background-color var(--pc-motion-fast) var(--pc-motion-easing);
}

.site-navigation a:hover {
  color: var(--pc-text-primary);
  background: var(--pc-surface-subtle);
}

.site-navigation-simple {
  justify-content: flex-end;
}

.theme-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--pc-text-secondary);
  font-size: 0.85rem;
  font-weight: 650;
}

.theme-control select {
  min-height: 2.75rem;
  max-width: 8.6rem;
  border: 1px solid var(--pc-border-default);
  border-radius: var(--pc-radius-control);
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  color: var(--pc-text-primary);
  background-color: var(--pc-surface-primary);
}

.menu-button {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--pc-border-default);
  border-radius: var(--pc-radius-control);
  color: var(--pc-text-primary);
  background: var(--pc-surface-primary);
}

.menu-button span {
  width: 1.25rem;
  height: 0.125rem;
  display: block;
  margin: 0.23rem auto;
  background: currentColor;
  transform-origin: center;
  transition:
    transform var(--pc-motion-standard) var(--pc-motion-easing),
    opacity var(--pc-motion-standard) var(--pc-motion-easing);
}

.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.36rem) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.36rem) rotate(-45deg); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100dvh - 4.5rem);
  display: grid;
  align-items: center;
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}

.hero::before {
  width: 28rem;
  height: 28rem;
  right: -9rem;
  top: 8rem;
  background: radial-gradient(circle, rgb(240 138 10 / 0.16), transparent 68%);
}

.hero::after {
  width: 22rem;
  height: 22rem;
  left: -12rem;
  bottom: 3rem;
  background: radial-gradient(circle, rgb(20 136 144 / 0.12), transparent 68%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(26rem, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--pc-product-accent);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-deck {
  max-width: 38rem;
  margin-bottom: 0;
  color: var(--pc-text-secondary);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
}

.button {
  min-height: 2.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 1px solid transparent;
  border-radius: var(--pc-radius-button);
  padding: 0.7rem 1rem;
  font-weight: 720;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color var(--pc-motion-standard) var(--pc-motion-easing),
    background-color var(--pc-motion-standard) var(--pc-motion-easing),
    border-color var(--pc-motion-standard) var(--pc-motion-easing),
    transform var(--pc-motion-fast) var(--pc-motion-easing);
}

.button:hover {
  transform: translateY(-0.1rem);
}

.button:active {
  transform: translateY(0.05rem) scale(0.99);
}

.button-primary {
  color: var(--pc-text-inverse);
  background: var(--pc-action-primary);
}

[data-pc-theme="dark"] .button-primary,
[data-pc-theme="contrast"] .button-primary {
  color: #07162a;
}

.button-primary:hover {
  background: var(--pc-action-primary-hover);
}

.button-secondary {
  border-color: var(--pc-border-default);
  color: var(--pc-text-primary);
  background: var(--pc-surface-primary);
}

.button-secondary:hover {
  border-color: var(--pc-border-strong);
  background: var(--pc-surface-subtle);
}

.progress-action {
  box-shadow: 0 0.5rem 1.2rem rgb(22 117 223 / 0.2);
}

.text-link {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--pc-text-primary);
  font-weight: 720;
  text-underline-offset: 0.3rem;
}

.text-link:hover {
  color: var(--pc-product-accent);
}

.hero-visual {
  min-width: 0;
}

.hero-signal-row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: -1rem;
}

.hero-signal-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--pc-border-default);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  color: var(--pc-text-secondary);
  background: rgb(255 255 255 / 0.48);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-signal-row i,
.window-status i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--pc-color-teal);
  box-shadow: 0 0 0 0.25rem rgb(20 136 144 / 0.12);
}

.hero-signal-row span:nth-child(2) i { background: var(--pc-color-blue); }
.hero-signal-row span:nth-child(3) i { background: var(--pc-color-orange); }

.workbench-section {
  padding-top: clamp(4rem, 8vw, 7rem);
  background: linear-gradient(180deg, var(--pc-surface-canvas), var(--pc-surface-subtle));
}

.workbench-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.66fr) minmax(0, 1.34fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.workbench-copy > p:not(.eyebrow) {
  max-width: 34rem;
  color: var(--pc-text-secondary);
  font-size: 1.08rem;
}

.workbench-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 2rem;
}

.workbench-tab {
  border: 1px solid var(--pc-border-default);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  color: var(--pc-text-secondary);
  background: var(--pc-surface-primary);
  font-size: 0.82rem;
  font-weight: 720;
  cursor: pointer;
}

.workbench-tab:hover,
.workbench-tab.is-active {
  border-color: var(--pc-color-teal);
  color: var(--pc-text-primary);
  background: rgb(20 136 144 / 0.1);
}

.workbench-window {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 1rem;
  background: #0b1d34;
  box-shadow: 0 2rem 4rem rgb(16 40 76 / 0.2), 0 0 0 0.5rem rgb(16 40 76 / 0.05);
}

.window-chrome {
  min-height: 3.2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  padding: 0.75rem 1rem;
  color: #c6d6e8;
  font: 0.72rem/1 var(--pc-font-mono);
}

.window-dots { display: flex; gap: 0.35rem; }
.window-dots i { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #ef7667; }
.window-dots i:nth-child(2) { background: #efb34f; }
.window-dots i:nth-child(3) { background: #52bd88; }
.window-title { color: #f1f5fa; text-align: center; }
.window-status { display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; }

.window-body {
  min-height: 18rem;
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr) 9rem;
  color: #e8f0f7;
  background: #10284c;
}

.window-body.is-hidden { display: none; }
.window-sidebar,
.window-inspector { display: grid; align-content: start; gap: 0.65rem; padding: 1rem; color: #8fa8c0; font-size: 0.7rem; }
.window-sidebar span { padding: 0.4rem 0.5rem; border-radius: 0.35rem; }
.window-sidebar .sidebar-active { color: #fff; background: rgb(20 136 144 / 0.32); }
.window-inspector { border-left: 1px solid rgb(255 255 255 / 0.08); }
.window-inspector span { color: #7dd2d6; font: 0.62rem/1 var(--pc-font-mono); letter-spacing: 0.08em; }
.window-inspector b { color: #c7d8e8; font-weight: 500; }
.window-inspector strong { color: #fff; font-weight: 650; }
.window-inspector em { float: right; color: #7dd2d6; font-style: normal; }
.window-inspector hr { width: 100%; border: 0; border-top: 1px solid rgb(255 255 255 / 0.1); }

.mock-editor { position: relative; padding: 2rem clamp(1.5rem, 4vw, 3.5rem); }
.mock-kicker, .mock-canvas > .canvas-label, .mini-ui span { color: #79ced1; font: 0.65rem/1 var(--pc-font-mono); letter-spacing: 0.08em; }
.mock-editor h3 { max-width: 12ch; margin: 1rem 0; color: #fff; font-size: clamp(1.7rem, 4vw, 3rem); }
.mock-editor p { max-width: 24rem; color: #a8bed2; font-size: 0.85rem; }
.mock-line { width: 80%; height: 0.45rem; margin-top: 1.1rem; border-radius: 999px; background: rgb(255 255 255 / 0.16); }
.mock-line.wide { width: 92%; }
.mock-line.short { width: 52%; }
.mock-cursor { position: absolute; width: 0.12rem; height: 1.15rem; left: 4.2rem; bottom: 2rem; background: #efb34f; animation: cursor-blink 1.2s steps(2, start) infinite; }
@keyframes cursor-blink { 50% { opacity: 0; } }

.mock-canvas { position: relative; display: grid; place-items: center; padding: 1.25rem; }
.canvas-art { position: relative; display: grid; place-items: center; width: min(80%, 15rem); aspect-ratio: 1; border: 1px dashed rgb(125 210 214 / 0.55); background: radial-gradient(circle, rgb(20 136 144 / 0.18), transparent 65%); }
.canvas-art img { width: 62%; filter: drop-shadow(0 1rem 1rem rgb(0 0 0 / 0.22)); }
.selection-box { position: absolute; inset: 20% 18%; border: 1px solid #efb34f; box-shadow: 0 0 0 0.2rem rgb(240 138 10 / 0.12); }
.canvas-label { position: absolute; bottom: 1rem; }

.mock-flow { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.55rem; padding: 2rem 1rem; }
.flow-card { min-width: 5rem; padding: 0.8rem 0.55rem; border: 1px solid rgb(255 255 255 / 0.15); border-radius: 0.6rem; color: #8fb4cd; font: 0.58rem/1.5 var(--pc-font-mono); text-align: center; }
.flow-card b { color: #fff; font: 0.85rem/1.4 var(--pc-font-sans); }
.flow-card-one { border-color: #efb34f; }
.flow-card-two { border-color: #79ced1; transform: translateY(-0.6rem); }
.flow-card-three { border-color: #6da7ed; }
.flow-connector { color: #efb34f; }
.flow-play { width: 100%; margin-top: 1.5rem; color: #79ced1; font-size: 0.78rem; text-align: center; }

.mini-ui { width: 100%; margin-top: 1.25rem; border: 1px solid rgb(255 255 255 / 0.14); border-radius: 0.55rem; padding: 0.75rem; background: rgb(4 16 32 / 0.28); }
.mini-ui b { display: block; margin-top: 0.45rem; color: #fff; font-size: 0.8rem; }
.mini-ui i { display: block; width: 82%; height: 0.28rem; margin-top: 0.45rem; border-radius: 999px; background: rgb(255 255 255 / 0.22); }
.mini-ui i:last-child { width: 54%; }
.product-card:not(.product-card-feature) .mini-ui { margin-top: auto; }
.mini-ui-art { display: flex; align-items: end; gap: 0.35rem; height: 6rem; padding-top: 2rem; }
.mini-ui-art span { width: 1.5rem; height: 2.6rem; border-radius: 0.25rem; background: #168c91; }
.mini-ui-art span:nth-child(2) { height: 4.1rem; background: #2878e5; }
.mini-ui-art span:nth-child(3) { height: 3.3rem; background: #ef8508; }
.mini-ui-art b { margin-left: auto; color: #a7bacb; font-size: 0.7rem; }
.mini-ui-pdf { background: linear-gradient(135deg, rgb(255 255 255 / 0.08), transparent), rgb(22 117 223 / 0.1); }
.mini-ui-pdf i { display: inline-block; width: 42%; margin-right: 0.35rem; }
.mini-ui-svg { background: linear-gradient(90deg, rgb(20 136 144 / 0.16), transparent); }
.mini-ui-flow { display: flex; align-items: center; gap: 0.35rem; }
.mini-ui-flow span { min-width: 1.5rem; padding: 0.35rem; border: 1px solid rgb(255 255 255 / 0.2); border-radius: 0.3rem; text-align: center; }
.mini-ui-flow b { margin-left: auto; font-size: 0.68rem; }
.mini-ui-compass { background: linear-gradient(90deg, rgb(240 138 10 / 0.16), transparent); }

.product-stage {
  position: relative;
  min-height: min(38rem, 65dvh);
  display: grid;
  place-items: center;
  isolation: isolate;
}

.stage-orbit {
  position: absolute;
  width: min(34rem, 92%);
  aspect-ratio: 1;
  border: 1px solid rgb(22 117 223 / 0.25);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 38%, rgb(22 117 223 / 0.035) 39%, transparent 63%),
    conic-gradient(from 32deg, rgb(22 117 223 / 0.09), transparent 18%, rgb(20 136 144 / 0.09), transparent 42%, rgb(240 138 10 / 0.08), transparent 75%);
}

.stage-parent,
.stage-products img {
  filter: drop-shadow(0 1.5rem 1.4rem rgb(16 40 76 / 0.13));
}

.stage-parent {
  position: relative;
  z-index: 2;
  width: clamp(13rem, 31vw, 23rem);
  transition:
    opacity var(--pc-motion-standard) var(--pc-motion-easing),
    transform var(--pc-motion-slow) var(--pc-motion-easing);
}

.stage-products {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.stage-products img {
  position: absolute;
  width: clamp(13rem, 31vw, 23rem);
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity var(--pc-motion-slow) var(--pc-motion-easing),
    transform var(--pc-motion-slow) var(--pc-motion-easing);
}

.stage-products img[data-active="true"] {
  opacity: 1;
  transform: scale(1);
}

.product-stage[data-product-visible="true"] .stage-parent {
  opacity: 0;
  transform: scale(0.92);
}

.stage-caption {
  position: absolute;
  right: clamp(0rem, 3vw, 2.4rem);
  bottom: clamp(1rem, 6vw, 4rem);
  z-index: 3;
  min-width: 12rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--pc-border-default);
  border-radius: var(--pc-radius-panel);
  color: var(--pc-text-primary);
  background: var(--pc-surface-primary);
  box-shadow: var(--pc-shadow-overlay);
}

.stage-caption span,
.stage-caption small {
  display: block;
}

.stage-caption span {
  font-weight: 740;
}

.stage-caption small {
  color: var(--pc-text-secondary);
}

.independent-note {
  padding: 1.5rem 0;
  border-block: 1px solid var(--pc-border-default);
  background: var(--pc-surface-primary);
}

.independent-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.independent-layout p {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--pc-text-secondary);
}

.independent-layout strong {
  color: var(--pc-text-primary);
}

.section {
  padding: clamp(5rem, 9vw, 9rem) 0;
}

.section-intro {
  max-width: 52rem;
  margin-bottom: 3rem;
}

.section-intro p,
.handoff-copy p,
.progress-copy p,
.founder-note p,
.join-layout p,
.legal-copy p {
  color: var(--pc-text-secondary);
  font-size: 1.08rem;
}

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

.product-card {
  grid-column: span 4;
  min-width: 0;
  min-height: 25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  border-radius: var(--pc-radius-panel);
  padding: 1.5rem;
  color: var(--pc-text-primary);
  background: var(--pc-surface-primary);
  box-shadow: inset 0 0 0 1px var(--pc-border-default);
  transition:
    transform var(--pc-motion-standard) var(--pc-motion-easing),
    box-shadow var(--pc-motion-standard) var(--pc-motion-easing);
}

.product-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: inset 0 0 0 1px var(--pc-border-strong), 0 1.25rem 2.5rem rgb(16 40 76 / 0.1);
}

.product-card > img {
  width: clamp(8rem, 14vw, 11rem);
  margin: 0 auto 2rem;
}

.product-card h3 {
  margin-top: auto;
}

.product-card p {
  margin-bottom: 0;
  color: var(--pc-text-secondary);
}

.product-card-feature {
  grid-column: span 8;
  display: grid;
  grid-template-columns: minmax(13rem, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 2rem;
  color: #fffdf8;
  background:
    radial-gradient(circle at 16% 16%, rgb(22 117 223 / 0.42), transparent 19rem),
    #10284c;
  box-shadow: none;
}

.product-card-feature:hover {
  box-shadow: 0 1.5rem 3rem rgb(16 40 76 / 0.2);
}

.product-card-feature .product-card-visual img {
  width: 100%;
  max-width: 17rem;
  margin: auto;
  filter: drop-shadow(0 1.4rem 1.1rem rgb(0 0 0 / 0.2));
}

.product-card-feature p {
  color: #d7e4f2;
}

.product-card-feature h3 {
  margin-top: 0;
}

.status-label {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--pc-product-accent);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card-feature .status-label {
  color: #7dd2d6;
}

.product-promise {
  margin-top: 1.25rem;
  font-weight: 720;
}

.product-card-cool {
  background:
    radial-gradient(circle at 100% 0%, rgb(22 117 223 / 0.18), transparent 16rem),
    var(--pc-surface-primary);
}

.product-card-wide {
  grid-column: span 7;
  min-height: 19rem;
  display: grid;
  grid-template-columns: minmax(10rem, 0.6fr) minmax(0, 1.4fr);
  align-items: center;
  gap: 2rem;
  background:
    radial-gradient(circle at 8% 50%, rgb(20 136 144 / 0.17), transparent 18rem),
    var(--pc-surface-primary);
}

.product-card-wide > img {
  width: 12rem;
  margin: auto;
}

.product-card-deep {
  grid-column: span 5;
  min-height: 19rem;
  color: #fffdf8;
  background: #14365f;
  box-shadow: none;
}

.product-card-deep p {
  color: #d7e4f2;
}

.product-card-deep .status-label {
  color: #8bd6d9;
}

.product-card-compass {
  grid-column: 3 / span 8;
  background:
    radial-gradient(circle at 86% 14%, rgb(240 138 10 / 0.32), transparent 17rem),
    #10284c;
}

.handoff-section {
  background: var(--pc-surface-primary);
}

.handoff-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(34rem, 1.22fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.handoff-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.handoff-item {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  color: var(--pc-text-secondary);
  font-size: 0.85rem;
  font-weight: 700;
}

.handoff-item img {
  width: clamp(5.5rem, 9vw, 8rem);
}

.handoff-arrow {
  color: var(--pc-product-accent);
  font-size: 1.6rem;
}

.principles-section {
  color: #fffdf8;
  background:
    radial-gradient(circle at 20% 10%, rgb(22 117 223 / 0.28), transparent 31rem),
    #081b33;
}

.principles-layout {
  display: grid;
  grid-template-columns: minmax(20rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.principles-statement {
  position: sticky;
  top: 7rem;
  align-self: start;
}

.principles-statement .eyebrow {
  color: #74d0d4;
}

.principles-statement p:last-child {
  max-width: 30rem;
  color: #bfcfe0;
  font-size: 1.15rem;
}

.principle-list {
  display: grid;
  gap: 3rem;
}

.principle {
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.2);
}

.principle span {
  color: #83dadd;
  font-weight: 750;
}

.principle h3 {
  max-width: 22ch;
  margin-top: 0.8rem;
}

.principle p {
  max-width: 36rem;
  margin-bottom: 0;
  color: #bfcfe0;
}

.building-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.companion-portrait {
  position: relative;
  padding: 2rem;
}

.companion-portrait::before {
  content: "";
  position: absolute;
  inset: 8% 0 0;
  z-index: -1;
  border-radius: 48% 52% 44% 56%;
  background:
    radial-gradient(circle at 28% 25%, rgb(255 255 255 / 0.65), transparent 10rem),
    rgb(20 136 144 / 0.16);
  transform: rotate(-4deg);
}

.companion-portrait img {
  max-height: 36rem;
  margin: auto;
}

.founder-note {
  max-width: 45rem;
}

.founder-page {
  background: linear-gradient(180deg, var(--pc-surface-canvas) 0%, var(--pc-surface-subtle) 38%, var(--pc-surface-canvas) 100%);
}

.founder-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  color: #fffdf8;
  background:
    radial-gradient(circle at 74% 30%, rgb(20 136 144 / 0.38), transparent 23rem),
    radial-gradient(circle at 18% 0%, rgb(40 120 229 / 0.35), transparent 28rem),
    #0b203c;
}

.founder-hero::after {
  content: "";
  position: absolute;
  width: 34rem;
  height: 34rem;
  right: -12rem;
  bottom: -21rem;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgb(255 255 255 / 0.03), 0 0 0 7rem rgb(255 255 255 / 0.03);
}

.founder-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(17rem, 0.55fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.founder-hero .eyebrow,
.story-kicker { color: #7dd2d6; }
.founder-hero h1 { max-width: 10ch; margin-bottom: 1.5rem; color: #fffdf8; }
.founder-lead { max-width: 43rem; margin: 0; color: #d5e4f0 !important; font-size: clamp(1.2rem, 2.2vw, 1.6rem) !important; line-height: 1.55; }
.founder-meta { margin-top: 2rem; color: #99b4c9; font-size: 0.84rem; }
.founder-meta span { color: #fffdf8; font-weight: 720; }

.founder-guide-card { position: relative; border: 1px solid rgb(255 255 255 / 0.18); border-radius: 1rem; padding: 1.25rem; color: #d5e4f0; background: rgb(255 255 255 / 0.07); box-shadow: 0 1.5rem 3rem rgb(0 0 0 / 0.15); backdrop-filter: blur(16px); }
.founder-guide-art { display: grid; place-items: center; min-height: 15rem; border-radius: 0.75rem; background: radial-gradient(circle, rgb(125 210 214 / 0.24), transparent 66%); }
.founder-guide-art img { width: min(100%, 14rem); filter: drop-shadow(0 1.2rem 1rem rgb(0 0 0 / 0.25)); }
.founder-guide-card p { margin-bottom: 0.5rem; color: #b7cedf; font-size: 0.9rem; }
.founder-guide-card p strong { color: #fffdf8; font-size: 1rem; }
.guide-label { margin-top: 1rem; color: #7dd2d6 !important; font: 0.67rem/1 var(--pc-font-mono); letter-spacing: 0.08em; text-transform: uppercase; }

.founder-story-layout { display: block; padding: clamp(4rem, 8vw, 8rem) 0; }
.founder-copy { max-width: 48rem; margin: auto; }
.founder-copy p { color: var(--pc-text-secondary); font-size: 1.08rem; line-height: 1.78; }
.founder-copy p strong { color: var(--pc-text-primary); }
.story-kicker { margin-bottom: 1rem; font: 0.72rem/1 var(--pc-font-mono) !important; font-weight: 720; letter-spacing: 0.12em; text-transform: uppercase; }
.founder-pullquote { margin: 3rem 0; color: var(--pc-text-primary) !important; font-size: clamp(1.9rem, 4vw, 3.4rem) !important; font-weight: 750; letter-spacing: -0.045em; line-height: 1.1 !important; }
.pullquote-soft { max-width: 16ch; color: var(--pc-color-blue) !important; }
.pullquote-teal { color: var(--pc-color-teal) !important; }
.founder-quote { margin: 3.5rem calc(-1 * clamp(1rem, 7vw, 7rem)); border-left: 0.35rem solid var(--pc-color-orange); border-radius: 0 1rem 1rem 0; padding: clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 5vw, 4rem); color: #fffdf8; background: #10284c; box-shadow: 0 1.5rem 3rem rgb(16 40 76 / 0.16); }
.founder-quote p { margin: 0; color: #fffdf8; font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 750; line-height: 1.2; }
.founder-quote cite { display: block; margin-top: 1.5rem; color: #9edfe0; font-size: 1rem; font-style: normal; font-weight: 650; }

.founder-beliefs-section { margin: 5rem 0; padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--pc-border-default); border-radius: 1rem; background: var(--pc-surface-primary); box-shadow: 0 1rem 2rem rgb(16 40 76 / 0.06); }
.founder-beliefs-section h2 { margin-bottom: 2rem; font-size: clamp(2rem, 4vw, 3.3rem); }
.founder-beliefs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.founder-beliefs li { display: grid; grid-template-columns: 2rem 1fr; gap: 0.8rem; align-items: start; padding: 1rem 0; border-top: 1px solid var(--pc-border-default); color: var(--pc-text-primary); font-size: 0.98rem; line-height: 1.45; }
.belief-mark { color: var(--pc-product-accent); font: 0.7rem/1.5 var(--pc-font-mono); font-weight: 750; }
.founder-invitation { margin-top: 5rem; padding-top: 3rem; border-top: 1px solid var(--pc-border-default); }
.founder-invitation h2 { margin-bottom: 1rem; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.pullquote-final { margin: 3rem 0 2rem; max-width: 20ch; color: var(--pc-color-blue) !important; }
.founder-signoff { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--pc-border-default); }
.founder-signoff strong, .founder-signoff span { display: block; }
.founder-signoff strong { color: var(--pc-text-primary); font-size: 1.4rem; }
.founder-signoff span { color: var(--pc-text-secondary); font-size: 0.88rem; }

.signature {
  margin-top: 2rem;
  color: var(--pc-text-primary) !important;
  font-weight: 750;
}

.signature span {
  color: var(--pc-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.progress-section {
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--pc-surface-subtle);
}

.progress-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(24rem, 0.9fr);
  align-items: center;
  gap: 3rem;
}

.progress-copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.progress-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--pc-border-default);
  border-radius: var(--pc-radius-panel);
  padding: 1.25rem;
  background: var(--pc-surface-primary);
}

.horizon-groups {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 2rem;
}

.horizon-group {
  position: relative;
  min-height: 15rem;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--pc-border-default);
  border-top: 0.25rem solid var(--pc-product-accent);
  border-radius: var(--pc-radius-panel);
  background: var(--pc-surface-primary);
  box-shadow: 0 0.75rem 1.5rem rgb(16 40 76 / 0.05);
  transition: transform var(--pc-motion-standard) var(--pc-motion-easing), box-shadow var(--pc-motion-standard) var(--pc-motion-easing);
}

.horizon-group:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 1.25rem 2rem rgb(16 40 76 / 0.1);
}

.horizon-group:nth-child(2) {
  border-color: var(--pc-color-blue);
}

.horizon-group:nth-child(3) {
  border-color: var(--pc-color-orange);
}

.horizon-group p {
  margin-bottom: 2rem;
  color: var(--pc-text-secondary);
}

.horizon-index {
  margin-top: auto;
  color: var(--pc-product-accent);
  font: 0.68rem/1 var(--pc-font-mono);
  font-weight: 750;
  letter-spacing: 0.08em;
}

.join-section {
  padding-top: 2rem;
}

.join-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 0.55fr) minmax(0, 1.45fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  border-radius: var(--pc-radius-panel);
  padding: clamp(2rem, 6vw, 5rem);
  color: #fffdf8;
  background:
    radial-gradient(circle at 15% 20%, rgb(22 117 223 / 0.5), transparent 18rem),
    #10284c;
}

.family-emblem-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 19rem);
  aspect-ratio: 1;
  margin: auto;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 1rem;
  background: radial-gradient(circle, rgb(255 255 255 / 0.1), transparent 68%);
}

.family-emblem-frame::before,
.family-emblem-frame::after {
  content: "";
  position: absolute;
  inset: 0.9rem;
  border: 1px solid rgb(255 255 255 / 0.13);
  border-radius: 50%;
}

.family-emblem-frame::after { inset: 2.1rem; border-color: rgb(240 138 10 / 0.4); }

.join-layout img {
  width: 100%;
  max-width: 18rem;
  margin: auto;
  filter: drop-shadow(0 1.4rem 1.3rem rgb(0 0 0 / 0.18));
}

.family-emblem-frame img { position: relative; z-index: 1; width: 72%; filter: drop-shadow(0 1.4rem 1.3rem rgb(0 0 0 / 0.18)); }
.family-emblem-frame span { position: absolute; bottom: 0.9rem; z-index: 2; color: #b8d8e2; font: 0.62rem/1 var(--pc-font-mono); letter-spacing: 0.1em; }

.join-layout p {
  max-width: 44rem;
  color: #d7e4f2;
}

.join-layout .button-primary {
  color: #10284c;
  background: #fffdf8;
}

.join-layout .button-primary:hover {
  background: #dfeaf5;
}

.site-footer {
  padding: 2.5rem 0;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--pc-border-default);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand span,
.footer-layout p {
  margin-bottom: 0;
  color: var(--pc-text-secondary);
  font-size: 0.9rem;
}

.footer-layout nav {
  display: flex;
  gap: 1rem;
}

.footer-layout a {
  font-weight: 650;
  text-underline-offset: 0.25rem;
}

.legal-page {
  min-height: calc(100dvh - 4.5rem);
  padding: clamp(4rem, 9vw, 8rem) 0;
}

.legal-copy {
  max-width: 48rem;
}

.legal-copy h1 {
  max-width: 14ch;
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.legal-copy h2 {
  margin-top: 2.5rem;
  font-size: 1.7rem;
}

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 720ms var(--pc-motion-easing),
    transform 720ms var(--pc-motion-easing);
}

.reveal[data-revealed="true"] {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 68rem) {
  .nav-shell {
    grid-template-columns: auto auto 1fr auto;
  }

  .menu-button {
    grid-column: 2;
    display: block;
  }

  .site-navigation {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    justify-content: stretch;
    gap: 0.25rem;
    border: 1px solid var(--pc-border-default);
    border-radius: var(--pc-radius-panel);
    padding: 0.5rem;
    background: var(--pc-surface-primary);
    box-shadow: var(--pc-shadow-overlay);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.75rem);
    transition:
      opacity var(--pc-motion-standard) var(--pc-motion-easing),
      transform var(--pc-motion-standard) var(--pc-motion-easing);
  }

  .site-navigation[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-navigation a {
    justify-content: flex-start;
  }

  .theme-control {
    grid-column: 4;
  }

  .hero-layout,
  .workbench-layout,
  .handoff-layout,
  .principles-layout,
  .building-layout,
  .progress-layout,
  .founder-hero-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    gap: 0;
  }

  .product-stage {
    min-height: 34rem;
  }

  .hero-signal-row { margin-top: 1rem; }

  .product-card,
  .product-card-wide,
  .product-card-deep {
    grid-column: span 6;
  }

  .product-card-feature,
  .product-card-compass {
    grid-column: 1 / -1;
  }

  .handoff-layout {
    gap: 2rem;
  }

  .principles-statement {
    position: static;
  }

  .founder-guide-card { max-width: 30rem; }

  .horizon-groups {
    grid-template-columns: 1fr 1fr;
  }

  .horizon-group:last-child {
    grid-column: 1 / -1;
  }

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

  .footer-layout > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 47.99rem) {
  .shell {
    width: min(100% - 1.25rem, 84rem);
  }

  .nav-shell {
    grid-template-columns: auto 1fr auto;
    gap: 0.6rem;
  }

  .menu-button {
    grid-column: 3;
  }

  .theme-control {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-end;
    padding-bottom: 0.5rem;
  }

  .theme-control select {
    max-width: none;
  }

  .site-navigation {
    top: calc(100% + 0.25rem);
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero {
    padding-top: 3rem;
  }

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

  .product-stage {
    min-height: 28rem;
  }

  .window-body { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .window-inspector { display: none; }

  .stage-caption {
    right: 0;
    bottom: 0.5rem;
  }

  .independent-layout,
  .workbench-layout,
  .product-card-feature,
  .product-card-wide,
  .join-layout,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .founder-beliefs { grid-template-columns: 1fr; }
  .founder-quote { margin-inline: 0; }
  .founder-signoff { align-items: flex-start; flex-direction: column; }

  .product-card,
  .product-card-wide,
  .product-card-deep,
  .product-card-feature,
  .product-card-compass {
    grid-column: 1 / -1;
  }

  .product-card,
  .product-card-feature,
  .product-card-wide,
  .product-card-deep {
    min-height: auto;
  }

  .product-card-feature .product-card-visual img,
  .product-card-wide > img {
    width: 10rem;
  }

  .handoff-rail {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    justify-content: flex-start;
    padding: 0.5rem 0 1rem;
    scroll-snap-type: x mandatory;
  }

  .handoff-item {
    min-width: 6.5rem;
    scroll-snap-align: start;
  }

  .progress-demo {
    align-items: stretch;
    flex-direction: column;
  }

  .horizon-groups {
    grid-template-columns: 1fr;
  }

  .horizon-group:last-child {
    grid-column: auto;
  }

  .join-layout {
    padding: 2rem 1.25rem;
  }

  .footer-layout nav,
  .footer-layout > p {
    grid-column: auto;
    grid-row: auto;
  }
}

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

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

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

  .stage-products {
    display: none;
  }

  .product-stage .stage-parent {
    opacity: 1;
    transform: none;
  }

  .hero-signal-row { gap: 0.4rem; }
  .hero-signal-row span { font-size: 0.7rem; }

  .window-chrome { grid-template-columns: auto 1fr; }
  .window-status { display: none; }
  .window-body { grid-template-columns: 1fr; }
  .window-sidebar { display: none; }
  .mock-editor { min-height: 16rem; }
}

@media (forced-colors: active) {
  .button,
  .product-card,
  .stage-caption,
  .progress-demo,
  .site-navigation {
    border: 2px solid CanvasText;
    box-shadow: none;
  }

  .principles-section,
  .product-card-feature,
  .product-card-deep,
  .join-layout {
    color: CanvasText;
    background: Canvas;
  }
}
