/* =============================================================
   LAMATICS · Engineering Report Aesthetic
   Authored 2026-05-08 · Detmold
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #020617;
  --bg-elev: #060c1d;
  --bg-elev-2: #0a1228;
  --ink: #f4f6fb;
  --ink-mute: rgba(244, 246, 251, 0.62);
  --ink-faint: rgba(244, 246, 251, 0.34);
  --rule: rgba(244, 246, 251, 0.10);
  --rule-strong: rgba(244, 246, 251, 0.18);
  --accent: #1d4ed8;
  --accent-bright: #3b82f6;
  --accent-glow: rgba(29, 78, 216, 0.35);
  --warn: #fbbf24;

  --font-display: 'Bricolage Grotesque', ui-sans-serif, system-ui;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --font-serif: 'Fraunces', ui-serif, Georgia;

  --radius: 4px;
  --max: 1240px;
  --pad: clamp(20px, 4vw, 56px);

  --t-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: 'ss01', 'ss02', 'cv11';
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}
img, svg { display: block; max-width: 100%; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }

/* Force custom-cursor everywhere on fine-pointer devices.
   Browser defaults (cursor: pointer on <a>, etc.) would otherwise show. */
@media (hover: hover) and (pointer: fine) {
  a, button, summary, details, label,
  [role="tab"], [data-magnetic], [data-scroll],
  .step, .tier, .flow__node, .cta__panel, .proof__card,
  .topbar__cta, .legal__back, .footer__col a {
    cursor: none;
  }
}

/* ---------- Atmosphere: grain + cursor ---------- */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 200;
  opacity: 0.045; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.9'/></svg>");
}
.cursor {
  position: fixed; left: 0; top: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.18s var(--t-ease), height 0.18s var(--t-ease),
              opacity 0.25s ease;
  will-change: transform;
}
.cursor svg { display: none; }
.cursor.is-hover {
  width: 12px; height: 12px;
  background: var(--ink);
}
.cursor.is-text {
  width: 4px; height: 18px;
  border-radius: 1px;
  background: var(--ink);
}
@media (hover: none) {
  body { cursor: auto; }
  .cursor { display: none; }
}

/* ---------- Typography helpers ---------- */
.kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border: 1px solid var(--rule);
  padding: 4px 8px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}
.kbd--live { color: var(--ink); }
.dot { width: 6px; height: 6px; background: #4ade80; border-radius: 50%; box-shadow: 0 0 0 0 rgba(74,222,128,0.6); }
.dot--pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad);
}

/* ---------- Reveal animations ---------- */
[data-reveal], [data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--t-ease), transform 0.9s var(--t-ease);
}
[data-reveal].is-in, [data-reveal-stagger].is-in > * {
  opacity: 1; transform: translateY(0);
}
[data-reveal-stagger].is-in > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-stagger].is-in > *:nth-child(2) { transition-delay: 0.18s; }
[data-reveal-stagger].is-in > *:nth-child(3) { transition-delay: 0.32s; }
[data-reveal-stagger].is-in > *:nth-child(4) { transition-delay: 0.44s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1; transform: none; }
}

/* ---------- Section index marker ---------- */
.section-index {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: clamp(28px, 5vw, 56px);
}
.section-index__num { color: var(--ink); font-weight: 600; }
.section-index__bar {
  display: inline-block; width: 56px; height: 1px; background: var(--rule-strong);
}
.section-index__label { color: var(--ink-faint); }

/* =============================================================
   TOPBAR
   ============================================================= */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.topbar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { flex-shrink: 0; display: block; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
}
.topbar__meta {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
}
.topbar__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--rule-strong);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all 0.25s var(--t-ease);
}
.topbar__cta:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

@media (max-width: 720px) {
  .topbar__meta { display: none; }
  .topbar__inner { grid-template-columns: auto 1fr; }
}

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 120px) 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.hero::before {
  /* Soft accent glow bottom-right */
  content: ""; position: absolute; pointer-events: none;
  right: -8%; bottom: -20%;
  width: 720px; height: 720px;
  background: radial-gradient(circle at center, var(--accent-glow), transparent 60%);
  filter: blur(40px);
  z-index: 0;
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  display: grid; grid-template-columns: repeat(8, 1fr);
  max-width: var(--max); margin: 0 auto; padding-inline: var(--pad);
  opacity: 0.5;
}
.hero__grid span {
  border-left: 1px solid var(--rule);
}
.hero__grid span:last-child {
  border-right: 1px solid var(--rule);
}
.hero__container {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto; padding-inline: var(--pad);
}
.hero__statement--full {
  max-width: 1080px;
}
.hero__statement--full .hero__lead {
  max-width: 64ch;
  font-size: clamp(17px, 1.6vw, 21px);
}

/* Title */
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7.4vw, 104px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.96;
  margin: 0 0 clamp(24px, 3vw, 36px);
  font-feature-settings: 'ss01', 'ss02';
}
.hero__title--big {
  font-size: clamp(46px, 9vw, 132px);
  letter-spacing: -0.04em;
  line-height: 0.94;
  margin-bottom: clamp(28px, 4vw, 48px);
  text-wrap: balance;
}
.hero__title .line {
  display: block; overflow: hidden;
}
.hero__title .line > span,
.hero__title .line > em {
  display: inline-block;
}
.hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--accent-bright);
  font-feature-settings: 'ss01';
}
.hero__title .line--strike > span {
  position: relative;
  font-size: 0.36em;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--ink-mute);
  margin-top: clamp(20px, 3vw, 32px);
  padding-left: 32px;
}
.hero__title .line--strike > span::before {
  content: ""; position: absolute;
  left: 0; top: 50%;
  width: 22px; height: 1px;
  background: var(--accent-bright);
}

.hero__lead {
  font-size: clamp(16px, 1.4vw, 18.5px);
  line-height: 1.55;
  color: var(--ink-mute);
  max-width: 56ch;
  margin: 0 0 32px;
  text-wrap: pretty;
}

.hero__actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.hero__proof {
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px dashed var(--rule-strong);
  padding-top: 22px;
}
.hero__proof li {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 12px; color: var(--ink-faint);
  font-family: var(--font-mono); letter-spacing: 0.04em;
  padding: 0 22px;
  border-right: 1px solid var(--rule);
}
.hero__proof li:first-child { padding-left: 0; }
.hero__proof li:last-child { border-right: none; }
.hero__proof li strong {
  font-family: var(--font-display);
  font-size: 16px; color: var(--ink); letter-spacing: -0.01em;
  font-weight: 600;
}

/* Buttons */
.btn {
  --btn-fg: var(--ink);
  --btn-bg: transparent;
  --btn-bd: var(--rule-strong);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-display);
  font-size: 14.5px; font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  cursor: none;
  transition: all 0.3s var(--t-ease);
  position: relative;
  overflow: hidden;
}
.btn .btn__arrow { transition: transform 0.4s var(--t-ease); }
.btn:hover .btn__arrow { transform: translate(3px, -3px); }

.btn--primary {
  --btn-fg: var(--bg);
  --btn-bg: var(--ink);
  --btn-bd: var(--ink);
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.6) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s var(--t-ease);
}
.btn--primary:hover::before { transform: translateX(100%); }

.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(255,255,255,0.04);
}

/* ----------- SPECSHEET (right side of hero) ----------- */
.specsheet {
  position: relative;
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-elev-2));
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  font-feature-settings: 'tnum';
}
.specsheet::before {
  /* Corner crosshairs */
  content: ""; position: absolute; pointer-events: none;
  inset: 8px;
  background:
    linear-gradient(to right, var(--ink-faint) 0, var(--ink-faint) 8px, transparent 8px) 0 0/12px 1px,
    linear-gradient(to bottom, var(--ink-faint) 0, var(--ink-faint) 8px, transparent 8px) 0 0/1px 12px,
    linear-gradient(to left, var(--ink-faint) 0, var(--ink-faint) 8px, transparent 8px) 100% 0/12px 1px,
    linear-gradient(to bottom, var(--ink-faint) 0, var(--ink-faint) 8px, transparent 8px) 100% 0/1px 12px,
    linear-gradient(to right, var(--ink-faint) 0, var(--ink-faint) 8px, transparent 8px) 0 100%/12px 1px,
    linear-gradient(to top, var(--ink-faint) 0, var(--ink-faint) 8px, transparent 8px) 0 100%/1px 12px,
    linear-gradient(to left, var(--ink-faint) 0, var(--ink-faint) 8px, transparent 8px) 100% 100%/12px 1px,
    linear-gradient(to top, var(--ink-faint) 0, var(--ink-faint) 8px, transparent 8px) 100% 100%/1px 12px;
  background-repeat: no-repeat;
}
.specsheet__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--rule);
  background: rgba(255,255,255,0.012);
}
.specsheet__id, .specsheet__rev {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute);
}
.specsheet__id { color: var(--ink); font-weight: 600; }

.specsheet__body { padding: 8px 0; }
.specrow {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 20px;
  padding: 14px 22px;
  border-bottom: 1px dashed var(--rule);
  margin: 0;
}
.specrow:last-child { border-bottom: none; }
.specrow dt {
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-mute);
}
.specrow dd {
  margin: 0;
  display: flex; align-items: baseline; gap: 12px;
  text-align: right;
}
.specrow .num {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.specrow .unit {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-faint); letter-spacing: 0.05em; text-transform: uppercase;
}
.specrow--sub { padding-block: 8px; }
.specrow--sub dt { padding-left: 16px; color: var(--ink-faint); }
.specrow--sub .num { font-size: 14px; }

.specrow--feat dt { color: var(--ink); }
.specrow--feat dd { font-family: var(--font-display); font-size: 13.5px; color: var(--ink-mute); text-align: right; max-width: 60%; }
.specrow--feat .badge {
  display: inline-block;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--warn);
  border: 1px solid var(--warn);
  padding: 4px 8px; border-radius: var(--radius);
  background: rgba(251, 191, 36, 0.08);
}

.specsheet__divider {
  height: 1px; background: var(--rule-strong);
  margin: 4px 22px;
}
.specsheet__foot {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-top: 1px solid var(--rule);
  background: rgba(255,255,255,0.012);
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.08em; color: var(--ink-mute);
}

/* Scroll hint */
.scroll-hint {
  position: absolute; left: 50%; bottom: 28px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-faint);
  z-index: 5;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
@media (max-width: 960px) { .scroll-hint { display: none; } }

/* =============================================================
   MANIFEST
   ============================================================= */
.manifest {
  padding: clamp(80px, 10vw, 140px) 0;
  border-bottom: 1px solid var(--rule);
}
.manifest__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 clamp(40px, 5vw, 72px);
  max-width: 24ch;
}
.manifest__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.manifest__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.manifest__list li:nth-child(odd) {
  padding-right: clamp(20px, 4vw, 56px);
  border-right: 1px solid var(--rule);
}
.manifest__list li:nth-child(even) {
  padding-left: clamp(20px, 4vw, 56px);
}
.manifest__num {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent-bright);
  background: rgba(29, 78, 216, 0.08);
  border: 1px solid rgba(29, 78, 216, 0.4);
  padding: 4px 8px; border-radius: var(--radius);
  align-self: start;
}
.manifest__list p {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 16.5px);
  line-height: 1.6;
  color: var(--ink-mute);
  text-wrap: pretty;
}
.manifest__list strong {
  display: block; color: var(--ink); font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}

@media (max-width: 760px) {
  .manifest__list { grid-template-columns: 1fr; }
  .manifest__list li:nth-child(odd) { padding-right: 0; border-right: none; }
  .manifest__list li:nth-child(even) { padding-left: 0; }
}

/* =============================================================
   SERVICES / TIERS
   ============================================================= */
.services {
  padding: clamp(80px, 10vw, 140px) 0;
  border-bottom: 1px solid var(--rule);
}
.services__head {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.services__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.2vw, 64px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0;
}
.services__title em {
  font-family: var(--font-serif); font-style: italic; font-weight: 300;
  color: var(--accent-bright); letter-spacing: -0.02em;
}
.services__sub {
  margin: 0;
  font-size: 16px; color: var(--ink-mute);
  max-width: 38ch; text-wrap: pretty;
}
@media (max-width: 760px) {
  .services__head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
}

.tiers {
  display: flex; flex-direction: column;
}
.tier {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(36px, 5vw, 56px) 0;
  border-top: 1px solid var(--rule);
  position: relative;
  transition: background 0.3s var(--t-ease);
}
.tier:last-child { border-bottom: 1px solid var(--rule); }
.tier:hover { background: rgba(255,255,255,0.014); }

.tier--featured {
  background: linear-gradient(180deg, rgba(29,78,216,0.06), transparent 60%);
}
.tier--featured:hover { background: linear-gradient(180deg, rgba(29,78,216,0.1), transparent 60%); }

.tier__rail {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 14px;
}
.tier__num {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; color: var(--ink);
  background: var(--ink); color: var(--bg);
  padding: 4px 8px; border-radius: var(--radius);
}
.tier__line { width: 1px; flex: 1; background: var(--rule-strong); margin-left: 14px; }

.tier__main { min-width: 0; }
.tier__header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px; align-items: baseline;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--rule);
}
.tier__name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600; letter-spacing: -0.02em;
  margin: 0;
  display: inline-flex; align-items: center; gap: 12px;
}
.tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--accent); color: var(--ink);
  padding: 4px 8px; border-radius: var(--radius);
  font-weight: 500;
}
.tag--mini { font-size: 9px; padding: 2px 6px; background: var(--ink-faint); color: var(--bg); }

.tier__price {
  text-align: right;
  display: flex; flex-direction: column; gap: 2px;
}
.tier__price .num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.01em; color: var(--ink);
}
.tier__price .unit {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink-mute);
}

.tier__lead {
  font-size: 16px; line-height: 1.6; color: var(--ink-mute);
  max-width: 65ch; margin: 0 0 18px;
  text-wrap: pretty;
}
.tier__bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 28px;
}
.tier__bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.5;
}
.tier__bullets li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--accent-bright);
}

@media (max-width: 760px) {
  .tier { grid-template-columns: 1fr; gap: 18px; }
  .tier__rail { flex-direction: row; align-items: center; }
  .tier__line { display: none; }
  .tier__header { grid-template-columns: 1fr; }
  .tier__price { text-align: left; flex-direction: row; align-items: baseline; gap: 10px; }
  .tier__bullets { grid-template-columns: 1fr; }
}

/* Retainer table */
.retainer {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 13.5px;
}
.retainer th, .retainer td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
}
.retainer thead th {
  background: rgba(255,255,255,0.025);
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-mute);
}
.retainer tbody tr:last-child td { border-bottom: none; }
.retainer tbody tr.is-default { background: rgba(29,78,216,0.06); }
.retainer tbody tr.is-default td:first-child { color: var(--ink); font-weight: 600; }
.retainer td:nth-child(2) { font-family: var(--font-mono); font-feature-settings: 'tnum'; color: var(--ink); }
@media (max-width: 600px) {
  .retainer { font-size: 12px; }
  .retainer th, .retainer td { padding: 10px 8px; }
}

/* =============================================================
   FLOW
   ============================================================= */
.flow {
  padding: clamp(80px, 10vw, 140px) 0;
  border-bottom: 1px solid var(--rule);
}
.flow__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 clamp(48px, 6vw, 72px);
  max-width: 22ch;
}
.flow__title em {
  font-family: var(--font-serif); font-style: italic; font-weight: 300;
  color: var(--accent-bright);
}
.flow__diagram {
  position: relative;
  padding: 32px 0;
}
.flow__nodes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative; z-index: 2;
}
.flow__nodes li {
  display: flex; flex-direction: column; gap: 14px;
}
.flow__week {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint);
  padding-bottom: 6px; border-bottom: 1px dashed var(--rule);
}
.flow__node {
  display: flex; flex-direction: column; gap: 8px;
  padding: 22px 20px;
  background: var(--bg-elev);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  position: relative;
  transition: all 0.3s var(--t-ease);
}
.flow__node:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
}
.flow__node-num {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; color: var(--ink-faint);
}
.flow__node-name {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.015em;
}
.flow__node-meta {
  font-family: var(--font-mono); font-size: 11.5px;
  color: var(--ink-mute); letter-spacing: 0.04em;
}
.flow__node--accent {
  background: linear-gradient(180deg, rgba(29,78,216,0.18), var(--bg-elev));
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 1px var(--accent-bright), 0 20px 60px -30px var(--accent-glow);
}
.flow__node--accent .flow__node-num { color: var(--accent-bright); }

.flow__lines {
  position: absolute;
  left: 0; right: 0;
  top: 50%; transform: translateY(20px);
  width: 100%; height: 24px;
  color: var(--rule-strong);
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 760px) {
  .flow__nodes { grid-template-columns: 1fr; }
  .flow__lines { display: none; }
}

.flow__note {
  margin-top: 32px;
  font-size: 14.5px; color: var(--ink-mute);
  display: inline-flex; align-items: flex-start; gap: 12px;
  max-width: 64ch;
  line-height: 1.55;
}

/* =============================================================
   PROOF
   ============================================================= */
.proof {
  padding: clamp(80px, 10vw, 140px) 0;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 100%);
}
.proof__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.proof__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 500; letter-spacing: -0.03em;
  line-height: 1; margin: 0 0 28px;
}
.proof__title em {
  font-family: var(--font-serif); font-style: italic; font-weight: 300;
  color: var(--accent-bright);
}
.proof__copy p {
  font-size: 16.5px; line-height: 1.65;
  color: var(--ink-mute); margin: 0 0 18px;
  max-width: 60ch; text-wrap: pretty;
}
.proof__copy p strong { color: var(--ink); font-weight: 600; }
.proof__cred {
  margin-top: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.proof__cred li {
  display: flex; align-items: center; gap: 14px;
  font-size: 14px; color: var(--ink-mute);
}

.proof__card {
  background: var(--bg);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.proof__card-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
}
.proof__card-id {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; color: var(--ink); font-weight: 600;
}
.proof__card-line {
  flex: 1; height: 1px; background: var(--rule-strong);
}
.proof__quote {
  margin: 0 0 28px;
  padding: 0 0 22px;
  border-bottom: 1px dashed var(--rule);
}
.proof__quote p {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
.proof__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.proof__facts > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px; align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--rule);
}
.proof__facts > div:last-child { border-bottom: none; }
.proof__facts dt {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint);
}
.proof__facts dd {
  margin: 0; font-size: 14px; color: var(--ink);
  font-weight: 500;
}

@media (max-width: 880px) {
  .proof__grid { grid-template-columns: 1fr; }
}

/* =============================================================
   WARRANTY
   ============================================================= */
.warranty {
  padding: clamp(60px, 8vw, 100px) 0;
  border-bottom: 1px solid var(--rule);
}
.warranty__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--warn);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.06), transparent 60%);
  position: relative;
  overflow: hidden;
}
.warranty__inner::before {
  content: ""; position: absolute; pointer-events: none;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0,
    transparent 10px,
    rgba(251, 191, 36, 0.03) 10px,
    rgba(251, 191, 36, 0.03) 20px
  );
  opacity: 0.7;
}
.warranty__mark {
  color: var(--warn);
  position: relative; z-index: 1;
  flex-shrink: 0;
}
.warranty__eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--warn);
  display: block; margin-bottom: 12px;
  position: relative; z-index: 1;
}
.warranty__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 500; letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 12px;
  position: relative; z-index: 1;
  text-wrap: balance;
}
.warranty__body {
  margin: 0; font-size: 15px; line-height: 1.6;
  color: var(--ink-mute);
  position: relative; z-index: 1;
  max-width: 72ch;
}
@media (max-width: 720px) {
  .warranty__inner { grid-template-columns: 1fr; }
  .warranty__mark svg { width: 48px; height: 48px; }
}

/* =============================================================
   FAQ
   ============================================================= */
.faq {
  padding: clamp(80px, 10vw, 140px) 0;
  border-bottom: 1px solid var(--rule);
}
.faq__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 52px);
  font-weight: 500; letter-spacing: -0.025em;
  line-height: 1; margin: 0 0 clamp(40px, 5vw, 64px);
}
.faq__list {
  border-top: 1px solid var(--rule);
}
.faq__list details {
  border-bottom: 1px solid var(--rule);
}
.faq__list summary {
  display: grid;
  grid-template-columns: 100px 1fr 32px;
  gap: 24px; align-items: center;
  padding: 24px 8px;
  cursor: none;
  list-style: none;
  position: relative;
  transition: background 0.25s var(--t-ease);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { background: rgba(255,255,255,0.014); }
.faq__num {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; color: var(--ink-faint);
}
.faq__q {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 500; letter-spacing: -0.01em;
  color: var(--ink);
}
.faq__plus {
  font-family: var(--font-mono); font-size: 22px; font-weight: 300;
  color: var(--ink-mute);
  text-align: center;
  transition: transform 0.4s var(--t-ease), color 0.25s;
}
.faq__list details[open] .faq__plus {
  transform: rotate(45deg);
  color: var(--accent-bright);
}
.faq__a {
  padding: 0 8px 28px calc(100px + 24px);
  font-size: 15px; line-height: 1.65;
  color: var(--ink-mute);
  max-width: 78ch;
  animation: faqOpen 0.5s var(--t-ease);
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 600px) {
  .faq__list summary { grid-template-columns: 70px 1fr 28px; gap: 12px; }
  .faq__a { padding-left: calc(70px + 12px); }
}

/* =============================================================
   CTA
   ============================================================= */
.cta {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
  left: 50%; top: 50%;
  width: 1200px; height: 1200px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, var(--accent-glow), transparent 60%);
  opacity: 0.5;
}
.cta__inner {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 880px; margin: 0 auto;
}
.cta__eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-block;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--accent-bright);
}
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6.5vw, 84px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0 0 24px;
  text-wrap: balance;
}
.cta__sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-mute);
  max-width: 56ch;
  margin: 0 auto clamp(40px, 5vw, 56px);
  line-height: 1.55;
  text-wrap: pretty;
}
.cta__panels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.cta__panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: 32px 28px;
  text-align: left;
  background: var(--bg-elev);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  min-height: 260px;
  transition: all 0.4s var(--t-ease);
  position: relative; overflow: hidden;
}
.cta__panel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent-glow), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--t-ease);
  pointer-events: none;
}
.cta__panel:hover { border-color: var(--ink); transform: translateY(-3px); }
.cta__panel:hover::after { opacity: 0.6; }
.cta__panel--primary {
  background: var(--ink); color: var(--bg);
  border-color: var(--ink);
}
.cta__panel--primary:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.cta__panel-eyebrow {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.6;
}
.cta__panel-main {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.cta__panel-foot {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  opacity: 0.85;
  padding-top: 16px;
  border-top: 1px solid currentColor;
  border-color: currentColor;
  border-color: rgba(255,255,255,0.18);
}
.cta__panel--primary .cta__panel-foot { border-color: rgba(2,6,23,0.22); }

@media (max-width: 720px) {
  .cta__panels { grid-template-columns: 1fr; }
}

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--rule);
  padding: 60px 0 32px;
  font-size: 14px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule);
}
.footer__brand {
  display: flex; flex-direction: column; gap: 14px;
}
.footer__name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 24px;
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.footer__legal {
  font-family: var(--font-mono); font-size: 12px;
  line-height: 1.7;
  color: var(--ink-mute); margin: 0;
}
.footer__head {
  display: block;
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--rule);
}
.footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.footer__col a {
  color: var(--ink-mute);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--ink); }

.footer__base {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.05em;
}
.footer__bait { font-style: italic; }

@media (max-width: 720px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__base { flex-direction: column; gap: 10px; align-items: flex-start; }
}

/* =============================================================
   LEGAL PAGES
   ============================================================= */
.legal {
  padding: clamp(60px, 8vw, 120px) 0;
  max-width: 760px;
}
.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 500; letter-spacing: -0.03em;
  line-height: 1; margin: 0 0 32px;
}
.legal h2 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}
.legal h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-mute);
  margin: 28px 0 8px;
  font-weight: 500;
}
.legal p, .legal ul li {
  font-size: 14.5px; line-height: 1.7;
  color: var(--ink-mute); margin: 0 0 12px;
  text-wrap: pretty;
}
.legal a { color: var(--accent-bright); text-decoration: underline; text-underline-offset: 3px; }
.legal ul { margin: 0 0 16px; padding-left: 20px; list-style: disc; }
.legal ul li { padding-left: 6px; }
.legal__back {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 32px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-mute);
}
.legal__back:hover { color: var(--ink); }

/* =============================================================
   JOURNEY (Stepper + Panels)
   ============================================================= */

.journey {
  padding: clamp(80px, 10vw, 140px) 0;
  border-bottom: 1px solid var(--rule);
}
.journey__head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.journey__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 60px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
}
.journey__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--accent-bright);
}
.journey__sub {
  margin: 0;
  font-size: 16px;
  color: var(--ink-mute);
  max-width: 42ch;
  text-wrap: pretty;
}
@media (max-width: 760px) {
  .journey__head { grid-template-columns: 1fr; align-items: start; }
}

/* ---- STEPPER ---- */
.stepper {
  position: relative;
  --step-progress: 50%; /* 0/4 .. 4/4 */
}
.stepper__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
  z-index: 2;
}
.stepper__list > li { margin: 0; padding: 0; }

.step {
  --step-bg: var(--bg-elev);
  --step-bd: var(--rule-strong);
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 20px 22px 22px;
  text-align: left;
  background: var(--step-bg);
  border: 1px solid var(--step-bd);
  border-radius: var(--radius);
  cursor: none;
  transition: transform 0.35s var(--t-ease),
              border-color 0.3s var(--t-ease),
              background 0.4s var(--t-ease),
              box-shadow 0.45s var(--t-ease);
  position: relative;
  overflow: hidden;
}
.step::before {
  /* corner blueprint marker */
  content: "";
  position: absolute;
  top: 8px; right: 8px;
  width: 8px; height: 8px;
  border-top: 1px solid var(--ink-faint);
  border-right: 1px solid var(--ink-faint);
  opacity: 0.5;
  transition: opacity 0.3s, border-color 0.3s;
}
.step:hover {
  --step-bd: var(--ink-mute);
  transform: translateY(-2px);
}
.step:hover::before { opacity: 1; }

.step__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent-bright);
  background: rgba(29, 78, 216, 0.1);
  border: 1px solid rgba(29, 78, 216, 0.3);
  padding: 3px 7px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  width: max-content;
  font-weight: 600;
  transition: all 0.35s var(--t-ease);
}
.step__week {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 2px;
}
.step__name {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.step__price {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--ink-mute);
  margin-top: 2px;
  font-feature-settings: 'tnum';
}

/* ACTIVE STATE */
.step.is-active {
  --step-bg: linear-gradient(180deg, rgba(29, 78, 216, 0.13), var(--bg-elev) 70%);
  --step-bd: var(--accent-bright);
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px var(--accent-bright),
    0 24px 60px -28px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.step.is-active::before {
  border-color: var(--accent-bright);
  opacity: 1;
}
.step.is-active .step__index {
  background: var(--accent-bright);
  color: var(--bg);
  border-color: var(--accent-bright);
}
.step.is-active .step__price {
  color: var(--ink);
  font-weight: 600;
}
.step.is-active .step__week {
  color: var(--accent-bright);
}

@media (max-width: 880px) {
  .stepper__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .stepper__list { grid-template-columns: 1fr; }
}

/* ---- PROGRESS LINE between stepper and panels ---- */
.stepper__progress {
  position: relative;
  height: 1px;
  margin: 28px 0 0;
  background: var(--rule);
  overflow: hidden;
}
.stepper__progress-bar {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: var(--step-progress, 50%);
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  box-shadow: 0 0 14px var(--accent-glow);
  transition: width 0.7s var(--t-ease);
}

/* ---- PANELS (stacked grid, animated swap) ---- */
.step-panels {
  display: grid;
  margin-top: 36px;
  position: relative;
  transition: height 0.55s var(--t-ease);
}
.step-panel {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-elev-2));
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  align-content: start;

  /* Animation state */
  opacity: 0;
  transform: translateY(16px) scale(0.99);
  pointer-events: none;
  filter: blur(2px);
  transition: opacity 0.55s var(--t-ease),
              transform 0.6s var(--t-ease),
              filter 0.5s var(--t-ease);
  z-index: 1;
}
.step-panel.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  filter: blur(0);
  z-index: 2;
}

/* Stagger inner reveals when active */
.step-panel.is-active .step-panel__head,
.step-panel.is-active .step-panel__lead,
.step-panel.is-active .step-panel__bullets li,
.step-panel.is-active .retainer,
.step-panel.is-active .step-panel__foot {
  animation: panelStagger 0.7s var(--t-ease) both;
}
.step-panel.is-active .step-panel__head { animation-delay: 0.05s; }
.step-panel.is-active .step-panel__lead { animation-delay: 0.15s; }
.step-panel.is-active .step-panel__bullets li:nth-child(1) { animation-delay: 0.22s; }
.step-panel.is-active .step-panel__bullets li:nth-child(2) { animation-delay: 0.30s; }
.step-panel.is-active .step-panel__bullets li:nth-child(3) { animation-delay: 0.38s; }
.step-panel.is-active .step-panel__bullets li:nth-child(4) { animation-delay: 0.46s; }
.step-panel.is-active .retainer { animation-delay: 0.25s; }
.step-panel.is-active .step-panel__foot { animation-delay: 0.50s; }
@keyframes panelStagger {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.step-panel__head {
  display: contents;
}
.step-panel__index {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--bg);
  background: var(--accent-bright);
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  align-self: start;
  position: relative;
}
.step-panel__index::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px dashed var(--accent-bright);
  border-radius: 8px;
  opacity: 0.4;
  pointer-events: none;
}
.step-panel__title h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.step-panel__pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.4);
  padding: 4px 8px;
  border-radius: var(--radius);
}
.step-panel__price-line {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.step-panel__price-line .num {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.step-panel__price-line .unit {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.step-panel__lead {
  grid-column: 2;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--ink-mute);
  margin: 18px 0 22px;
  max-width: 65ch;
  text-wrap: pretty;
}
.step-panel__bullets {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 28px;
  margin: 0 0 24px;
}
.step-panel__bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
}
.step-panel__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 1px;
  background: var(--accent-bright);
}
.step-panel .retainer {
  grid-column: 2;
  margin: 0 0 22px;
}
.step-panel__foot {
  grid-column: 2;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px dashed var(--rule);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-mute);
}

@media (max-width: 720px) {
  .step-panel { grid-template-columns: 50px 1fr; padding: 24px 20px; }
  .step-panel__index { width: 40px; height: 40px; font-size: 13px; }
  .step-panel__lead, .step-panel__bullets, .step-panel .retainer, .step-panel__foot { grid-column: 1 / -1; }
  .step-panel__bullets { grid-template-columns: 1fr; }
}

.journey__note {
  margin-top: 28px;
  font-size: 14px;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 72ch;
  line-height: 1.55;
}

/* =============================================================
   POINTER-AWARE GLOW (Mouse-Following Light)
   ============================================================= */

.tier, .flow__node, .cta__panel, .btn--primary, .specsheet, .proof__card, .warranty__inner {
  --mx: 50%;
  --my: 50%;
  position: relative;
}

.tier::before,
.flow__node::before,
.cta__panel::before,
.proof__card::before,
.warranty__inner::after,
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--mx) var(--my),
    rgba(59, 130, 246, 0.18),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.4s var(--t-ease);
  pointer-events: none;
  z-index: 0;
}

.tier:hover::before,
.flow__node:hover::before,
.cta__panel:hover::before,
.proof__card:hover::before,
.warranty__inner:hover::after,
.btn--primary:hover::after {
  opacity: 1;
}

.tier > *, .flow__node > *, .cta__panel > *, .proof__card > * {
  position: relative; z-index: 1;
}

/* Make sure existing ::before on .cta__panel still works alongside ::after */
.cta__panel::after { z-index: 0; }
.cta__panel:hover::after { opacity: 1; }
.cta__panel--primary::before {
  background: radial-gradient(
    600px circle at var(--mx) var(--my),
    rgba(59, 130, 246, 0.3),
    transparent 40%
  );
}

/* Primary button glow uses different color since bg is white */
.btn--primary::after {
  background: radial-gradient(
    400px circle at var(--mx) var(--my),
    rgba(29, 78, 216, 0.35),
    transparent 50%
  );
  z-index: 0;
}
.btn--primary > * { position: relative; z-index: 1; }

/* =============================================================
   ADDITIONAL ANIMATIONS
   ============================================================= */

/* 1) Title word stagger via CSS */
.hero__title .line {
  perspective: 600px;
}
.hero__title .line > span,
.hero__title .line > em {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s var(--t-ease);
  transition-delay: var(--word-delay, 0s);
}
.hero__title.is-in .line > span,
.hero__title.is-in .line > em {
  transform: translateY(0);
}
.hero__title.is-in .line:nth-child(1) > * { --word-delay: 0.05s; }
.hero__title.is-in .line:nth-child(2) > span { --word-delay: 0.18s; }
.hero__title.is-in .line:nth-child(2) > em { --word-delay: 0.32s; }
.hero__title.is-in .line:nth-child(3) > * { --word-delay: 0.48s; }

/* 2) Italic accent on em — solide Farbe.
   Vormals animierter Gradient via background-clip:text. Auf iOS-Safari
   unzuverlaessig: Box statt Glyphen gerendert -> blauer Balken, Text unsichtbar. */
.hero__title em,
.services__title em,
.flow__title em,
.proof__title em {
  color: var(--accent-bright);
  -webkit-text-fill-color: var(--accent-bright);
}

/* 3) Section-index slide-in */
.section-index {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.7s var(--t-ease), transform 0.7s var(--t-ease);
}
.section-index.is-in {
  opacity: 1;
  transform: translateX(0);
}
.section-index__bar {
  width: 0;
  transition: width 1.2s var(--t-ease) 0.2s;
}
.section-index.is-in .section-index__bar { width: 56px; }

/* 4) Tier hover lift + shadow */
.tier {
  transition: transform 0.4s var(--t-ease), background 0.3s var(--t-ease);
}
.tier:hover {
  transform: translateY(-2px);
}

/* 5) Scroll-driven section borders pulse */
.section-index__num {
  position: relative;
}
.section-index.is-in .section-index__num::after {
  content: "";
  position: absolute;
  left: -3px; right: -3px; top: -2px; bottom: -2px;
  border: 1px solid var(--accent-bright);
  border-radius: 2px;
  opacity: 0;
  animation: indexPulse 1.4s ease-out 0.4s 1;
}
@keyframes indexPulse {
  0% { opacity: 0; transform: scale(1); }
  40% { opacity: 1; transform: scale(1.15); }
  100% { opacity: 0; transform: scale(1.6); }
}

/* 6) Tier number rotates subtly on hover */
.tier__num {
  transition: transform 0.5s var(--t-ease), background 0.3s;
}
.tier:hover .tier__num {
  background: var(--accent);
  transform: rotate(-4deg) scale(1.05);
}

/* 7) Flow node subtle bob */
@keyframes nodeBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.flow__node--accent {
  animation: nodeBob 3.2s ease-in-out infinite;
}

/* 8) Ripple effect for primary buttons */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(2, 6, 23, 0.3);
  pointer-events: none;
  animation: ripple-anim 0.7s ease-out;
  transform: translate(-50%, -50%);
  z-index: 2;
}
@keyframes ripple-anim {
  from { width: 0; height: 0; opacity: 1; }
  to { width: 600px; height: 600px; opacity: 0; }
}

/* 9) Number counter — subtle font weight pulse during count */
[data-counter] {
  transition: transform 0.3s ease;
}
[data-counter].is-counting {
  animation: countPulse 0.6s ease-in-out infinite;
}
@keyframes countPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* 10) Ambient grid drift in hero */
.hero__grid span {
  animation: gridFade 6s ease-in-out infinite;
}
.hero__grid span:nth-child(1) { animation-delay: 0s; }
.hero__grid span:nth-child(2) { animation-delay: 0.4s; }
.hero__grid span:nth-child(3) { animation-delay: 0.8s; }
.hero__grid span:nth-child(4) { animation-delay: 1.2s; }
.hero__grid span:nth-child(5) { animation-delay: 1.6s; }
.hero__grid span:nth-child(6) { animation-delay: 2.0s; }
.hero__grid span:nth-child(7) { animation-delay: 2.4s; }
.hero__grid span:nth-child(8) { animation-delay: 2.8s; }
@keyframes gridFade {
  0%, 100% { border-color: var(--rule); }
  50% { border-color: var(--rule-strong); }
}

/* 11) Accent dot for hero badge / kbd--live - already has pulse, intensify */
.kbd--live .dot { animation: pulse 1.8s ease-in-out infinite; }

/* 12) Topbar brand hover dim */
.brand { transition: opacity 0.3s; }
.brand:hover { opacity: 0.75; }

/* 13) Magnetic hint on data-magnetic */
[data-magnetic] {
  transition: transform 0.5s var(--t-ease);
  will-change: transform;
}

/* =============================================================
   MOBILE REFINEMENTS (640px and below)
   ============================================================= */

@media (max-width: 640px) {
  :root {
    --pad: 18px;
  }

  body { font-size: 15px; }

  /* ---- Topbar tighter ---- */
  .topbar__inner { padding: 11px var(--pad); gap: 12px; }
  .brand__name { font-size: 16px; }
  .topbar__cta { padding: 7px 11px; font-size: 10.5px; }

  /* ---- Hero compact ---- */
  .hero { padding: 36px 0 56px; }
  .hero__title--big {
    font-size: clamp(38px, 12vw, 52px);
    line-height: 0.95;
    letter-spacing: -0.025em;
  }
  .hero__title .line--strike > span {
    font-size: 0.5em;
    margin-top: 16px;
    padding-left: 22px;
  }
  .hero__lead {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 24px;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero__actions .btn {
    justify-content: center;
    padding: 13px 18px;
  }
  /* Disable magnetic on mobile */
  [data-magnetic] { transform: none !important; }

  /* Hero proof bar — 2x2 grid, no vertical separators */
  .hero__proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
    row-gap: 16px;
    padding: 20px 0 0;
    border-top: 1px dashed var(--rule-strong);
  }
  .hero__proof li {
    border-right: none;
    padding: 0;
    font-size: 11px;
  }
  .hero__proof li strong {
    font-size: 14.5px;
    margin-bottom: 1px;
  }

  /* ---- Section padding compact ---- */
  .manifest, .journey, .proof, .warranty, .faq, .cta {
    padding-block: 64px;
  }

  /* ---- Section index compact ---- */
  .section-index { margin-bottom: 28px; gap: 10px; }
  .section-index__bar { width: 32px; }

  /* ---- Manifest ---- */
  .manifest__title { font-size: clamp(24px, 7vw, 32px); line-height: 1.1; }
  .manifest__list li { padding: 22px 0; gap: 16px; }
  .manifest__list p { font-size: 14.5px; line-height: 1.55; }
  .manifest__list strong { margin-bottom: 4px; }

  /* ---- Journey: Stepper 2-col on mobile (NOT 1-col, too tall) ---- */
  .stepper__list {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .step {
    padding: 14px 13px 15px;
    gap: 4px;
    border-radius: 4px;
  }
  .step__index {
    font-size: 10px;
    padding: 2px 6px;
  }
  .step__week {
    font-size: 9.5px;
    letter-spacing: 0.06em;
  }
  .step__name {
    font-size: 15.5px;
    margin-top: 2px;
  }
  .step__price {
    font-size: 11px;
    margin-top: 0;
  }
  .step::before { width: 6px; height: 6px; top: 6px; right: 6px; }
  .step .tag--mini { font-size: 8px; padding: 1px 4px; }

  /* Step panel compact */
  .step-panel {
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 22px 18px;
  }
  .step-panel__index {
    width: 36px;
    height: 36px;
    font-size: 12.5px;
  }
  .step-panel__index::after { inset: -4px; border-radius: 6px; }
  .step-panel__title h3 { font-size: 22px; gap: 8px; }
  .step-panel__price-line .num { font-size: 18px; }
  .step-panel__price-line .unit { font-size: 10.5px; }
  .step-panel__lead { font-size: 14.5px; margin: 14px 0 18px; grid-column: 1 / -1; }
  .step-panel__bullets { grid-column: 1 / -1; gap: 8px; }
  .step-panel__bullets li { font-size: 13.5px; padding-left: 18px; }
  .step-panel__bullets li::before { width: 10px; }
  .step-panel .retainer { grid-column: 1 / -1; font-size: 12px; }
  .step-panel .retainer th, .step-panel .retainer td { padding: 9px 8px; }
  .step-panel__foot { grid-column: 1 / -1; font-size: 12.5px; gap: 10px; }

  .journey__title { font-size: clamp(24px, 7vw, 34px); line-height: 1.1; }
  .journey__sub { font-size: 14.5px; }
  .journey__head { gap: 14px; margin-bottom: 28px; }
  .journey__note { font-size: 13px; margin-top: 22px; }

  /* ---- Services title (legacy classes still in some renders) ---- */
  .services__title { font-size: clamp(24px, 7vw, 36px); line-height: 1.05; }

  /* ---- Proof ---- */
  .proof__title { font-size: clamp(26px, 8vw, 36px); line-height: 1.05; }
  .proof__copy p { font-size: 15px; line-height: 1.55; margin-bottom: 14px; }
  .proof__cred { margin-top: 20px; gap: 10px; }
  .proof__cred li { font-size: 13px; }
  .proof__card { padding: 22px 18px; }
  .proof__quote p { font-size: 20px; line-height: 1.3; }
  .proof__facts > div { grid-template-columns: 90px 1fr; gap: 12px; }
  .proof__facts dd { font-size: 13.5px; }

  /* ---- Warranty ---- */
  .warranty__inner { padding: 22px 18px; }
  .warranty__title { font-size: clamp(18px, 5.5vw, 24px); line-height: 1.2; }
  .warranty__body { font-size: 13.5px; line-height: 1.5; }
  .warranty__mark svg { width: 40px; height: 40px; }

  /* ---- FAQ ---- */
  .faq__title { font-size: clamp(24px, 7vw, 36px); line-height: 1.05; }
  .faq__list summary {
    grid-template-columns: 50px 1fr 22px;
    gap: 10px;
    padding: 18px 4px;
    /* min-height for touch targets (>44px) */
    min-height: 60px;
  }
  .faq__num { font-size: 10px; letter-spacing: 0.08em; }
  .faq__q { font-size: 14.5px; line-height: 1.35; }
  .faq__plus { font-size: 18px; }
  .faq__a {
    padding: 0 4px 22px 60px;
    font-size: 13.5px;
    line-height: 1.55;
  }

  /* ---- CTA ---- */
  .cta { padding-block: 64px; }
  .cta__title { font-size: clamp(30px, 9vw, 44px); line-height: 0.98; }
  .cta__sub { font-size: 14.5px; line-height: 1.5; margin-bottom: 32px; }
  .cta__panels { gap: 12px; }
  .cta__panel {
    padding: 22px 20px;
    min-height: 180px;
    gap: 12px;
  }
  .cta__panel-main { font-size: 22px; }
  .cta__panel-eyebrow { font-size: 10px; }
  .cta__panel-foot { padding-top: 12px; font-size: 10.5px; }

  /* ---- Footer ---- */
  .footer { padding: 44px 0 28px; }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-bottom: 28px;
  }
  .footer__brand { grid-column: 1 / -1; gap: 10px; }
  .footer__name { font-size: 22px; }
  .footer__legal { font-size: 11.5px; }
  .footer__head { font-size: 10px; margin-bottom: 12px; }
  .footer__col ul { gap: 7px; }
  .footer__col a, .footer__col li { font-size: 13.5px; }
  .footer__base {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    padding-top: 18px;
    font-size: 10.5px;
  }
  .footer__bait { font-size: 11px; }

  /* ---- Container padding override on tightest sizes ---- */
  .container { padding-inline: var(--pad); }
}

/* Even tighter on extra small (<400px iPhone SE / mini) */
@media (max-width: 380px) {
  :root { --pad: 16px; }
  .hero__title--big { font-size: 36px; }
  .step { padding: 12px 11px 13px; }
  .step__name { font-size: 14.5px; }
  .step__price { font-size: 10.5px; }
  .topbar__cta span { display: none; }
  .topbar__cta { padding: 7px 9px; }
}

/* Reduce-motion safety */
@media (prefers-reduced-motion: reduce) {
  .flow__node--accent { animation: none; }
  .hero__grid span { animation: none; }
}
