/* ═══════════════════════════════════════════════════════════════
   Ludowork marketing site
   Brand tokens mirror app/lib/design_system/tokens.dart and
   docs/Ludowork_Design_Tokens.md §1A (dark glassmorphism, locked).
   Radius system: cards 16px · pills 999px · inputs 12px. One system, no mixing.
   No drop shadows anywhere (brand rule). Depth comes from edge light + frost.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --void: #0b0b0e;
  --void-2: #16141c;
  --ink: #f4f2f8;
  --ink-2: rgba(255, 255, 255, 0.66);
  /* 0.48 not 0.44: at 0.44 the tertiary text measured 4.36:1 on the void,
     just under the WCAG AA 4.5 floor for small text. 0.48 measures 4.99:1. */
  --ink-3: rgba(255, 255, 255, 0.48);

  --purple: #a78bfa;
  --violet: #7c3aed;
  --magenta: #d946ef;
  --grad-a: #8828c4;
  --grad-b: #4d1282;

  --edge: rgba(255, 255, 255, 0.12);
  --edge-strong: rgba(255, 255, 255, 0.2);
  --glass: rgba(15, 14, 21, 0.55);

  /* skill categories, straight from the app */
  --technical: #2dd4bf;
  --cognitive: #60a5fa;
  --people: #4ade80;
  --leadership: #fbbf24;
  --execution: #f472b6;

  --r-card: 16px;
  --r-pill: 999px;
  --r-input: 12px;

  --shell: 1240px;

  /* Motion. Custom curves because the built-in CSS easings are too weak to feel
     intentional. ease-out for anything entering, plain ease for hover/colour. */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--void);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
.display {
  font-family: Anybody, "Inter", sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

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

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

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── keyboard focus ──
   :focus-visible only, so pointer users never see a ring but keyboard users
   always can. Purple reads clearly against the void and matches the accent. */
:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn:focus-visible {
  outline-offset: 4px;
}

/* skip link: first tab stop, hidden until focused */
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 60;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--purple);
  color: #14121b;
  font-weight: 600;
  font-size: 14px;
  transition: top 160ms var(--ease-out);
}

.skip:focus-visible {
  top: 14px;
}

/* ── the aurora field: pure black void with small, intense violet pools ──
   Mirrors LudoBackdropPainter (voidDepth 0, aurora 1.0, magenta .35, drift 4). */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(135deg, #050507 0%, #0d0c12 100%);
}

.pool {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.pool-1 {
  width: 46vw;
  height: 46vw;
  top: -14vw;
  right: -8vw;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.62) 0%, rgba(124, 58, 237, 0) 70%);
  animation: drift-a 26s ease-in-out infinite;
}

.pool-2 {
  width: 38vw;
  height: 38vw;
  bottom: -12vw;
  left: -10vw;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.42) 0%, rgba(217, 70, 239, 0) 70%);
  animation: drift-b 32s ease-in-out infinite;
}

.pool-3 {
  width: 30vw;
  height: 30vw;
  top: 42%;
  left: 44%;
  background: radial-gradient(circle, rgba(76, 29, 149, 0.7) 0%, rgba(76, 29, 149, 0) 70%);
  animation: drift-c 38s ease-in-out infinite;
}

@keyframes drift-a {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-3vw, 4vw); }
}
@keyframes drift-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(4vw, -3vw); }
}
@keyframes drift-c {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-4vw, -2vw); }
}

.page {
  position: relative;
  z-index: 1;
}

/* ── glass surface ── */
.glass {
  background: var(--glass);
  border: 1px solid var(--edge);
  border-radius: var(--r-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (prefers-reduced-transparency: reduce) {
  .glass {
    background: #14121b;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ── navigation: one line, 68px ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(8, 8, 11, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav .shell {
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Anybody, sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.mark {
  width: 30px;
  height: 30px;
  border-radius: 22%;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  position: relative;
  flex-shrink: 0;
}

.mark i {
  position: absolute;
  background: #fff;
  border-radius: 1px;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14.5px;
  color: var(--ink-2);
}

.nav-links a {
  transition: color 180ms ease;
}

/* Hover is gated: on touch devices a tap fires :hover and the state sticks. */
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover {
    color: var(--ink);
  }
}

/* ── buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border-radius: var(--r-pill);
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  /* 140ms press feedback: fast enough to read as the button hearing the click. */
  transition: transform 140ms var(--ease-out), background 180ms ease, border-color 180ms ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: #fff;
}

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

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: linear-gradient(135deg, #9633d4, #5a1799);
  }

  .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: var(--edge-strong);
  }
}

/* 11px vertical keeps the nav CTA at a 44px touch target; at 9px it measured
   42px, under the minimum for a thumb. */
.btn-sm {
  padding: 11px 18px;
  font-size: 14px;
}

/* ── shared section rhythm ── */
section {
  padding: 112px 0;
}

.eyebrow {
  font-family: Anybody, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 18px;
}

.h2 {
  font-size: clamp(30px, 4.2vw, 46px);
}

.lede {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 62ch;
  margin-top: 18px;
}

/* ── HERO: asymmetric split ── */
.hero {
  min-height: calc(100dvh - 68px);
  display: flex;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 72px;
}

.hero .shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  letter-spacing: -0.035em;
}

/* Solid, not a gradient. Gradient text on a hero headline is decorative rather
   than meaningful and reads as an AI tell; a single accent colour emphasises
   the same two words with more conviction. */
.hero h1 .lit {
  color: var(--purple);
}

.hero p {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 46ch;
  margin-top: 22px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* ── the live tree preview ── */
.tree-frame {
  position: relative;
  border: 1px solid var(--edge);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(10, 9, 14, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tree-frame svg {
  width: 100%;
  height: auto;
}

.bead {
  transform-box: fill-box;
  transform-origin: center;
  animation: bead-pulse 5.5s ease-in-out infinite;
}

.bead:nth-of-type(2n) { animation-delay: -1.6s; }
.bead:nth-of-type(3n) { animation-delay: -3.1s; }

@keyframes bead-pulse {
  0%, 100% { opacity: 0.82; }
  50% { opacity: 1; }
}

.edge-line {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: draw 1.6s var(--ease) forwards;
}

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

/* ── PROBLEM: full width editorial statement ── */
.statement {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.statement-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.statement h2 {
  font-size: clamp(28px, 4vw, 44px);
  max-width: 20ch;
  font-weight: 400;
}

.statement h2 em {
  font-style: normal;
  color: var(--purple);
}

.statement-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  padding-top: 8px;
}

.statement-cols p {
  color: var(--ink-2);
  font-size: 15.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
}

.statement-cols strong {
  display: block;
  color: var(--ink);
  font-family: Anybody, sans-serif;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 6px;
}

/* ── HOW IT WORKS: vertical stepped flow ── */
.steps {
  display: grid;
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  align-items: start;
}

.step:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.step-node {
  position: relative;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
}

.step-node .halo {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
}

.step-node .ring {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #2e2a3c, #141019);
  font-family: Anybody, sans-serif;
  font-weight: 700;
  font-size: 17px;
  border: 2.5px solid;
}

.step h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.step p {
  color: var(--ink-2);
  font-size: 15.5px;
  max-width: 58ch;
}

/* ── LADDER: the credibility spine ── */
.ladder {
  margin-top: 52px;
  display: grid;
  gap: 10px;
}

.rung {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 16px 22px;
  border-radius: var(--r-card);
  border: 1px solid var(--edge);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 200ms ease, background 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .rung:hover {
    border-color: var(--edge-strong);
    background: rgba(255, 255, 255, 0.045);
  }
}

.rung.live {
  border-color: rgba(167, 139, 250, 0.5);
  background: rgba(124, 58, 237, 0.11);
}

.rung-name {
  font-family: Anybody, sans-serif;
  font-weight: 500;
  font-size: 16px;
}

.rung p {
  color: var(--ink-2);
  font-size: 14.5px;
}

.tag {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--edge);
  color: var(--ink-3);
  white-space: nowrap;
}

.tag.on {
  border-color: rgba(167, 139, 250, 0.55);
  color: var(--purple);
}

/* ── SPLIT feature blocks ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split.flip .split-copy {
  order: 2;
}

.feature-list {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.feature-list li {
  list-style: none;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  color: var(--ink-2);
  font-size: 15.5px;
}

/* Icons are inlined Phosphor SVGs (authentic paths, no webfont): loading a
   1000-glyph icon font for 7 icons cost a render-blocking request for nothing. */
.feature-list .icon {
  width: 19px;
  height: 19px;
  color: var(--purple);
  margin-top: 2px;
}

.feature-list b {
  color: var(--ink);
  font-weight: 600;
}

/* skill card: a real preview of the app's skill sheet */
.skill-card {
  padding: 28px;
}

.skill-head {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 14px;
  align-items: center;
}

.skill-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.skill-name {
  display: block;
  font-family: Anybody, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

.skill-cat {
  display: block;
  font-size: 13px;
  color: var(--ink-3);
}

.rank-badge {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  color: #39a0ed;
  border: 1px solid rgba(57, 160, 237, 0.45);
  background: rgba(57, 160, 237, 0.12);
}

.xp-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.xp-track {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.xp-fill {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--purple), var(--grad-a));
}

.xp-num {
  font-family: Anybody, sans-serif;
  font-size: 14px;
  color: var(--ink-2);
}

.skill-meta {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 6px;
}

.skill-block {
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
}

.skill-label {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.src {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 9px 0;
}

.src .icon {
  width: 18px;
  height: 18px;
  color: var(--ink-3);
}

.src b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
}

.src .skill-meta {
  margin-top: 1px;
}

.src-xp {
  font-family: Anybody, sans-serif;
  font-size: 13.5px;
  color: var(--purple);
}

/* recruiter search preview */
.search-demo {
  padding: 26px;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.chip {
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--edge);
  background: rgba(255, 255, 255, 0.04);
}

.chip.on {
  border-color: rgba(167, 139, 250, 0.5);
  background: rgba(124, 58, 237, 0.16);
  color: var(--purple);
}

.result {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: Anybody, sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
}

.result-name {
  font-size: 15px;
  font-weight: 600;
}

.result-meta {
  font-size: 13px;
  color: var(--ink-3);
}

.score {
  font-family: Anybody, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--purple);
}

/* ── PRICING: two honest columns ── */
.deal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 52px;
}

.deal-card {
  padding: 36px;
}

.deal-card.accent {
  border-color: rgba(167, 139, 250, 0.35);
  background: rgba(124, 58, 237, 0.09);
}

.deal-price {
  font-family: Anybody, sans-serif;
  font-size: 46px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 14px 0 6px;
}

.deal-card h3 {
  font-size: 19px;
}

.deal-card p {
  color: var(--ink-2);
  font-size: 15.5px;
  max-width: 40ch;
}

/* ── FINAL CTA ── */
.finale {
  text-align: center;
  padding: 128px 0;
}

.finale h2 {
  font-size: clamp(34px, 5vw, 58px);
  max-width: 16ch;
  margin: 0 auto;
}

.finale p {
  color: var(--ink-2);
  margin: 20px auto 34px;
  max-width: 46ch;
  font-size: 17px;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 44px 0;
  font-size: 14px;
  color: var(--ink-3);
}

footer .shell {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

footer nav {
  margin-left: auto;
  display: flex;
  gap: 24px;
}

footer a:hover {
  color: var(--ink);
}

/* ── early access form page ── */
.form-page {
  min-height: calc(100dvh - 68px - 108px);
  display: flex;
  align-items: center;
  padding: 72px 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.form-intro h1 {
  font-size: clamp(34px, 4.4vw, 50px);
}

.form-card {
  padding: 36px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.req,
.opt {
  font-weight: 400;
  font-size: 12px;
  color: var(--ink-3);
  margin-left: 4px;
}

.field input,
.field textarea {
  width: 100%;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--edge);
  border-radius: var(--r-input);
  padding: 12px 14px;
  transition: border-color 180ms ease, background 180ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.5;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-3);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: rgba(0, 0, 0, 0.4);
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

.field input[aria-invalid="true"] {
  border-color: var(--danger);
}

.help {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 7px;
}

.err {
  font-size: 12.5px;
  color: var(--danger);
  margin-top: 7px;
}

.form-err {
  text-align: center;
  margin-top: 14px;
}

/* honeypot: off-screen rather than display:none, which some bots detect */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#ea-submit:disabled {
  opacity: 0.65;
  cursor: progress;
}

.form-done {
  text-align: center;
  padding: 18px 4px;
}

.done-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  color: var(--success);
}

.form-done h2 {
  font-size: 24px;
}

.form-done p {
  color: var(--ink-2);
  font-size: 15px;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-page {
    padding: 48px 0;
  }

  .form-card {
    padding: 28px;
  }
}

/* ── scroll reveal ──
   Transitions, not keyframes, so a fast scroll can retarget mid-animation
   instead of restarting from zero. Marketing pace, so slightly past the
   300ms UI ceiling, but the travel is short so it still reads as crisp. */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Grouped children cascade instead of landing as one slab.
   50ms apart: enough to read as a sequence, short enough to never feel slow. */
.stagger > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 460ms var(--ease-out), transform 460ms var(--ease-out);
}

.in.stagger > *,
.in .stagger > * {
  opacity: 1;
  transform: none;
}

.stagger > *:nth-child(1) { transition-delay: 40ms; }
.stagger > *:nth-child(2) { transition-delay: 90ms; }
.stagger > *:nth-child(3) { transition-delay: 140ms; }
.stagger > *:nth-child(4) { transition-delay: 190ms; }
.stagger > *:nth-child(5) { transition-delay: 240ms; }
.stagger > *:nth-child(6) { transition-delay: 290ms; }

/* ── responsive ── */
@media (max-width: 980px) {
  .hero .shell,
  .split,
  .statement-cols,
  .deal {
    grid-template-columns: 1fr;
  }

  .split {
    gap: 40px;
  }

  .split.flip .split-copy {
    order: 0;
  }

  .hero {
    padding-top: 56px;
  }

  .hero .shell {
    gap: 44px;
  }

  section {
    padding: 84px 0;
  }

  .nav-links {
    display: none;
  }

  .rung {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rung .tag {
    justify-self: start;
  }

  .step {
    grid-template-columns: 60px 1fr;
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .shell {
    padding: 0 18px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .deal-card {
    padding: 28px;
  }
}

/* ── reduced motion ──
   Gentler, not zero. Movement and looping go away; opacity and colour
   transitions stay because they aid comprehension rather than cause discomfort. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .pool,
  .bead {
    animation: none;
  }

  .edge-line {
    animation: none;
    stroke-dashoffset: 0;
  }

  .btn:active {
    transform: none;
  }

  /* keep the fade, drop the travel */
  .reveal,
  .stagger > * {
    transform: none;
    transition: opacity 300ms ease;
  }
}
