:root {
  --bg: #f4f7ff;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --surface-muted: #f2f6ff;
  --text: #0f2247;
  --text-muted: #44587f;
  --line: #cfdaf0;
  --brand: #0f63d8;
  --brand-strong: #0d4fb0;
  --teal: #0f9f8c;
  --sun: #e59b4a;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 30px;

  --shadow-sm: 0 10px 22px rgba(11, 31, 70, 0.08);
  --shadow-md: 0 24px 60px rgba(11, 31, 70, 0.14);

  --container: 1160px;
}

html[data-theme="dark"] {
  --bg: #071126;
  --bg-soft: #0a1632;
  --surface: #0f1d3f;
  --surface-muted: #12264f;
  --text: #eff3ff;
  --text-muted: #a7b9de;
  --line: #233a67;
  --brand: #69a0ff;
  --brand-strong: #4c85f2;
  --teal: #2ac8b4;
  --sun: #ffb76f;

  --shadow-sm: 0 16px 34px rgba(2, 7, 17, 0.34);
  --shadow-md: 0 34px 86px rgba(2, 7, 17, 0.56);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 440px at 8% -8%, rgba(46, 126, 255, 0.14), transparent 62%),
    radial-gradient(620px 360px at 100% 14%, rgba(31, 186, 166, 0.12), transparent 66%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

p {
  margin: 0;
  line-height: 1.75;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(var(--container), calc(100% - 2.4rem));
  margin: 0 auto;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(86px);
  opacity: 0.2;
  pointer-events: none;
  z-index: -2;
}

.ambient-1 {
  width: 420px;
  height: 420px;
  top: -130px;
  left: -90px;
  background: rgba(38, 123, 255, 0.34);
  animation: drift 14s ease-in-out infinite;
}

.ambient-2 {
  width: 500px;
  height: 500px;
  top: 23%;
  right: -200px;
  background: rgba(28, 174, 153, 0.3);
  animation: drift 20s ease-in-out infinite reverse;
}

.ambient-3 {
  width: 290px;
  height: 290px;
  bottom: -110px;
  left: 34%;
  background: rgba(242, 160, 78, 0.24);
  animation: drift 16s ease-in-out infinite;
}

.grid-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.08;
  mask-image: radial-gradient(circle at 50% 20%, #000 36%, transparent 100%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.08;
  mask-image: radial-gradient(circle at 50% 20%, #000 36%, transparent 100%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
}

.topbar-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-logo {
  height: 34px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.22rem;
}

.menu a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--text) 84%, var(--text-muted));
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--brand), var(--teal));
  transition: width 0.22s ease;
}

.menu a:hover::after,
.menu a:focus-visible::after {
  width: 100%;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.btn {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(110deg, var(--brand), var(--brand-strong));
  color: #fff;
  padding: 0.76rem 1.08rem;
  box-shadow: 0 12px 28px rgba(23, 98, 208, 0.3);
}

.btn-ghost {
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.76rem 1.08rem;
}

.btn-lg {
  padding: 0.92rem 1.35rem;
}

.btn-block {
  width: 100%;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.theme-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.22s ease;
}

.nav-toggle span + span {
  margin-top: 5px;
}

.nav-toggle.open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle.open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.menu-mobile {
  display: none;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0 1.2rem 1.2rem;
  border-top: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
}

.menu-mobile a {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  padding: 0.72rem 0.9rem;
  font-weight: 700;
}

.menu-mobile .menu-mobile-cta {
  margin-top: 0.45rem;
  border: 0;
}

.hero {
  position: relative;
  padding: 5.3rem 0 2.2rem;
}

.hero::before {
  display: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 1.6rem;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--teal) 18%, transparent);
  color: color-mix(in srgb, var(--text) 80%, var(--teal));
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-main h1 {
  margin-top: 1rem;
  font-size: clamp(2.35rem, 5.7vw, 4.95rem);
  max-width: 14ch;
  line-height: 1.03;
}

.hero-main h1 span {
  background: linear-gradient(105deg, var(--brand), var(--teal));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-rotating-text {
  display: block;
  min-height: 2.2em;
  max-width: 12ch;
  margin-top: 0.08em;
  transition: opacity 0.42s ease, transform 0.42s ease, filter 0.42s ease;
}

.hero-rotating-text.is-changing {
  opacity: 0.08;
  transform: translateY(4px);
  filter: blur(1px);
}

.hero-lead {
  margin-top: 1.45rem;
  max-width: 62ch;
  color: color-mix(in srgb, var(--text-muted) 92%, #1c2f52);
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.hero-inline-kpis {
  margin-top: 1.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--brand) 55%, var(--line));
  border-radius: var(--radius-md);
  background: linear-gradient(120deg, var(--brand), var(--brand-strong));
  box-shadow: 0 16px 32px rgba(15, 79, 176, 0.28);
  overflow: hidden;
}

.hero-inline-kpis li {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.22rem;
  align-content: start;
  justify-items: center;
  text-align: center;
  padding: 0.86rem 0.95rem 0.92rem;
  border-left: 0;
}

.hero-inline-kpis li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-inline-kpis strong {
  display: block;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3.4vw, 2.5rem);
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 6px 18px rgba(5, 20, 49, 0.28);
  letter-spacing: -0.02em;
}

.hero-inline-kpis span {
  display: block;
  color: rgba(236, 244, 255, 0.96);
  font-size: 0.86rem;
  line-height: 1.35;
  font-weight: 700;
  max-width: 25ch;
  margin: 0 auto;
}

.hero-side {
  margin-top: 0.4rem;
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: var(--shadow-sm);
  padding: clamp(1rem, 2.6vw, 1.8rem);
}

.mini-pill {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--sun) 50%, var(--line));
  background: color-mix(in srgb, var(--sun) 12%, transparent);
  padding: 0.3rem 0.72rem;
  font-size: 0.79rem;
  font-weight: 700;
}

.hero-side h2 {
  margin-top: 0.92rem;
  font-size: clamp(1.34rem, 2.4vw, 1.95rem);
}

.hero-side p {
  margin-top: 0.68rem;
  color: var(--text-muted);
}

.signal-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.68rem;
}

.signal-list li {
  padding-left: 0.72rem;
  border-left: 2px solid color-mix(in srgb, var(--teal) 48%, var(--line));
  font-size: 0.9rem;
  color: var(--text-muted);
}

.signal-list span {
  font-weight: 800;
  color: var(--brand);
}

.source-note {
  margin-top: 0.82rem;
  font-size: 0.78rem;
}

.hero-band {
  margin-top: 1.6rem;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 1rem;
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
}

.hero-band span {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.section {
  position: relative;
  padding: 4.9rem 0;
}

.section-tint {
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--surface-muted) 82%, transparent), color-mix(in srgb, #ffffff 84%, transparent));
  border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}

.section-intro {
  max-width: 74ch;
}

.section-intro h2 {
  margin-top: 0.84rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.section-intro p {
  margin-top: 0.82rem;
  color: var(--text-muted);
}

.problem-shell {
  margin-top: 1.9rem;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 1.5rem;
  align-items: start;
}

.problem-story {
  display: grid;
  gap: 1rem;
  padding: 0.2rem 0.3rem 0.2rem 0;
}

.problem-story p {
  max-width: 60ch;
}

.problem-lead {
  color: color-mix(in srgb, var(--text) 90%, #1c325a);
  font-size: clamp(1.05rem, 1.15vw, 1.22rem);
  line-height: 1.75;
  font-weight: 620;
}

.problem-tail {
  margin-top: 0.1rem;
  border-top: 1px solid color-mix(in srgb, var(--line) 74%, transparent);
  padding-top: 1rem;
  color: color-mix(in srgb, var(--text-muted) 88%, #2a406d);
  font-size: 1.03rem;
  line-height: 1.72;
}

.problem-impact-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.1rem;
  border-left: 4px solid color-mix(in srgb, #d4555f 65%, var(--line));
  padding: 0.3rem 0 0.3rem 0.95rem;
}

.problem-impact-list li {
  color: color-mix(in srgb, var(--text-muted) 92%, #2b406b);
  font-size: 0.98rem;
  line-height: 1.52;
}

.problem-stream {
  display: grid;
  gap: 0.82rem;
}

.problem-stream li {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 0.65rem 0.84rem;
  border: 1px solid color-mix(in srgb, #d4555f 62%, var(--line));
  border-left-width: 5px;
  border-radius: 16px;
  background:
    radial-gradient(260px 90px at 100% 0%, rgba(255, 210, 220, 0.58), transparent 66%),
    linear-gradient(132deg, color-mix(in srgb, #fff4f6 95%, var(--surface)), color-mix(in srgb, #fffafb 92%, var(--surface)));
  padding: 0.94rem 1rem;
  box-shadow: 0 14px 30px rgba(73, 19, 35, 0.14);
}

.stream-id {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--brand) 45%, var(--line));
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand);
}

.stream-copy h3 {
  font-size: 1.04rem;
  color: color-mix(in srgb, var(--text) 94%, #142645);
}

.stream-copy p {
  margin-top: 0.28rem;
  color: color-mix(in srgb, var(--text-muted) 90%, #2c4068);
  font-size: 0.9rem;
  line-height: 1.5;
}

.stream-chip {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  margin-top: 0.04rem;
  display: inline-block;
  border-radius: 10px;
  background: linear-gradient(110deg, #cf4d5b, #ac3343);
  color: #fff9fb;
  padding: 0.3rem 0.64rem;
  font-size: 1.02rem;
  line-height: 1;
  font-weight: 900;
  border: 1px solid color-mix(in srgb, #d4555f 60%, var(--line));
  letter-spacing: 0.01em;
}

.stream-chip-label {
  grid-column: 2 / span 2;
  margin-top: 0.08rem;
  color: color-mix(in srgb, var(--text-muted) 88%, #31466f);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  font-weight: 800;
}

.solution-compare {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: stretch;
}

.solution-panel {
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 98%, transparent);
  padding: 1.05rem;
  box-shadow: var(--shadow-sm);
}

.solution-panel--before {
  border-color: color-mix(in srgb, #d4555f 55%, var(--line));
  background:
    radial-gradient(220px 110px at 100% 0%, rgba(250, 211, 216, 0.35), transparent 62%),
    linear-gradient(135deg, color-mix(in srgb, #fff3f5 86%, var(--surface)), color-mix(in srgb, var(--surface) 98%, transparent));
}

.solution-panel--after {
  border-color: color-mix(in srgb, var(--teal) 60%, var(--line));
  background:
    radial-gradient(220px 110px at 100% 0%, rgba(192, 242, 234, 0.35), transparent 62%),
    linear-gradient(135deg, color-mix(in srgb, #ecfffb 85%, var(--surface)), color-mix(in srgb, var(--surface) 98%, transparent));
}

.panel-label {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  color: color-mix(in srgb, var(--text) 80%, var(--text-muted));
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
}

.solution-panel h3 {
  margin-top: 0.6rem;
  font-size: 1.02rem;
}

.solution-panel ul {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.42rem;
}

.solution-panel li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.status {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  margin-top: 0.08rem;
}

.status-bad {
  background: #e65f6b;
  color: #ffffff;
}

.status-good {
  background: #17a88f;
  color: #ffffff;
}

.solution-switch {
  align-self: center;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(108deg, var(--brand), var(--teal));
  color: #fff;
  padding: 0.48rem 0.82rem;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(16, 98, 187, 0.26);
}

.solution-metrics {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.solution-metrics article {
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface) 98%, transparent);
  padding: 0.72rem 0.8rem;
  box-shadow: var(--shadow-sm);
}

.solution-metrics strong {
  display: block;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.4rem;
  color: var(--brand);
}

.solution-metrics p {
  margin-top: 0.3rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.journey-layout {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 1.1rem;
  align-items: start;
}

.journey-phone {
  position: sticky;
  top: 96px;
  display: grid;
  justify-items: center;
}

.phone-shell {
  position: relative;
  width: min(340px, 100%);
  aspect-ratio: 9 / 19;
  border-radius: 52px;
  border: 1px solid #4a556a;
  background: linear-gradient(160deg, #9ea9b8 0%, #d4dae4 48%, #8a95a6 100%);
  box-shadow:
    0 26px 56px rgba(8, 22, 47, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    inset 0 -6px 16px rgba(32, 47, 69, 0.18);
  padding: 8px;
}

.phone-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.16) 36%, rgba(255, 255, 255, 0.02) 60%),
    linear-gradient(290deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.18) 100%);
}

.phone-side {
  position: absolute;
  width: 3px;
  background: #657187;
  border-radius: 10px;
  z-index: 3;
}

.phone-side--left {
  left: -4px;
}

.phone-side--right {
  right: -4px;
}

.phone-side--a {
  top: 112px;
  height: 52px;
}

.phone-side--b {
  top: 178px;
  height: 82px;
}

.phone-side--c {
  top: 150px;
  height: 92px;
}

.phone-screen {
  position: relative;
  z-index: 1;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  background: linear-gradient(170deg, #f8fbff 0%, #edf2fd 100%);
  border: 6px solid #111821;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 12px 28px rgba(27, 36, 54, 0.22);
}

.phone-notch {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: 118px;
  height: 28px;
  border-radius: 14px;
  background: #090d15;
  z-index: 5;
}

.phone-status {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  padding: 12px 18px 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: #2a3548;
}

.phone-top {
  margin: 0.54rem 10px 0;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #d4deef;
  padding: 0.52rem 0.62rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 8px 16px rgba(16, 36, 72, 0.1);
}

.phone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 22%, transparent);
}

.phone-top strong {
  font-size: 0.76rem;
  color: var(--text);
}

.phone-chat {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.5rem;
  padding: 0.26rem 10px 0.12rem;
  max-height: 338px;
  overflow: auto;
}

.bubble {
  max-width: 86%;
  border-radius: 16px;
  padding: 0.52rem 0.68rem;
  font-size: 0.8rem;
  line-height: 1.42;
}

.bubble-in {
  justify-self: start;
  background: color-mix(in srgb, var(--surface-muted) 88%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  color: var(--text);
}

.bubble-out {
  justify-self: end;
  background: linear-gradient(120deg, #dff0ff, #d5f5ed);
  border: 1px solid color-mix(in srgb, var(--brand) 34%, var(--line));
  color: color-mix(in srgb, var(--text) 92%, #102749);
}

.phone-input {
  margin: 0.6rem 10px 0;
  border-radius: 999px;
  border: 1px solid #cad7eb;
  background: #ffffff;
  padding: 0.44rem 0.62rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--brand) 88%, #1f3c67);
  box-shadow: 0 8px 14px rgba(17, 37, 71, 0.1);
}

.journey {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 0.42rem;
  --journey-rail-x: 25px;
  --journey-line-width: 6px;
  --journey-connector-duration: 2.2s;
  --journey-connector-top: 52px;
  --journey-connector-height: calc(100% - 22px);
}

.journey::before {
  content: "";
  position: absolute;
  left: var(--journey-rail-x);
  transform: translateX(-50%);
  top: 16px;
  bottom: 16px;
  width: var(--journey-line-width);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), var(--teal));
  opacity: 0.42;
  z-index: 0;
}

.journey li {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.8rem;
  padding: 0.9rem 0.2rem 1.1rem 0.1rem;
  border-radius: 0;
  background: transparent;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.journey li.is-in {
  opacity: 1;
  transform: translateX(0);
}

.journey li.is-active {
  opacity: 1;
}

.journey li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: var(--journey-rail-x);
  transform: translateX(-50%);
  top: var(--journey-connector-top);
  width: var(--journey-line-width);
  height: var(--journey-connector-height);
  border-radius: 999px;
  background: color-mix(in srgb, var(--line) 78%, transparent);
  z-index: 0;
}

.journey li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: var(--journey-rail-x);
  transform: translateX(-50%) scaleY(0);
  top: var(--journey-connector-top);
  width: var(--journey-line-width);
  height: var(--journey-connector-height);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), var(--teal));
  transform-origin: top;
  z-index: 0;
}

.journey li.is-connecting:not(:last-child)::after {
  animation: connectorFill var(--journey-connector-duration) linear forwards;
}

.journey li.is-done:not(:last-child)::after {
  transform: translateX(-50%) scaleY(1);
}

.journey-id {
  position: relative;
  z-index: 2;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1rem;
  color: var(--brand);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.journey li.is-active .journey-id {
  transform: scale(1.12);
  border-color: color-mix(in srgb, var(--brand) 62%, var(--line));
  background: color-mix(in srgb, var(--brand) 14%, var(--surface));
  box-shadow: 0 10px 22px rgba(11, 67, 156, 0.2);
}

.journey li.is-done .journey-id {
  border-color: color-mix(in srgb, var(--teal) 56%, var(--line));
  background: color-mix(in srgb, var(--teal) 12%, var(--surface));
  color: color-mix(in srgb, var(--text) 72%, var(--teal));
}

.journey h3 {
  font-size: 1rem;
}

.journey p {
  margin-top: 0.28rem;
  color: var(--text-muted);
}

.journey small {
  display: block;
  margin-top: 0.36rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brand);
}

@keyframes connectorFill {
  from {
    transform: translateX(-50%) scaleY(0);
  }
  to {
    transform: translateX(-50%) scaleY(1);
  }
}

.stats-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.92rem;
}

.proof-card {
  border: 1px solid color-mix(in srgb, var(--brand) 42%, var(--line));
  border-radius: var(--radius-md);
  background:
    radial-gradient(240px 120px at 100% 0%, rgba(255, 255, 255, 0.2), transparent 60%),
    linear-gradient(140deg, color-mix(in srgb, var(--brand) 92%, #0a3e90), color-mix(in srgb, var(--brand-strong) 96%, #082f6e));
  box-shadow: 0 16px 30px rgba(12, 61, 140, 0.26);
  padding: 1.05rem 1rem;
}

.proof-card p {
  color: rgba(235, 245, 255, 0.88);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.proof-card strong {
  display: block;
  margin-top: 0.45rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2.3rem, 3.5vw, 2.8rem);
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 4px 14px rgba(3, 14, 35, 0.32);
}

.proof-card span {
  display: block;
  margin-top: 0.45rem;
  color: rgba(224, 239, 255, 0.92);
  font-size: 0.83rem;
  line-height: 1.45;
}

.cases-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.84rem;
}

.case-card {
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 98%, transparent);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
}

.case-card p {
  margin-top: 0.45rem;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.case-card ul {
  margin-top: 0.72rem;
  display: grid;
  gap: 0.5rem;
}

.case-card li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.86rem;
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-radius: 10px;
  padding: 0.5rem 0.55rem;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.case-card li span {
  font-weight: 700;
  color: color-mix(in srgb, var(--text) 84%, var(--text-muted));
}

.case-card li strong {
  justify-self: start;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  font-size: 1rem;
}

.case-card li em {
  justify-self: end;
  font-style: normal;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(110deg, #0f9f8c, #0f63d8);
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
  font-size: 0.78rem;
}

.case-card li.gain-row {
  grid-template-columns: auto 1fr;
  border-color: color-mix(in srgb, var(--teal) 52%, var(--line));
  background: color-mix(in srgb, var(--teal) 12%, var(--surface));
}

.case-card li.gain-row strong {
  justify-self: end;
  color: color-mix(in srgb, var(--text) 86%, var(--teal));
  font-size: 1.08rem;
}

.validation-shell {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.1rem;
}

.validation-stats {
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 98%, transparent);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.validation-stats div {
  border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  padding-top: 0.7rem;
}

.validation-stats div:first-child {
  border-top: 0;
  padding-top: 0;
}

.validation-stats strong {
  display: block;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.55rem;
  color: var(--brand);
}

.validation-stats p {
  margin-top: 0.25rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.validation-quotes {
  display: grid;
  gap: 0.75rem;
}

.validation-quotes article {
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-left: 3px solid color-mix(in srgb, var(--brand) 50%, var(--line));
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface) 97%, transparent);
  padding: 0.8rem 0.9rem;
  box-shadow: var(--shadow-sm);
}

.validation-quotes p {
  font-size: 1rem;
}

.validation-quotes span {
  display: block;
  margin-top: 0.45rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.pricing-copy p {
  margin-top: 0.8rem;
  color: var(--text-muted);
}

.pricing-proof-list {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.42rem;
}

.pricing-proof-list li {
  position: relative;
  padding-left: 0.95rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-proof-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--teal);
}

.pricing-card {
  border: 1px solid color-mix(in srgb, var(--brand) 32%, var(--line));
  border-radius: var(--radius-lg);
  background:
    linear-gradient(146deg, color-mix(in srgb, var(--surface) 98%, transparent), color-mix(in srgb, var(--surface-muted) 90%, transparent));
  box-shadow: var(--shadow-md);
  padding: clamp(1rem, 2.6vw, 1.75rem);
}

.pricing-label {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.28rem 0.72rem;
  background: color-mix(in srgb, var(--teal) 20%, transparent);
  color: color-mix(in srgb, var(--text) 82%, var(--teal));
  font-size: 0.79rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-value {
  margin-top: 0.9rem;
  color: var(--text-muted);
}

.pricing-value strong {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  color: var(--brand);
}

.pricing-compare {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.pricing-compare div {
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 98%, transparent);
  padding: 0.58rem 0.62rem;
}

.pricing-compare span {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 700;
}

.pricing-compare strong {
  display: block;
  margin-top: 0.12rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.08rem;
  color: var(--brand);
}

.pricing-card ul {
  margin-top: 1rem;
  display: grid;
  gap: 0.42rem;
}

.pricing-card li {
  position: relative;
  padding-left: 0.95rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--teal);
}

.pricing-card .btn {
  margin-top: 1rem;
}

.pricing-footnote {
  margin-top: 0.65rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.faq-list {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.7rem;
}

.faq-list details {
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 98%, transparent);
  padding: 0.86rem 0.95rem;
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  cursor: pointer;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  list-style: none;
}

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

.faq-tag {
  flex: 0 0 auto;
  display: inline-flex;
  border-radius: 999px;
  padding: 0.2rem 0.58rem;
  background: color-mix(in srgb, var(--surface-muted) 84%, transparent);
  color: var(--text-muted);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.faq-list p {
  margin-top: 0.48rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.contact-copy h2 {
  margin-top: 0.8rem;
  font-size: clamp(1.8rem, 3.8vw, 3rem);
}

.contact-copy p {
  margin-top: 0.8rem;
  color: var(--text-muted);
}

.contact-links {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.45rem;
}

.contact-links a {
  color: var(--brand);
  font-weight: 800;
}

#contact-form {
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 98%, transparent);
  box-shadow: var(--shadow-md);
  padding: clamp(1rem, 2.4vw, 1.8rem);
  display: grid;
  gap: 0.75rem;
}

.field-row {
  display: grid;
  gap: 0.38rem;
}

.field-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.68rem;
}

label {
  font-size: 0.86rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface-muted) 74%, transparent);
  color: var(--text);
  font: inherit;
  padding: 0.74rem 0.84rem;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: color-mix(in srgb, var(--text-muted) 70%, transparent);
}

input:focus,
textarea:focus {
  border-color: color-mix(in srgb, var(--brand) 60%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent);
}

.form-note {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.form-note.small {
  margin-top: -0.25rem;
}

.footer {
  margin-top: 1.8rem;
  border-top: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
}

.footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.footer-brand {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1rem;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  max-width: 300px;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  color: var(--text);
  box-shadow: var(--shadow-md);
  padding: 0.8rem 0.9rem;
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-size: 0.9rem;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.52s ease, transform 0.52s ease;
}

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

.hide-mobile {
  display: inline-flex;
}

/* Legal pages */

.legal-main {
  padding: 4.2rem 0 5rem;
}

.legal-shell {
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--shadow-md);
  padding: clamp(1rem, 2.5vw, 2rem);
}

.legal-head h1 {
  margin-top: 0.82rem;
  font-size: clamp(1.8rem, 4.1vw, 2.9rem);
}

.legal-head p {
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-content {
  margin-top: 1.35rem;
  display: grid;
  gap: 0.95rem;
}

.legal-content section {
  border-top: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  padding-top: 0.85rem;
}

.legal-content h2 {
  font-size: 1rem;
}

.legal-content p,
.legal-content li {
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.legal-content ul {
  list-style: disc;
  margin-left: 1.2rem;
}

.legal-content a {
  color: var(--brand);
  text-decoration: underline;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 16px, 0);
  }
}

@media (max-width: 1120px) {
  .hero::before {
    height: 500px;
  }

  .hero-layout,
  .problem-shell,
  .journey-layout,
  .validation-shell,
  .pricing-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .solution-compare {
    grid-template-columns: 1fr;
  }

  .solution-switch {
    justify-self: flex-start;
  }

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

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

@media (max-width: 900px) {
  .menu,
  .hide-mobile {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .menu-mobile.open {
    display: flex;
  }

  .hero {
    padding-top: 4.6rem;
  }

  .hero::before {
    width: calc(100% - 1.2rem);
    height: 580px;
    top: 0.8rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .solution-metrics,
  .pricing-compare,
  .field-split {
    grid-template-columns: 1fr;
  }

  .journey-phone {
    position: static;
    top: auto;
    max-width: 420px;
  }
}

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

  .topbar-inner {
    min-height: 70px;
  }

  .brand-logo {
    height: 30px;
  }

  .btn-primary,
  .btn-ghost {
    padding: 0.7rem 0.95rem;
  }

  .hero-rotating-text {
    min-height: auto;
    max-width: none;
  }

  .problem-stream li {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .stream-chip,
  .stream-chip-label {
    grid-column: 1;
    justify-self: start;
  }

  .journey::before {
    left: 21px;
  }

  .journey {
    --journey-rail-x: 21px;
    --journey-connector-top: 44px;
  }

  .journey li {
    grid-template-columns: 54px 1fr;
    padding: 0.74rem 0 0.95rem;
  }

  .journey-id {
    width: 42px;
    height: 42px;
    font-size: 0.92rem;
  }

  .faq-list summary {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey li,
  .journey-id {
    transition: none !important;
  }
}
