.how-inner {
  max-width: 1240px;
  margin: 0 auto;
}

/* Heading + subtitle styling for the 4-step "How it works" strip */
.how-inner .section-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.how-inner .section-subtitle {
  text-align: left;
  margin: 0 0 2rem;
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Speed note + CTA under the stepper */
.steps-note {
  margin-top: 28px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.9;
}

.steps-note strong {
  font-weight: 600;
}

.steps-cta {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}
:root {
  --bg: #050816;
  --bg-elevated: #0b1020;
  --bg-accent: #070b18;
  --card: #0f172a;
  --card-soft: #111827;
  --accent: #6366f1;
  --accent-soft: rgba(99, 102, 241, 0.12);
  --accent-strong: #4f46e5;
  --accent-gradient: linear-gradient(135deg, #6366f1, #ec4899);
  --text: #e5e7eb;
  --text-primary: rgba(209, 213, 219, 0.95); /* Headings and important text */
  --text-body: rgba(226, 232, 240, 0.9); /* Body text */
  --text-secondary: rgba(148, 163, 184, 0.9); /* Secondary/muted text */
  --text-soft: #9ca3af;
  --text-muted: rgba(148, 163, 184, 0.75); /* Captions, footnotes */
  --border-subtle: rgba(148, 163, 184, 0.25);
  
  /* Typography scale */
  --font-size-xs: 0.7rem; /* Labels, small caps */
  --font-size-sm: 0.8rem; /* Captions, footnotes */
  --font-size-base: 0.9rem; /* Body text */
  --font-size-md: 1rem; /* Subheadings */
  --font-size-lg: 1.2rem; /* Section titles */
  --font-size-xl: 1.45rem; /* Main section headings */
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.65);
  --shadow-glow: 0 0 90px rgba(129, 140, 248, 0.35);
  /* Page layout */
  --content-width: 1240px; /* widened central column */
  --rail-width: 220px;
  --rail-gap: 40px;
  --page-side-padding: 32px;
  --shell-width: calc(var(--content-width) + var(--rail-width) + var(--rail-gap));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro Text',
    'Segoe UI', sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  background: radial-gradient(circle at top, #020617 0%, #020617 40%, #000 100%);
}

html {
  scroll-behavior: smooth;
}

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

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

/* Canvas-based constellation background */

.page-shell {
  width: 100%;
  margin: 0;
  position: relative;
}

.section {
  position: relative;
}

.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.section-bg--overview {
  /* transparent so the global animated background shows through */
  background: transparent;
}

.section-bg--how,
.section-bg--working {
  background: transparent;
  border-top: none;
  border-bottom: none;
}

.section-bg--pricing {
  background: radial-gradient(circle at top left, #020617 0%, #020617 40%, #020617 100%);
}

.section-bg--roadmap {
  background: transparent;
}

.section-bg--contact {
  background: radial-gradient(circle at top left, #020617 0%, #020617 40%, #020617 100%);
}

/* Layout tweaks for Guide page */

.page--guide .section-inner {
  padding-top: 56px;
  padding-bottom: 56px;
}

/* Design draft sections */

.section--draft {
  min-height: 100vh;
}

.section-bg--draft-plain {
  background: transparent;
}

.section-bg--draft-signal {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.92));
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  border-bottom: 1px solid rgba(30, 64, 175, 0.3);
}

.section-bg--draft-orbit {
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.9));
  border-top: 1px solid rgba(30, 64, 175, 0.3);
}

.section-bg--draft-anim-1,
.section-bg--draft-anim-2,
.section-bg--draft-anim-3,
.section-bg--draft-anim-4,
.section-bg--draft-anim-5 {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.93));
  border-top: 1px solid rgba(30, 64, 175, 0.35);
}

.section-bg--draft-spectrum {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.94));
  border-top: 1px solid rgba(56, 189, 248, 0.25);
  border-bottom: 1px solid rgba(129, 140, 248, 0.3);
}

.section-bg--draft-cards {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.97), rgba(15, 23, 42, 0.93));
  border-top: 1px solid rgba(30, 64, 175, 0.25);
}

.section-bg--draft-week {
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.97), rgba(15, 23, 42, 0.92));
  border-top: 1px solid rgba(56, 189, 248, 0.25);
}

.section-bg--draft-invite {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.9));
  border-top: 1px solid rgba(30, 64, 175, 0.35);
  border-bottom: 1px solid rgba(30, 64, 175, 0.4);
}

/* Abstract-only draft backgrounds (no text) */

.section-bg--draft-abstract-1,
.section-bg--draft-abstract-2,
.section-bg--draft-abstract-3,
.section-bg--draft-abstract-4,
.section-bg--draft-abstract-5 {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.94));
  border-top: 1px solid rgba(30, 64, 175, 0.35);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.design-draft-section {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.design-draft-header {
  max-width: 36rem;
}

.design-draft-kicker {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-soft);
  margin-bottom: 0.6rem;
}

.design-draft-title {
  margin: 0 0 0.7rem;
  font-size: 1.9rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.design-draft-subtitle {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.design-draft-layout {
  display: grid;
  gap: 1.75rem;
}

.design-draft-layout--matrix {
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  align-items: stretch;
}

.design-draft-layout--full-bleed {
  grid-template-columns: minmax(0, 1fr);
}
.design-draft-layout--band {
  grid-template-columns: minmax(0, 1fr);
}

.design-draft-panel {
  position: relative;
  border-radius: 22px;
  padding: 1.6rem 1.7rem;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.94));
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.85),
    0 0 0 1px rgba(30, 64, 175, 0.45);
}

.design-draft-panel--primary {
  overflow: hidden;
}

.design-draft-panel--primary::before {
  content: '';
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.25), transparent 55%);
  opacity: 0.65;
  pointer-events: none;
}

.design-draft-panel-label {
  position: relative;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(191, 219, 254, 0.85);
  margin: 0 0 0.5rem;
}

.design-draft-panel-title {
  position: relative;
  margin: 0 0 1.2rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.design-draft-matrix {
  position: relative;
  border-radius: 18px;
  padding: 1.2rem 1.1rem;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: inset 0 0 0 1px rgba(30, 64, 175, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.design-draft-matrix::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(148, 163, 184, 0.12) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(148, 163, 184, 0.12) 1px,
      transparent 1px
    );
  background-size: 20px 20px;
  opacity: 0.9;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.design-draft-matrix-row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  padding: 0.45rem 0.55rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.9);
}

.design-draft-tag {
  align-self: stretch;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  white-space: nowrap;
}

.design-draft-tag--g1 {
  border-color: rgba(74, 222, 128, 0.85);
  color: rgba(190, 242, 100, 1);
  background: rgba(22, 101, 52, 0.5);
}

.design-draft-tag--g2 {
  border-color: rgba(251, 191, 36, 0.9);
  color: rgba(253, 224, 71, 1);
  background: rgba(120, 53, 15, 0.55);
}

.design-draft-tag--g3 {
  border-color: rgba(96, 165, 250, 0.9);
  color: rgba(191, 219, 254, 1);
  background: rgba(30, 64, 175, 0.7);
}

.design-draft-matrix-text {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.design-draft-panel--side {
  background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.8), rgba(15, 23, 42, 0.96));
  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.85),
    0 0 0 1px rgba(30, 64, 175, 0.6);
}

.design-draft-mini-label {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(191, 219, 254, 0.9);
}

.design-draft-mini-copy {
  margin: 0 0 1.1rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.design-draft-pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.design-draft-pill {
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid transparent;
}

.design-draft-pill--soft {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.5);
  color: rgba(226, 232, 240, 0.9);
}

.design-draft-pill--accent {
  background: linear-gradient(120deg, #60a5fa, #a855f7);
  color: white;
}

.design-draft-pill--outline {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(96, 165, 250, 0.85);
  color: rgba(191, 219, 254, 1);
}

/* Animated lanes / shapes (top-of-page experiments) */

.anim-slab {
  position: relative;
  border-radius: 26px;
  padding: 1.6rem;
  background: radial-gradient(circle at top left, #020617 0%, #020617 70%);
  box-shadow:
    0 26px 64px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(30, 64, 175, 0.6);
  overflow: hidden;
}

/* 1. Floating intent lanes */

.anim-lanes {
  position: relative;
  width: 100%;
  height: 58vh;
  max-height: 540px;
}

.anim-lane {
  position: absolute;
  left: 6%;
  right: 6%;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(56, 189, 248, 0.9));
  filter: blur(0.4px);
  opacity: 0.8;
  animation: float-lane 9s ease-in-out infinite alternate;
}

.anim-lane:nth-child(1) {
  top: 20%;
  animation-delay: 0s;
}

.anim-lane:nth-child(2) {
  top: 45%;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(129, 140, 248, 0.95));
  animation-delay: 0.5s;
}

.anim-lane:nth-child(3) {
  top: 70%;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(34, 197, 94, 0.9));
  animation-delay: 1s;
}

@keyframes float-lane {
  0% {
    transform: translateX(-4%) translateY(0);
  }
  50% {
    transform: translateX(3%) translateY(-6px);
  }
  100% {
    transform: translateX(6%) translateY(4px);
  }
}

/* 2. Pulsing radar */

.anim-radar {
  position: relative;
  width: 100%;
  height: 58vh;
  max-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anim-radar-core {
  position: relative;
  width: 26%;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.9), rgba(15, 23, 42, 1));
  box-shadow:
    0 0 40px rgba(56, 189, 248, 0.85),
    0 0 0 1px rgba(148, 163, 184, 0.8);
}

.anim-radar-ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(148, 163, 184, 0.65);
  animation: radar-pulse 4.6s ease-out infinite;
}

.anim-radar-ring:nth-child(2) {
  animation-delay: 1.1s;
}

.anim-radar-ring:nth-child(3) {
  animation-delay: 2.3s;
}

@keyframes radar-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  70% {
    transform: scale(2.4);
    opacity: 0;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* 3. Scanning columns */

.anim-columns {
  position: relative;
  width: 100%;
  height: 58vh;
  max-height: 540px;
  overflow: hidden;
  border-radius: 22px;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 1));
}

.anim-columns::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(30, 64, 175, 0.38) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(30, 64, 175, 0.38) 1px,
      transparent 1px
    );
  background-size: 28px 28px;
  opacity: 0.4;
}

.anim-columns-strip {
  position: absolute;
  top: -40%;
  bottom: -40%;
  width: 28px;
  background: linear-gradient(to bottom, transparent, rgba(56, 189, 248, 0.8), transparent);
  filter: blur(0.6px);
  animation: scan-column 7s linear infinite;
}

.anim-columns-strip:nth-child(1) {
  left: 18%;
}

.anim-columns-strip:nth-child(2) {
  left: 46%;
  animation-delay: 2s;
}

.anim-columns-strip:nth-child(3) {
  left: 72%;
  animation-delay: 4s;
}

@keyframes scan-column {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(40%);
  }
}

/* 4. Equalizer bars */

.anim-eq {
  position: relative;
  width: 100%;
  height: 58vh;
  max-height: 540px;
  border-radius: 22px;
  background: radial-gradient(circle at bottom, rgba(15, 23, 42, 1), rgba(2, 6, 23, 1));
  display: flex;
  align-items: center;
  justify-content: center;
}

.anim-eq-bars {
  display: flex;
  gap: 0.5rem;
}

.anim-eq-bar {
  width: 10px;
  border-radius: 999px;
  background: linear-gradient(to top, rgba(56, 189, 248, 0.1), rgba(129, 140, 248, 0.95));
  animation: equalizer 1.4s ease-in-out infinite;
  transform-origin: bottom;
}

.anim-eq-bar:nth-child(2) {
  animation-delay: 0.1s;
}

.anim-eq-bar:nth-child(3) {
  animation-delay: 0.2s;
}

.anim-eq-bar:nth-child(4) {
  animation-delay: 0.35s;
}

.anim-eq-bar:nth-child(5) {
  animation-delay: 0.5s;
}

.anim-eq-bar:nth-child(6) {
  animation-delay: 0.65s;
}

.anim-eq-bar:nth-child(7) {
  animation-delay: 0.8s;
}

@keyframes equalizer {
  0%,
  100% {
    height: 20px;
  }
  40% {
    height: 80px;
  }
  60% {
    height: 50px;
  }
}

/* 5. Orbit sweep */

.anim-orbit {
  position: relative;
  width: 100%;
  height: 58vh;
  max-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anim-orbit-ring {
  position: relative;
  width: 62%;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  box-shadow: 0 0 32px rgba(15, 23, 42, 1);
}

.anim-orbit-sweep {
  position: absolute;
  inset: 6%;
  border-radius: inherit;
  border-top: 2px solid rgba(56, 189, 248, 0.9);
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
  border-left: 2px solid transparent;
  animation: orbit-sweep 10s linear infinite;
}

.anim-orbit-dot {
  position: absolute;
  top: -6px;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 1);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.95);
}

@keyframes orbit-sweep {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Intent spectrum band */

.intent-band {
  position: relative;
  border-radius: 24px;
  padding: 1.5rem 1.6rem 1.3rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.94));
  box-shadow:
    0 22px 55px rgba(15, 23, 42, 0.85),
    0 0 0 1px rgba(37, 99, 235, 0.5);
  overflow: hidden;
}

.intent-band-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.1),
    rgba(56, 189, 248, 0.25),
    rgba(52, 211, 153, 0.24),
    rgba(244, 216, 90, 0.25)
  );
  opacity: 0.7;
  mix-blend-mode: screen;
  pointer-events: none;
}

.intent-band-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.intent-band-stop {
  border-radius: 16px;
  padding: 0.7rem 0.8rem;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.35);
}

.intent-band-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.35rem;
}

.intent-band-copy {
  display: block;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.intent-band-stop--g3 .intent-band-label {
  color: rgba(191, 219, 254, 1);
}

.intent-band-stop--g2 .intent-band-label {
  color: rgba(253, 224, 71, 1);
}

.intent-band-stop--g1 .intent-band-label {
  color: rgba(190, 242, 100, 1);
}

.intent-band-footnote {
  position: relative;
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.design-draft-section--orbit {
  align-items: center;
}

.design-draft-layout--orbit {
  position: relative;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 1 / 1;
  margin-top: 0.5rem;
}

.orbit-core {
  position: absolute;
  inset: 50%;
  width: 34%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(circle at top, rgba(96, 165, 250, 0.55), rgba(15, 23, 42, 0.98));
  box-shadow:
    0 0 40px rgba(59, 130, 246, 0.75),
    0 0 0 1px rgba(148, 163, 184, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-core-inner {
  text-align: center;
  padding: 0.8rem;
}

.orbit-core-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.orbit-core-sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-soft);
}

.orbit-ring {
  position: absolute;
  inset: 50%;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.45);
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 1.2rem;
}

.orbit-ring--inner {
  width: 62%;
  height: 62%;
}

.orbit-ring--outer {
  width: 88%;
  height: 88%;
}

.orbit-node {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  white-space: nowrap;
  border: 1px solid transparent;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 0 16px rgba(15, 23, 42, 0.9);
}

.orbit-node--primary {
  border-color: rgba(96, 165, 250, 0.9);
  color: rgba(191, 219, 254, 1);
}

.orbit-node--soft {
  border-color: rgba(148, 163, 184, 0.6);
  color: rgba(209, 213, 219, 0.95);
}

/* Inbox snapshot cards */

.design-draft-layout--cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.inbox-card {
  position: relative;
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
  background: radial-gradient(circle at top left, #0f172a 0%, #020617 65%);
  box-shadow:
    0 16px 40px rgba(15, 23, 42, 0.85),
    0 0 0 1px rgba(30, 64, 175, 0.6);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.inbox-card-header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.inbox-card-platform {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.inbox-card-pill {
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid transparent;
}

.inbox-card-pill--g1 {
  border-color: rgba(74, 222, 128, 0.9);
  color: rgba(190, 242, 100, 1);
}

.inbox-card-pill--g2 {
  border-color: rgba(251, 191, 36, 0.9);
  color: rgba(253, 224, 71, 1);
}

.inbox-card-pill--g3 {
  border-color: rgba(96, 165, 250, 0.9);
  color: rgba(191, 219, 254, 1);
}

.inbox-card-body {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-body);
}

.inbox-card-footer {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.78rem;
}

.inbox-card-meta {
  color: var(--text-soft);
}

.inbox-card-link {
  color: rgba(129, 140, 248, 1);
}

/* Weekly rhythm strip */

.design-draft-layout--week {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.week-step {
  border-radius: 18px;
  padding: 1rem 1rem;
  background: radial-gradient(circle at top left, #0f172a 0%, #020617 65%);
  box-shadow:
    0 16px 40px rgba(15, 23, 42, 0.85),
    0 0 0 1px rgba(30, 64, 175, 0.55);
}

.week-step-label {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(191, 219, 254, 0.9);
}

.week-step-title {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  font-weight: 600;
}

.week-step-copy {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.week-step--final {
  box-shadow:
    0 20px 55px rgba(30, 64, 175, 0.9),
    0 0 0 1px rgba(96, 165, 250, 0.7);
}

/* Who it's for tiles */

.design-draft-layout--tiles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.draft-tile {
  border-radius: 18px;
  padding: 1rem 1rem;
  background: radial-gradient(circle at top left, #020617 0%, #020617 70%);
  box-shadow:
    0 14px 36px rgba(15, 23, 42, 0.85),
    0 0 0 1px rgba(30, 64, 175, 0.5);
}

.draft-tile--primary {
  box-shadow:
    0 18px 48px rgba(30, 64, 175, 0.95),
    0 0 0 1px rgba(96, 165, 250, 0.8);
}

.draft-tile-label {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.draft-tile-copy {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-soft);
}

/* Invite strip */

.design-draft-layout--invite {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.4rem;
}

.invite-card {
  border-radius: 20px;
  padding: 1.4rem 1.5rem;
  background: radial-gradient(circle at top left, #0f172a 0%, #020617 65%);
  box-shadow:
    0 18px 48px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(30, 64, 175, 0.6);
}

.invite-card--standard {
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.6), #020617 65%);
}

.invite-card--invite {
  background: radial-gradient(circle at top right, rgba(96, 165, 250, 0.6), #020617 65%);
}

.invite-card-label {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(191, 219, 254, 0.95);
}

.invite-card-price {
  margin: 0 0 0.4rem;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.invite-card-tag {
  display: inline-flex;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.85);
  font-size: 0.75rem;
  margin-bottom: 0.6rem;
}

.invite-card-copy {
  margin: 0 0 0.6rem;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.invite-card-footnote {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(191, 219, 254, 0.95);
}

@media (max-width: 900px) {
  .design-draft-layout--matrix {
    grid-template-columns: minmax(0, 1fr);
  }

  .design-draft-layout--cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .design-draft-layout--week {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .design-draft-layout--tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .design-draft-layout--invite {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Pure-shape abstract compositions for SMM inspiration */

.abstract-canvas {
  position: relative;
  border-radius: 26px;
  padding: 1.4rem;
  background: radial-gradient(circle at top left, #020617 0%, #020617 65%);
  box-shadow:
    0 26px 64px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(30, 64, 175, 0.6);
  overflow: hidden;
}

/* 1. Gradient grid with floating pills */

.abstract-grid {
  position: relative;
  width: 100%;
  height: 58vh;
  max-height: 540px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.25), transparent 60%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.3), transparent 60%),
    radial-gradient(circle at center, rgba(22, 163, 74, 0.16), transparent 70%);
  box-shadow: inset 0 0 0 1px rgba(30, 64, 175, 0.6);
  overflow: hidden;
}

.abstract-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(148, 163, 184, 0.18) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(148, 163, 184, 0.18) 1px,
      transparent 1px
    );
  background-size: 40px 40px;
  mix-blend-mode: soft-light;
  opacity: 0.7;
}

.abstract-pill-row {
  position: absolute;
  display: flex;
  gap: 0.55rem;
}

.abstract-pill {
  width: 96px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(120deg, #60a5fa, #a855f7);
  opacity: 0.75;
}

.abstract-pill--green {
  background: linear-gradient(120deg, #22c55e, #4ade80);
}

.abstract-pill--amber {
  background: linear-gradient(120deg, #facc15, #fb923c);
}

.abstract-pill-row--top {
  top: 18%;
  left: 12%;
}

.abstract-pill-row--middle {
  top: 46%;
  right: 10%;
}

.abstract-pill-row--bottom {
  bottom: 16%;
  left: 22%;
}

/* 2. Concentric rings with orbiting nodes */

.abstract-rings {
  position: relative;
  width: 100%;
  height: 58vh;
  max-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.abstract-ring-core {
  position: relative;
  width: 34%;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: radial-gradient(circle at top, rgba(129, 140, 248, 0.7), rgba(15, 23, 42, 1));
  box-shadow:
    0 0 40px rgba(59, 130, 246, 0.85),
    0 0 0 1px rgba(148, 163, 184, 0.7);
}

.abstract-ring-core::before {
  content: '';
  position: absolute;
  inset: 26%;
  border-radius: inherit;
  border: 1px dashed rgba(191, 219, 254, 0.7);
}

.abstract-ring {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.55);
}

.abstract-ring--inner {
  width: 64%;
  height: 64%;
}

.abstract-ring--outer {
  width: 90%;
  height: 90%;
}

.abstract-node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(191, 219, 254, 1);
  box-shadow: 0 0 18px rgba(191, 219, 254, 0.9);
}

.abstract-node--blue {
  background: rgba(96, 165, 250, 1);
}

.abstract-node--emerald {
  background: rgba(45, 212, 191, 1);
}

.abstract-node--amber {
  background: rgba(251, 191, 36, 1);
}

.abstract-node:nth-child(1) {
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
}

.abstract-node:nth-child(2) {
  top: 50%;
  right: 3%;
  transform: translateY(-50%);
}

.abstract-node:nth-child(3) {
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
}

.abstract-node:nth-child(4) {
  top: 50%;
  left: 4%;
  transform: translateY(-50%);
}

/* 3. Bar stack + miniature cards */

.abstract-bars {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1.3rem;
  width: 100%;
  height: 58vh;
  max-height: 540px;
}

.abstract-bars-left {
  position: relative;
  border-radius: 20px;
  padding: 1.1rem;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.5), rgba(15, 23, 42, 1));
  box-shadow: inset 0 0 0 1px rgba(30, 64, 175, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.abstract-bar {
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(191, 219, 254, 0.1), rgba(56, 189, 248, 0.8));
}

.abstract-bar:nth-child(2) {
  width: 72%;
  background: linear-gradient(90deg, rgba(191, 219, 254, 0.1), rgba(96, 165, 250, 0.9));
}

.abstract-bar:nth-child(3) {
  width: 52%;
  background: linear-gradient(90deg, rgba(191, 219, 254, 0.1), rgba(129, 140, 248, 0.95));
}

.abstract-bar:nth-child(4) {
  width: 84%;
  background: linear-gradient(90deg, rgba(191, 219, 254, 0.1), rgba(52, 211, 153, 0.9));
}

.abstract-bars-right {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.abstract-mini-card {
  border-radius: 16px;
  background: radial-gradient(circle at top left, #0f172a 0%, #020617 70%);
  box-shadow:
    0 14px 34px rgba(15, 23, 42, 0.85),
    0 0 0 1px rgba(30, 64, 175, 0.5);
}

.abstract-mini-card:nth-child(2) {
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.5), #020617 70%);
}

.abstract-mini-card:nth-child(3) {
  background: radial-gradient(circle at bottom, rgba(34, 197, 94, 0.5), #020617 70%);
}

/* 4. Diagonal tiles */

.abstract-diagonal {
  position: relative;
  width: 100%;
  height: 58vh;
  max-height: 540px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.abstract-diagonal-tile {
  position: relative;
  border-radius: 20px;
  background: radial-gradient(circle at top left, #0f172a 0%, #020617 70%);
  overflow: hidden;
}

.abstract-diagonal-tile::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.8), transparent 55%);
  mix-blend-mode: screen;
}

.abstract-diagonal-tile:nth-child(2)::before {
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.85), transparent 55%);
}

.abstract-diagonal-tile:nth-child(3)::before {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.9), transparent 55%);
}

/* 5. Ribbon waves */

.abstract-ribbons {
  position: relative;
  width: 100%;
  height: 58vh;
  max-height: 540px;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.45), transparent 60%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.5), transparent 60%),
    #020617;
}

.abstract-ribbon {
  position: absolute;
  left: -15%;
  right: -15%;
  height: 54px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(56, 189, 248, 0.9));
  opacity: 0.95;
  filter: blur(0.5px);
  transform: skewX(-12deg);
}

.abstract-ribbon:nth-child(1) {
  top: 22%;
}

.abstract-ribbon:nth-child(2) {
  top: 42%;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(129, 140, 248, 0.9));
}

.abstract-ribbon:nth-child(3) {
  top: 62%;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(34, 197, 94, 0.9));
}


.section-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 72px var(--page-side-padding) 72px;
}

.section-main {
  min-width: 0;
}

.section-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  /* Anchor the rail to the right edge of the central content, not the background */
  left: calc(
    (100vw - var(--content-width)) / 2 + var(--content-width) + var(--rail-gap)
  );
  display: flex;
  align-items: center;   /* center the sidebar column vertically */
  z-index: 20;          /* above background, below any elevated cards */
  pointer-events: none; /* only inner rail is interactive */
}

.page-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.section-panel {
  width: 100%;
  border-radius: 24px;
  padding: 24px 28px;
  background: rgba(6, 14, 30, 0.96);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.section-panel--who {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 20px;
  padding: 2rem 1.4rem;
  background: radial-gradient(circle at top left, #0f172a 0%, #020617 65%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.9);
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.who-pills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.who-pills-row:last-child {
  margin-bottom: 0;
}

.social-proof-logos {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  margin: 1rem auto 0;
}

.pricing-testimonials {
  margin-top: 2rem;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-testimonials-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin: 0 0 1.25rem;
  text-align: center;
  color: var(--text-primary);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-testimonials-subtitle {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  text-align: center;
  margin: 0 0 1.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.pricing-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}

.pricing-testimonial-card {
  border-radius: 20px;
  padding: 1.3rem 1.4rem;
  background: radial-gradient(circle at top left, #0f172a 0%, #020617 65%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.9);
  display: flex;
  flex-direction: column;
  text-align: left;
}

.pricing-testimonial-quote {
  margin: 0 0 1rem;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-body);
  flex: 1;
}

.pricing-testimonial-result {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: rgba(156, 163, 175, 0.95);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.7));
  width: fit-content;
}

.pricing-testimonial-attribution {
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.testimonial-company {
  font-weight: 600;
}

.grades-intro {
  margin: 0.4rem 0 1rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

#bg-constellation {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at top, #020617 0%, #020617 40%, #000 100%);
}

.container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.9),
    rgba(2, 6, 23, 0.7),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 1rem var(--page-side-padding);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.logo-image {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-glow);
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  box-shadow: var(--shadow-glow);
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.nav-list a {
  color: var(--text-soft);
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  transition: color 0.2s ease, opacity 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-list a:hover {
  color: var(--text);
  opacity: 1;
  background: rgba(15, 23, 42, 0.9);
}

.nav-link-active {
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.5);
}

.nav-download {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.2), transparent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.26rem;
  padding: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-soft);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-open span:nth-child(1) {
  transform: translateY(2px) rotate(45deg);
}

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

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.3fr);
  gap: 2.75rem;
  align-items: stretch;
}

.hero-content {
  max-width: 36rem;
}

.hero-content h1 {
  font-size: clamp(2.0rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin: 0 0 0.7rem;
}

.hero-subtitle {
  margin: 0;
  color: var(--text-soft);
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.55;
}

.hero-micro {
  margin: 0.7rem 0 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.hero-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-soft);
  margin-bottom: 0.7rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
  justify-content: center; /* center primary CTA under hero copy */
}

.hero-link-quiet {
  font-size: 0.8rem;
  color: var(--text-soft);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.hero-proof {
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.hero-highlight {
  background-image: linear-gradient(120deg, #60a5fa, #a855f7, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: 1.1rem;
}

.hero-micro-benefits {
  margin: 0.8rem 0 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.cta-subtext {
  margin: 0.6rem 0 0;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  /* Slightly softer gradient and edge treatment so buttons feel less loud */
  background-image: linear-gradient(120deg, #4f46e5, #6366f1, #ec4899);
  background-origin: border-box;
  color: #f9fafb;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.9);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
  filter: brightness(1.04);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--text-soft);
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 1);
  color: var(--text);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: rgba(209, 213, 219, 0.95);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.5);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 1);
  border-color: rgba(148, 163, 184, 0.7);
  color: rgba(209, 213, 219, 1);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.6);
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.device-mockup {
  background: radial-gradient(circle at top, #1f2937 0%, #020617 60%);
  border-radius: 32px;
  padding: 0.45rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: var(--shadow-soft);
  max-width: 260px;
  margin-left: auto;
}

.device-mockup.secondary {
  transform: translateY(1.2rem);
  opacity: 0.9;
}

.device-screen {
  border-radius: 24px;
  background: radial-gradient(circle at top, #0f172a 0%, #020617 60%);
  padding: 4rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-size: 0.9rem;
  text-align: center;
}

/* Hero media – alert feed */

.hero-feed-card {
  border-radius: 32px;
  padding: 1.1rem 1.6rem 1.2rem;
  background: radial-gradient(circle at top, #111827 0%, #020617 70%);
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: var(--text-soft);
  width: 100%;
  margin-left: auto;
  margin-right: 0;
  margin-bottom: 1.5rem;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.9);
}

.media-placeholder-tag {
  display: inline-flex;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.75);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.9rem;
}

.media-subline {
  margin: 0 0 0.8rem;
  font-size: 0.74rem;
  color: var(--text-soft);
}

.media-explainer {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.hero-grades {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hero-grade-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: var(--text-soft);
  padding: 0.55rem 0.65rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.98));
}

.hero-grade-row--g1 {
  border-color: rgba(34, 197, 94, 0.85);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.8), 0 0 20px rgba(34, 197, 94, 0.25);
}

.hero-grade-row--g2 {
  border-color: rgba(251, 191, 36, 0.9);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.8), 0 0 20px rgba(251, 191, 36, 0.25);
}

.hero-grade-row--g3 {
  border-color: rgba(59, 130, 246, 0.85);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.8), 0 0 20px rgba(59, 130, 246, 0.25);
}

.hero-grade-text {
  flex: 1;
}

.hero-grades-note {
  margin-top: 0.9rem;
  font-size: 0.75rem;
  color: var(--text-soft);
}

.hero-grades-link-row {
  margin-top: 0.6rem;
  text-align: right;
}

.hero-grades-link {
  font-size: 0.8rem;
}

.hero-grades-intro {
  margin: 0.5rem 0 0.9rem;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.hero-grades-note--secondary {
  margin-top: 0.3rem;
  font-size: 0.78rem;
}

.media-alert {
  padding: 0.6rem 0.7rem;
  border-radius: 18px;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.6);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.media-alert + .media-alert {
  margin-top: 1.1rem;
}

.media-alert:hover {
  border-color: rgba(129, 140, 248, 0.8);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.8);
  transform: translateY(-1px);
}

.media-alert-tagline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.media-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem; /* ~10% smaller */
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.7),
    0 0 14px rgba(15, 23, 42, 0.7);
}

.channel-metric-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.7rem; /* extra breathing room inside the pill */
  border-radius: 999px;
  font-size: 0.6rem; /* small, but with enough room for legible text */
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  line-height: 1.2; /* keeps text visually centred vertically */
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.7),
    0 0 14px rgba(15, 23, 42, 0.7);
}

.media-pill-sentiment {
  background: rgba(37, 99, 235, 0.15);
  color: #93c5fd;
  border: 1px dashed rgba(59, 130, 246, 0.8);
}

.media-pill-lead {
  background: rgba(34, 197, 94, 0.16);
  color: #bbf7d0;
  border: 1.5px solid rgba(34, 197, 94, 0.85);
}

.media-pill-warm {
  background: rgba(251, 191, 36, 0.16);
  color: #fef3c7;
  border: 1.5px solid rgba(251, 191, 36, 0.85);
}

.media-time {
  font-size: 0.7rem;
  color: var(--text-soft);
}

.media-line {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text);
}

.media-main {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.media-avatar {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: radial-gradient(circle at top, rgba(148, 163, 184, 0.45), rgba(15, 23, 42, 0.95));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #e5e7eb;
}

.media-meta {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.media-platform-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #e5e7eb;
}

.media-platform-name {
  font-size: 0.78rem;
  font-weight: 600;
}

.media-dot {
  opacity: 0.6;
}

.media-line {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text);
}

.media-row3 {
  margin: 0.45rem 0 0;
  font-size: 0.76rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.media-mini-tag {
  font-size: 0.72rem;
  color: var(--text-soft);
}

.media-action {
  font-size: 0.76rem;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.media-more {
  margin: 0.85rem 0 0;
  font-size: 0.76rem;
  color: rgba(148, 163, 184, 0.7);
  text-align: right;
}

.media-legend {
  margin: 0.65rem 0 0;
  font-size: 0.74rem;
  color: var(--text-soft);
}

/* Sections */

.section {
  padding: 0;
}

.section-index {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.8);
  margin: 0 0 0.4rem;
}

.problem-section {
  padding-block: 4.5rem; /* ~72px */
}

.problem-section .problem-inner {
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}

/* How it works – new channel fit overview */
.how-overview {
  padding-block: 4.5rem;
}

.how-overview-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.how-hero-intro {
  margin: 0 0 1.25rem;
  max-width: 38rem;
  font-size: 0.95rem;
  color: var(--text-soft);
  text-align: left;
}

.channel-families-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
  margin: 0 0 0.8rem; /* label → chips: ~12–13px */
}

.channel-families-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.channel-chip {
  padding: 0.26rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  font-size: 0.78rem;
  color: rgba(209, 213, 219, 0.82);
  background: rgba(15, 23, 42, 0.7);
  transition: border-color 0.18s ease, box-shadow 0.18s ease,
    background 0.18s ease;
}

.channel-chip--grey {
  opacity: 0.7;
  cursor: default;
}

.channel-chip:hover {
  border-color: rgba(129, 140, 248, 0.7);
  box-shadow: 0 0 14px rgba(129, 140, 248, 0.25);
  background: rgba(15, 23, 42, 0.9);
}

.channel-ethics-note {
  margin-top: 0; /* no longer used in hero layout; kept for legacy */
  font-size: 0.76rem;
  color: rgba(148, 163, 184, 0.85);
}

.channel-chip-popover {
  margin-top: 1rem; /* chips → mini-card: 16px */
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top left, #020617, #020617 55%, #020617);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.9);
  padding: 1.1rem 1.2rem;
}

.channel-chip-popover-title {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(229, 231, 235, 0.98);
}

.channel-chip-popover-list {
  margin: 0.3rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.8rem;
}

.channel-chip-popover-footnote {
  margin: 0.4rem 0 0;
  font-size: 0.76rem;
  color: rgba(148, 163, 184, 0.85);
}

.channel-scorecard {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.channel-scorecard-caption {
  margin: 1.5rem 0 0.75rem;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.9);
  text-align: center;
}

.channel-tile-subtitle {
  margin: 0 0 0.5rem;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.channel-tile-list {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  font-size: var(--font-size-sm);
  color: var(--text-body);
  line-height: 1.6;
}

.channel-tile-list li + li {
  margin-top: 0.2rem;
}

.channel-tile-list li::marker {
  color: var(--accent);
}

.channel-tile--grey {
  border-color: rgba(248, 113, 113, 0.85);
}

.channel-helper-text {
  margin: 1rem 0 0.25rem;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.9);
  text-align: center;
}

.channel-grey-note {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.8);
  text-align: center;
}

.channel-detail-caption {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
}

/* Metric chip semantic colours */
.metric-chip--good {
  /* Match LEAD pill styling for positive metrics */
  border-color: rgba(34, 197, 94, 0.85);
  background: rgba(34, 197, 94, 0.16);
  color: #bbf7d0;
}

.metric-chip--warn {
  border-color: rgba(248, 113, 113, 0.5);
  background: rgba(248, 113, 113, 0.12);
  color: rgba(252, 165, 165, 0.96);
}

.metric-chip--bad {
  border-color: rgba(248, 113, 113, 0.95);
  background: rgba(248, 113, 113, 0.14);
  color: #fee2e2;
}

.metric-chip--neutral {
  border-color: rgba(59, 130, 246, 0.8);
  background: rgba(37, 99, 235, 0.18);
  color: #dbeafe;
}

.metric-chip--readiness-cold-warm {
  border-color: rgba(59, 130, 246, 0.9);
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.24),
    rgba(34, 197, 94, 0.26)
  );
  color: #e5e7eb;
}

.metric-chip--readiness-warm-hot {
  border-color: rgba(34, 197, 94, 0.75);
  background: linear-gradient(
    90deg,
    rgba(56, 189, 248, 0.22),
    rgba(22, 163, 74, 0.32)
  );
  color: #f9fafb;
}

.metric-chip--readiness-hot {
  border-color: rgba(34, 197, 94, 0.9);
  background: rgba(22, 163, 74, 0.28);
  color: #ecfdf5;
}

.metric-chip--readiness-cold-warm-hot {
  border-color: rgba(59, 130, 246, 0.9);
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.24),
    rgba(56, 189, 248, 0.22),
    rgba(22, 163, 74, 0.32)
  );
  color: #f9fafb;
}

/* Special case: use LEAD pill styling for Sentiment Watcher Time metric */
/* Make all metric pills visually match the Sentiment · G3 pill */
.channel-metric-pill {
  background: rgba(37, 99, 235, 0.15);
  color: #93c5fd;
  border: 1px dashed rgba(59, 130, 246, 0.8);
}

/* Override: LEAD-style green pill for Sentiment Watcher Time metric */
.channel-metric-pill.channel-metric-pill--lead {
  background: rgba(34, 197, 94, 0.16);
  color: #bbf7d0;
  border: 1.5px solid rgba(34, 197, 94, 0.85);
}

/* Override: strong red pill for clearly negative metrics when needed */
.channel-metric-pill.channel-metric-pill--danger {
  background: rgba(248, 113, 113, 0.18);
  color: #fee2e2;
  border: 1.5px solid rgba(248, 113, 113, 0.9);
}

.channel-tile {
  border-radius: 20px;
  padding: 1.1rem 1.2rem 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top left, #020617, #020617 55%, #020617);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.9);
  cursor: pointer;
  text-align: left;
  color: rgba(209, 213, 219, 0.95);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease, background 0.18s ease;
  position: relative;
}

.channel-tile-label {
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.channel-tile-metrics {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 0.45rem; /* slightly more space between Cost / Time / Buyer readiness / Scale */
  font-size: 0.78rem;
  margin: 0.6rem 0 0.4rem; /* space above first metric and after Scale */
}

.channel-tile-click {
  position: absolute;
  top: 0.55rem;
  right: 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.85);
  pointer-events: none;
}

.channel-tile-click--active {
  color: rgba(129, 140, 248, 0.98);
}

.channel-metric {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.channel-metric-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.channel-metric-caption {
  margin: 0;
  font-size: 0.72rem;
  color: var(--text-soft);
}

.channel-metric-label {
  color: rgba(148, 163, 184, 0.9);
}

.channel-metric-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.7rem; /* extra breathing room for metric pills */
  border-radius: 999px;
  font-size: 0.6rem; /* slightly smaller text for better fit */
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  line-height: 1.2; /* improved vertical centering */
  white-space: nowrap;
  background: rgba(37, 99, 235, 0.15);
  color: #93c5fd;
  border: 1px dashed rgba(59, 130, 246, 0.8);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.7),
    0 0 14px rgba(15, 23, 42, 0.7);
}

.channel-tile--active,
.channel-tile:focus-visible {
  outline: none;
  border-color: rgba(129, 140, 248, 0.95);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.6),
    0 20px 45px rgba(15, 23, 42, 0.95);
  transform: translateY(-2px);
}

.channel-tile--sentiment {
  border-color: rgba(129, 140, 248, 0.8);
}

.channel-detail {
  margin-top: 3.2rem;
}

.channel-detail-card {
  border-radius: 22px;
  padding: 1.7rem 1.6rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: radial-gradient(
    circle at top left,
    #020617,
    #020617 45%,
    #020617 100%
  );
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 1.6rem;
  opacity: 1;
}

.channel-detail--animate .channel-detail-card {
  animation: channel-detail-fade 0.22s ease-out;
}

@keyframes channel-detail-fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.channel-detail-header {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 0.9rem;
}

.channel-detail-header-main {
  min-width: 0;
}

.channel-detail-title {
  margin: 0 0 0.3rem;
  font-size: var(--font-size-lg);
  color: var(--text-primary);
  font-weight: 600;
}

.channel-detail-tagline {
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.channel-detail-header-metrics {
  display: none; /* Metrics pills removed from large detail cards to avoid duplication */
}

.channel-detail-header-metrics .channel-metric {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.channel-detail-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: var(--font-size-base);
  color: var(--text-body);
  line-height: 1.6;
}

.channel-detail-body-title {
  margin: 0 0 0.4rem;
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  color: rgba(148, 163, 184, 0.95);
}

.channel-detail-list li + li {
  margin-top: 0.45rem;
}

.channel-detail-side-title {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(148, 163, 184, 0.9);
}

.channel-detail-box {
  padding: 0.6rem 0.7rem 0.65rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
}

.channel-detail-box + .channel-detail-box {
  margin-top: 0.7rem;
}

.channel-detail-box--good {
  border-color: rgba(52, 211, 153, 0.5);
}

.channel-detail-box--pain {
  border-color: rgba(248, 113, 113, 0.5);
}

.channel-detail-side-list {
  margin: 0;
  padding-left: 0.95rem;
  font-size: var(--font-size-sm);
  color: var(--text-body);
  line-height: 1.6;
}

.channel-detail-side-list--good li::marker {
  content: '✓ ';
}

.channel-detail-side-list--pain li::marker {
  content: '– ';
}

.channel-detail-side {
  border-left: 1px solid rgba(148, 163, 184, 0.25);
  padding-left: 1.1rem;
}

.channel-detail-footnote {
  grid-column: 1 / -1;
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.9);
}

.channel-compare-wrapper {
  margin-top: 1.6rem;
  text-align: center;
}

.channel-compare-toggle {
  border: none;
  background: transparent;
  color: rgba(148, 163, 184, 0.95);
  font-size: 0.82rem;
  cursor: pointer;
  margin-bottom: 0.4rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.channel-feature-strip {
  margin-top: 1.8rem;
  border-radius: 16px;
  border: 1px solid rgba(30, 64, 175, 0.6);
  background: radial-gradient(circle at top left, #020617, #020617 60%, #020617);
  padding: 0.7rem 0.9rem 0.8rem;
  overflow-x: auto;
}

.channel-feature-inner {
  min-width: 1100px;
}

.channel-feature-head {
  display: grid;
  /* First column is 2× each metric column; metrics all equal width */
  grid-template-columns: 2fr repeat(11, 1fr);
  font-size: 0.76rem;
  color: rgba(148, 163, 184, 0.9);
  margin-bottom: 0.25rem;
  text-align: center;
  justify-items: center; /* centre header labels within each column */
}

.channel-feature-head-cell {
  padding: 0.1rem 0.35rem;
}

.channel-feature-head-cell--primary {
  font-weight: 600;
  color: rgba(226, 232, 240, 0.98); /* slightly brighter to match key metric chips */
}

.channel-feature-row {
  display: grid;
  /* Mirror header sizing so labels and value capsules align perfectly */
  grid-template-columns: 2fr repeat(11, 1fr);
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.25rem 0.35rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.8rem;
  text-align: left;
  justify-items: center; /* centre each cell (including pills) in its column */
  color: rgba(209, 213, 219, 0.9);
  border-radius: 999px;
  transition: background 0.16s ease, transform 0.16s ease;
}

.channel-feature-row--sub {
  font-size: 0.78rem;
  opacity: 0.9;
}

.channel-feature-row--sub .channel-feature-label {
  padding-left: 0.6rem;
}

/* Visual gap between channel groups in comparison strip */
.channel-feature-row--summary {
  margin-top: 0.8rem;
}

.channel-feature-row--summary:first-of-type {
  margin-top: 0; /* keep the very first group tight to the header */
}

.channel-feature-label {
  padding-inline: 0.2rem;
  text-align: left;    /* keep first column text left-aligned */
  justify-self: start; /* but position its grid cell at the start */
}

/* Base pill styles for comparison table – use same visual language as card pills */
.channel-feature-strip .channel-feature-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.9rem;  /* width ~20% larger than height for strong oval feel */
  height: 0.75rem;
  padding: 0;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.15); /* hero blue base */
  border: 1px dashed rgba(59, 130, 246, 0.8);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.7),
    0 0 14px rgba(15, 23, 42, 0.7);
  font-size: 0; /* hide text so only colour shows */
}

/* Green = good / advantage */
.channel-feature-strip .channel-feature-pill--good,
.channel-feature-strip .pill--good {
  background: rgba(34, 197, 94, 0.16); /* same as LEAD pill */
  border: 1.5px solid rgba(34, 197, 94, 0.85);
}

/* Red = bad / disadvantage */
.channel-feature-strip .channel-feature-pill--bad,
.channel-feature-strip .pill--bad {
  background: rgba(248, 113, 113, 0.18); /* same as DANGER pill */
  border: 1.5px solid rgba(248, 113, 113, 0.9);
}

/* Blue = neutral / mixed / context dependent (default look) */
/* .channel-feature-strip .pill--default - inherits base blue styling above */

.channel-feature-row--active {
  background: linear-gradient(
    to right,
    rgba(30, 64, 175, 0.35),
    rgba(15, 23, 42, 0.96)
  );
  transform: translateY(-1px);
}

.channel-feature-label {
  padding-inline: 0.2rem;
  text-align: left; /* keep first column left-aligned */
}

.channel-feature-pill {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.75rem;
  text-align: center;
}

.channel-feature-pill--high {
  border-color: rgba(248, 250, 252, 0.7);
}

.channel-feature-pill--medium {
  border-color: rgba(148, 163, 184, 0.8);
}

.channel-feature-pill--best {
  border-color: rgba(52, 211, 153, 0.9);
}

.channel-feature-pill--shallow {
  border-style: dashed;
}

.channel-bridge {
  margin: 1.2rem auto 0;
  max-width: 640px;
  font-size: 0.88rem;
  color: var(--text-soft);
  text-align: center;
}

.channel-bridge--strong {
  margin-top: 1.4rem;
  font-weight: 500;
  color: rgba(229, 231, 235, 0.96);
}

@media (max-width: 768px) {
  .channel-scorecard {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel-detail-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .channel-detail-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .channel-detail-header-metrics {
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    width: 100%;
  }
}

.problem-intro {
  text-align: center;
  margin: 0 0 1.6rem;
}

.problem-vs-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.38rem 1.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: var(--text-soft);
  margin: 1.5rem auto 1.5rem;
}

.problem-vs-label {
  font-weight: 500;
}

.problem-vs-separator {
  opacity: 0.7;
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 2rem;
}

.problem-card {
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.problem-card-old {
  border-color: rgba(255, 100, 100, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 100, 100, 0.25);
}

.problem-card-new {
  border-color: rgba(90, 150, 255, 0.8);
  box-shadow: 0 0 22px rgba(90, 150, 255, 0.35);
  background: radial-gradient(circle at top left, rgba(90, 150, 255, 0.14), rgba(5, 8, 20, 1));
}

.problem-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.problem-card-icon {
  font-size: 0.9rem;
  color: rgba(248, 113, 113, 0.9);
}

.problem-card-tag {
  font-size: 0.72rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.7);
  color: rgba(191, 219, 254, 0.95);
  background: radial-gradient(circle at top, rgba(37, 99, 235, 0.35), rgba(15, 23, 42, 0.95));
}

.problem-card .section-subheading {
  margin-bottom: 0.75rem;
}

.problem-compare {
  margin: 1.6rem auto 0;
  max-width: 40rem;
  font-size: 0.95rem;
  text-align: center;
  color: var(--text-soft);
  font-style: italic;
}

.problem-matrix {
  margin: 1.8rem auto 0;
  max-width: 1240px;
  display: grid;
  gap: 0.9rem;
}

.problem-matrix-row {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 30%) minmax(0, 30%);
  column-gap: 0.75rem;
  row-gap: 0.3rem;
  align-items: center;
}

.problem-matrix-feature {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.problem-matrix-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.matrix-pill {
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}

.matrix-pill-bad {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: rgba(252, 165, 165, 0.95);
}

.matrix-pill-good {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: rgba(187, 247, 208, 0.95);
}

@media (max-width: 768px) {
  .problem-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .problem-matrix-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1024px) {
  .steps-strip {
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .steps-strip {
    gap: 10px;
  }
}

.section-accent {
  background: radial-gradient(circle at top left, #020617 0%, #020617 40%, #020617 100%);
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.section-intro {
  text-align: center;
}

.section-intro h2 {
  margin: 0;
  font-size: 1.9rem;
  letter-spacing: -0.03em;
}

.section-title {
  margin: 0 0 1.5rem;
  font-size: var(--font-size-xl);
  letter-spacing: -0.03em;
  color: var(--text-primary);
  font-weight: 600;
}

.section-subtitle {
  margin: 0 0 1.4rem;
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 34rem;
}

.section-subheading {
  margin: 0 0 0.8rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.inline-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* Chains */

.chains .chain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.85rem;
}

.chain-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top left, #020617 0%, #020617 40%, #020617 100%);
}

.chain-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  overflow: hidden;
}

.chain-name {
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Heading / background-style animations (from original site) */

@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.defi-heading {
  margin: 0;
  font-size: clamp(2.25rem, 3.2vw, 2.7rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.defi-line {
  position: relative;
  display: inline-block;
}

.defi-gradient {
  background-image: linear-gradient(90deg, #60a5fa, #c084fc, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

.defi-shimmer {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: skewX(-15deg);
  opacity: 0;
  pointer-events: none;
}

.defi-line:hover .defi-shimmer {
  opacity: 1;
}

.defi-underline-wrap {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.defi-underline {
  height: 4px;
  width: 128px;
  border-radius: 999px;
  background-image: linear-gradient(90deg, #60a5fa, #c084fc, #22d3ee);
}

/* Animations (from original site) */

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-scroll-left {
  animation: scroll-left 28s linear infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) skewX(-15deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(200%) skewX(-15deg);
    opacity: 0;
  }
}

.animate-shimmer {
  animation: shimmer 3s infinite;
}

.chains-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 1.4rem;
  /* Soft fade on the sides similar to original */
  mask-image: linear-gradient(
    to right,
    transparent 0,
    black 48px,
    black calc(100% - 48px),
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    black 48px,
    black calc(100% - 48px),
    transparent 100%
  );
}

.chains-track {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  white-space: nowrap;
}

.chains-track:hover {
  animation-play-state: paused;
}

/* Features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.feature-card {
  border-radius: var(--radius-xl);
  padding: 1.2rem 1.3rem;
  background: radial-gradient(circle at top left, #0f172a 0%, #020617 65%);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.6);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.link {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--accent);
}

.price {
  font-size: 1.3rem;
  font-weight: 600;
}

/* Roadmap – timeline layout */

.roadmap {
  position: relative;
}

.roadmap-timeline {
  position: relative;
  margin-top: 2rem;
  display: grid;
  row-gap: 2.5rem;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 50%;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(
    to bottom,
    rgba(148, 163, 184, 0.1),
    rgba(148, 163, 184, 0.45),
    rgba(148, 163, 184, 0.1)
  );
  opacity: 0.9;
}

.roadmap-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 40px minmax(0, 1.3fr);
  align-items: stretch;
  gap: 1.5rem;
}

/* Desktop placement: cards sit fully left/right of the spine */
.roadmap-row-left .roadmap-card-wrap {
  grid-column: 1;
  justify-content: flex-end;
}

.roadmap-row-left .roadmap-node {
  grid-column: 2;
}

.roadmap-row-right .roadmap-card-wrap {
  grid-column: 3;
  justify-content: flex-start;
}

.roadmap-row-right .roadmap-node {
  grid-column: 2;
}

.roadmap-card-wrap {
  display: flex;
}

.roadmap-card {
  position: relative;
  border-radius: 18px;
  padding: 1.4rem 1.6rem;
  background: radial-gradient(circle at top left, #020617 0%, #020617 65%);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.8);
  box-sizing: border-box; /* ensure internal content (including icons) never affects outer width */
}

.roadmap-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
}

.roadmap-quarter {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.roadmap-quarter-badge {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.roadmap-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
}

.roadmap-list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.roadmap-list li {
  position: relative;
  padding-left: 1.2rem;
}

.roadmap-list li + li {
  margin-top: 0.4rem;
}

.roadmap-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.75rem;
  width: 0.8rem; /* fixed icon box so checkmarks vs dashes can't change layout */
  text-align: center;
  color: rgba(148, 163, 184, 0.85);
}

/* Bullet icon variants */
.roadmap-list li.bullet-positive::before {
  content: '✓';
  color: rgba(74, 222, 128, 0.9);
}

.roadmap-node {
  position: relative;
}

.roadmap-node::before {
  content: attr(data-step);
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid rgba(148, 163, 184, 0.9);
  background: #020617;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-soft);
}

.roadmap-node::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 46px;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(148, 163, 184, 0),
    rgba(148, 163, 184, 0.7)
  );
  transform: translateY(-50%);
}

.roadmap-row-left .roadmap-node::after {
  right: 50%;
}

.roadmap-row-right .roadmap-node::after {
  left: 50%;
  transform: translateY(-50%) scaleX(-1);
}

.roadmap-card-cyan {
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 26px 70px rgba(56, 189, 248, 0.35);
}

.roadmap-card-purple {
  border-color: rgba(192, 132, 252, 0.7);
  box-shadow: 0 26px 70px rgba(192, 132, 252, 0.35);
}

.roadmap-card-green {
  border-color: rgba(52, 211, 153, 0.7);
  box-shadow: 0 26px 70px rgba(52, 211, 153, 0.35);
}

.roadmap-quarter-badge-cyan {
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.25), transparent);
  color: rgb(56, 189, 248);
}

.roadmap-quarter-badge-purple {
  background: radial-gradient(circle at top, rgba(192, 132, 252, 0.25), transparent);
  color: rgb(192, 132, 252);
}

.roadmap-quarter-badge-green {
  background: radial-gradient(circle at top, rgba(52, 211, 153, 0.25), transparent);
  color: rgb(52, 211, 153);
}

.roadmap-quarter-label {
  color: var(--text-soft);
}

.roadmap-subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

@media (max-width: 900px) {
  .roadmap-timeline::before {
    left: 8px;
  }

  .roadmap-row {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 1rem;
  }

  .roadmap-row-left .roadmap-card-wrap,
  .roadmap-row-right .roadmap-card-wrap {
    grid-column: 2 / -1;
  }

  .roadmap-node {
    grid-column: 1 / 2;
  }

  .roadmap-node::after {
    display: none;
  }

  .roadmap-card {
    width: 100%;
    max-width: 100%;
  }
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding: 1.3rem 0 1.6rem;
  background: radial-gradient(circle at top, #020617 0%, #020617 60%);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.footer-content {
  text-align: center;
}

.footer-link {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

/* Social proof strip */

.social-proof-strip {
  padding-block: 0;
  border: none;
  background: none;
}

.social-proof-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.social-proof-label {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.social-proof-benefit {
  margin: 0.5rem 0 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(209, 213, 219, 0.95);
  text-align: center;
  max-width: 720px;
}

.logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.8));
}

.logo-pill-mark {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  background: var(--accent-soft);
}

.logo-pill-text {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.social-proof-quote {
  margin: 0.6rem 0 0;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.7);
  text-align: center;
}

.social-proof-cta {
  margin: 0.3rem 0 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.social-proof-footer-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.social-proof-quote-author {
  display: inline-block;
  margin-left: 0.25rem;
  color: #e5e7eb;
}

.who-pill {
  font-size: 0.8rem;
  color: var(--text-soft);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.8));
}

/* Layout helpers */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 1.7rem;
  align-items: stretch;
}

.bullet-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: var(--font-size-base);
  color: var(--text-body);
  max-width: 70ch;
  line-height: 1.6;
}

.bullet-list li {
  line-height: 1.5;
}

.bullet-list li + li {
  margin-top: 0.45rem;
}

/* Hero refinements */

.hero-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.2rem;
}

.cta-note {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.hero-benefits {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 1.05rem;
  color: var(--text-soft);
}

.hero-benefit-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  flex-shrink: 0;
  margin-top: 0.08rem;
}

.hero-benefits li + li {
  margin-top: 0.25rem;
}

.media-placeholder {
  border-radius: 32px;
  padding: 1.6rem 1.5rem;
  background: radial-gradient(circle at top, #0b1120 0%, #020617 70%);
  border: 1px dashed rgba(148, 163, 184, 0.55);
  color: var(--text-soft);
  max-width: 320px;
  margin-left: auto;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.8);
}

.media-placeholder-tag {
  display: inline-flex;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.4rem;
}

.media-placeholder-title {
  margin: 0 0 0.3rem;
  font-size: 0.9rem;
}

.media-placeholder-subtitle {
  margin: 0;
  font-size: 0.8rem;
}

/* Steps / How it works */

/* Card A - Steps */
.steps-card {
  border-radius: 20px;
  padding: 1.4rem 1.2rem 1.2rem;
  background: radial-gradient(circle at top left, #020617, #020617 55%, #020617);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.9);
  margin-top: 2rem;
  margin-bottom: 2rem;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  border-radius: 16px;
  padding: 0.75rem 0.75rem 0.9rem;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: radial-gradient(circle at 30% 0, rgba(255, 255, 255, 0.25), rgba(15, 17, 30, 1));
  box-shadow: 0 0 18px rgba(90, 150, 255, 0.5);
  margin-bottom: 0.5rem;
}

.step-label {
  margin-top: 0.4rem;
  font-size: var(--font-size-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-secondary);
}

.step-title {
  margin-top: 0.5rem;
  font-size: var(--font-size-md);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

.step-caption {
  margin-top: 0.4rem;
  font-size: var(--font-size-sm);
  line-height: 1.5;
  color: var(--text-body);
  max-width: 240px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Three static flow segments between steps, aligned with number centres (desktop) */
.steps-grid .step {
  position: relative;
  z-index: 2; /* ensure pipes and numbers sit above surrounding backgrounds */
}

/* Let the final blue box background sit slightly underneath the pipes */
.steps-grid .step.step--final {
  z-index: 1;
}

.steps-grid .step:not(:last-child)::before {
  content: '';
  position: absolute;
  top: calc(0.75rem + 22px); /* step padding top + half of 44px circle */
  /* Start a little to the right of the circle so pipes don't touch numbers */
  left: calc(50% + 28px);
  /* Shorten slightly so the pipe stops before the next circle centre */
  width: calc(100% + 1.25rem - 56px); /* 2 × 28px trimmed from total span */
  height: 2px;
  transform: translateY(-50%);
  /* Base pipe color (subtle indigo to match site) */
  background-color: rgba(88, 28, 135, 0.45);
  /* Highlight layer: clean neon-style purple, no color tail */
  background-image: linear-gradient(
    90deg,
    rgba(167, 139, 250, 0.95),
    rgba(167, 139, 250, 0.95)
  );
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%; /* animated in pipe-glow */
  opacity: 0.9;
  pointer-events: none;
  /* Highlight each pipe in sequence using the shared step delay */
  animation: pipe-fill 9s linear infinite;
  animation-delay: var(--step-delay, 0s);
}

/* Single animated \"water\" runner that travels across all three bars */
.steps-card::after {
  content: '';
  position: absolute;
  /* Nudge runner down so it sits exactly on the grey pipes */
  top: calc(0.75rem + 24px);
  /* Start exactly where the first pipe begins (just after step 1 circle) */
  left: 14%;
  height: 2px;
  /* Runner length tuned to sit fully inside a single pipe segment */
  width: 18%;
  transform: translateY(-50%);
  background: linear-gradient(
    90deg,
    rgba(56, 189, 248, 0.1),
    rgba(96, 165, 250, 0.9),
    rgba(129, 140, 248, 0.1)
  );
  box-shadow:
    0 0 12px rgba(56, 189, 248, 0.7),
    0 0 18px rgba(129, 140, 248, 0.8);
  /* Disabled runner — lines themselves now animate */
  opacity: 0;
  animation: none;
  pointer-events: none;
}

/* Animated halo pulses around each step number, staggered along the flow */
.step-number {
  position: relative;
  z-index: 1;
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 1px solid rgba(129, 140, 248, 0.6);
  box-shadow: 0 0 24px rgba(129, 140, 248, 0.7);
  opacity: 0;
  transform: scale(0.7);
  /* Synced with pipe animation (one full cycle = 9s) */
  animation: step-pulse 9s ease-out infinite;
  animation-delay: var(--step-delay, 0s);
}

.steps-grid .step:nth-child(1) {
  --step-delay: 0s;
}

.steps-grid .step:nth-child(2) {
  --step-delay: 3s;
}

.steps-grid .step:nth-child(3) {
  --step-delay: 6s;
}

.steps-grid .step:nth-child(4) {
  --step-delay: 9s;
}

@keyframes step-pulse {
  /* Brief halo at the start of each segment's cycle */
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  12% {
    opacity: 1;
    transform: scale(1.05);
  }
  25% {
    opacity: 0.35;
    transform: scale(1.15);
  }
  35%,
  100% {
    opacity: 0;
    transform: scale(1.15);
  }
}

@keyframes pipe-fill {
  /* Phase 1: highlight grows left → right */
  0% {
    background-position: left center;
    background-size: 0% 100%;
    opacity: 0.45;
  }
  30% {
    background-position: left center;
    background-size: 100% 100%;
    opacity: 1;
  }
  /* Phase 2: fully lit, waiting while the next pipe fills */
  60% {
    background-position: left center;
    background-size: 100% 100%;
    opacity: 1;
  }
  /* Phase 3: standalone dimming – unfill left → right */
  61% {
    /* switch anchor to right so shrink moves from left to right */
    background-position: right center;
    background-size: 100% 100%;
    opacity: 0.95;
  }
  100% {
    background-position: right center;
    background-size: 0% 100%;
    opacity: 0.4;
  }
}

.steps-footnote {
  margin: 1rem 0 0.5rem;
  text-align: left;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-soft);
}

.step--final .step-number {
  box-shadow: 0 0 26px rgba(129, 140, 248, 0.9);
}

.step--final {
  background: radial-gradient(circle at top, rgba(79, 70, 229, 0.35), rgba(15, 23, 42, 0.9));
}

/* Pain-point mini block under steps */
.steps-pain {
  margin-top: 28px;
  padding: 12px 18px 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.25);
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.steps-pain-title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

.steps-pain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  font-size: 0.84rem;
  color: var(--text-soft);
}

.steps-pain-item {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  max-width: 260px;
  text-align: left;
}

.steps-pain-icon {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.7);
  color: rgba(248, 113, 113, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* Pricing */

.pricing-layout {
  align-items: stretch;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.pricing-layout-compact {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card-compact {
  padding: 1.5rem 1.5rem;
  text-align: center;
}

.pricing-card-compact .price-block {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card-compact .bullet-list {
  text-align: left;
  margin-bottom: 1.5rem;
}

.pricing-card-compact .bullet-list li {
  margin-bottom: 0.5rem;
}

.pricing-compact-content {
  display: flex;
  flex-direction: column;
}

.pricing-secondary-cta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-soft);
  max-width: 26rem;
}

.section--pricing .section-subtitle {
  margin-top: 0.7rem;
  margin-bottom: 0;
}

.pricing-card {
  border-radius: 20px;
  padding: 2rem 2rem;
  background: radial-gradient(circle at top left, #0f172a 0%, #020617 65%);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.7);
  display: flex;
  flex-direction: column;
}

.pricing-card:not(.pricing-card-secondary) {
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.pricing-card-secondary {
  background: radial-gradient(circle at top left, #020617 0%, #020617 70%);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.7);
  min-height: 100%;
}

.pricing-card-secondary h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--text-primary);
}

.pricing-custom-text {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: rgba(209, 213, 219, 0.9);
  font-size: 0.9rem;
}

.pricing-custom-text:last-child {
  margin-bottom: 0;
}

.price-block {
  margin-bottom: 1.5rem;
}

.price-main {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: rgba(209, 213, 219, 0.95);
}

.price-secondary {
  font-size: 0.9rem;
  font-weight: 400;
  margin: 0 0 0.4rem;
  color: rgba(148, 163, 184, 0.7);
}

.price-clarifier {
  font-size: 0.8rem;
  margin: 0 0 0.5rem;
  color: rgba(148, 163, 184, 0.7);
}

.price-guarantee {
  margin: 0;
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
}

.pricing-label {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  align-self: flex-start;
}

.pricing-label-primary {
  border: 1.5px solid rgba(34, 197, 94, 0.85);
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.16);
}

.pricing-label-secondary {
  border: 1.5px solid rgba(251, 191, 36, 0.85);
  color: #fef3c7;
  background: rgba(251, 191, 36, 0.16);
}

.pricing-subtitle {
  margin: 0.4rem 0 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Card B - Grades */
.grades-card {
  border-radius: 20px;
  padding: 1.5rem 1.2rem 1.2rem;
  background: radial-gradient(circle at top left, #020617, #020617 55%, #020617);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.9);
  margin-top: 2rem;
  margin-bottom: 3.5rem;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.grades-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  text-align: center;
  color: rgba(209, 213, 219, 0.95);
}

.grades-card-subtitle {
  margin: 0 0 1.5rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(148, 163, 184, 0.9);
  text-align: center;
}

.grades-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.grade-column {
  display: flex;
  flex-direction: column;
}

.grade-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.75rem;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.grade-header-title {
  font-size: var(--font-size-base);
  font-weight: 500;
  margin: 0;
  color: var(--text-primary);
}

.grade-header-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.grade-header-pill--g1 {
  background: rgba(34, 197, 94, 0.16);
  color: #bbf7d0;
  border: 1.5px solid rgba(34, 197, 94, 0.85);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.7),
    0 0 14px rgba(15, 23, 42, 0.7);
}

.grade-header-pill--g2 {
  background: rgba(251, 191, 36, 0.16);
  color: #fef3c7;
  border: 1.5px solid rgba(251, 191, 36, 0.85);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.7),
    0 0 14px rgba(15, 23, 42, 0.7);
}

.grade-header-pill--g3 {
  background: rgba(37, 99, 235, 0.15);
  color: #93c5fd;
  border: 1px dashed rgba(59, 130, 246, 0.8);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.7),
    0 0 14px rgba(15, 23, 42, 0.7);
}

.grade-description {
  margin: 0.75rem 0 1.25rem;
  font-size: var(--font-size-sm);
  line-height: 1.5;
  color: var(--text-body);
  max-width: 100%;
}

.grade-bubble {
  margin-top: auto;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: inset 0 2px 8px rgba(15, 23, 42, 0.5);
  position: relative;
}

.grade-bubble-meta {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  color: rgba(148, 163, 184, 0.8);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.grade-bubble-platform {
  font-weight: 500;
  color: rgba(148, 163, 184, 0.9);
}

.grade-bubble-dot {
  color: rgba(148, 163, 184, 0.6);
}

.grade-bubble-time {
  font-size: 0.7rem;
  color: rgba(148, 163, 184, 0.7);
}

.grade-bubble-text {
  margin: 0 0 1.2rem;
  padding-right: 5rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(209, 213, 219, 0.95);
}

.grade-bubble-badge {
  position: absolute;
  bottom: 0.7rem;
  right: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.grade-bubble-badge--g1 {
  background: rgba(34, 197, 94, 0.16);
  color: #bbf7d0;
  border: 1.5px solid rgba(34, 197, 94, 0.85);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.7),
    0 0 14px rgba(15, 23, 42, 0.7);
}

.grade-bubble-badge--g2 {
  background: rgba(251, 191, 36, 0.16);
  color: #fef3c7;
  border: 1.5px solid rgba(251, 191, 36, 0.85);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.7),
    0 0 14px rgba(15, 23, 42, 0.7);
}

.grade-bubble-badge--g3 {
  background: rgba(37, 99, 235, 0.15);
  color: #93c5fd;
  border: 1px dashed rgba(59, 130, 246, 0.8);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.7),
    0 0 14px rgba(15, 23, 42, 0.7);
}

.grades-card-footer {
  margin-top: 1.5rem;
  padding: 1.2rem 1.4rem;
  background: rgba(15, 23, 42, 0.6);
  border-top: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 0 0 20px 20px;
}

.grades-footer-row1 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.grades-footer-text {
  margin: 0;
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.5;
}

.grades-footer-row2 {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(148, 163, 184, 0.75);
  text-align: center;
}

.grades-footer-row3 {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(148, 163, 184, 0.75);
  text-align: center;
}

@media (max-width: 900px) {
  /* Reduce section padding on mobile for better use of space */
  .section-inner {
    padding: 48px 20px 64px;
  }

  .steps-card {
    padding: 1.5rem 1rem 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }

  .step {
    text-align: left;
    align-items: flex-start;
    width: 100%;
  }

  .step-number {
    margin-bottom: 0.75rem;
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
    flex-shrink: 0;
  }

  .step-label {
    font-size: 0.65rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    line-height: 1.4;
  }

  .step-title {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.6rem;
    line-height: 1.4;
  }

  .step-caption {
    max-width: 100%;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.85);
  }

  .steps-footnote {
    font-size: 0.8rem;
    padding: 1rem;
    margin-top: 1.5rem;
    line-height: 1.5;
  }

  .grades-card {
    padding: 1.2rem 1rem;
  }

  .grades-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
  }

  .grades-card-footer {
    padding: 1rem 1rem;
  }

  .grades-footer-row1 {
    flex-direction: column;
    gap: 1rem;
  }

  .grades-footer-text {
    text-align: center;
  }

  .pricing-testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
  }

  .social-proof-logos {
    max-width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
  }

  .social-proof-logos::-webkit-scrollbar {
    height: 4px;
  }

  .social-proof-logos::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 2px;
  }

  .social-proof-logos::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.4);
    border-radius: 2px;
  }

  /* Mobile layout for trial timeline: each step becomes its own card stacked vertically */
  .timeline-card {
    padding: 0;
    margin-top: 1.5rem;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .timeline-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .timeline-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.1rem 1.05rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: radial-gradient(
      circle at top left,
      rgba(15, 23, 42, 0.98),
      rgba(15, 23, 42, 0.96) 55%,
      #020617
    );
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.9);
  }

  .timeline-label {
    font-size: 0.65rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    letter-spacing: 0.12em;
  }

  .timeline-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    line-height: 1.4;
    color: rgba(209, 213, 219, 0.95);
  }

  .timeline-body {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.85);
  }

  .timeline-footnote {
    font-size: 0.8rem;
    margin-top: 1.25rem;
    padding-top: 0.75rem;
    line-height: 1.5;
    text-align: left;
    color: rgba(148, 163, 184, 0.85);
    border-top: 1px solid rgba(30, 64, 175, 0.6);
    width: 100%;
  }

  .who-does-what-section {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .who-does-what-card {
    padding: 1.2rem 1rem;
  }

  .who-does-what-title {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
  }

  .who-does-what-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .who-does-what-grid::before {
    display: none;
  }

  .who-does-what-column-title {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }

  .who-does-what-column ul {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .who-does-what-column li {
    margin-bottom: 0.6rem;
  }

  .usage-section {
    margin-top: 1.5rem;
    margin-bottom: 0;
  }

  .usage-card {
    padding: 1.2rem 1rem 1.5rem;
  }

  .usage-card-title {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
  }

  .usage-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .usage-grid::before {
    display: none;
  }

  .usage-row-title {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }

  .usage-row ul {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .usage-row li {
    margin-bottom: 0.6rem;
  }

  /* Improve heading alignment on mobile */
  .how-inner .section-title {
    margin-bottom: 1rem;
  }

  .how-inner .section-subtitle {
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
  }

  /* Better spacing for CTA sections */
  .working-cta-section {
    margin-top: 1.5rem;
    padding: 0 1rem;
  }

  .working-cta-text {
    font-size: 0.85rem;
    margin-bottom: 0.875rem;
  }

  .working-cta-note {
    font-size: 0.75rem;
    line-height: 1.5;
  }
}

/* Trial timeline */

.timeline-card {
  border-radius: 20px;
  padding: 1.1rem 1.2rem 1.2rem;
  background: radial-gradient(circle at top left, #020617, #020617 55%, #020617);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.9);
  margin-top: 2rem;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease, background 0.18s ease;
}

.timeline-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.95);
  border-color: rgba(148, 163, 184, 0.5);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 0;
  align-items: stretch;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  justify-content: flex-start;
  align-items: flex-start;
}

.timeline-label {
  font-size: var(--font-size-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.timeline-title {
  margin: 0 0 0.5rem;
  font-size: var(--font-size-md);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
}

.timeline-body {
  margin: 0;
  font-size: var(--font-size-sm);
  line-height: 1.5;
  color: var(--text-body);
}

.timeline-footnote {
  margin: 0.8rem 0 0;
  text-align: left;
  font-size: var(--font-size-sm);
  line-height: 1.5;
  color: var(--text-muted);
}

.who-does-what-section {
  margin-top: 2rem;
}

.who-does-what-card {
  border-radius: 20px;
  padding: 1.5rem 1.4rem;
  background: radial-gradient(circle at top left, #0f172a 0%, #020617 65%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.9);
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease, background 0.18s ease;
}

.who-does-what-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.95);
  border-color: rgba(148, 163, 184, 0.5);
}

.who-does-what-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin: 0 0 1.5rem;
  text-align: center;
  color: var(--text-primary);
}

.who-does-what-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative;
}

.who-does-what-grid::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(148, 163, 184, 0.2);
  transform: translateX(-50%);
}

.who-does-what-column-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin: 0 0 0.8rem;
  color: var(--text-primary);
}

.usage-section {
  margin-top: 2rem;
  margin-bottom: 0;
}

.usage-card {
  border-radius: 20px;
  padding: 1.5rem 1.4rem 2rem;
  background: radial-gradient(circle at top left, #0f172a 0%, #020617 65%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.9);
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease, background 0.18s ease;
}

.usage-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.95);
  border-color: rgba(148, 163, 184, 0.5);
}

.usage-card-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin: 0 0 1.5rem;
  text-align: center;
  color: var(--text-primary);
}

.usage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative;
}

.usage-grid::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(148, 163, 184, 0.2);
  transform: translateX(-50%);
}

.usage-column {
  display: flex;
  flex-direction: column;
}

.usage-column-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin: 0 0 0.8rem;
  color: var(--text-primary);
}

.working-cta-section {
  margin-top: 2rem;
  text-align: center;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.working-cta-text {
  margin: 0 0 1rem;
  font-size: var(--font-size-base);
  color: var(--text-primary);
  line-height: 1.5;
}

.working-cta-button {
  margin-bottom: 1rem;
}

.working-cta-note {
  margin: 0;
  font-size: var(--font-size-sm);
  line-height: 1.6;
  color: var(--text-muted);
}

.trial-cta {
  margin-top: 1.6rem;
}

.pricing-cta {
  margin-top: auto;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  text-align: left;
}

.pricing-cta-centered {
  text-align: center;
  padding-top: 1.5rem;
}

.pricing-cta-centered .btn {
  width: auto;
  min-width: 260px;
  max-width: 320px;
  margin: 0 auto;
}

/* Testimonials */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.testimonial-card {
  border-radius: var(--radius-xl);
  padding: 1.1rem 1.2rem 1.2rem;
  background: radial-gradient(circle at top left, #020617 0%, #020617 70%);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.7);
}

.testimonial-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-soft);
  margin-bottom: 0.6rem;
}

.testimonial-quote {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.testimonial-author {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
}

.testimonial-role {
  margin: 0.1rem 0 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* Best practices checklist */

.checklist {
  margin-top: 0.6rem;
}

.checklist li::marker {
  color: var(--accent);
}

/* Final CTA */

.final-cta {
  text-align: left;
}

.final-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: stretch;
  margin-top: 2rem;
}

.contact-bullets {
  margin: 1rem 0 1.2rem;
}

.final-cta-pill {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.85));
  font-size: 0.78rem;
  color: var(--text-soft);
  max-width: fit-content;
}

.final-cta-pill-label {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.final-cta-pill-text {
  position: relative;
  transition: opacity 0.25s ease;
}

.final-cta-pill-text::after {
  content: attr(data-alt);
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.final-cta-pill:hover .final-cta-pill-text {
  opacity: 0;
}

.final-cta-pill:hover .final-cta-pill-text::after {
  opacity: 1;
}


.contact-card {
  width: 100%;
  border-radius: 20px;
  padding: 2rem 2rem;
  background: radial-gradient(circle at top left, #020617 0%, #020617 70%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.9);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.contact-card-primary {
  background: radial-gradient(circle at top left, #0f172a 0%, #020617 65%);
  border-color: rgba(148, 163, 184, 0.5);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.85);
}

.contact-card-secondary {
  background: radial-gradient(circle at top left, #020617 0%, #020617 70%);
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.9);
}

.contact-card-capsule {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 600;
  align-self: flex-start;
}

.contact-card-capsule-green {
  border: 1.5px solid rgba(34, 197, 94, 0.85);
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.16);
}

.contact-card-capsule-blue {
  border: 1.5px solid rgba(129, 140, 248, 0.7);
  color: rgba(191, 219, 254, 0.95);
  background: radial-gradient(circle at top, rgba(37, 99, 235, 0.35), rgba(15, 23, 42, 0.95));
}

.contact-form-highlight {
  border-color: rgba(34, 197, 94, 0.9) !important;
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.4), 0 20px 55px rgba(15, 23, 42, 0.85) !important;
  animation: pulse-highlight 2s ease-in-out;
}

@keyframes pulse-highlight {
  0%, 100% {
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.4), 0 20px 55px rgba(15, 23, 42, 0.85);
  }
  50% {
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.6), 0 20px 55px rgba(15, 23, 42, 0.85);
  }
}

.contact-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.contact-subtitle {
  margin: 0 0 1rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.contact-note {
  margin: 0.8rem 0 0;
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.contact-note a {
  color: rgba(129, 140, 248, 0.9);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.trial-success-panel {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.55), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(129, 140, 248, 0.75);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.trial-success-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(219, 234, 254, 0.95);
  border: 1px solid rgba(191, 219, 254, 0.8);
  margin-bottom: 0.4rem;
}

.trial-success-text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.contact-success-panel {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.45), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(129, 140, 248, 0.7);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.contact-success-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(219, 234, 254, 0.95);
  border: 1px solid rgba(191, 219, 254, 0.8);
  margin-bottom: 0.4rem;
}

.contact-success-text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.contact-error {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #fca5a5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.contact-form-submitted {
  display: none !important;
}

.contact-field .required {
  color: rgba(148, 163, 184, 0.7);
  font-weight: 400;
  font-size: 0.75rem;
}

.contact-field .optional {
  color: rgba(148, 163, 184, 0.6);
  font-weight: 400;
  font-size: 0.75rem;
}

.contact-field input,
.contact-field textarea {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  padding: 0.45rem 0.6rem;
  font-size: 0.84rem;
  outline: none;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(129, 140, 248, 0.9);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.5);
}

.contact-submit {
  width: 100%;
  margin-top: 0.4rem;
}

.contact-success {
  margin-top: 0.8rem;
  font-size: 0.84rem;
  color: var(--text-soft);
}

.contact-whatsapp {
  margin: 0.8rem 0 0;
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.7);
  text-align: center;
}

.contact-whatsapp a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.whatsapp-icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  background: rgba(34, 197, 94, 0.18);
  color: #bbf7d0;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 0.6rem;
  max-width: 44rem;
}

.faq-item {
  border-radius: var(--radius-lg);
  padding: 0.7rem 0.9rem;
  background: radial-gradient(circle at top left, #020617 0%, #020617 60%);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.9rem;
}

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

.faq-item p {
  margin: 0.45rem 0 0;
  font-size: 0.86rem;
  color: var(--text-soft);
}

/* Section rail (desktop) */

.section-rail {
  position: relative;
  width: var(--rail-width);
  height: 76vh;          /* bar uses ~75% of viewport height */
  display: flex;
  align-items: stretch;  /* rail list will control internal spacing */
  pointer-events: none;  /* allow inner items only */
}

/* Soft vertical backdrop just behind the rail column (desktop only) */
.section-rail::before {
  content: '';
  position: absolute;
  top: 4%;
  bottom: 4%;
  left: -24px;
  right: -24px;
  border-radius: 999px;
  background: radial-gradient(
    circle at center,
    rgba(15, 23, 42, 0.85),
    rgba(15, 23, 42, 0.3),
    transparent
  );
  opacity: 0.08;
  pointer-events: none;
  z-index: -1;
}

.section-rail-list {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* spread first/last items from top to bottom */
  gap: 0.35rem;
  padding: 0.8rem 0.9rem 0.8rem;
  pointer-events: auto;
  min-width: 160px;
  min-height: 100%; /* match the full sidebar height */
}

.section-rail-list::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 1.1rem;   /* start just below the Overview dot */
  bottom: 1.1rem; /* end just above the Contact dot */
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(191, 219, 254, 0.4),
    rgba(191, 219, 254, 0.7),
    rgba(191, 219, 254, 0.25)
  );
}

.section-rail-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.9rem 0.25rem 1.4rem; /* space for rail + dot on the left */
  min-height: 34px;                        /* larger hit area */
  border: none;
  background: transparent;
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.75rem;
  cursor: pointer;
  border-radius: 999px; /* used only for the subtle active pill highlight */
  transition: color 0.18s ease, transform 0.18s ease, background 0.2s ease;
}

.section-rail-dot {
  position: absolute;
  left: 6px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.65);
  background: rgba(15, 23, 42, 0.98);
  flex-shrink: 0;
  transform: translateY(-50%);
  transition: background 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, width 0.2s ease, height 0.2s ease;
}

.section-rail-label {
  white-space: nowrap;
}

.section-rail-header {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.85);
  margin-bottom: 0.4rem;
}

.section-rail-index {
  font-size: 0.72rem;
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
}

/* Scroll offset for anchored sections (account for sticky header) */
#overview,
#how-it-works,
#pricing,
#working-with-us,
#roadmap,
#contact {
  scroll-margin-top: 96px;
}

.section-rail-item:hover {
  color: rgba(226, 232, 240, 0.9);
  transform: translateX(1px);
}

.section-rail-item:hover .section-rail-dot {
  border-color: rgba(129, 140, 248, 0.9);
  box-shadow: 0 0 10px rgba(129, 140, 248, 0.38);
}

.section-rail-item-active {
  color: #e5e7eb;
  font-weight: 500;
  background: radial-gradient(
    circle at left,
    rgba(15, 23, 42, 0.8),
    rgba(37, 99, 235, 0.25)
  );
  box-shadow: 0 0 24px rgba(15, 23, 42, 0.9),
    0 0 18px rgba(59, 130, 246, 0.35);
}

.section-rail-item-active .section-rail-label {
  font-size: 0.8rem;
  font-weight: 600;
}

.section-rail-item-active .section-rail-dot {
  width: 11px;
  height: 11px;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25);
}

.section-rail-slider {
  position: absolute;
  left: 9px;
  top: 1.1rem;   /* align with the visible rail start */
  width: 2px;
  height: 0;
  border-radius: 999px;
  background: linear-gradient(
    to bottom,
    rgba(129, 140, 248, 0.98),
    rgba(56, 189, 248, 0.78)
  );
  transition: height 0.18s ease-out;
  pointer-events: none;
}

.section-rail-item:focus-visible {
  outline: 2px solid rgba(129, 140, 248, 0.7);
  outline-offset: 2px;
}

/* Mobile sticky CTA */

.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.6rem 1rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.97), rgba(15, 23, 42, 0.96));
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  display: none;
  justify-content: center;
  z-index: 45;
}

.mobile-cta-button {
  width: 100%;
  max-width: 360px;
}

/* Responsive */

@media (max-width: 768px) {
  .header-inner {
    padding-inline: 0;
  }

  /* Mobile nav: dropdown-style panel instead of single crowded row */
  .nav-list {
    position: absolute;
    inset-inline: 1.25rem;
    top: 64px;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: radial-gradient(circle at top left, #020617 0%, #020617 75%);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
  }

  .nav-list-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 3.5rem;
  }

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

  .hero-media {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .device-mockup {
    margin: 0;
    max-width: 260px;
  }

  .device-mockup.secondary {
    transform: translateY(0);
  }

  .section {
    padding: 2.3rem 0;
  }

  /* Further reduce padding on very small screens */
  .section-inner {
    padding: 40px 16px 56px;
  }

  .steps-card,
  .timeline-card,
  .who-does-what-card,
  .usage-card {
    padding: 1rem 0.9rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .steps-grid,
  .timeline-grid {
    gap: 1.5rem;
  }

  .step-number {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    margin-bottom: 0.625rem;
  }

  .step-label,
  .timeline-label {
    font-size: 0.625rem;
    margin-bottom: 0.5rem;
  }

  .step-title,
  .timeline-title {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .step-caption,
  .timeline-body {
    font-size: 0.85rem;
    line-height: 1.55;
  }

  .who-does-what-grid,
  .usage-grid {
    gap: 1.25rem;
  }

  /* Ensure text doesn't overflow */
  .step-title,
  .timeline-title,
  .who-does-what-column-title,
  .usage-row-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Better spacing for bullet lists */
  .who-does-what-column ul,
  .usage-row ul {
    padding-left: 1.25rem;
  }

  .who-does-what-column li,
  .usage-row li {
    padding-left: 0.5rem;
  }

  /* Ensure cards don't overflow on very small screens */
  .steps-card,
  .timeline-card,
  .who-does-what-card,
  .usage-card {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Better text sizing for readability */
  .step-body,
  .timeline-body {
    font-size: 0.875rem;
    line-height: 1.55;
  }

  .hero-header {
    margin-bottom: 1.7rem;
  }

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

  .social-proof-inner {
    align-items: flex-start;
  }

  .media-placeholder {
    margin: 0;
  }

  .timeline,
  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Steps strip -> vertical timeline on mobile */
  .steps-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .steps-strip::before {
    top: 0;
    bottom: 0;
    left: 20px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0.25),
      rgba(255, 255, 255, 0.02)
    );
  }

  .step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
  }

  .step-number {
    margin-top: 0;
  }

  .step-content {
    display: flex;
    flex-direction: column;
  }

  .steps-pain {
    margin-top: 24px;
  }

  .steps-pain-list {
    align-items: flex-start;
  }

  .section-rail {
    display: none;
  }

  .mobile-cta-bar {
    display: flex;
  }
}

@media (max-width: 1199px) {
  .section-rail {
    display: none;
  }
}

@media (min-width: 1024px) {
  /* central content width is controlled via --content-width and section-inner;
     containers stay neutral to keep alignment consistent */
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list {
    inset-inline: 1rem;
  }

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

  .final-cta-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .final-cta-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .contact-card {
    max-width: 100%;
  }
}


