/* Homepage positioning and visual direction. Physical versioning bypasses CDN query caching. */
:root {
  --home-cyan: var(--accent);
  --home-green: var(--success);
  --home-amber: var(--warning);
  --home-grid: rgba(148, 163, 184, 0.08);
}

:root[data-theme="light"] {
  --home-grid: rgba(15, 23, 42, 0.07);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --home-grid: rgba(15, 23, 42, 0.07);
  }
}

body {
  background-image:
    linear-gradient(var(--home-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid) 1px, transparent 1px);
  background-size: 40px 40px;
  background-attachment: fixed;
}

.hero {
  min-height: min(720px, calc(100vh - 69px));
  padding: 4.25rem 1.5rem 3.5rem;
  background:
    linear-gradient(115deg, color-mix(in srgb, var(--bg) 97%, var(--home-cyan)), color-mix(in srgb, var(--bg) 94%, var(--accent)) 62%, var(--bg));
  border-bottom: 1px solid var(--border);
}

.hero-bg {
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.9%, color-mix(in srgb, var(--home-cyan) 9%, transparent) 50%, transparent 50.1%),
    linear-gradient(transparent 49.9%, color-mix(in srgb, var(--home-cyan) 7%, transparent) 50%, transparent 50.1%);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero-inner {
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: 3.5rem;
}

.hero-copy {
  position: relative;
  z-index: 4;
}

.hero .eyebrow {
  color: var(--home-cyan);
  background: color-mix(in srgb, var(--home-cyan) 11%, transparent);
  border: 1px solid color-mix(in srgb, var(--home-cyan) 28%, transparent);
  border-radius: var(--radius-sm);
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 680px;
  font-family: "Aptos Display", "Segoe UI Variable Display", sans-serif;
  font-size: 4rem;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.02;
  text-wrap: balance;
}

.hero-copy h1::after {
  content: "";
  display: block;
  width: 84px;
  height: 4px;
  margin-top: 1.5rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.hero-sub {
  max-width: 600px;
  font-size: 1.12rem;
}

.hero-note {
  max-width: 560px;
  margin-top: 0.9rem;
  font-size: 0.78rem;
  line-height: 1.55;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin: 1.5rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.hero-trust li {
  position: relative;
  padding-left: 1rem;
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 650;
}

.hero-trust li::before {
  content: "";
  position: absolute;
  top: 0.4em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--home-green);
  border-radius: 50%;
}

.hero .btn-primary {
  color: var(--on-accent);
  background: linear-gradient(135deg, var(--accent-fill), var(--accent-fill-2));
  box-shadow: 0 12px 32px color-mix(in srgb, var(--home-cyan) 24%, transparent);
}

.hero .btn-primary:hover {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-fill) 88%, white), var(--accent-fill-2));
  box-shadow: 0 16px 38px color-mix(in srgb, var(--home-cyan) 32%, transparent);
}

.hero-visual {
  min-height: 500px;
  align-items: center;
  padding: 0;
  perspective: 1300px;
}

.accountability-scene {
  position: relative;
  width: min(100%, 640px);
  height: 490px;
  transform: rotateX(4deg) rotateY(-7deg);
  transform-style: preserve-3d;
}

.scene-window {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: color-mix(in srgb, var(--surface) 97%, transparent);
  border: 1px solid color-mix(in srgb, var(--home-cyan) 22%, var(--border));
  border-radius: 8px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  transform-style: preserve-3d;
}

.scene-window-bar {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  min-height: 54px;
  padding: 0.7rem 0.9rem;
  background: color-mix(in srgb, var(--surface-2) 88%, transparent);
  border-bottom: 1px solid var(--border);
}

.scene-window-bar > div {
  display: grid;
  gap: 0.1rem;
}

.scene-window-bar strong {
  font-size: 0.78rem;
}

.scene-window-bar small,
.scene-window-state,
.scene-tabs {
  color: var(--text-muted);
  font-size: 0.64rem;
}

.scene-product-mark {
  width: 24px;
  height: 24px;
  background:
    linear-gradient(145deg, var(--home-cyan), var(--accent));
  border-radius: 5px;
  box-shadow: inset 0 0 0 5px color-mix(in srgb, var(--surface) 78%, transparent);
}

.scene-window-state {
  padding: 0.3rem 0.5rem;
  color: var(--home-green);
  background: color-mix(in srgb, var(--home-green) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--home-green) 22%, transparent);
  border-radius: 4px;
  font-weight: 700;
}

.scene-tabs {
  display: flex;
  gap: 1.25rem;
  height: 38px;
  padding: 0 1rem;
  border-bottom: 1px solid var(--border);
}

.scene-tabs span {
  display: grid;
  align-items: center;
  border-bottom: 2px solid transparent;
}

.scene-tabs .active {
  color: var(--home-cyan);
  border-bottom-color: var(--home-cyan);
  font-weight: 750;
}

.scene-canvas {
  position: relative;
  height: calc(100% - 92px);
  transform-style: preserve-3d;
}

.scene-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--home-cyan) 14%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--home-cyan) 14%, transparent) 1px, transparent 1px);
  background-size: 36px 36px;
  transform: translateZ(-60px);
  mask-image: linear-gradient(125deg, transparent, black 18%, black 72%, transparent);
}

.scene-record,
.scene-alert {
  position: absolute;
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.1rem;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.scene-record strong,
.scene-alert strong {
  font-size: 0.9rem;
  line-height: 1.35;
}

.scene-kicker,
.scene-type,
.scene-meta,
.scene-evidence,
.scene-status,
.scene-alert small {
  font-size: 0.7rem;
  line-height: 1.35;
}

.scene-kicker,
.scene-type {
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.scene-type {
  letter-spacing: 0;
}

.scene-meta,
.scene-evidence,
.scene-alert small {
  color: var(--text-secondary);
}

.scene-status {
  width: fit-content;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
}

.scene-status-confirmed,
.scene-status-accepted {
  color: var(--home-green);
  background: color-mix(in srgb, var(--home-green) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--home-green) 24%, transparent);
}

.scene-record-meeting {
  top: 16px;
  left: 20px;
  width: 228px;
  transform: translateZ(12px);
}

.scene-record-decision {
  top: 120px;
  left: 110px;
  width: 318px;
  border-top: 3px solid var(--home-cyan);
  transform: translateZ(54px);
}

.scene-record-commitment {
  top: 246px;
  left: 42px;
  width: 300px;
  border-top: 3px solid var(--home-green);
  transform: translateZ(90px);
}

.scene-record-work {
  top: 218px;
  right: 6px;
  width: 186px;
  border-top: 3px solid var(--accent);
  transform: translateZ(36px);
}

.scene-alert {
  right: 18px;
  bottom: 10px;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  width: 244px;
  border-color: color-mix(in srgb, var(--home-amber) 34%, var(--border));
  transform: translateZ(110px);
}

.scene-alert > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #111827;
  background: var(--home-amber);
  border-radius: 50%;
  font-weight: 800;
}

.scene-alert div {
  display: grid;
  gap: 0.15rem;
}

.scene-connector {
  position: absolute;
  z-index: -1;
  width: 2px;
  background: linear-gradient(var(--home-cyan), var(--home-green));
  transform-origin: top;
  opacity: 0.75;
}

.scene-connector::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 8px;
  height: 8px;
  background: var(--home-green);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--home-green);
}

.scene-connector-one {
  top: 88px;
  left: 202px;
  height: 78px;
  transform: rotate(-26deg) translateZ(22px);
}

.scene-connector-two {
  top: 247px;
  left: 244px;
  height: 76px;
  transform: rotate(18deg) translateZ(65px);
}

.problem,
.value-prop {
  background: color-mix(in srgb, var(--bg) 96%, transparent);
}

.problem::before,
.value-prop::before {
  display: none;
}

.problem {
  padding: 1.25rem 0 5.5rem;
}

.problem h2 {
  margin-bottom: 3.25rem;
  font-family: "Aptos Display", "Segoe UI Variable Display", sans-serif;
  font-size: 2.5rem;
  letter-spacing: 0;
}

.problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-card {
  min-width: 0;
  padding: 2rem;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.problem-card:last-child {
  border-right: 0;
}

.problem-card:hover {
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  box-shadow: none;
  transform: none;
}

.problem-icon {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--home-cyan);
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.75rem;
  font-weight: 700;
}

.problem-card:nth-child(2) .problem-icon {
  color: var(--home-green);
}

.problem-card:nth-child(3) .problem-icon {
  color: var(--home-amber);
}

.problem-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.2rem;
}

.problem-card p {
  max-width: 300px;
  line-height: 1.65;
}

.value-prop {
  padding: 6rem 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--bg-alt) 95%, var(--home-cyan)), var(--bg-alt));
  border-block: 1px solid var(--border);
}

.value-prop h2 {
  max-width: 820px;
  font-family: "Aptos Display", "Segoe UI Variable Display", sans-serif;
  font-size: 2.5rem;
  letter-spacing: 0;
}

.value-prop-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.value-prop-card {
  min-width: 0;
  padding: 2rem;
  background: var(--surface);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.value-prop-card:hover {
  background: var(--surface-2);
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.value-prop-icon {
  display: block;
  color: var(--home-cyan);
  font-size: 0.75rem;
  font-weight: 750;
  text-transform: uppercase;
}

.value-prop-card:nth-child(2) .value-prop-icon {
  color: var(--home-green);
}

.value-prop-card:nth-child(3) .value-prop-icon {
  color: var(--home-amber);
}

.value-prop-card h3 {
  margin-top: 1.25rem;
  font-size: 1.12rem;
}

.value-prop-footnote a {
  color: var(--home-cyan);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

/* Carry the evidence-console language through the interactive lower sections. */
.flow-process-step,
.feature-icon-btn,
.feature-detail-card,
.trust-badge,
.price-card {
  border-radius: 8px;
  box-shadow: 0 14px 34px color-mix(in srgb, var(--bg) 76%, transparent);
  transform: none;
}

.flow-process-step:hover,
.feature-icon-btn:hover,
.trust-badge:hover,
.price-card:hover,
.price-card.tilt-card {
  transform: none;
}

.flow-process-step:hover,
.flow-process-step.active,
.feature-icon-btn:hover,
.feature-icon-btn.active {
  border-color: color-mix(in srgb, var(--home-cyan) 64%, var(--border));
  box-shadow: inset 0 2px 0 color-mix(in srgb, var(--home-cyan) 70%, transparent);
}

.flow-process-step.active,
.feature-icon-btn.active,
.feature-detail-card.glow-card {
  color: var(--home-cyan);
  background: color-mix(in srgb, var(--home-cyan) 7%, var(--surface));
}

.flow-process-icon,
.feature-icon-btn .feature-icon,
.feature-detail-icon {
  font-size: 0;
  filter: none;
}

.flow-process-step .flow-process-icon::after,
.feature-icon-btn::before {
  color: var(--home-cyan);
  font-family: "Aptos Mono", "Cascadia Code", monospace;
  font-size: 0.75rem;
  font-weight: 750;
}

.flow-process-step:nth-child(1) .flow-process-icon::after,
.feature-icon-btn:nth-child(1)::before { content: "01"; }
.flow-process-step:nth-child(2) .flow-process-icon::after,
.feature-icon-btn:nth-child(2)::before { content: "02"; }
.flow-process-step:nth-child(3) .flow-process-icon::after,
.feature-icon-btn:nth-child(3)::before { content: "03"; }
.flow-process-step:nth-child(4) .flow-process-icon::after,
.feature-icon-btn:nth-child(4)::before { content: "04"; }
.flow-process-step:nth-child(5) .flow-process-icon::after,
.feature-icon-btn:nth-child(5)::before { content: "05"; }
.flow-process-step:nth-child(6) .flow-process-icon::after,
.feature-icon-btn:nth-child(6)::before { content: "06"; }
.feature-icon-btn:nth-child(7)::before { content: "07"; }
.feature-icon-btn:nth-child(8)::before { content: "08"; }

.flow-description,
.flow-description.glow-card {
  background: var(--surface);
  border-color: color-mix(in srgb, var(--home-cyan) 36%, var(--border));
  border-radius: 8px;
  box-shadow: inset 3px 0 0 var(--home-cyan);
}

.flow-detail-badge,
.price-badge {
  background: var(--accent-fill);
  color: var(--on-accent);
  box-shadow: none;
}

.flow-visual-item {
  background: var(--surface-2);
  border-color: var(--border);
  border-radius: 6px;
  box-shadow: none;
}

.features::before,
.trust::before,
.pricing::before,
.glow-card::before {
  display: none;
}

.feature-icon-btn {
  min-height: 104px;
}

.feature-detail-card {
  border-top: 3px solid var(--home-cyan);
}

.trust-badge {
  background: var(--surface);
}

.price-card-popular {
  border-color: var(--home-cyan);
  box-shadow: 0 0 0 1px var(--home-cyan), 0 18px 44px color-mix(in srgb, var(--home-cyan) 12%, transparent);
}

.price-card-popular::before,
.section-wave {
  display: none;
}

@media (max-width: 1050px) {
  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-copy h1 {
    font-size: 3.5rem;
  }

  .hero-visual {
    order: 0;
    min-height: 490px;
  }

  .accountability-scene {
    width: min(100%, 680px);
  }
}

@media (max-width: 760px) {
  body {
    background-size: 28px 28px;
    background-attachment: scroll;
  }

  .hero {
    padding: 3.5rem 1rem 3rem;
  }

  .hero-copy h1 {
    font-size: 2.75rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

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

  .hero-cta .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero-visual {
    min-height: 620px;
    margin-inline: -0.25rem;
    overflow: hidden;
  }

  .accountability-scene {
    width: 100%;
    height: 600px;
    transform: none;
  }

  .scene-grid {
    inset: 0;
  }

  .scene-record-meeting {
    top: 10px;
    left: 0;
    width: 58%;
  }

  .scene-record-decision {
    top: 116px;
    left: 8%;
    width: 88%;
  }

  .scene-record-commitment {
    top: 270px;
    left: 0;
    width: 82%;
  }

  .scene-record-work {
    top: 390px;
    right: 0;
    width: 38%;
  }

  .scene-alert {
    right: auto;
    bottom: 12px;
    left: 0;
    width: 58%;
    transform: none;
  }

  .scene-connector {
    display: none;
  }

  .problem,
  .value-prop {
    padding: 4.5rem 0;
  }

  .problem h2,
  .value-prop h2 {
    font-size: 2rem;
  }

  .problem-grid,
  .value-prop-grid {
    grid-template-columns: 1fr;
  }

  .problem-card {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .problem-card:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 380px) {
  .hero-copy h1 {
    font-size: 2.35rem;
  }

  .scene-record,
  .scene-alert {
    padding: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .accountability-scene,
  .scene-record,
  .scene-alert {
    transform: none;
  }
}
/* Single customer-quote pull-quote, placed above the final CTA. */
/* .cta-band's background is a solid indigo/violet gradient (not a themed
   surface), so this can't use the neutral --text-secondary/--text-muted
   tokens — same reason .cta-band h2 above is hardcoded to #fff. */
.cta-testimonial {
  max-width: 560px;
  margin: 0 auto 1.5rem;
  padding: 1rem 1.5rem;
  border-left: 3px solid rgba(255, 255, 255, 0.6);
  text-align: left;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.6;
}
.cta-testimonial cite {
  display: block;
  margin-top: 0.6rem;
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}
