:root {
  --bg: #0b1020;
  --bg-2: #121a2d;
  --bg-3: #1a2439;
  --panel: rgba(17, 24, 39, 0.68);
  --panel-strong: rgba(20, 28, 46, 0.88);
  --panel-soft: rgba(148, 163, 184, 0.08);
  --line: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(148, 163, 184, 0.32);
  --text: #e6ecf7;
  --text-strong: #f8fbff;
  --muted: #9da9be;
  --muted-2: #7f8ca3;
  --brand: #6e89a6;
  --brand-bright: #8fb1d5;
  --brand-dark: #425774;
  --accent: #d6dde7;
  --success: #7aa1b0;
  --warning: #bfa874;
  --radius-pill: 999px;
  --radius-card: 24px;
  --radius-lg: 34px;
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.22);
  --shadow-strong: 0 36px 90px rgba(2, 6, 23, 0.48);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(143, 177, 213, 0.18), transparent 22%),
    radial-gradient(circle at 86% 12%, rgba(110, 137, 166, 0.16), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(54, 74, 102, 0.14), transparent 28%),
    linear-gradient(180deg, #08101d 0%, #0f1728 44%, #121b2d 100%);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 38%, transparent 100%);
  pointer-events: none;
  opacity: 0.45;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.06), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.04), transparent 28%);
  pointer-events: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a.button {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(8, 12, 22, 0.62);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.nav-shell,
.footer-shell,
.top-nav,
.nav-actions,
.hero-actions,
.hero-proof,
.source-pills,
.workflow-rail,
.ticket-meta,
.stats-grid,
.module-grid,
.advantage-grid {
  display: flex;
}

.nav-shell,
.footer-shell {
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 202px;
  min-width: 140px;
  filter: brightness(0) invert(0.96);
  opacity: 0.98;
}

.top-nav {
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--text-strong);
}

.nav-actions,
.hero-actions {
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-strong);
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
  border-color: rgba(143, 177, 213, 0.5);
}

.button-primary {
  background:
    linear-gradient(135deg, rgba(137, 166, 198, 0.28), rgba(110, 137, 166, 0.4)),
    linear-gradient(135deg, #31435f, #4d6786);
  border-color: rgba(143, 177, 213, 0.48);
}

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

.hero {
  position: relative;
  overflow: clip;
  padding: 72px 0 40px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 760px;
  background:
    radial-gradient(circle at 16% 24%, rgba(154, 174, 205, 0.14), transparent 26%),
    radial-gradient(circle at 78% 12%, rgba(111, 134, 170, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 68%);
  pointer-events: none;
}

.hero-scene {
  position: absolute;
  inset: 22px 0 auto;
  height: 720px;
  background:
    linear-gradient(90deg, rgba(9, 15, 28, 0.76) 0%, rgba(9, 15, 28, 0.32) 42%, rgba(9, 15, 28, 0.12) 100%),
    url("assets/hero-background-flow.svg") center/cover no-repeat;
  opacity: 0.2;
  filter: grayscale(1) brightness(0.72) contrast(1.12);
  pointer-events: none;
}

.hero-grid,
.inbox-grid,
.demo-grid,
.trust-grid {
  position: relative;
  display: grid;
  gap: 36px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 48px;
}

.hero-copy,
.section-heading,
.hero-stage,
.stats-grid,
.problem-grid,
.inbox-board,
.process-grid,
.module-grid,
.demo-card,
.advantage-grid,
.cta-panel,
.trust-card {
  position: relative;
  z-index: 1;
}

.eyebrow,
.mini-eyebrow,
.stage-label,
.stat-kicker {
  margin: 0 0 16px;
  color: var(--brand-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.stage-heading h2,
.cta-panel h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.94;
  color: var(--text-strong);
}

.hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(60px, 7vw, 94px);
  text-wrap: balance;
}

.lead,
.section-heading p,
.stage-heading p,
.problem-card p,
.board-row p,
.process-card p,
.module-card p,
.demo-step p,
.advantage-card p,
.cta-panel p,
.trust-card li,
.stats-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.lead {
  max-width: 60ch;
  margin: 26px 0 0;
  font-size: 18px;
}

.hero-actions {
  margin: 30px 0 18px;
  flex-wrap: wrap;
}

.hero-proof {
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-proof span,
.audience-list li,
.source-pills span,
.workflow-rail span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 13px;
  backdrop-filter: blur(12px);
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: -24px -18px -18px 22%;
  background:
    radial-gradient(circle at 20% 18%, rgba(151, 178, 214, 0.18), transparent 28%),
    radial-gradient(circle at 84% 10%, rgba(141, 169, 202, 0.14), transparent 26%);
  filter: blur(24px);
  opacity: 0.9;
  pointer-events: none;
}

.hero-stage-card,
.problem-card,
.inbox-board,
.process-card,
.module-card,
.demo-card,
.advantage-card,
.trust-card,
.cta-panel,
.stats-grid article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.hero-stage-card {
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-strong);
}

.stage-topline,
.source-pills,
.workflow-rail,
.ticket-footer,
.ticket-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(143, 177, 213, 0.22);
  background: rgba(143, 177, 213, 0.09);
  color: var(--brand-bright);
  font-size: 12px;
  font-weight: 700;
}

.status-chip-warning {
  color: #e7d5a3;
  border-color: rgba(191, 168, 116, 0.24);
  background: rgba(191, 168, 116, 0.09);
}

.status-chip-brand {
  color: #b9cce5;
}

.stage-heading {
  margin: 14px 0 18px;
}

.stage-heading h2 {
  max-width: 11ch;
  font-size: clamp(34px, 3.8vw, 50px);
}

.stage-heading p {
  max-width: 52ch;
  margin: 14px 0 0;
  font-size: 14px;
}

.source-pills,
.workflow-rail {
  flex-wrap: wrap;
}

.source-pills {
  justify-content: flex-start;
  margin-bottom: 18px;
}

.source-pills span,
.workflow-rail span {
  min-height: 30px;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 700;
}

.stage-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 14px;
}

.stage-stack {
  display: grid;
  gap: 14px;
}

.stage-ticket {
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.03);
  padding: 18px;
}

.stage-ticket-featured {
  background:
    linear-gradient(180deg, rgba(139, 167, 201, 0.16), rgba(84, 112, 145, 0.18)),
    linear-gradient(180deg, rgba(28, 39, 61, 0.94), rgba(19, 28, 46, 0.98));
  border-color: rgba(143, 177, 213, 0.18);
  color: var(--text-strong);
}

.stage-ticket-featured p,
.stage-ticket-featured .ticket-type,
.stage-ticket-featured .ticket-priority,
.stage-ticket-featured .ticket-footer span {
  color: rgba(230, 236, 247, 0.76);
}

.ticket-type,
.ticket-priority,
.ticket-state {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 700;
}

.stage-ticket h3,
.problem-card h3,
.process-card h3,
.module-card h3,
.advantage-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.22;
  color: var(--text-strong);
}

.stage-ticket p {
  margin: 0;
  line-height: 1.55;
}

.ticket-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.ticket-footer span {
  font-size: 13px;
}

.ticket-footer strong {
  color: var(--text-strong);
  font-size: 14px;
}

.workflow-rail {
  justify-content: flex-start;
  margin-top: 18px;
}

.section {
  position: relative;
  padding: 46px 0;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.01));
  pointer-events: none;
}

.section-surface {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.01);
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.stats-strip {
  padding-top: 4px;
}

.stats-grid {
  gap: 16px;
}

.stats-grid article {
  flex: 1 1 0;
  border-radius: 24px;
  padding: 22px;
}

.stats-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text-strong);
  font-size: 20px;
  line-height: 1.2;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.cta-panel h2 {
  max-width: 13ch;
  margin-bottom: 14px;
  font-size: clamp(42px, 4.4vw, 62px);
  text-wrap: balance;
}

.section-heading p,
.cta-panel p {
  margin: 0;
  font-size: 17px;
}

.problem-grid,
.module-grid,
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.problem-card,
.module-card,
.advantage-card {
  border-radius: 22px;
  padding: 20px;
}

.inbox-grid,
.demo-grid,
.trust-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
}

.inbox-board {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  border-radius: 30px;
  padding: 20px;
}

.board-sidebar {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.board-sidebar ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  vertical-align: middle;
}

.dot-brand {
  background: var(--brand-bright);
}

.dot-warning {
  background: var(--warning);
}

.dot-success {
  background: var(--success);
}

.dot-muted {
  background: var(--muted-2);
}

.board-main {
  display: grid;
  gap: 12px;
}

.board-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.board-row strong,
.demo-step strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-strong);
  font-size: 18px;
}

.board-row p,
.demo-step p {
  margin: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.process-card {
  border-radius: 22px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: var(--shadow-soft);
}

.process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(143, 177, 213, 0.12);
  color: var(--brand-bright);
  font-size: 14px;
  font-weight: 800;
}

.demo-card {
  display: grid;
  gap: 14px;
  border-radius: 30px;
  padding: 20px;
}

.demo-step {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.trust-section {
  padding-top: 26px;
}

.trust-card {
  border-radius: 30px;
  padding: 24px;
}

.trust-logo {
  width: 180px;
  margin-bottom: 18px;
  filter: brightness(0) invert(0.96);
}

.trust-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pricing-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    var(--panel-strong);
  box-shadow: var(--shadow-soft);
}

.pricing-card-featured {
  background:
    radial-gradient(circle at top, rgba(143, 177, 213, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(12, 19, 34, 0.92);
  border-color: rgba(143, 177, 213, 0.28);
  box-shadow: var(--shadow-strong);
}

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

.pricing-plan {
  color: var(--text-strong);
  font-size: 21px;
  font-weight: 700;
}

.pricing-price {
  display: grid;
  gap: 4px;
}

.pricing-price strong {
  color: var(--text-strong);
  font-size: clamp(34px, 4vw, 46px);
  line-height: 0.95;
}

.pricing-price span,
.pricing-lead,
.pricing-note {
  color: var(--muted);
}

.pricing-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

.pricing-features {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pricing-features li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.55;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-bright);
  box-shadow: 0 0 0 5px rgba(143, 177, 213, 0.09);
}

.pricing-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.cta-panel {
  border-radius: 36px;
  padding: clamp(28px, 5vw, 56px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(143, 177, 213, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(11, 16, 32, 0.76);
  box-shadow: var(--shadow-strong);
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.08);
  pointer-events: none;
}

.cta-panel h2,
.cta-panel p {
  margin-left: auto;
  margin-right: auto;
}

.cta-panel .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

.contact-form {
  margin-top: 26px;
  display: grid;
  gap: 18px;
  text-align: left;
}

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

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

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

.contact-field span {
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 700;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-strong);
  padding: 14px 15px;
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--muted-2);
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: rgba(143, 177, 213, 0.34);
  box-shadow: 0 0 0 3px rgba(143, 177, 213, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.contact-field textarea {
  resize: vertical;
  min-height: 128px;
}

.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.contact-form-note {
  margin: -2px 0 0;
  color: var(--muted-2);
  font-size: 14px;
}

.contact-form-status {
  min-height: 22px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-form-status.is-success {
  color: #bfdcc8;
}

.contact-form-status.is-error {
  color: #f0b4b4;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  color: var(--muted-2);
}

.footer-shell {
  min-height: 72px;
  font-size: 14px;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .hero-grid,
  .inbox-grid,
  .demo-grid,
  .trust-grid,
  .pricing-grid,
  .problem-grid,
  .module-grid,
  .advantage-grid,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    flex-direction: column;
  }

  .stage-columns,
  .inbox-board {
    grid-template-columns: 1fr;
  }
}

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

  .hero-grid,
  .inbox-grid,
  .demo-grid,
  .trust-grid,
  .pricing-grid,
  .problem-grid,
  .module-grid,
  .advantage-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .nav-shell,
  .footer-shell {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 14px 0;
  }

  .brand img {
    width: 176px;
  }

  .nav-actions,
  .hero-actions {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 40px;
  }

  .hero::before {
    height: 520px;
  }

  .hero-scene {
    height: 540px;
    background-position: 72% center;
  }

  .hero-copy h1,
  .section-heading h2,
  .cta-panel h2,
  .stage-heading h2 {
    max-width: none;
  }

  .hero-copy h1 {
    font-size: clamp(46px, 16vw, 76px);
  }

  .stage-heading h2 {
    font-size: 34px;
  }

  .board-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Flow UI constitution overrides: compact radii, quiet surfaces, modern controls */
:root {
  --radius-card: 10px;
  --radius-lg: 14px;
  --shadow-soft: 0 16px 34px rgba(2, 6, 23, 0.22);
  --shadow-strong: 0 28px 72px rgba(2, 6, 23, 0.42);
}

body,
.button,
.section-heading p,
.lead,
.board-row p,
.problem-card p,
.process-card p,
.module-card p,
.demo-step p,
.advantage-card p,
.cta-panel p,
.trust-card li,
.stats-grid p {
  font-family: "IBM Plex Sans", "Inter", system-ui, sans-serif;
}

.hero-copy h1,
.section-heading h2,
.stage-heading h2,
.cta-panel h2,
.stage-ticket h3,
.problem-card h3,
.process-card h3,
.module-card h3,
.advantage-card h3 {
  font-family: "IBM Plex Sans", "Inter", system-ui, sans-serif;
  letter-spacing: -0.035em;
}

.button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
}

.hero-stage-card,
.problem-card,
.inbox-board,
.process-card,
.module-card,
.demo-card,
.advantage-card,
.trust-card,
.stats-grid article,
.board-sidebar,
.board-row {
  border-radius: var(--radius-card);
}

.cta-panel {
  border-radius: 16px;
}

.cta-panel::before {
  inset: 14px;
  border-radius: 10px;
}

.hero-proof span,
.audience-list li,
.source-pills span,
.workflow-rail span,
.status-chip {
  border-radius: 999px;
}

.nav-shell,
.footer-shell {
  min-height: 74px;
}

.demo-story {
  display: grid;
  gap: 18px;
  border-radius: 12px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    var(--panel-strong);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: var(--shadow-strong);
}

.demo-story-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.demo-rail-step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
  text-align: left;
}

.demo-rail-step > span:last-child {
  display: block;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.demo-rail-step:hover,
.demo-rail-step:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(143, 177, 213, 0.3);
  color: var(--text-strong);
  outline: none;
}

.demo-rail-step.is-active {
  background:
    linear-gradient(135deg, rgba(137, 166, 198, 0.2), rgba(110, 137, 166, 0.16)),
    rgba(255, 255, 255, 0.03);
  border-color: rgba(143, 177, 213, 0.34);
  color: var(--text-strong);
  box-shadow: inset 0 0 0 1px rgba(143, 177, 213, 0.16);
}

.demo-rail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(143, 177, 213, 0.12);
  color: var(--brand-bright);
  flex: 0 0 auto;
}

.demo-rail-icon svg {
  width: 16px;
  height: 16px;
}

.demo-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
  gap: 20px;
  align-items: stretch;
}

.demo-copy,
.demo-visual {
  min-width: 0;
}

.demo-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 8px 2px;
}

.demo-copy-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-bright);
}

.demo-copy h3 {
  margin: 0;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.02;
  color: var(--text-strong);
}

.demo-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

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

.demo-point {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.demo-point::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--brand-bright);
  box-shadow: 0 0 0 6px rgba(143, 177, 213, 0.08);
}

.demo-caption {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.demo-caption strong {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-bright);
}

.demo-caption span {
  color: var(--text);
  line-height: 1.55;
}

.demo-screen-frame {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(8, 12, 22, 0.86);
  box-shadow: var(--shadow-strong);
}

.demo-screen-topbar {
  display: flex;
  gap: 8px;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.demo-screen-topbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(143, 177, 213, 0.38);
}

.demo-screen-stack {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.demo-screen-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}

.demo-screen-slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.demo-screen-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}

.demo-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.demo-dot {
  width: 9px;
  height: 9px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.28);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.demo-dot.is-active {
  background: var(--brand-bright);
  transform: scale(1.1);
}

.demo-note {
  color: var(--muted-2);
  font-size: 13px;
  text-align: right;
}

.process-map {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    var(--panel-strong);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: var(--shadow-strong);
}

.process-map-intro {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.process-map-summary-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.process-map-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.process-map-step {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.process-map-step:hover,
.process-map-step:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(143, 177, 213, 0.3);
  color: var(--text-strong);
  outline: none;
}

.process-map-step.is-active {
  background:
    linear-gradient(135deg, rgba(137, 166, 198, 0.2), rgba(110, 137, 166, 0.16)),
    rgba(255, 255, 255, 0.03);
  border-color: rgba(143, 177, 213, 0.34);
  color: var(--text-strong);
  box-shadow: inset 0 0 0 1px rgba(143, 177, 213, 0.16);
}

.process-map-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(143, 177, 213, 0.12);
  color: var(--brand-bright);
  flex: 0 0 auto;
}

.process-map-step-icon svg {
  width: 16px;
  height: 16px;
}

.process-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 20px;
}

.process-map-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  min-width: 0;
}

.process-map-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-bright);
}

.process-map-copy h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.02;
}

.process-map-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.process-map-benefit {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.process-map-benefit strong,
.process-map-panel-head strong,
.process-map-feature strong {
  color: var(--text-strong);
}

.process-map-benefit strong {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-bright);
}

.process-map-benefit span,
.process-map-panel-head span {
  color: var(--muted);
}

.process-map-panel {
  min-width: 0;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.process-map-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.process-map-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.process-map-feature {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.process-map-feature strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.process-map-feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

@media (max-width: 1180px) {
  .demo-story-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .demo-showcase,
  .process-map-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .demo-story {
    padding: 18px;
  }

  .process-map-intro {
    gap: 8px;
  }

  .demo-story-rail,
  .process-map-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .demo-note {
    text-align: left;
  }

  .process-map {
    padding: 18px;
  }

  .process-map-features {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .demo-story-rail,
  .process-map-rail {
    grid-template-columns: 1fr;
  }

  .demo-rail-step,
  .process-map-step {
    min-height: 44px;
  }

  .demo-copy h3,
  .process-map-copy h3 {
    font-size: 28px;
  }
}
