/* =========================================
   NEIL NWABUA — STYLES.CSS
   Sleek, light-weight typography (Crawford feel)
   ========================================= */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f7f6;
  --surface: #ffffff;
  --surface-2: #f0f4f1;
  --ink: #0f1713;
  --ink-soft: #5f6e66;
  --body: #3e4c44;
  --line: rgba(15, 23, 19, 0.10);
  --line-strong: rgba(15, 23, 19, 0.18);

  --hero-bg: radial-gradient(125% 110% at 100% 0%, rgba(24, 201, 100, 0.22) 0%, rgba(16, 185, 129, 0.08) 28%, transparent 62%),
             radial-gradient(100% 90% at 0% 100%, rgba(45, 95, 72, 0.35) 0%, transparent 65%),
             linear-gradient(165deg, #101f18 0%, #0b1410 58%, #0e1a14 100%);
  --dark-section: #0b1410;
  --dark-card: rgba(255, 255, 255, 0.05);
  --dark-card-border: rgba(255, 255, 255, 0.11);
  --dark-ink: #ffffff;
  --dark-ink-soft: rgba(255, 255, 255, 0.56);
  --dark-body: rgba(255, 255, 255, 0.78);

  --nav-bg: rgba(255, 255, 255, 0.80);
  --nav-border: rgba(15, 23, 19, 0.09);

  --stage-bg: #f6f9f7;
  --stage-dot: rgba(15, 23, 19, 0.12);
  --pill-bg: rgba(255, 255, 255, 0.90);
  --pill-border: rgba(255, 255, 255, 1);
  --pill-shadow: 0 14px 34px -12px rgba(7, 41, 23, 0.16), 0 0 0 1px rgba(7, 41, 23, 0.06), inset 0 1px 0 #fff;
  --pill-ink: #0f1713;
  --pill-sub: #64736b;
  --flow-track: rgba(15, 23, 19, 0.14);

  --accent: #18c964;
  --accent-dark: #0e6b38;
  --accent-soft: rgba(24, 201, 100, 0.14);

  --frame: 18px;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --bg: #080d0b;
  --bg-soft: #0e1612;
  --surface: #111b16;
  --surface-2: #16221c;
  --ink: #f4faf6;
  --ink-soft: #8fa197;
  --body: #b7c6be;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);

  --hero-bg: radial-gradient(125% 110% at 100% 0%, rgba(24, 201, 100, 0.24) 0%, rgba(16, 185, 129, 0.08) 30%, transparent 62%),
             radial-gradient(100% 90% at 0% 100%, rgba(24, 201, 100, 0.12) 0%, transparent 65%),
             linear-gradient(165deg, #111f18 0%, #0a120e 58%, #0d1712 100%);
  --dark-section: #0d1612;
  --dark-card: rgba(255, 255, 255, 0.04);
  --dark-card-border: rgba(255, 255, 255, 0.10);

  --nav-bg: rgba(14, 22, 18, 0.80);
  --nav-border: rgba(255, 255, 255, 0.11);

  --stage-bg: #0f1914;
  --stage-dot: rgba(255, 255, 255, 0.10);
  --pill-bg: rgba(22, 34, 28, 0.86);
  --pill-border: rgba(255, 255, 255, 0.16);
  --pill-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --pill-ink: #f4faf6;
  --pill-sub: #8fa197;
  --flow-track: rgba(255, 255, 255, 0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
  overflow-x: hidden;
}

/* Sleek, non-bulky headings (weight 500 + tight tracking like bycrawford) */
h1, h2, h3 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  letter-spacing: -0.038em;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* FLOATING NAVBAR */
.nav-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 0 18px;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 8px 7px 20px;
  border-radius: 14px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--nav-border);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.16);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--body);
  padding: 7px 13px;
  border-radius: 9px;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.nav-links a:hover {
  background: var(--line);
  color: var(--ink);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-right .pair--sm {
  border-radius: 9px;
  padding: 9px 18px;
}

.theme-btn {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease);
}

.theme-btn:hover { transform: scale(1.06); }
.theme-btn .icon-sun { display: none; }
[data-theme="dark"] .theme-btn .icon-sun { display: block; }
[data-theme="dark"] .theme-btn .icon-moon { display: none; }

/* PAIRED BUTTONS */
.pair {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.pair:hover { transform: translateY(-1.5px); }

.pair-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.2s var(--ease);
}

.pair:hover .pair-arrow { transform: translateX(2px); }

.pair--white {
  background: #ffffff;
  color: #0b1410;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.4);
}
.pair--white .pair-arrow { background: rgba(11, 20, 16, 0.08); }

.pair--ink {
  background: var(--ink);
  color: var(--bg);
}
.pair--ink .pair-arrow { background: rgba(255, 255, 255, 0.14); }
[data-theme="dark"] .pair--ink .pair-arrow { background: rgba(0, 0, 0, 0.12); }

.pair--sm {
  padding: 7px 14px;
  font-size: 0.84rem;
}

.pair-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 0.18s var(--ease), gap 0.18s var(--ease);
}
.pair-link:hover { opacity: 1; gap: 10px; }

/* EYEBROW */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 1.5px;
  background: currentColor;
  opacity: 0.85;
  flex-shrink: 0;
}

/* 1. FRAMED HERO CARD */
.hero-frame { padding: var(--frame); }

.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--hero-bg);
  color: #ffffff;
  overflow: hidden;
  min-height: min(calc(100svh - 2 * var(--frame)), 740px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 118px 0 72px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-inner {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.7rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.042em;
  color: #ffffff;
  text-wrap: balance;
}

.hero-title span { color: rgba(255, 255, 255, 0.54); }

.hero-counter {
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 1.9ch;
  text-align: center;
}

.hero-lead {
  margin-top: 22px;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
  line-height: 1.58;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 24px;
}

.hero-actions .pair-link { color: #ffffff; }

/* 2. ANIMATED FLOW STAGE */
.flow-section { padding: 44px 0 24px; }

.flow-card {
  position: relative;
  border-radius: var(--radius-xl);
  background-color: var(--stage-bg);
  background-image: radial-gradient(var(--stage-dot) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid var(--line);
  padding: 48px 36px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.flow-copy h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 500;
  line-height: 1.08;
  margin-top: 12px;
}
.flow-copy h2 span { color: var(--ink-soft); }
.flow-copy p {
  margin-top: 14px;
  font-size: 0.98rem;
  color: var(--body);
  max-width: 400px;
}

.flow-canvas {
  position: relative;
  height: 310px;
  width: 100%;
  perspective: 900px;
}

.flow-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.flow-line-base {
  fill: none;
  stroke: var(--flow-track);
  stroke-width: 1.75;
  stroke-linecap: round;
}

.flow-line-beam {
  fill: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 120 760;
  stroke-dashoffset: 120;
  opacity: 0;
}

.flow-canvas.is-revealed .flow-line-beam {
  animation: beamInitial 2.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.flow-canvas.is-idle .flow-line-beam {
  animation: beamPulse 5.6s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}

@keyframes beamInitial {
  0%   { stroke-dashoffset: 120; opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { stroke-dashoffset: -760; opacity: 0; }
}

@keyframes beamPulse {
  0%, 62% { stroke-dashoffset: 120; opacity: 0; }
  68%     { opacity: 0.9; }
  94%     { opacity: 0.9; }
  100%    { stroke-dashoffset: -760; opacity: 0; }
}

/* Outer layer: positioning + scroll reveal + JS parallax */
.node-layer {
  position: absolute;
  will-change: transform, opacity, filter;
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 18px, 0) scale(0.96);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.node-layer-1 { top: 20px; left: 5%; transition-delay: 0.18s; }
.node-layer-2 { top: 112px; left: 26%; transition-delay: 0.62s; }
.node-layer-3 { top: 198px; right: 3%; transition-delay: 1.08s; }

.flow-canvas.is-revealed .node-layer {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1);
}

.flow-canvas.is-idle .node-layer {
  transition: opacity 0.4s ease;
}

/* Inner frosted glass card: idle float + hover lift + specular sheen */
.glass-node {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  background: var(--pill-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--pill-border);
  box-shadow: var(--pill-shadow);
  color: var(--pill-ink);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
  cursor: default;
  will-change: transform, box-shadow;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
}

.glass-node:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow:
    0 20px 40px -14px rgba(7, 41, 23, 0.22),
    0 0 0 1px rgba(24, 201, 100, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .glass-node:hover {
  box-shadow:
    0 22px 46px -14px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(24, 201, 100, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.node-sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    140px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.55),
    transparent 65%
  );
  transition: opacity 0.3s ease;
}

[data-theme="dark"] .node-sheen {
  background: radial-gradient(
    140px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.14),
    transparent 65%
  );
}

.glass-node:hover .node-sheen {
  opacity: 1;
}

/* Desynchronized zero-gravity idle float + periodic specular border glint */
.flow-canvas.is-idle .node-1 {
  animation:
    floatA 5.8s ease-in-out infinite,
    edgeGlint 5.6s ease-in-out 3.65s infinite;
}
.flow-canvas.is-idle .node-2 {
  animation:
    floatB 6.4s ease-in-out infinite,
    edgeGlint 5.6s ease-in-out 4.15s infinite;
}
.flow-canvas.is-idle .node-3 {
  animation:
    floatC 6.9s ease-in-out infinite,
    edgeGlint 5.6s ease-in-out 4.65s infinite;
}

.flow-canvas.is-idle .glass-node:hover {
  animation-play-state: paused;
}

@keyframes floatA {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-4px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-5px); }
}
@keyframes floatC {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-3.5px); }
}

@keyframes edgeGlint {
  0%, 8%, 100% { border-color: var(--pill-border); }
  4%           { border-color: rgba(24, 201, 100, 0.5); }
}

/* Node 1 live green dot + single radar ripple */
.dot-live {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(24, 201, 100, 0.75);
  flex-shrink: 0;
}

.dot-live::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0;
  transform: scale(1);
}

.flow-canvas.is-revealed .dot-live::after {
  animation: radarOnce 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s 1 forwards;
}

.flow-canvas.is-idle .dot-live {
  animation: dotBreathe 3.2s ease-in-out infinite;
}

@keyframes radarOnce {
  0%   { opacity: 0.75; transform: scale(1); }
  100% { opacity: 0; transform: scale(3.1); }
}

@keyframes dotBreathe {
  0%, 100% { box-shadow: 0 0 8px rgba(24, 201, 100, 0.55); }
  50%      { box-shadow: 0 0 14px rgba(24, 201, 100, 0.95); }
}

/* Node 2 self-drawing checkmark + tabular counter */
.check-draw {
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
}

.flow-canvas.is-revealed .check-draw {
  animation: drawCheck 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.88s forwards;
}

.sec-counter {
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 1.35ch;
}

/* Node 3 larger card + ambient tint + floating badge */
.node-3 {
  padding: 18px 28px;
  border-radius: 26px;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.node-3 strong {
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--pill-ink);
  position: relative;
  z-index: 1;
}

.node-3 .node-sub {
  font-size: 0.87rem;
  font-weight: 400;
  color: var(--pill-sub);
  position: relative;
  z-index: 1;
}

.node-ambient-tint {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    90px circle at 96% 6%,
    rgba(24, 201, 100, 0.18),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.6s ease 1.25s;
}

.flow-canvas.is-revealed .node-ambient-tint {
  opacity: 1;
}

.node-check-badge {
  position: absolute;
  top: -13px;
  right: -11px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6ef09c 0%, #18c964 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  border: 2px solid var(--stage-bg);
  box-shadow: 0 8px 22px -4px rgba(24, 201, 100, 0.65);
  z-index: 2;
  opacity: 0;
  transform: scale(0.45);
  transition:
    transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 1.22s,
    opacity 0.35s ease 1.22s;
}

.flow-canvas.is-revealed .node-check-badge {
  opacity: 1;
  transform: scale(1);
}

.badge-check-draw {
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
}

.flow-canvas.is-revealed .badge-check-draw {
  animation: drawCheck 0.42s cubic-bezier(0.22, 1, 0.36, 1) 1.38s forwards;
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

.flow-canvas.is-paused *,
.flow-canvas.is-paused .flow-line-beam {
  animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
  .node-layer,
  .node-check-badge,
  .node-ambient-tint {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
  .check-draw,
  .badge-check-draw {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }
  .flow-line-beam,
  .glass-node,
  .dot-live,
  .dot-live::after {
    animation: none !important;
  }
}

/* 3. EDITORIAL PROBLEM STATEMENT */
.statement {
  padding: 96px 0;
  text-align: center;
}

.statement-title {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 500;
  line-height: 1.06;
  max-width: 17ch;
  margin: 18px auto 0;
}
.statement-title span { color: var(--ink-soft); }

.statement-body {
  margin: 24px auto 0;
  max-width: 58ch;
  font-size: 1.06rem;
  line-height: 1.62;
  color: var(--body);
}

/* 4. DARK CONTRAST BENTO */
.dark-band {
  background: var(--dark-section);
  color: var(--dark-ink);
  padding: 92px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.dark-band .eyebrow { color: #86efac; }

.dark-head {
  max-width: 640px;
  margin-bottom: 42px;
}
.dark-head h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 500;
  line-height: 1.08;
  margin-top: 12px;
  color: #ffffff;
}
.dark-head h2 span { color: var(--dark-ink-soft); }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bento-card {
  border-radius: var(--radius-lg);
  background: var(--dark-card);
  border: 1px solid var(--dark-card-border);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.bento-card--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 32px;
}

.bento-card h3 {
  font-size: 1.28rem;
  font-weight: 500;
  color: #ffffff;
}

.bento-card p {
  margin-top: 8px;
  font-size: 0.94rem;
  color: var(--dark-body);
  line-height: 1.55;
}

/* WhatsApp Screenshot Slot */
.whatsapp-slot {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.whatsapp-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.whatsapp-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 190px;
  padding: 24px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Mini UI Boxes */
.ui-box {
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 18px;
  font-size: 0.84rem;
}

.check-rows {
  list-style: none;
  display: grid;
  gap: 9px;
}
.check-rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 500;
}
.check-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6ef09c;
}

.alert-box {
  background: rgba(24, 201, 100, 0.10);
  border: 1px solid rgba(24, 201, 100, 0.30);
  border-radius: 14px;
  padding: 16px;
}
.alert-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 600;
  color: #86efac;
  margin-bottom: 8px;
}
.alert-title { font-size: 1rem; font-weight: 600; color: #ffffff; }
.alert-sub { font-size: 0.84rem; color: var(--dark-body); margin-top: 4px; }

/* 5. LIVE DEMO & OFFER */
.section { padding: 88px 0; }

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.card--tint { background: var(--bg-soft); }
.card h3 { font-size: 1.38rem; font-weight: 500; }
.card p { margin-top: 10px; color: var(--body); font-size: 0.96rem; }

.offer-list {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 11px;
}
.offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--ink);
}
.tick { color: var(--accent); font-weight: 700; flex-shrink: 0; }

.video-slot {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--line-strong);
  background: var(--surface-2);
  font-size: 0.86rem;
  color: var(--body);
}

.cost-block {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}
.cost-block:first-of-type { border-top: none; padding-top: 0; margin-top: 14px; }
.cost-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
}
[data-theme="dark"] .cost-label { color: #86efac; }

/* 6. ABOUT NEIL */
.about-card {
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.about-pfp {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--line-strong);
  background: #fff;
}
.about-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s ease;
}
.contact-icon {
  flex-shrink: 0;
  color: var(--accent-dark);
  transition: transform 0.2s ease;
}
[data-theme="dark"] .contact-icon {
  color: #86efac;
}
.contact-link:hover {
  color: var(--accent-dark);
}
[data-theme="dark"] .contact-link:hover {
  color: #86efac;
}
.contact-link:hover .contact-icon {
  transform: translateY(-1px);
}

/* 7. TWO-COLUMN STICKY FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
}
.faq-head { position: sticky; top: 96px; }
.faq-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
  margin-top: 12px;
}
.faq-head h2 span { color: var(--ink-soft); }

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

details.faq-item {
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 0 22px;
  transition: background 0.18s var(--ease);
}
details.faq-item[open] { background: var(--surface); }

details.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
}
details.faq-item summary::-webkit-details-marker { display: none; }

.faq-plus {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}
details.faq-item[open] .faq-plus { transform: rotate(45deg); }

.faq-ans {
  padding: 0 12px 20px 0;
  font-size: 0.94rem;
  color: var(--body);
  line-height: 1.6;
}

/* 8. CLOSING CTA CARD */
.close-wrap { padding: 0 var(--frame) var(--frame); }

.close-card {
  border-radius: var(--radius-xl);
  background: var(--hero-bg);
  color: #ffffff;
  text-align: center;
  padding: 76px 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.close-card h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 500;
  line-height: 1.08;
  max-width: 18ch;
  margin: 14px auto 0;
  color: #ffffff;
}
.close-card h2 span { color: rgba(255, 255, 255, 0.56); }
.close-card p {
  margin: 18px auto 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
}
.close-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 24px;
}

/* FOOTER */
footer {
  padding: 28px 0 42px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

@media (max-width: 900px) {
  .flow-card, .bento-grid, .bento-card--wide, .split-grid, .faq-grid {
    grid-template-columns: 1fr;
  }
  .bento-card--wide { grid-column: auto; }
  .faq-head { position: static; }
  .about-card { flex-direction: column; text-align: center; padding: 28px 22px; }
  .about-links { justify-content: center; }
  .flow-canvas { height: 285px; }
  .node-layer-1 { left: 2%; }
  .node-layer-2 { left: 16%; }
  .node-layer-3 { right: 2%; }
}

@media (max-width: 640px) {
  :root { --frame: 10px; }
  .nav-links { display: none; }
  .hero-card { padding: 104px 0 56px; min-height: auto; }
  .statement, .dark-band, .section { padding: 64px 0; }
  .flow-card { padding: 32px 20px; }
  .card { padding: 26px 22px; }
}
