:root {
  --bg: #edf3fb;
  --bg-soft: #f7faff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --line: rgba(21, 40, 74, 0.10);
  --line-strong: rgba(21, 40, 74, 0.16);
  --ink: #13233d;
  --muted: #62758f;
  --muted-strong: #41526a;
  --blue: #4b79ff;
  --blue-strong: #264fd5;
  --mint: #26b48a;
  --amber: #c98a1f;
  --violet: #816eff;
  --navy: #11203a;
  --navy-deep: #0a1629;
  --white: #ffffff;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-xl: 0 30px 80px rgba(12, 25, 48, 0.14);
  --shadow-lg: 0 20px 50px rgba(12, 25, 48, 0.10);
  --shadow-md: 0 16px 30px rgba(12, 25, 48, 0.08);
  --container: 1260px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(75, 121, 255, 0.12), transparent 22%),
    radial-gradient(circle at top right, rgba(38, 180, 138, 0.10), transparent 18%),
    linear-gradient(180deg, #f7fbff 0%, var(--bg) 100%);
  overflow-x: hidden;
}

a { color: inherit; }

.background-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

.glow-a {
  top: -120px;
  right: -80px;
  background: rgba(75, 121, 255, 0.18);
}

.glow-b {
  left: -120px;
  bottom: 8%;
  background: rgba(38, 180, 138, 0.12);
}

.background-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(19, 35, 61, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 35, 61, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,0.72), transparent 90%);
  pointer-events: none;
  z-index: 0;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--container));
  margin: 22px auto 56px;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 28% 24%, rgba(255,255,255,0.28), transparent 36%),
    linear-gradient(145deg, var(--blue), var(--blue-strong));
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 18px 40px rgba(38, 79, 213, 0.22);
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.brand-copy span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.84rem;
}

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: var(--ink);
}

.site-nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  transition: transform 180ms ease, color 180ms ease, background-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--ink);
  background: rgba(75, 121, 255, 0.08);
  transform: translateY(-1px);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow,
.card-kicker,
.panel-tag,
.stage-kicker {
  margin: 0 0 10px;
  color: var(--blue-strong);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-size: 0.74rem;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 30px;
}

.hero-copy,
.hero-stage,
.overview-card,
.workflow-shell,
.evidence-hero,
.evidence-table,
.evidence-notes,
.surface-card,
.launch-band {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(20px);
}

.hero-copy {
  padding: 38px;
  background:
    radial-gradient(circle at top right, rgba(75, 121, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,250,255,0.92));
}

.hero-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-ribbon span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(75, 121, 255, 0.08);
  border: 1px solid rgba(75, 121, 255, 0.12);
  color: var(--blue-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.hero-copy-main {
  max-width: 34rem;
}

.hero-copy h1,
.overview-card h2,
.section-copy h2,
.workflow-panel h3,
.surface-card h3,
.launch-copy h2,
.stage-hero-copy strong {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.03;
}

.hero-copy h1 {
  max-width: 8.4ch;
  font-size: clamp(2.4rem, 4vw, 4.35rem);
}

.hero-lead,
.overview-card p,
.section-copy p,
.workflow-panel p,
.detail-list li,
.evidence-hero p,
.evidence-table th,
.evidence-table td,
.callout p,
.surface-card p,
.launch-copy p,
.metric-pill span,
.stage-card p,
.stage-card span,
.stage-badges span {
  color: var(--muted);
}

.hero-lead {
  margin-top: 18px;
  max-width: 62ch;
  line-height: 1.74;
  font-size: 1.03rem;
}

.hero-actions,
.hero-metrics,
.launch-actions,
.hero-inline-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions { margin-top: 26px; }
.hero-metrics { margin-top: 24px; }

.hero-inline-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-inline-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(75, 121, 255, 0.08);
  box-shadow: var(--shadow-md);
}

.hero-inline-card.compact strong,
.hero-inline-card.wide strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
}

.hero-inline-card.compact strong {
  font-size: 1.35rem;
}

.hero-inline-card span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.hero-inline-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.03);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  box-shadow: 0 20px 38px rgba(38, 79, 213, 0.22);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.button-large {
  min-height: 58px;
  padding: 0 26px;
}

.hero-metrics {
  align-items: stretch;
}

.metric-pill {
  min-width: 160px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(75, 121, 255, 0.08);
}

.metric-pill span,
.metric-pill strong {
  display: block;
}

.metric-pill strong {
  margin-top: 8px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
}

.hero-stage {
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(38, 180, 138, 0.10), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,249,255,0.96));
}

.stage-frame {
  min-height: 100%;
  padding: 22px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(77, 120, 255, 0.12), transparent 25%),
    linear-gradient(180deg, rgba(255,255,255,1), rgba(244,248,253,0.98));
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(75, 121, 255, 0.08);
}

.stage-header,
.stage-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stage-kicker {
  display: block;
  color: var(--blue-strong);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-size: 0.72rem;
  font-weight: 800;
}

.stage-header strong {
  display: block;
  margin-top: 6px;
  font-family: "Space Grotesk", sans-serif;
}

.mini-launch {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--blue-strong);
  background: rgba(75, 121, 255, 0.08);
  border: 1px solid rgba(75, 121, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 800;
}

.stage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 18px;
  margin-top: 18px;
}

.stage-main,
.workflow-panel,
.overview-card,
.evidence-hero,
.evidence-table,
.evidence-notes,
.surface-card {
  position: relative;
  overflow: hidden;
}

.stage-main {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.stage-preview-shell {
  padding: 18px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,246,253,0.96));
  border: 1px solid rgba(75, 121, 255, 0.10);
  box-shadow: var(--shadow-md);
}

.stage-preview-shell-app {
  padding: 14px;
}

.workspace-preview-card {
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(77, 120, 255, 0.10), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,1), rgba(244,248,255,0.98));
  border: 1px solid rgba(75, 121, 255, 0.10);
  box-shadow: 0 22px 50px rgba(13, 26, 48, 0.08);
  display: grid;
  gap: 16px;
}

.workspace-preview-shell {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.workspace-preview-rail {
  padding: 14px 8px;
  border-radius: 22px;
  background: linear-gradient(180deg, #142543 0%, #1a2d4f 100%);
  border: 1px solid rgba(30, 53, 92, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.workspace-preview-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 16px 28px rgba(38, 79, 213, 0.24);
}

.workspace-preview-rail-stack {
  display: grid;
  gap: 10px;
}

.workspace-preview-rail-dot {
  width: 24px;
  height: 6px;
  border-radius: 999px;
  background: rgba(167, 186, 219, 0.22);
}

.workspace-preview-rail-dot.active {
  background: linear-gradient(90deg, #5b84ff, #8d7bff);
  box-shadow: 0 0 20px rgba(91, 132, 255, 0.32);
}

.workspace-preview-main {
  display: grid;
  gap: 14px;
}

.workspace-preview-topbar {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}

.workspace-preview-heading {
  display: grid;
  gap: 4px;
}

.workspace-preview-kicker {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workspace-preview-heading strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.12rem;
  line-height: 1.18;
}

.workspace-preview-mode-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(75, 121, 255, 0.10);
  border: 1px solid rgba(75, 121, 255, 0.12);
  color: var(--blue-strong);
  font-size: 0.74rem;
  font-weight: 800;
}

.workspace-preview-body {
  display: grid;
  grid-template-columns: minmax(176px, 196px) 1fr;
  gap: 12px;
}

.workspace-preview-score-card {
  padding: 16px 14px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(244,248,255,0.92));
  border: 1px solid rgba(75, 121, 255, 0.08);
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
  text-align: center;
}

.workspace-preview-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.workspace-preview-stat,
.workspace-preview-surface {
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(75, 121, 255, 0.10);
  box-shadow: 0 12px 24px rgba(9, 24, 44, 0.05);
}

.workspace-preview-stat span,
.workspace-preview-surface span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workspace-preview-stat strong,
.workspace-preview-surface strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  line-height: 1.22;
}

.workspace-preview-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.workspace-preview-surface {
  min-height: 92px;
}

.showcase-metric-label {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(77, 120, 255, 0.08);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-gauge {
  position: relative;
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
}

.showcase-gauge-svg {
  width: 160px;
  height: 160px;
  transform: rotate(-90deg);
}

.showcase-gauge-track,
.showcase-gauge-progress {
  fill: none;
  stroke-width: 14;
}

.showcase-gauge-track {
  stroke: rgba(211, 221, 236, 0.84);
}

.showcase-gauge-progress {
  stroke: url(#showcaseGaugeGradient);
  stroke-linecap: round;
}

.showcase-gauge-core {
  position: absolute;
  inset: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(220, 229, 241, 0.8);
}

.showcase-score {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ink);
}

.showcase-risk-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(199, 138, 36, 0.12);
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 800;
}

.showcase-status-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  border-radius: 18px;
  border: 1px solid rgba(75, 121, 255, 0.10);
  background: rgba(255,255,255,0.76);
  overflow: hidden;
}

.showcase-status-item {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.showcase-status-item + .showcase-status-item {
  border-left: 1px solid rgba(216, 226, 240, 0.94);
}

.showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(255,255,255,0.72);
}

.showcase-dot.amber {
  background: var(--amber);
}

.showcase-dot.blue {
  background: var(--blue);
}

.showcase-dot.green {
  background: var(--mint);
}

.stage-floats {
  display: grid;
  align-content: start;
  gap: 12px;
}

.float-card {
  padding: 16px;
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,0.72);
}

.float-card span,
.float-card strong {
  display: block;
}

.float-card span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.float-card strong {
  margin-top: 8px;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.24;
}

.float-card-blue {
  background: linear-gradient(180deg, rgba(77,121,255,0.18), rgba(255,255,255,0.98));
}

.float-card-blue span {
  color: var(--blue-strong);
}

.float-card-mint {
  background: linear-gradient(180deg, rgba(45,184,139,0.16), rgba(255,255,255,0.98));
}

.float-card-mint span {
  color: var(--mint);
}

.float-card-white {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,249,255,0.96));
}

.float-card-white span {
  color: var(--muted);
}

.stage-floats .float-card:nth-child(1) {
  animation: float 4s ease-in-out infinite;
}

.stage-floats .float-card:nth-child(2) {
  animation: float 4.5s ease-in-out 0.3s infinite;
}

.stage-floats .float-card:nth-child(3) {
  animation: float 5s ease-in-out 0.6s infinite;
}

.stage-footer {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.stage-footer-card {
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
}

.stage-footer-card.accent {
  background: linear-gradient(145deg, rgba(75,121,255,0.16), rgba(255,255,255,0.04));
}

.stage-footer-card span,
.stage-footer-card strong {
  display: block;
}

.stage-footer-card span {
  color: rgba(191, 207, 239, 0.82);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
}

.stage-footer-card strong {
  margin-top: 8px;
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
}

.stage-card {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
}

.stage-card span,
.stage-card strong {
  display: block;
}

.stage-card span {
  font-size: 0.74rem;
  color: rgba(191, 207, 239, 0.82);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.stage-card strong {
  margin-top: 8px;
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.stage-card p {
  margin: 8px 0 0;
  line-height: 1.58;
  font-size: 0.9rem;
  color: rgba(210, 222, 245, 0.76);
}

.stage-card-primary {
  background: linear-gradient(145deg, rgba(75,121,255,0.16), rgba(255,255,255,0.04));
}

.stage-card.compact strong {
  font-size: 0.95rem;
}

.stage-card.muted {
  background: linear-gradient(145deg, rgba(201,138,31,0.12), rgba(255,255,255,0.04));
}

.overview-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.overview-card {
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(245,249,255,0.94));
}

.overview-card.accent {
  background:
    radial-gradient(circle at top right, rgba(75,121,255,0.10), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(245,249,255,0.94));
}

.overview-card h2 {
  font-size: 1.5rem;
}

.overview-card p {
  margin-top: 12px;
  line-height: 1.72;
}

.section-copy {
  max-width: 74ch;
}

.section-copy.compact {
  max-width: 66ch;
}

.section-copy h2 {
  font-size: clamp(2rem, 3vw, 3.25rem);
}

.section-copy p {
  margin-top: 12px;
  line-height: 1.72;
}

.workflow-section,
.evidence-section,
.surface-section {
  margin-top: 38px;
}

.workflow-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  margin-top: 20px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(244,248,252,0.96));
}

.workflow-rail {
  display: grid;
  gap: 10px;
}

.workflow-tab {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.80);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.workflow-tab span,
.workflow-tab strong {
  display: block;
}

.workflow-tab span {
  color: var(--blue-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.workflow-tab strong {
  margin-top: 8px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.workflow-tab.active,
.workflow-tab:hover,
.workflow-tab:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(75, 121, 255, 0.20);
  box-shadow: var(--shadow-md);
  background: linear-gradient(145deg, rgba(75,121,255,0.10), rgba(255,255,255,0.94));
}

.workflow-panels {
  position: relative;
}

.workflow-panel {
  display: none;
  min-height: 100%;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(75,121,255,0.08), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,248,252,0.96));
  border: 1px solid rgba(75, 121, 255, 0.08);
  animation: panelFade 260ms ease;
}

.workflow-panel.active {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

.workflow-panel-copy {
  display: grid;
  gap: 12px;
}

.workflow-panel h3 {
  font-size: 1.52rem;
}

.workflow-panel p {
  margin: 0;
  line-height: 1.74;
}

.detail-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 12px;
}

.detail-list code {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(75,121,255,0.08);
  color: var(--blue);
}

.evidence-layout {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 18px;
  margin-top: 20px;
}

.evidence-hero,
.evidence-table,
.evidence-notes {
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,248,252,0.96));
}

.evidence-hero {
  background:
    radial-gradient(circle at top right, rgba(38,180,138,0.12), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,248,252,0.96));
}

.evidence-hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.evidence-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(38,180,138,0.10);
  color: var(--mint);
  font-size: 0.8rem;
  font-weight: 800;
}

.evidence-number {
  margin-top: 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(4rem, 8vw, 6rem);
  line-height: 0.95;
  color: var(--ink);
}

.evidence-label {
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted-strong);
}

.evidence-subgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.evidence-subgrid > div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(75,121,255,0.08);
}

.evidence-subgrid span,
.evidence-subgrid strong {
  display: block;
}

.evidence-subgrid span {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 700;
}

.evidence-subgrid strong {
  margin-top: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  color: var(--ink);
}

.evidence-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.evidence-table th,
.evidence-table td {
  padding: 12px 8px;
  text-align: left;
  border-bottom: 1px solid rgba(19, 35, 61, 0.08);
}

.evidence-table th {
  color: var(--muted-strong);
}

.evidence-notes {
  grid-column: 1 / -1;
}

.callout-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.callout {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(19, 35, 61, 0.08);
}

.callout strong {
  display: block;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
}

.callout p {
  margin: 8px 0 0;
  line-height: 1.68;
}

.callout.success { background: rgba(38,180,138,0.08); }
.callout.caution { background: rgba(201,138,31,0.10); }
.callout.neutral { background: rgba(75,121,255,0.08); }

.surface-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.surface-card {
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,248,252,0.96));
}

.surface-card.accent {
  background:
    radial-gradient(circle at top right, rgba(75,121,255,0.10), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,248,252,0.96));
}

.surface-card h3 {
  font-size: 1.42rem;
}

.surface-card p {
  margin-top: 12px;
  line-height: 1.72;
}

.launch-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: center;
  margin-top: 38px;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(75,121,255,0.12), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,248,252,0.96));
}

.launch-copy h2 {
  font-size: clamp(2rem, 2.8vw, 3rem);
}

.launch-copy p {
  margin-top: 12px;
  line-height: 1.72;
  color: var(--muted);
}

.tilt-card {
  transform-style: preserve-3d;
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.tilt-card:hover,
.tilt-card:focus-within {
  box-shadow: 0 28px 72px rgba(12, 25, 48, 0.14);
  border-color: rgba(75, 121, 255, 0.16);
}

@keyframes panelFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 1180px) {
  .hero,
  .overview-band,
  .workflow-shell,
  .workflow-panel.active,
  .evidence-layout,
  .callout-list,
  .surface-grid,
  .launch-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(19, 35, 61, 0.08);
    box-shadow: var(--shadow-md);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .hero-copy,
  .hero-stage,
  .overview-card,
  .workflow-shell,
  .workflow-panel,
  .evidence-hero,
  .evidence-table,
  .evidence-notes,
  .surface-card,
  .launch-band {
    padding: 20px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.6rem, 10vw, 4.1rem);
  }

  .stage-layout,
  .hero-metrics,
  .hero-inline-grid,
  .evidence-subgrid {
    grid-template-columns: 1fr;
  }

  .stage-layout {
    grid-template-columns: 1fr;
  }

  .workspace-preview-shell,
  .workspace-preview-body,
  .workspace-preview-summary,
  .workspace-preview-bottom,
  .showcase-status-bar {
    grid-template-columns: 1fr;
  }

  .workspace-preview-rail {
    display: none;
  }

  .workspace-preview-mode-pill {
    justify-self: start;
  }

  .showcase-status-item + .showcase-status-item {
    border-left: 0;
    border-top: 1px solid rgba(216, 226, 240, 0.94);
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--container));
    margin: 12px auto 32px;
  }

  .site-header {
    padding: 12px 14px;
  }

  .hero-copy,
  .hero-stage,
  .overview-card,
  .workflow-shell,
  .workflow-panel,
  .evidence-hero,
  .evidence-table,
  .evidence-notes,
  .surface-card,
  .launch-band {
    padding: 18px;
  }

  .stage-rail {
    grid-auto-flow: column;
    grid-template-columns: repeat(5, auto);
    justify-content: start;
    align-items: center;
    gap: 10px;
  }

  .workspace-preview-card {
    padding: 16px;
  }

  .workspace-preview-topbar {
    flex-direction: column;
    align-items: start;
  }

  .workspace-preview-stat,
  .workspace-preview-surface {
    padding: 14px;
  }

  .showcase-gauge {
    width: 144px;
    height: 144px;
  }

  .showcase-gauge-svg {
    width: 144px;
    height: 144px;
  }

  .showcase-score {
    font-size: 2.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
