:root {
  --bg: #f3f6fb;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #0d1b2a;
  --muted: #4b5b73;
  --line: rgba(24, 63, 114, 0.12);
  --line-strong: rgba(24, 63, 114, 0.2);
  --blue: #2563eb;
  --cyan: #13b5c8;
  --gold: #f4b942;
  --teal: #0f766e;
  --danger: #c2410c;
  --danger-soft: #fff1ef;
  --success-soft: #eef9f5;
  --shadow: 0 24px 80px rgba(22, 44, 82, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7fbff 0%, #eef4fb 44%, #e6eef8 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
}

button,
.button {
  font: inherit;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.site-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.42;
}

.orb-one {
  width: 340px;
  height: 340px;
  top: 80px;
  left: -40px;
  background: rgba(37, 99, 235, 0.18);
}

.orb-two {
  width: 420px;
  height: 420px;
  top: 420px;
  right: -140px;
  background: rgba(19, 181, 200, 0.16);
}

.site-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 90%);
}

.hero,
.page-shell {
  width: min(1160px, calc(100% - 28px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero {
  padding: 24px 0 12px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 32px rgba(31, 53, 91, 0.08);
  position: sticky;
  top: 16px;
  z-index: 12;
}

.brand,
.nav-links a {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  font-size: 0.92rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  border: 0;
  padding: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--text);
}

.hero-panel,
.section,
.info-card,
.content-card,
.feature-card,
.flow-step,
.wire-card,
.tech-card,
.cost-card,
.mvp-card,
.future-card,
.link-card,
.dashboard-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-panel {
  margin-top: 24px;
  border-radius: var(--radius-xl);
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 246, 255, 0.82));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3,
dt {
  font-family: "Space Grotesk", sans-serif;
}

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

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.98;
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

p {
  margin-top: 0;
  color: var(--muted);
  line-height: 1.7;
}

.lead {
  font-size: 1.12rem;
  color: var(--text);
  max-width: 52rem;
}

.supporting-copy {
  max-width: 58rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 24px 0 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
}

.button.primary {
  background: linear-gradient(135deg, var(--blue), #4d8cff);
  color: #fff;
}

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

.hero-stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hero-stats div {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

dt {
  margin-bottom: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
}

dd {
  margin: 0;
  font-weight: 600;
  color: var(--text);
}

.hero-visual {
  display: flex;
  align-items: center;
}

.dashboard-card {
  width: 100%;
  padding: 24px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(12, 27, 51, 0.98), rgba(19, 43, 79, 0.96)),
    #102039;
  color: #e4eefb;
  min-height: 460px;
}

.dashboard-card h2,
.dashboard-card h3,
.dashboard-card p,
.dashboard-card li,
.dashboard-card strong,
.dashboard-card span {
  color: inherit;
}

.dashboard-header,
.risk-meter,
.mini-actions {
  display: flex;
  align-items: center;
}

.dashboard-header {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pill.danger {
  background: rgba(255, 129, 94, 0.18);
  color: #ffbeaa;
}

.pill.warning {
  background: rgba(244, 185, 66, 0.2);
  color: #8f5b00;
}

.pill.success {
  background: rgba(15, 118, 110, 0.16);
  color: #0b665f;
}

.timestamp {
  font-size: 0.88rem;
  color: rgba(228, 238, 251, 0.72);
}

.risk-meter {
  gap: 20px;
  align-items: stretch;
  margin: 24px 0;
}

.risk-ring {
  width: 140px;
  min-width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 12px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  text-align: center;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09), transparent 65%);
}

.risk-ring strong {
  font-size: 2rem;
  display: block;
}

.risk-ring span {
  font-size: 0.84rem;
  color: rgba(228, 238, 251, 0.78);
}

.metric-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  gap: 12px;
}

.metric-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-note {
  padding: 18px;
  border-radius: 20px;
  background: rgba(19, 181, 200, 0.12);
  border: 1px solid rgba(19, 181, 200, 0.2);
}

.dashboard-note p {
  margin-bottom: 0;
}

.mini-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.mini-actions button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #f8fbff;
}

.page-shell {
  padding-bottom: 52px;
}

.section {
  margin-top: 16px;
  padding: 22px;
  border-radius: var(--radius-xl);
}

.section-heading {
  margin-bottom: 14px;
}

.summary-grid,
.two-col-grid,
.feature-grid,
.checks-grid,
.flow-grid,
.wireframe-grid,
.tech-grid,
.cost-grid,
.mvp-grid,
.future-grid,
.links-grid,
.report-grid {
  display: grid;
  gap: 18px;
}

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

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

.info-card,
.content-card,
.feature-card,
.flow-step,
.wire-card,
.tech-card,
.cost-card,
.mvp-card,
.future-card,
.link-card {
  border-radius: var(--radius-lg);
  padding: 22px;
  background: var(--surface-strong);
}

.accent-card {
  margin-top: 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(19, 181, 200, 0.08));
}

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

.feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-strip span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(37, 99, 235, 0.06);
  color: var(--text);
  font-weight: 600;
}

.console-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
}

.product-metrics,
.use-case-grid {
  display: grid;
  gap: 18px;
}

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

.audit-analytics,
.comparison-chart,
.trend-labels {
  display: grid;
  gap: 18px;
}

.audit-analytics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.analytics-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: 0 18px 50px rgba(22, 44, 82, 0.08);
}

.analytics-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.analytics-tag {
  display: inline-flex;
  min-height: 30px;
  padding: 0 12px;
  align-items: center;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
}

.comparison-row {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  align-items: center;
  gap: 12px;
}

.comparison-label {
  color: var(--muted);
  font-weight: 600;
}

.comparison-track {
  height: 12px;
  border-radius: 999px;
  background: #e8eff7;
  overflow: hidden;
}

.comparison-fill {
  height: 100%;
  border-radius: inherit;
  transition: width 0.45s ease;
}

.comparison-fill.high {
  background: linear-gradient(90deg, #0f766e, #18b4a6);
}

.comparison-fill.medium {
  background: linear-gradient(90deg, #d69d1d, #f4b942);
}

.comparison-fill.low {
  background: linear-gradient(90deg, #d15734, #ef7d57);
}

.trend-chart {
  position: relative;
  min-height: 220px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.04), rgba(255, 255, 255, 0.9));
  overflow: hidden;
}

.trend-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px);
  background-size: 100% 44px, 44px 100%;
}

.trend-area {
  position: absolute;
  inset: 28px 22px 32px;
  background: linear-gradient(180deg, rgba(19, 181, 200, 0.24), rgba(37, 99, 235, 0.08));
  clip-path: polygon(0% 76%, 16% 64%, 32% 47%, 48% 56%, 64% 28%, 80% 38%, 100% 8%, 100% 100%, 0% 100%);
}

.trend-points {
  position: absolute;
  inset: 0;
}

.trend-points span {
  position: absolute;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  margin-top: -6px;
  border-radius: 999px;
  background: #2563eb;
  border: 3px solid #ffffff;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.2);
}

.trend-labels {
  grid-template-columns: repeat(7, 1fr);
  color: var(--muted);
  font-size: 0.84rem;
}

.product-metric-card,
.use-case-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: 0 18px 50px rgba(22, 44, 82, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-metric-card:hover,
.use-case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 56px rgba(22, 44, 82, 0.12);
}

.product-metric-card span,
.product-metric-card small {
  display: block;
}

.product-metric-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.product-metric-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 2rem;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
}

.bias-alert {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 20px;
  margin-bottom: 18px;
  border-radius: 24px;
  border: 1px solid rgba(194, 65, 12, 0.16);
  background: var(--danger-soft);
}

.bias-alert h3,
.bias-alert p,
.bias-alert span {
  margin: 0;
}

.bias-alert p {
  margin-top: 6px;
  color: var(--text);
}

.bias-alert span {
  display: inline-block;
  margin-top: 8px;
  color: var(--danger);
  font-weight: 700;
}

.bias-alert-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(194, 65, 12, 0.1);
  color: var(--danger);
  font-size: 1.4rem;
  font-weight: 800;
}

.audit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.audit-runner {
  min-width: 148px;
}

.spinner {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  display: none;
  animation: spin 0.8s linear infinite;
}

.audit-runner.loading .spinner {
  display: inline-block;
}

.workflow-strip {
  display: grid;
  grid-template-columns: repeat(9, auto);
  align-items: center;
  justify-content: start;
  gap: 10px;
  margin-bottom: 20px;
}

.workflow-step {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  color: var(--text);
}

.simple-flow {
  margin-bottom: 0;
}

.compact-checks h3 {
  margin-bottom: 6px;
}

.compact-checks p {
  margin-bottom: 0;
}

.stack-line {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.closing-line {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
}

.workflow-arrow {
  color: var(--muted);
  font-weight: 700;
}

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

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.judge-lab {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 18px;
  margin-top: 18px;
}

.judge-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  padding: 24px;
}

.judge-heading,
.judge-actions,
.judge-metrics {
  display: flex;
  gap: 12px;
}

.judge-heading {
  align-items: flex-start;
  justify-content: space-between;
}

.judge-copy {
  margin: 14px 0 16px;
}

.judge-input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 16px;
  font: inherit;
  color: var(--text);
  background: #f8fbff;
  resize: vertical;
}

.judge-actions {
  margin-top: 14px;
  flex-wrap: wrap;
}

.judge-button {
  cursor: pointer;
}

.judge-results {
  background:
    radial-gradient(circle at top right, rgba(19, 181, 200, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(255, 255, 255, 0.96));
}

.judge-metrics {
  flex-wrap: wrap;
  margin: 18px 0;
}

.judge-metric {
  flex: 1 1 150px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(37, 99, 235, 0.06);
}

.judge-metric span {
  display: block;
  color: var(--muted);
}

.judge-metric strong {
  display: block;
  margin-top: 10px;
  font-size: 2rem;
  font-family: "Space Grotesk", sans-serif;
}

.judge-summary {
  padding: 18px;
  border-radius: 18px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--text);
  font-weight: 600;
}

.judge-note {
  margin-top: 14px;
}

.console-panel,
.check-card,
.report-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 25, 49, 0.98), rgba(20, 49, 88, 0.96));
  box-shadow: var(--shadow);
  padding: 24px;
  color: #ecf4ff;
}

.light-panel,
.check-card,
.report-card {
  background: var(--surface-strong);
  color: var(--text);
}

.console-panel h3,
.console-panel h4,
.console-panel p,
.console-panel span,
.console-panel strong,
.console-panel small {
  color: inherit;
}

.console-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.scenario-chip {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #f2f7ff;
}

.scenario-chip.active {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-color: transparent;
}

.light-panel .scenario-chip {
  border-color: var(--line);
  background: rgba(37, 99, 235, 0.06);
  color: var(--text);
}

.console-summary,
.signal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.console-label {
  margin-bottom: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(236, 244, 255, 0.72);
}

.light-panel .console-label {
  color: var(--blue);
}

.console-description {
  margin: 18px 0 22px;
}

.console-metrics,
.checks-grid,
.report-grid {
  display: grid;
  gap: 16px;
}

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

.console-metric {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.console-metric span,
.console-metric small {
  display: block;
}

.console-metric strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 2rem;
  font-family: "Space Grotesk", sans-serif;
}

.signal-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 22px;
}

.signal-row {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.06);
}

.signal-status {
  font-family: "Space Grotesk", sans-serif;
}

.danger-text {
  color: var(--danger);
}

.warning-text {
  color: #b7791f;
}

.success-text {
  color: var(--teal);
}

.console-insight {
  padding: 18px;
  border-radius: 18px;
  background: rgba(37, 99, 235, 0.08);
}

.console-insight + .console-insight {
  margin-top: 14px;
}

.console-insight.emphasis {
  background: linear-gradient(135deg, rgba(19, 181, 200, 0.12), rgba(15, 118, 110, 0.12));
}

.check-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.check-list li + li {
  margin-top: 12px;
}

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

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

.impact-layout,
.scale-grid,
.roadmap-grid {
  display: grid;
  gap: 18px;
}

.impact-layout {
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.56fr));
}

.impact-card,
.impact-stat-card,
.scale-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-strong);
  padding: 24px;
  box-shadow: var(--shadow);
}

.impact-hero {
  background:
    radial-gradient(circle at top right, rgba(19, 181, 200, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.09), rgba(255, 255, 255, 0.94));
}

.impact-kicker,
.impact-label {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.impact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.impact-points span,
.roadmap-phase {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
}

.impact-stat-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
}

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

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -26px -30px auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
}

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

.demo-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 18px;
}

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

.demo-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.demo-step.active {
  transform: translateX(6px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.12);
}

.demo-step span {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(19, 181, 200, 0.16));
  color: var(--blue);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.demo-screen {
  border-radius: 28px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at top right, rgba(19, 181, 200, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(13, 29, 54, 0.98), rgba(17, 40, 72, 0.96));
  color: #e8f2ff;
  box-shadow: var(--shadow);
}

.demo-screen h3,
.demo-screen p,
.demo-screen span {
  color: inherit;
}

.demo-topline,
.demo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.demo-live {
  display: inline-flex;
  min-height: 30px;
  padding: 0 12px;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: #b9d6ff;
  font-size: 0.82rem;
  font-weight: 700;
}

.demo-visual {
  min-height: 260px;
  margin: 22px 0;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  padding: 22px;
  display: grid;
  place-items: center;
}

.demo-bars {
  width: 100%;
  max-width: 320px;
  min-height: 160px;
  display: flex;
  align-items: end;
  gap: 14px;
}

.demo-bars span {
  flex: 1;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, #77a8ff, #1cc8df);
}

.demo-callout,
.demo-checklist,
.demo-split {
  width: 100%;
}

.demo-callout {
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.demo-checklist {
  display: grid;
  gap: 12px;
}

.demo-checklist span {
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.demo-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.demo-mini {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.demo-mini strong {
  display: block;
  margin-top: 10px;
  font-size: 1.8rem;
  font-family: "Space Grotesk", sans-serif;
}

.demo-control {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #f5fbff;
}

.primary-control {
  background: linear-gradient(135deg, var(--blue), #4d8cff);
  border-color: transparent;
}

.flow-step span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(19, 181, 200, 0.16));
  font-weight: 700;
  color: var(--blue);
}

.wireframe-grid,
.mvp-grid,
.future-grid,
.roadmap-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wire-top,
.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wire-pill {
  display: inline-flex;
  min-height: 28px;
  padding: 0 10px;
  align-items: center;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
}

.wire-chart,
.wire-stack,
.screen-bars,
.message-box,
.todo-list {
  margin: 18px 0;
}

.bars {
  display: flex;
  align-items: end;
  gap: 12px;
  min-height: 140px;
}

.bars span {
  flex: 1;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.82), rgba(19, 181, 200, 0.75));
}

.wire-stack {
  display: grid;
  gap: 12px;
}

.wire-stack span,
.todo-list span {
  display: block;
  padding: 14px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--text);
}

.line {
  min-height: 140px;
  position: relative;
  border-radius: 18px;
  background:
    linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px);
  background-size: 100% 32px, 32px 100%;
}

.line span {
  position: absolute;
  inset: 34px 20px 28px;
  border-radius: 24px;
  border: 0;
  background: linear-gradient(180deg, rgba(19, 181, 200, 0.16), transparent 70%);
  clip-path: polygon(0% 80%, 18% 64%, 40% 68%, 57% 42%, 74% 49%, 100% 18%, 100% 100%, 0% 100%);
}

.architecture-shell {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, auto));
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}

.arch-column {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  min-height: 136px;
}

.arch-column.accent {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(19, 181, 200, 0.12));
}

.arch-arrow {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue);
  text-align: center;
}

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

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

.cta-section {
  display: block;
  background:
    radial-gradient(circle at top left, rgba(19, 181, 200, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 0.92));
}

.screen {
  min-height: 240px;
  padding: 18px;
  border-radius: 22px;
  color: #fff;
}

.chrome-blue {
  background: linear-gradient(180deg, #1d4ed8, #15387e);
}

.chrome-gold {
  background: linear-gradient(180deg, #f4b942, #ba7f00);
}

.chrome-teal {
  background: linear-gradient(180deg, #0f766e, #0b4e48);
}

.screen-top {
  gap: 8px;
}

.screen-top span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
}

.screen-body {
  margin-top: 18px;
}

.screen-body h3,
.screen-body p {
  color: inherit;
}

.screen-bars {
  min-height: 120px;
  display: flex;
  align-items: end;
  gap: 10px;
}

.screen-bars span {
  flex: 1;
  border-radius: 14px 14px 6px 6px;
  background: rgba(255, 255, 255, 0.78);
}

.message-box {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
}

.message-box p {
  margin-bottom: 0;
}

.todo-list {
  display: grid;
  gap: 10px;
}

.todo-list span {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

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

@media (max-width: 1080px) {
  .hero-panel,
  .product-metrics,
  .audit-analytics,
  .checks-grid,
  .report-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .console-layout,
  .console-metrics,
  .judge-lab {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav {
    flex-wrap: wrap;
    align-items: center;
    border-radius: 30px;
    padding: 14px 16px;
    position: relative;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
    background: rgba(37, 99, 235, 0.06);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(22, 44, 82, 0.12);
    backdrop-filter: blur(18px);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 8px 0;
    font-size: 1rem;
  }

  .product-metrics,
  .audit-analytics,
  .checks-grid,
  .hero-stats,
  .report-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero,
  .page-shell {
    width: min(100% - 16px, 1160px);
  }

  .nav,
  .hero-panel,
  .section {
    padding: 18px;
  }

  .hero {
    padding-top: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    font-size: 1.45rem;
  }

  .dashboard-card,
  .product-metric-card,
  .analytics-card,
  .check-card,
  .report-card,
  .judge-card {
    padding: 18px;
  }

  .audit-actions,
  .workflow-strip {
    grid-template-columns: 1fr;
  }

  .workflow-strip {
    display: flex;
    flex-wrap: wrap;
  }

  h1 {
    font-size: clamp(2.15rem, 11vw, 3.25rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

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

  .hero-actions .button,
  .judge-actions .button {
    width: 100%;
  }

  .risk-meter,
  .console-summary,
  .judge-heading,
  .analytics-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .risk-ring {
    width: 116px;
    min-width: 116px;
    height: 116px;
  }

  .metric-list li,
  .signal-row {
    gap: 10px;
  }

  .judge-input {
    font-size: 16px;
  }
}
