:root {
  --bg: #05080d;
  --bg-elevated: #0b1017;
  --bg-soft: #111823;
  --panel: rgba(10, 14, 20, 0.9);
  --panel-strong: #0f151e;
  --panel-muted: #141d28;
  --ink: #f1f5f9;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --line: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(148, 163, 184, 0.28);
  --brand: #f8fafc;
  --accent: #7dd3fc;
  --accent-soft: rgba(125, 211, 252, 0.14);
  --success: #64c7a4;
  --danger: #f27d7d;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.22);
  --shadow-deep: 0 28px 72px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(125, 211, 252, 0.08), transparent 22%),
    radial-gradient(circle at 85% 0%, rgba(56, 189, 248, 0.05), transparent 18%),
    linear-gradient(180deg, #020508 0%, #060a10 28%, #080d14 100%);
  font-family: "Instrument Sans", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 75%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

code,
.eyebrow,
.panel-label,
.package-tier,
.metric-pill,
.spec-cell span,
.status-badge {
  font-family: "IBM Plex Mono", monospace;
}

.ambient {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.5;
}

.ambient-a {
  top: -80px;
  left: -160px;
  width: 360px;
  height: 360px;
  background: rgba(56, 189, 248, 0.12);
}

.ambient-b {
  top: 220px;
  right: -200px;
  width: 420px;
  height: 420px;
  background: rgba(15, 23, 42, 0.44);
}

.page-shell {
  position: relative;
  z-index: 1;
  max-width: 1260px;
  margin: 0 auto;
  padding: 20px 24px 0;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(6, 10, 16, 0.82);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1.02;
}

.brand-lockup strong {
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  color: var(--brand);
}

.brand-lockup small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.topbar-links a:hover,
.topbar-links a:focus-visible,
.topbar-links a.is-active {
  color: var(--brand);
  background: rgba(255, 255, 255, 0.04);
}

.topbar-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 11px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.topbar-cta {
  border: 1px solid rgba(248, 250, 252, 0.08);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.08), rgba(248, 250, 252, 0.02));
  color: var(--brand);
}

.button {
  border: 1px solid var(--line);
  background: transparent;
}

.button.primary {
  background: linear-gradient(180deg, #f8fafc 0%, #dbe4ee 100%);
  border-color: transparent;
  color: #020508;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--brand);
}

.button:hover,
.button:focus-visible,
.topbar-cta:hover,
.topbar-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.button:focus-visible,
.topbar-cta:focus-visible,
.topbar-links a:focus-visible,
.brand:focus-visible,
.faq-item summary:focus-visible,
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid rgba(104, 160, 216, 0.7);
  outline-offset: 3px;
}

.section {
  padding: 72px 0;
}

.hero {
  padding-top: 10px;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(10, 14, 20, 0.96) 0%, rgba(5, 8, 13, 0.98) 100%);
  box-shadow: var(--shadow-deep);
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 35%, transparent 65%, rgba(255, 255, 255, 0.02));
}

.hero-grid,
.two-column-grid,
.package-grid,
.info-grid,
.guarantee-grid,
.process-grid,
.stats-grid,
.page-intro-grid {
  display: grid;
  gap: 18px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: start;
  gap: 28px;
}

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

.page-hero-shell {
  padding: 32px;
  border-radius: 28px;
}

.page-intro-side {
  display: grid;
  gap: 16px;
}

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

.info-grid,
.guarantee-grid,
.process-grid,
.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}

.section-heading h2,
.page-intro h1 {
  max-width: 18ch;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 8ch;
  font-size: clamp(3.15rem, 5vw, 5.4rem);
  color: #f8fafc;
  line-height: 0.92;
  letter-spacing: -0.065em;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  color: #f8fafc;
}

h3 {
  font-size: 1.05rem;
  color: #f3f8ff;
}

.eyebrow,
.panel-label,
.package-tier {
  margin: 0;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lede,
.info-card p,
.detail-panel p,
.guarantee-card p,
.package-card p,
.faq-item p,
.summary-block span,
.cta-note,
.footer p,
.body-copy p,
.table-note,
.timeline-card p,
.proof-card span,
.metrics-card p,
.spec-cell {
  color: var(--muted);
}

.lede {
  max-width: 60ch;
  margin: 22px 0 0;
  font-size: 1.04rem;
  line-height: 1.8;
}

.hero-thesis {
  display: inline-flex;
  margin-top: 22px;
  padding: 12px 16px;
  border: 1px solid rgba(248, 250, 252, 0.08);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.03);
}

.hero-thesis code {
  font-size: 0.78rem;
  color: var(--brand);
  white-space: normal;
}

.hero-subline {
  margin: 18px 0 0;
  color: #e2e8f0;
  font-size: 1rem;
}

.hero-actions,
.section-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

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

.spec-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.spec-cell {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.spec-cell span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.spec-cell strong {
  display: block;
  color: var(--brand);
  font-size: 0.9rem;
  line-height: 1.45;
}

.proof-card,
.summary-panel,
.info-card,
.detail-panel,
.guarantee-card,
.package-card,
.faq-item,
.cta-box,
.comparison-shell,
.timeline-card,
.metrics-card,
.inbox-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(15, 20, 28, 0.97) 0%, rgba(8, 11, 17, 0.98) 100%);
  box-shadow: var(--shadow-soft);
}

.proof-card,
.summary-panel,
.info-card,
.detail-panel,
.guarantee-card,
.package-card,
.timeline-card,
.metrics-card,
.inbox-card {
  padding: 24px;
}

.proof-card strong,
.summary-block strong,
.package-meta strong {
  color: var(--brand);
}

.summary-panel {
  display: grid;
  gap: 0;
  margin-bottom: 18px;
}

.summary-panel-dark {
  background: linear-gradient(180deg, #0a1018 0%, #070b12 100%);
  border-color: rgba(248, 250, 252, 0.08);
}

.page-rail {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--line);
  box-shadow: var(--shadow-soft);
}

.page-rail-row {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(10, 14, 20, 0.98) 0%, rgba(4, 7, 11, 0.98) 100%);
}

.page-rail-row span {
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-rail-row strong {
  color: var(--brand);
  font-size: 0.96rem;
}

.page-rail-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.88rem;
}

.app-canvas {
  overflow: hidden;
  border: 1px solid rgba(248, 250, 252, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(9, 13, 19, 0.98) 0%, rgba(3, 6, 10, 0.99) 100%);
  box-shadow: var(--shadow-deep);
}

.app-canvas-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(248, 250, 252, 0.08);
  background: rgba(248, 250, 252, 0.025);
}

.app-canvas-dots {
  display: inline-flex;
  gap: 6px;
}

.app-canvas-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.24);
}

.app-canvas-bar strong {
  color: var(--brand);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  font-weight: 500;
}

.app-canvas-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.app-canvas-body {
  display: grid;
  gap: 1px;
  padding: 1px;
  background: rgba(248, 250, 252, 0.06);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(248, 250, 252, 0.06);
}

.metric-strip-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  background: rgba(6, 10, 15, 0.98);
}

.metric-strip-item span {
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.metric-strip-item strong {
  color: var(--brand);
  font-size: 1rem;
}

.app-canvas-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(260px, 0.82fr);
  gap: 1px;
  background: rgba(248, 250, 252, 0.06);
}

.app-canvas-side {
  display: grid;
  gap: 1px;
  background: rgba(248, 250, 252, 0.06);
}

.summary-block {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid var(--line);
}

.summary-block strong {
  font-size: 0.95rem;
  line-height: 1.5;
}

.process-list {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.runtime-console {
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid rgba(248, 250, 252, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(7, 11, 18, 0.98) 0%, rgba(2, 5, 8, 0.98) 100%),
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.1), transparent 40%);
  box-shadow: var(--shadow-deep);
}

.runtime-console-embedded,
.trace-rail-embedded,
.summary-panel-embedded {
  margin: 0;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.runtime-console-embedded {
  background:
    linear-gradient(180deg, rgba(7, 11, 18, 0.98) 0%, rgba(2, 5, 8, 0.98) 100%),
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.08), transparent 40%);
}

.console-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(220, 233, 248, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.console-top span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(220, 233, 248, 0.28);
}

.console-top strong {
  margin-left: auto;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 500;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: rgba(220, 233, 248, 0.06);
}

.console-command,
.console-status {
  display: grid;
  gap: 5px;
  min-height: 106px;
  padding: 16px 18px;
  background: rgba(5, 9, 14, 0.98);
}

.console-command span,
.console-status span,
.brief-cell span,
.forecast-list span,
.funnel-card span {
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.console-command strong,
.console-status strong {
  color: var(--brand);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.45;
}

.trace-rail {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(12, 17, 25, 0.96) 0%, rgba(5, 9, 14, 0.98) 100%);
  box-shadow: var(--shadow-soft);
}

.trace-rail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.trace-list {
  display: grid;
  gap: 12px;
}

.trace-item {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
}

.trace-item::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 34px;
  bottom: -12px;
  width: 1px;
  background: rgba(148, 163, 184, 0.24);
}

.trace-item:last-child::after {
  display: none;
}

.trace-item > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--brand);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
}

.trace-item div {
  display: grid;
  gap: 4px;
  padding-top: 4px;
}

.trace-item strong {
  color: var(--brand);
  font-size: 0.92rem;
}

.trace-item em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.84rem;
}

.trace-item-complete > span {
  background: rgba(100, 199, 164, 0.1);
  color: var(--success);
}

.trace-item-active > span {
  background: rgba(125, 211, 252, 0.12);
  color: var(--accent);
  border-color: rgba(125, 211, 252, 0.3);
}

.ledger-panel {
  overflow: hidden;
}

.ledger-stream {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.ledger-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(220, 233, 248, 0.08);
}

.ledger-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.ledger-row span {
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ledger-row strong {
  display: block;
  color: var(--brand);
  font-size: 0.92rem;
}

.ledger-row em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-size: 0.84rem;
}

.product-screen {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(10, 14, 20, 0.96) 0%, rgba(4, 7, 11, 0.99) 100%);
  box-shadow: var(--shadow-deep);
}

.product-screen-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.product-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand);
  font-size: 0.74rem;
  background: rgba(255, 255, 255, 0.03);
}

.product-screen-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr 0.8fr;
  gap: 14px;
}

.screen-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.02);
}

.screen-stat-list,
.screen-log,
.screen-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.screen-stat-list span,
.screen-log span {
  display: block;
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.screen-stat-list strong,
.screen-log strong {
  display: block;
  margin-top: 4px;
  color: var(--brand);
  font-size: 0.9rem;
}

.screen-log em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-size: 0.82rem;
}

.screen-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted-strong);
}

.command-block {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(7, 11, 18, 0.98) 0%, rgba(2, 5, 8, 0.98) 100%);
}

.command-block code {
  color: var(--brand);
  font-size: 0.83rem;
  line-height: 1.5;
  word-break: break-word;
}

.command-block-large {
  padding: 20px 22px;
}

.table-note-strong {
  color: var(--brand);
  font-weight: 600;
}

.process-step-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
}

.process-step-item > span,
.metric-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--brand);
  font-size: 0.74rem;
}

.process-step-item p,
.process-step-item strong,
.detail-list li,
.package-points li,
.faq-item p,
.table-note,
.inbox-body p,
.inbox-meta {
  font-size: 0.92rem;
}

.detail-list,
.package-points {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted-strong);
}

.detail-list li,
.package-points li {
  margin-bottom: 10px;
}

.detail-list.ordered {
  padding-left: 20px;
}

.package-card {
  display: grid;
  gap: 12px;
}

.package-card h3 {
  font-size: 1.45rem;
}

.package-card-highlight {
  border-color: rgba(104, 160, 216, 0.38);
  background: linear-gradient(180deg, rgba(15, 28, 44, 1) 0%, rgba(11, 19, 29, 1) 100%);
}

.package-meta {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.brief-shell {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(17, 28, 42, 0.96) 0%, rgba(9, 15, 24, 0.98) 100%);
  box-shadow: var(--shadow-soft);
}

.brief-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.brief-header h3 {
  margin-top: 8px;
  font-size: 1.35rem;
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}

.brief-cell {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: rgba(7, 13, 21, 0.96);
}

.brief-cell strong {
  color: var(--brand);
  font-size: 0.92rem;
  line-height: 1.5;
}

.brief-note {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(104, 160, 216, 0.18);
  border-radius: 16px;
  background: rgba(104, 160, 216, 0.07);
}

.brief-note p {
  margin: 0;
  color: var(--muted-strong);
}

.funnel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--line);
  box-shadow: var(--shadow-soft);
}

.funnel-card {
  display: grid;
  gap: 10px;
  min-height: 210px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(17, 28, 42, 0.96) 0%, rgba(9, 15, 24, 0.98) 100%);
}

.funnel-card strong {
  color: var(--brand);
  font-size: 1rem;
}

.funnel-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.forecast-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.forecast-list div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.forecast-list div:first-child {
  padding-top: 0;
  border-top: 0;
}

.forecast-list strong {
  display: block;
  margin-top: 6px;
  color: var(--brand);
  font-size: 0.92rem;
  line-height: 1.5;
}

.comparison-shell {
  overflow-x: auto;
  border-radius: 24px;
}

.procurement-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(11, 16, 23, 0.97) 0%, rgba(5, 8, 13, 0.98) 100%);
  box-shadow: var(--shadow-soft);
}

.procurement-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 250, 252, 0.02);
}

.procurement-bar strong {
  display: block;
  margin-top: 6px;
  color: var(--brand);
  font-size: 1rem;
}

.procurement-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.comparison-shell-procurement {
  border-radius: 0;
  box-shadow: none;
  border: 0;
}

.comparison-table-procurement {
  min-width: 1360px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1040px;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted-strong);
}

.comparison-table th {
  position: sticky;
  top: 0;
  background: #0c121a;
  color: var(--brand);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.comparison-table td strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand);
}

.comparison-table td {
  min-width: 172px;
}

.comparison-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table-procurement tbody tr:nth-child(even) {
  background: rgba(248, 250, 252, 0.015);
}

.comparison-table-procurement td:first-child,
.comparison-table-procurement th:first-child {
  background: rgba(248, 250, 252, 0.025);
}

.procurement-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.procurement-note {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  background: rgba(8, 12, 18, 0.98);
}

.procurement-note span {
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.procurement-note strong {
  color: var(--brand);
  font-size: 0.92rem;
  line-height: 1.45;
}

.demo-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
}

.demo-stage,
.demo-actions-panel {
  display: grid;
  gap: 16px;
}

.demo-stage {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(10, 14, 20, 0.96) 0%, rgba(4, 7, 11, 0.99) 100%);
  box-shadow: var(--shadow-soft);
}

.demo-stage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 250, 252, 0.02);
}

.demo-stage-bar strong {
  color: var(--brand);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
}

.demo-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(248, 250, 252, 0.06);
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(248, 250, 252, 0.06);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 18px 22px;
}

.faq-item summary {
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 12px 0 0;
}

.cta-box {
  padding: 32px;
  border-radius: 28px;
}

.cta-box h2 {
  max-width: 14ch;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 18px;
  padding: 0 0 42px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.footer > div {
  padding-top: 22px;
}

.footer strong {
  color: var(--brand);
}

.footer-links,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
}

.footer-links a,
.footer-meta span {
  color: var(--muted);
  font-size: 0.84rem;
  text-decoration: none;
}

.body-copy,
.metrics-card {
  height: 100%;
}

.metrics-card,
.timeline-card {
  display: grid;
  gap: 10px;
}

.timeline-card h3 {
  font-size: 1rem;
}

.crm-form,
.crm-auth,
.inbox-edit {
  display: grid;
  gap: 16px;
}

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

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

.form-field span {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font: inherit;
}

.form-field input:disabled {
  opacity: 0.7;
}

.form-field textarea {
  resize: vertical;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-helper,
.form-feedback,
.cta-note,
.inbox-date {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.form-feedback[data-tone="success"] {
  color: var(--success);
}

.form-feedback[data-tone="error"] {
  color: var(--danger);
}

.form-feedback[data-tone="info"] {
  color: var(--accent);
}

.inbox-list {
  display: grid;
  gap: 16px;
}

.inbox-ops-shell {
  display: grid;
  gap: 20px;
}

.section-heading-tight {
  margin-bottom: 0;
}

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

.segment-card {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 140ms ease,
    background 140ms ease,
    transform 140ms ease;
}

.segment-card:hover,
.segment-card.is-active {
  border-color: rgba(104, 160, 216, 0.42);
  background: rgba(104, 160, 216, 0.08);
  transform: translateY(-1px);
}

.segment-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.segment-card strong {
  color: var(--brand);
  font-size: 1.2rem;
}

.inbox-filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.75fr));
  gap: 14px;
}

.form-field-search {
  min-width: 0;
}

.inbox-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.lead-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(248, 250, 252, 0.08);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.03);
  color: var(--muted-strong);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-badge-guided {
  border-color: rgba(104, 160, 216, 0.28);
  background: rgba(104, 160, 216, 0.12);
  color: #9ec6ee;
}

.lead-badge-direct {
  border-color: rgba(248, 250, 252, 0.1);
  background: rgba(248, 250, 252, 0.04);
}

.lead-badge-qualified {
  border-color: rgba(100, 199, 164, 0.28);
  background: rgba(100, 199, 164, 0.12);
  color: var(--success);
}

.lead-badge-new {
  border-color: rgba(242, 201, 76, 0.25);
  background: rgba(242, 201, 76, 0.1);
  color: #e8ca72;
}

.inbox-card-header,
.inbox-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.inbox-card-header h3 {
  margin: 6px 0 8px;
  font-size: 1.08rem;
}

.status-stack {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  color: var(--brand);
}

.status-reviewed,
.status-contacted {
  background: rgba(104, 160, 216, 0.16);
  color: #8ab8e4;
}

.status-qualified {
  background: rgba(100, 199, 164, 0.16);
  color: var(--success);
}

.status-closed {
  background: rgba(242, 125, 125, 0.16);
  color: var(--danger);
}

.inbox-meta {
  margin: 16px 0;
  flex-wrap: wrap;
}

.inbox-body {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.inbox-body p {
  margin: 0;
}

@media (max-width: 1080px) {
  .hero-grid,
  .two-column-grid,
  .page-intro-grid,
  .demo-shell,
  .package-grid,
  .info-grid,
  .guarantee-grid,
  .process-grid,
  .stats-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .product-screen-grid,
  .app-canvas-grid,
  .metric-strip,
  .demo-metrics,
  .demo-grid,
  .console-grid,
  .hero-proof,
  .spec-strip,
  .brief-grid,
  .funnel-grid,
  .procurement-note-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .page-shell {
    padding: 14px 14px 0;
  }

  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-links {
    flex-wrap: wrap;
  }

  .topbar-cta,
  .button {
    width: 100%;
  }

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

  .section {
    padding: 50px 0;
  }

  .hero-shell {
    padding: 26px;
    border-radius: 26px;
  }

  .page-hero-shell {
    padding: 24px;
    border-radius: 24px;
  }

  .proof-card,
  .cta-box,
  .summary-panel,
  .info-card,
  .detail-panel,
  .guarantee-card,
  .package-card,
  .timeline-card,
  .metrics-card,
  .inbox-card {
    padding: 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .segment-grid,
  .inbox-filter-grid {
    grid-template-columns: 1fr;
  }

  .inbox-card-header,
  .inbox-meta {
    flex-direction: column;
  }

  .status-stack {
    justify-items: start;
  }
}

@media (max-width: 720px) {
  h1,
  h2,
  .section-heading h2,
  .page-intro h1,
  .cta-box h2 {
    max-width: none;
  }

  h1 {
    font-size: clamp(2.8rem, 10vw, 4rem);
  }

  .section {
    padding: 42px 0;
  }

  .hero-shell,
  .page-hero-shell {
    padding: 20px;
    border-radius: 22px;
  }

  .runtime-console,
  .trace-rail,
  .product-screen,
  .app-canvas,
  .procurement-shell,
  .cta-box,
  .comparison-shell,
  .summary-panel,
  .detail-panel,
  .info-card,
  .package-card,
  .timeline-card,
  .metrics-card {
    border-radius: 18px;
  }

  .console-command,
  .console-status,
  .page-rail-row,
  .procurement-note,
  .metric-strip-item {
    min-height: 0;
    padding: 14px 15px;
  }

  .trace-rail {
    padding: 15px;
  }

  .procurement-bar {
    padding: 16px;
  }

  .trace-item {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
  }

  .trace-item > span {
    width: 30px;
    height: 30px;
    font-size: 0.68rem;
  }

  .trace-item::after {
    left: 14px;
    top: 30px;
  }

  .hero-proof,
  .spec-strip,
  .hero-actions,
  .section-actions,
  .form-actions {
    gap: 8px;
  }

  .lede {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .topbar-links {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-links a,
  .brand,
  .topbar-cta {
    width: 100%;
  }

  .comparison-table,
  .comparison-table thead,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table th,
  .comparison-table td {
    display: block;
    width: 100%;
  }

  .comparison-table thead {
    display: none;
  }

  .comparison-table tr {
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
  }

  .comparison-table tr:last-child {
    border-bottom: 0;
  }

  .comparison-table td {
    padding: 11px 14px;
    border-bottom: 0;
  }

  .comparison-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .ambient {
    display: none;
  }
}
