:root {
  --bg: #050608;
  --bg-2: #08110d;
  --bg-3: #0f1915;
  --panel: rgba(8, 20, 16, 0.74);
  --panel-strong: rgba(7, 22, 17, 0.94);
  --panel-soft: rgba(255, 255, 255, 0.04);
  --text: #f0f7f3;
  --muted: #9eb4aa;
  --line: rgba(148, 255, 218, 0.14);
  --line-strong: rgba(148, 255, 218, 0.28);
  --brand: #8fffd8;
  --brand-2: #59f3b0;
  --brand-3: #2fbe90;
  --success: #82f6c2;
  --warning: #ffc978;
  --danger: #ff8ea4;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  --radius: 24px;
  --radius-sm: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 12% 12%, rgba(89, 243, 176, 0.18), transparent 26%),
    radial-gradient(circle at 80% 16%, rgba(143, 255, 216, 0.14), transparent 24%),
    radial-gradient(circle at 70% 62%, rgba(47, 190, 144, 0.1), transparent 28%),
    linear-gradient(180deg, #020504 0%, #050907 40%, #09110d 100%);
  overflow-x: hidden;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.theme-ai {
  color-scheme: dark;
}

a { color: inherit; text-decoration: none; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

.ambient-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 28%, transparent 82%);
  animation: gridPulse 14s ease-in-out infinite;
}

.ambient-glow {
  position: fixed;
  width: 36vw;
  height: 36vw;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.24;
}

.ambient-glow-left {
  top: 8%;
  left: -8%;
  background: radial-gradient(circle, rgba(89, 243, 176, 0.34), transparent 70%);
}

.ambient-glow-right {
  top: 10%;
  right: -10%;
  background: radial-gradient(circle, rgba(143, 255, 216, 0.28), transparent 70%);
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 13, 24, 0.72);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.nav,
.nav-actions,
.nav-links,
.hero-actions,
.hero-metrics,
.signal-head,
.panel-head,
.snippet-head,
.action-row,
.card-head,
.state-pills,
.risk-stats,
.report-meta,
.inline,
.hero-orbit,
.contact-details {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nav {
  justify-content: space-between;
  min-height: 78px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #090909;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 16px 40px rgba(89, 243, 176, 0.22);
  position: relative;
  isolation: isolate;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: -1;
}

.brand-mark::after {
  inset: auto 7px 7px auto;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  border: none;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.3);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.brand-copy span,
.nav-links,
.muted,
.helper-copy,
.panel-copy,
.section-head p,
.small,
small,
summary,
.card p,
.card li,
.story-card p,
.signal-card p,
.feature-tile p,
.metric-card strong,
.contact-detail span {
  color: var(--muted);
}

.nav-links a {
  font-size: 0.96rem;
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 255, 216, 0.8), transparent);
  transform: scaleX(0.2);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.btn-primary {
  border: none;
  color: #04100c;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 18px 38px rgba(89, 243, 176, 0.18);
}

.btn-primary:hover {
  box-shadow: 0 18px 42px rgba(89, 243, 176, 0.24);
}

.btn-danger {
  border: none;
  color: #24060d;
  background: linear-gradient(135deg, #ffa6b7, #ff7a92);
}

.btn.ghost {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
}

.status-chip,
.report-badge,
.signal-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(143, 255, 216, 0.18);
  background: rgba(143, 255, 216, 0.08);
  color: #d8fff1;
  font-size: 0.9rem;
  line-height: 1;
}

.signal-pill.warn,
.report-badge.high {
  color: #ffdca7;
  background: rgba(255, 201, 120, 0.12);
  border-color: rgba(255, 201, 120, 0.24);
}

.signal-pill.ok,
.report-badge.low {
  color: #bff7db;
  background: rgba(130, 246, 194, 0.1);
  border-color: rgba(130, 246, 194, 0.2);
}

.report-badge.medium {
  color: #cbffec;
  background: rgba(89, 243, 176, 0.1);
  border-color: rgba(89, 243, 176, 0.2);
}

.hero {
  padding: 86px 0 48px;
  position: relative;
}

.hero-home {
  padding-top: 96px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -8% auto auto 50%;
  width: min(760px, 70vw);
  height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(143, 255, 216, 0.12), transparent 68%);
  filter: blur(18px);
  pointer-events: none;
}

.hero-grid,
.grid-3,
.grid-2,
.split-feature,
.onboarding-grid,
.telemetry-grid,
.summary-grid,
.setup-grid,
.summary-body,
.story-grid,
.use-case-grid,
.beta-layout {
  display: grid;
  gap: 22px;
}

.hero-home-grid,
.hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

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

.hero-subpage .hero-narrow h1 {
  max-width: 16ch;
}

.eyebrow,
.section-kicker,
.mini-kicker,
.signal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #dde2ea;
  font-size: 0.9rem;
  font-weight: 700;
}

.section-kicker,
.mini-kicker,
.signal-kicker {
  padding: 6px 12px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.system-label,
.trace-time,
.trace-type,
.compose-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #86a79d;
}

h1, h2, h3, strong {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.97;
  text-wrap: balance;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.06;
  text-wrap: balance;
}

h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.12;
  text-wrap: balance;
}

.hero p {
  max-width: 700px;
  margin: 18px 0 0;
  font-size: 1.04rem;
  line-height: 1.72;
}

.section {
  padding: 40px 0 52px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-head.compact {
  text-align: center;
  margin-inline: auto;
}

.section-head p {
  max-width: 58ch;
  line-height: 1.75;
  text-wrap: pretty;
}

.gradient-word {
  background: linear-gradient(135deg, #ffffff 0%, #d9fff2 38%, #59f3b0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-metrics,
.hero-points,
.story-grid,
.grid-3,
.grid-2,
.use-case-grid {
  margin-top: 18px;
}

.hero-metrics {
  gap: 16px;
}

.metric-card,
.hero-point,
.story-card,
.signal-card,
.feature-tile,
.state-pill,
.step-card,
.contact-detail {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.024);
  box-shadow: var(--shadow);
}

.metric-card::before,
.story-card::before,
.signal-card::before,
.feature-tile::before,
.state-pill::before,
.step-card::before,
.contact-detail::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(143, 255, 216, 0.14), transparent 68%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.metric-card::after,
.story-card::after,
.signal-card::after,
.feature-tile::after,
.state-pill::after,
.step-card::after,
.contact-detail::after,
.shell-card::after,
.card::after,
.summary-card::after,
.form-shell::after,
.use-case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), transparent 34%, transparent 68%, rgba(143, 255, 216, 0.12));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.metric-card:hover::before,
.story-card:hover::before,
.signal-card:hover::before,
.feature-tile:hover::before,
.state-pill:hover::before,
.step-card:hover::before,
.contact-detail:hover::before {
  opacity: 1;
}

.metric-card,
.state-pill,
.contact-detail {
  min-width: 160px;
  padding: 16px 18px;
  backdrop-filter: blur(10px);
}

.metric-card span {
  display: block;
  margin-bottom: 4px;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text);
}

.shell-card,
.card,
.onboarding-card,
.snippet-panel,
.command-panel,
.timeline-panel,
.summary-card,
.form-shell,
.use-case-card,
.hero-visual {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.card,
.onboarding-card,
.snippet-panel,
.summary-card,
.use-case-card,
.form-shell {
  padding: 28px;
}

.command-panel,
.timeline-panel,
.hero-visual {
  padding: 30px;
}

.hero-visual {
  min-height: 500px;
  position: relative;
  animation: riseIn 0.9s ease-out both;
}

.hero-orbit {
  position: absolute;
  inset: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at center, rgba(143, 255, 216, 0.16), transparent 38%),
    linear-gradient(135deg, rgba(89, 243, 176, 0.14), rgba(47, 190, 144, 0.08));
  filter: blur(0.5px);
  animation: orbitFloat 8s ease-in-out infinite;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero-mockup {
  position: relative;
  z-index: 1;
  min-height: 440px;
}

.hero-mock-window {
  width: min(100%, 420px);
  padding: 20px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(7, 16, 30, 0.94), rgba(10, 21, 41, 0.86));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.32);
}

.hero-mock-topbar,
.support-stage-head,
.support-chat-topbar,
.support-chat-identity,
.support-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-mock-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d9e7ff;
  font-size: 0.95rem;
}

.hero-mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 18px rgba(89, 243, 176, 0.4);
}

.hero-chat-stream {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.hero-chat-bubble,
.support-message {
  max-width: 78%;
  padding: 15px 17px;
  border-radius: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.hero-chat-bubble.customer,
.support-message.customer {
  justify-self: end;
  border-bottom-right-radius: 8px;
  background: linear-gradient(135deg, rgba(89, 243, 176, 0.18), rgba(143, 255, 216, 0.12));
  color: #effff9;
}

.hero-chat-bubble.agent,
.support-message.agent {
  justify-self: start;
  border-bottom-left-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #d8eee5;
}

.support-message.system {
  justify-self: center;
  max-width: 88%;
  border-radius: 16px;
  background: rgba(255, 77, 77, 0.1);
  border: 1px solid rgba(255, 77, 77, 0.16);
  color: #ffd1d1;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.55;
}

.hero-float-card {
  position: absolute;
  padding: 18px 20px;
  width: min(270px, 62%);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(16, 20, 30, 0.96), rgba(10, 14, 22, 0.92));
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.hero-float-risk {
  top: 72px;
  right: 6px;
}

.hero-float-report {
  right: 28px;
  bottom: 18px;
}

.hero-stack {
  position: relative;
  display: grid;
  gap: 16px;
  z-index: 1;
}

.signal-card {
  padding: 22px;
  animation: riseIn 0.8s ease-out both;
}

.signal-card:nth-child(1) {
  max-width: 88%;
}

.signal-card:nth-child(3) {
  max-width: 92%;
}

.signal-card.accent {
  transform: translateX(24px);
  background: linear-gradient(135deg, rgba(255, 201, 120, 0.12), rgba(255, 122, 146, 0.08)), rgba(255, 255, 255, 0.035);
}

.hero-stack .signal-card:nth-child(1) { animation-delay: 0.08s; }
.hero-stack .signal-card:nth-child(2) { animation-delay: 0.18s; }
.hero-stack .signal-card:nth-child(3) { animation-delay: 0.28s; }

.signal-card h3 {
  margin-top: 16px;
  margin-bottom: 8px;
}

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

.story-card {
  padding: 26px;
  animation: riseIn 0.75s ease-out both;
}

.story-grid .story-card:nth-child(1) { animation-delay: 0.04s; }
.story-grid .story-card:nth-child(2) { animation-delay: 0.14s; }
.story-grid .story-card:nth-child(3) { animation-delay: 0.24s; }
.story-grid .story-card:nth-child(2) {
  margin-top: 12px;
  background: linear-gradient(180deg, rgba(89, 243, 176, 0.08), rgba(255, 255, 255, 0.03)), rgba(255, 255, 255, 0.035);
}

.story-index {
  display: inline-flex;
  margin-bottom: 18px;
  color: #b8e8d8;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
}

.split-feature {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.feature-stack {
  display: grid;
  gap: 16px;
}

.feature-tile {
  padding: 20px 22px;
  animation: riseIn 0.8s ease-out both;
}

.story-card h3,
.feature-tile h3,
.use-case-card h3,
.summary-card h3,
.signal-card h3 {
  font-size: 1.24rem;
}

.feature-tile:nth-child(2) {
  background: linear-gradient(180deg, rgba(89, 243, 176, 0.08), rgba(255, 255, 255, 0.02)), rgba(255, 255, 255, 0.024);
}

.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.onboarding-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.telemetry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.setup-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.summary-body { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.use-case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.cta-section {
  padding-bottom: 80px;
}

.cta-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, rgba(89, 243, 176, 0.1), rgba(143, 255, 216, 0.06));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.cta-shell::after {
  content: "";
  position: absolute;
  inset: auto -8% -60% auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(89, 243, 176, 0.16), transparent 70%);
  pointer-events: none;
}

.cta-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  transform: translateX(-100%);
  animation: sheen 10s linear infinite;
  pointer-events: none;
}

.product-section {
  padding-top: 12px;
}

.command-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.command-summary span {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #d9ebe4;
  font-size: 0.82rem;
  letter-spacing: -0.01em;
}

.home-steps {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 16px;
}

.hero-proofbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.proof-stat,
.narrative-lead,
.compare-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.024);
  box-shadow: var(--shadow);
}

.proof-stat {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 20px 22px;
}

.proof-stat strong,
.compare-card strong,
.artifact-card strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 1.02rem;
  line-height: 1.18;
  color: var(--text);
}

.proof-stat p,
.compare-card p,
.artifact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
  max-width: 34ch;
  text-wrap: pretty;
}

.narrative-stack {
  display: grid;
  gap: 18px;
}

.narrative-lead {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 30px;
  background:
    radial-gradient(circle at top left, rgba(143, 255, 216, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.024);
}

.narrative-lead h3 {
  font-size: 1.44rem;
  margin: 10px 0 6px;
  max-width: 52ch;
}

.narrative-heading-single-line {
  white-space: nowrap;
}

.narrative-lead > p {
  max-width: 96ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  text-wrap: pretty;
}

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

.compare-rail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.compare-card {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 20px 22px;
}

.compare-card.muted-card {
  background: rgba(255, 255, 255, 0.02);
}

.compare-card.accent-card {
  background:
    linear-gradient(180deg, rgba(89, 243, 176, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.024);
}

.home-step {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 24px 24px 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow);
}

.home-step-large {
  background: linear-gradient(135deg, rgba(89, 243, 176, 0.08), rgba(143, 255, 216, 0.05));
}

.home-step h3 {
  font-size: 1.08rem;
  margin: 8px 0 4px;
  max-width: 18ch;
}

.home-step p {
  margin: 0;
  color: #a8b1bf;
  font-size: 0.93rem;
  line-height: 1.68;
  max-width: 32ch;
  text-wrap: pretty;
}

.product-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(340px, 0.78fr);
  gap: 22px;
  margin-bottom: 22px;
}

.support-stage {
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(143, 255, 216, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 18px;
  margin-top: 20px;
}

.support-chat-shell {
  padding: 20px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(143, 255, 216, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(5, 14, 12, 0.98), rgba(7, 20, 17, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.support-chat-topbar {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.support-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  color: #06101b;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.support-chat-identity div {
  display: grid;
}

.support-chat-identity small,
.support-status-pill,
.compose-label {
  color: var(--muted);
}

.support-status-pill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(130, 246, 194, 0.14);
  background: rgba(130, 246, 194, 0.06);
  font-size: 0.84rem;
}

.support-chat-stream {
  display: grid;
  gap: 12px;
  padding: 20px 4px 18px;
  min-height: 340px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 26px 26px;
  border-radius: 20px;
}

.support-chat-stream::before {
  content: "Live conversation";
  display: inline-flex;
  align-self: start;
  width: fit-content;
  margin: 0 10px 2px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(143, 255, 216, 0.18);
  background: rgba(143, 255, 216, 0.06);
  color: #d8fff1;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-chat-compose {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.compose-preview {
  padding: 13px 15px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.04);
  color: #d8eee5;
  font-size: 0.91rem;
  line-height: 1.58;
  text-wrap: pretty;
}

.hero-product .hero-narrow h1 {
  font-size: clamp(2.4rem, 4vw, 4.35rem);
  line-height: 0.98;
  max-width: 14ch;
}

.hero-product .hero-narrow p {
  max-width: 54ch;
  font-size: 0.98rem;
  line-height: 1.74;
  color: #b1b8c5;
  text-wrap: pretty;
}

.support-sidecards {
  display: grid;
  gap: 14px;
}

.support-sidecard {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 20px 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.support-sidecard.highlight {
  background: linear-gradient(180deg, rgba(255, 201, 120, 0.12), rgba(255, 255, 255, 0.03));
  border-color: rgba(255, 201, 120, 0.18);
}

.support-sidecard h4 {
  margin: 8px 0 4px;
  font-size: 1.02rem;
  font-family: "Space Grotesk", sans-serif;
}

.support-sidecard p {
  margin: 0;
  max-width: 28ch;
  line-height: 1.66;
  text-wrap: pretty;
}

.product-control-panel {
  align-self: start;
  position: sticky;
  top: 102px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.018)),
    var(--panel-strong);
}

.panel-head,
.snippet-head,
.card-head {
  justify-content: space-between;
  margin-bottom: 18px;
}

.mini-checklist,
.clean {
  margin: 0;
  padding-left: 18px;
}

.mini-checklist li,
.clean li {
  margin-bottom: 8px;
  color: var(--muted);
}

.progress-list li.done {
  color: var(--success);
}

.progress-list li.done::marker {
  color: var(--success);
}

.select-wrap,
.textarea-wrap,
label {
  display: grid;
  gap: 8px;
  color: var(--text);
}

.field {
  display: grid;
  gap: 8px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: rgba(3, 9, 20, 0.42);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(89, 243, 176, 0.45);
  box-shadow: 0 0 0 4px rgba(89, 243, 176, 0.12);
  background: rgba(3, 9, 20, 0.58);
}

textarea {
  min-height: 136px;
  resize: vertical;
}

pre {
  margin: 0;
  overflow: auto;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(2, 7, 16, 0.72);
  color: #d9e7ff;
}

details {
  margin-top: 14px;
}

summary {
  cursor: pointer;
}

.stepper {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.step-card {
  width: 100%;
  padding: 18px 20px;
  text-align: left;
  color: var(--text);
}

.step-card.active {
  border-color: rgba(89, 243, 176, 0.34);
  box-shadow: 0 0 0 1px rgba(89, 243, 176, 0.16), 0 26px 60px rgba(89, 243, 176, 0.12);
  transform: translateY(-1px);
}

.step-card.completed {
  border-color: rgba(130, 246, 194, 0.28);
}

.step-card.locked {
  opacity: 0.62;
}

.step-index {
  display: inline-block;
  width: 54px;
  color: #b8e8d8;
  font-size: 0.86rem;
}

.step-copy {
  display: inline-grid;
  gap: 2px;
}

.step-status {
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--muted);
}

.custom-input-panel,
.snippet-panel,
.timeline-panel,
.risk-panel.hot {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    var(--panel-strong);
}

.custom-input-panel {
  margin-top: 18px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: grid;
  gap: 16px;
}

.risk-panel {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.risk-panel.hot {
  border-color: rgba(255, 201, 120, 0.32);
  box-shadow: 0 30px 60px rgba(255, 201, 120, 0.1);
}

.risk-stats,
.report-meta,
.summary-body {
  gap: 16px;
}

.risk-stats div,
.report-meta div,
.summary-metric {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.risk-stats span,
.report-meta span,
.summary-metric span,
.state-pill span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: var(--muted);
}

.risk-stats strong,
.report-meta strong,
.summary-metric strong,
.state-pill strong,
.contact-detail strong {
  font-size: 1.02rem;
}

.hero-actions .btn {
  min-width: 170px;
}

.hero-actions .btn:not(.btn-primary) {
  background: rgba(255, 255, 255, 0.025);
}

.use-case-card p,
.sleek-card p,
.feature-tile p,
.story-card p,
.signal-card p,
.summary-card p,
.card p {
  text-wrap: pretty;
}

.pricing-footnote {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: #c8d8fb;
}

.admin-grid {
  grid-template-columns: 0.7fr 1.3fr;
}

.admin-table-card {
  min-height: 420px;
}

.submission-table {
  display: grid;
  gap: 12px;
}

.submission-row {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.submission-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.submission-type {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #dbe7ff;
}

.submission-type.beta {
  color: #bff7db;
  border-color: rgba(130, 246, 194, 0.22);
  background: rgba(130, 246, 194, 0.08);
}

.submission-type.contact {
  color: #d8fff1;
  border-color: rgba(143, 255, 216, 0.22);
  background: rgba(143, 255, 216, 0.08);
}

.submission-row h4 {
  margin: 0;
  font-size: 1.02rem;
  font-family: "Space Grotesk", sans-serif;
}

.submission-row p {
  margin: 0;
  color: var(--muted);
}

.submission-empty {
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed var(--line);
  color: var(--muted);
  text-align: center;
}

.trust-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.trust-rail span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #dbe7ff;
  font-size: 0.88rem;
}

.trust-rail span::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 14px rgba(89, 243, 176, 0.34);
}

.hero-proofline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  color: #c1c8d4;
  font-size: 0.9rem;
}

.hero-proofline span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-proofline span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.hero-ai {
  padding-top: 104px;
  padding-bottom: 34px;
}

.hero-ai-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 24px;
  align-items: center;
}

.hero-copy-compact {
  max-width: 560px;
}

.hero-copy-compact h1 {
  font-size: clamp(2.4rem, 4vw, 4.35rem);
  line-height: 0.98;
  max-width: 13.5ch;
}

.hero-copy-compact p {
  font-size: 0.98rem;
  line-height: 1.74;
  color: #b1b8c5;
}

.hero-command {
  padding: 22px;
  max-width: 560px;
  justify-self: end;
  background:
    radial-gradient(circle at top right, rgba(143, 255, 216, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.command-header,
.command-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.trace-stream {
  display: grid;
  gap: 10px;
  margin: 18px 0 16px;
}

.trace-line {
  display: grid;
  grid-template-columns: 88px 118px 1fr;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

.trace-line-alert {
  border-color: rgba(255, 201, 120, 0.22);
  background: linear-gradient(135deg, rgba(255, 201, 120, 0.11), rgba(255, 255, 255, 0.02));
}

.trace-copy {
  color: #dce1e9;
  font-size: 0.89rem;
  line-height: 1.58;
  text-wrap: pretty;
}

.product-proofline {
  margin-top: 0;
}

.artifact-strip {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 16px;
  margin-top: 18px;
}

.artifact-card {
  position: relative;
  overflow: hidden;
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.018);
  box-shadow: var(--shadow);
}

.artifact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), transparent 34%, transparent 68%, rgba(143, 255, 216, 0.1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.artifact-findings {
  background:
    linear-gradient(180deg, rgba(255, 201, 120, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
}

.artifact-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.artifact-topline strong {
  max-width: 17ch;
}

.artifact-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.artifact-metrics div {
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.artifact-metrics span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.84rem;
}

.artifact-metrics strong {
  margin: 0;
}

.pulse {
  animation: pulseGlow 1.8s ease-in-out infinite;
}

.bento-grid {
  display: grid;
  gap: 18px;
}

.bento-grid-home {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.bento-card {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: var(--shadow);
}

.bento-card-large {
  background: linear-gradient(135deg, rgba(89, 243, 176, 0.08), rgba(143, 255, 216, 0.06));
}

.split-feature-tight {
  gap: 32px;
}

.feature-stack-minimal .feature-tile {
  background: rgba(255, 255, 255, 0.024);
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  padding: 15px 17px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.timeline-item time {
  display: block;
  margin-bottom: 4px;
  font-size: 0.82rem;
  color: var(--muted);
}

.timeline-item strong {
  display: block;
  max-width: 54ch;
  line-height: 1.52;
  text-wrap: pretty;
}

.timeline-item.success {
  border-color: rgba(130, 246, 194, 0.22);
}

.timeline-item.error {
  border-color: rgba(255, 142, 164, 0.24);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sheen {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes orbitFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -8px, 0) scale(1.02);
  }
}

@keyframes gridPulse {
  0%, 100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 rgba(89, 243, 176, 0.2);
  }
  50% {
    box-shadow: 0 0 18px rgba(89, 243, 176, 0.26);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-grid,
  .hero-visual,
  .hero-orbit,
  .signal-card,
  .story-card,
  .feature-tile,
  .cta-shell::before,
  .pulse {
    animation: none !important;
  }

  .btn,
  .step-card,
  .risk-panel,
  .nav-links a {
    transition: none !important;
  }
}

.use-case-card,
.sleek-card,
.accent-card {
  min-height: 100%;
}

.accent-card {
  background: linear-gradient(180deg, rgba(89, 243, 176, 0.12), rgba(143, 255, 216, 0.05)), var(--panel);
}

.form-shell form {
  display: grid;
  gap: 16px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.success-box {
  display: none;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(130, 246, 194, 0.22);
  background: rgba(130, 246, 194, 0.08);
  color: var(--success);
  font-weight: 700;
}

footer {
  padding: 28px 0 48px;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.admin-hero {
  padding-bottom: 28px;
}

.dashboard-hero-panel,
.dashboard-panel {
  padding: 28px;
}

.dashboard-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.dashboard-metric-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dashboard-metric-card span,
.chart-head span,
.dashboard-item-meta,
.dashboard-item-copy,
.dashboard-metric-card small {
  color: var(--muted);
}

.dashboard-metric-card span,
.chart-head span {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-metric-card strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.admin-dashboard-shell {
  padding-top: 4px;
}

.demo-shell-grid,
.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
  gap: 18px;
}

.dashboard-main-column,
.dashboard-side-column {
  display: grid;
  gap: 18px;
}

.dashboard-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.dashboard-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.chart-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.chart-head strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
}

.ring-widget {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
}

.ring-chart {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  position: relative;
  background: conic-gradient(var(--brand) 0deg, rgba(255,255,255,0.08) 0deg);
  box-shadow: inset 0 0 0 1px rgba(148, 255, 218, 0.12), 0 0 30px rgba(89, 243, 176, 0.08);
}

.ring-chart::before {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(5, 8, 7, 0.96), rgba(8, 17, 13, 0.94));
  border: 1px solid rgba(148, 255, 218, 0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.ring-chart-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
  text-align: center;
}

.ring-chart-label strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.ring-chart-label span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.ring-legend {
  display: grid;
  gap: 10px;
}

.ring-legend-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}

.ring-legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  box-shadow: 0 0 18px currentColor;
}

.ring-legend-item strong {
  font-size: 0.92rem;
}

.ring-legend-item span {
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.8rem;
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  min-height: 180px;
  margin-top: 18px;
}

.chart-bar {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.chart-bar-rail {
  width: 100%;
  min-height: 128px;
  border-radius: 999px;
  border: 1px solid rgba(148, 255, 218, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.04));
  display: flex;
  align-items: flex-end;
  padding: 6px;
}

.chart-bar-fill {
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), var(--brand-3));
  box-shadow: 0 0 28px rgba(89, 243, 176, 0.18);
  min-height: 8px;
}

.chart-bar-label,
.chart-bar-value {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.74rem;
}

.dashboard-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.demo-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.demo-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.demo-toggle input {
  width: 16px;
  height: 16px;
}

.demo-chat-surface {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
}

.chat-bubble {
  max-width: 84%;
  padding: 15px 17px;
  border-radius: 20px;
  line-height: 1.6;
  text-wrap: pretty;
}

.chat-bubble.customer {
  justify-self: end;
  border-bottom-right-radius: 8px;
  background: linear-gradient(135deg, rgba(89, 243, 176, 0.18), rgba(143, 255, 216, 0.12));
  color: #effff9;
}

.chat-bubble.agent {
  justify-self: start;
  border-bottom-left-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #d8eee5;
}

.chat-bubble.system {
  justify-self: center;
  max-width: 92%;
  border-radius: 16px;
  background: rgba(255, 201, 120, 0.08);
  border: 1px solid rgba(255, 201, 120, 0.18);
  color: #ffe4bf;
}

.chat-label {
  margin-bottom: 6px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 247, 243, 0.7);
}

.chat-bubble p,
.report-preview-shell h4,
.report-preview-shell p {
  margin: 0;
}

.demo-compose {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.demo-compose span {
  color: var(--muted);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.demo-compose textarea {
  min-height: 130px;
  width: 100%;
  resize: vertical;
}

.demo-kpi-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.report-preview-shell {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.dashboard-item {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.dashboard-item-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.dashboard-item-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.dashboard-item-copy {
  font-size: 0.94rem;
  line-height: 1.55;
}

.dashboard-item-meta {
  font-size: 0.82rem;
}

.dashboard-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.dashboard-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.74rem;
}

.dashboard-tag.high,
.signal-pill.warn,
.submission-type.beta {
  border-color: rgba(255, 142, 164, 0.24);
  color: #ffd3dc;
  background: rgba(255, 142, 164, 0.08);
}

.dashboard-tag.medium {
  border-color: rgba(255, 201, 120, 0.26);
  color: #ffdba2;
  background: rgba(255, 201, 120, 0.08);
}

.dashboard-tag.low,
.submission-type.contact {
  border-color: rgba(130, 246, 194, 0.24);
  color: var(--success);
  background: rgba(130, 246, 194, 0.08);
}

@media (max-width: 1100px) {
  .hero-ai-grid,
  .hero-home-grid,
  .hero-grid,
  .split-feature,
  .beta-layout,
  .product-stage,
  .support-layout,
  .artifact-strip,
  .hero-proofbar,
  .bento-grid-home,
  .grid-3,
  .grid-2,
  .onboarding-grid,
  .telemetry-grid,
  .summary-grid,
  .setup-grid,
  .summary-body,
  .story-grid,
  .use-case-grid,
  .dashboard-layout,
  .demo-shell-grid,
  .dashboard-metric-grid,
  .dashboard-chart-grid,
  .dashboard-visual-grid {
    grid-template-columns: 1fr;
  }

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

  .product-control-panel {
    position: static;
  }

  .hero-float-card {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .hero-mock-window {
    width: 100%;
  }

  .trace-line {
    grid-template-columns: 1fr;
  }

  .hero-command {
    justify-self: stretch;
    max-width: none;
  }

  .compare-rail,
  .artifact-metrics {
    grid-template-columns: 1fr;
  }

  .narrative-heading-single-line {
    white-space: normal;
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 64px;
  }

  .nav-actions .status-chip {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .nav {
    min-height: 70px;
  }

  .hero-metrics,
  .nav-actions,
  .hero-actions,
  .action-row {
    gap: 10px;
  }

  .btn {
    width: 100%;
  }

  .hero-command,
  .support-stage,
  .command-panel {
    padding: 20px;
  }

  .hero-proofline {
    gap: 10px;
    font-size: 0.86rem;
  }

  .chart-bars {
    gap: 6px;
  }

  .ring-widget {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .dashboard-panel,
  .dashboard-hero-panel {
    padding: 20px;
  }
}
