/* Guide design: premium dark neutral base, the brand colour (--brand / --brand-2) does the talking. */
:root {
  --accent: var(--brand, #f5b700);
  --accent-2: var(--brand-2, #d97706);
  --accent-ink: #ffffff;
  --accent-text: var(--brand-text, var(--accent));
  --accent-soft: color-mix(in srgb, var(--accent) 13%, #141417);
  --accent-line: color-mix(in srgb, var(--accent) 38%, transparent);
  --glow: color-mix(in srgb, var(--accent) 45%, transparent);
  --fond-a: var(--fond-1, var(--accent));
  --fond-b: var(--fond-2, var(--accent-2));

  --bg: #08080a;
  --surface: #121215;
  --surface-2: #1a1a1f;
  --surface-3: #222228;
  --text: #f5f5f6;
  --muted: #a3a3ad;
  --faint: #6f6f7a;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .14);

  --ok: #34d399;
  --ok-soft: rgba(52, 211, 153, .1);
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, .09);
  --info: #60a5fa;
  --info-soft: rgba(96, 165, 250, .09);
  --tg: #2aabee;

  --radius: 22px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 20px 50px rgba(0, 0, 0, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font: 16px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--accent-text); }
img, video, iframe { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; }
button { font: inherit; color: inherit; }
strong, b { font-weight: 700; color: var(--text); }
::selection { background: var(--accent); color: var(--accent-ink); }
code, kbd {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .86em;
  background: var(--surface-3); border: 1px solid var(--border-strong); border-bottom-width: 2px;
  border-radius: 6px; padding: .05em .45em; color: var(--text);
}
.wrap { max-width: 820px; margin: 0 auto; padding-inline: clamp(14px, 3vw, 24px); position: relative; z-index: 1; }
.wrap.wide { max-width: 1160px; }

/* ---------- Animated background ---------- */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: var(--bg); }
.bg-move { position: absolute; inset: 0; opacity: var(--fond-force, 1); transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); will-change: transform; }

/* Aurora: soft brand-coloured light fields that drift and breathe (no blur filter = cheap to animate) */
.aurora { position: absolute; will-change: transform, opacity; }
.aurora.a1 {
  inset: -30% -20% auto -20%; height: 110%;
  background:
    radial-gradient(38% 42% at 25% 35%, color-mix(in srgb, var(--fond-a) 42%, transparent), transparent 70%),
    radial-gradient(30% 36% at 75% 20%, color-mix(in srgb, var(--fond-b) 32%, transparent), transparent 70%);
  animation: aurora1 11s ease-in-out infinite alternate;
}
.aurora.a2 {
  inset: auto -25% -35% -25%; height: 100%;
  background:
    radial-gradient(34% 40% at 70% 60%, color-mix(in srgb, var(--fond-a) 30%, transparent), transparent 70%),
    radial-gradient(28% 34% at 20% 75%, color-mix(in srgb, var(--fond-b) 26%, transparent), transparent 70%);
  animation: aurora2 14s ease-in-out infinite alternate;
}

/* Perspective grid scrolling slowly */
.bg .grid {
  position: absolute; left: 0; right: 0; top: -56px; height: calc(100% + 112px);
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 10%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 85% 65% at 50% 10%, #000 15%, transparent 72%);
  animation: grid-scroll 3.5s linear infinite; will-change: transform;
}

/* Diagonal light sweep */
.bg .beam {
  position: absolute; top: -40%; left: 0; width: 38%; height: 180%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--fond-a) 9%, transparent) 45%, rgba(255, 255, 255, .05) 50%, color-mix(in srgb, var(--fond-a) 9%, transparent) 55%, transparent);
  transform: translateX(-120%) rotate(18deg); animation: beam 7s ease-in-out infinite; will-change: transform;
}

/* Rising glowing particles */
.bg .dust, .bg .beam-wrap { position: absolute; inset: 0; opacity: var(--fond-force, 1); }
.bg .dust span {
  position: absolute; bottom: -12px; border-radius: 50%; background: var(--fond-a); opacity: 0;
  box-shadow: 0 0 8px 1px color-mix(in srgb, var(--fond-a) 45%, transparent); animation: rise 20s linear infinite; will-change: transform, opacity;
}

/* Vignette to keep text readable */
.bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 120% 90% at 50% 40%, transparent 40%, rgba(0, 0, 0, .55)); }

/* ---------- Header ---------- */
.topbar { position: sticky; top: 0; z-index: 30; padding-block: 12px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(8, 8, 10, .55); border-bottom: 1px solid var(--border); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; text-decoration: none; color: var(--text); min-width: 0; }
.brand img, .brand .emoji { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px var(--accent-line); }
.brand .emoji { display: grid; place-items: center; font-size: 19px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.brand span.name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.type-pill {
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  color: var(--accent-text); background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 3px 9px; border-radius: 99px;
}
.help-link {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-size: 13.5px; font-weight: 700; text-decoration: none; color: #fff;
  background: rgba(42, 171, 238, .14); border: 1px solid rgba(42, 171, 238, .35); padding: 7px 13px; border-radius: 99px;
  transition: background .2s, transform .2s var(--ease);
}
.help-link:hover { background: rgba(42, 171, 238, .25); transform: translateY(-1px); }
.help-link svg { width: 15px; height: 15px; color: var(--tg); }

/* ---------- Stepper ---------- */
.stepper { list-style: none; margin: 22px 0 20px; padding: 0; display: flex; gap: 8px; }
.stepper li { flex: 1; min-width: 0; }
.stepper button { width: 100%; border: 0; background: none; cursor: pointer; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.stepper .bar { position: relative; width: 100%; height: 5px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.stepper .bar::after { content: ""; position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: transform .6s var(--ease); }
.stepper li.past .bar::after { transform: scaleX(1); opacity: .55; }
.stepper li.current .bar::after { transform: scaleX(1); box-shadow: 0 0 12px var(--glow); background: linear-gradient(90deg, var(--accent), var(--accent-2), #fff8, var(--accent-2), var(--accent)); background-size: 250% 100%; animation: shimmer 2.8s linear infinite; }
.stepper .lbl { font-size: 12px; font-weight: 600; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; transition: color .3s; }
.stepper li.past .lbl { color: var(--muted); }
.stepper li.current .lbl { color: var(--text); }

/* ---------- Card ---------- */
.card {
  position: relative; border-radius: var(--radius); padding: 34px; margin-top: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)), var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  animation: card-in .55s var(--ease) both;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 9%, transparent), transparent 60%);
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card > * + * { margin-top: 24px; }

.step-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; color: var(--accent-text); text-transform: uppercase; letter-spacing: .1em; }
.step-kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }
.step-title { display: flex; align-items: center; gap: 16px; margin-top: 10px !important; }
.step-icon {
  flex: none; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 28px;
  background: linear-gradient(145deg, var(--accent-soft), var(--surface-2)); border: 1px solid var(--accent-line);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 15%, transparent);
  animation: pop .6s .1s var(--ease) both, bob 4s 1s ease-in-out infinite;
}
.step-title h1 { font-size: clamp(25px, 4.2vw, 33px); }
.intro { color: var(--muted); font-size: 17px; }
.badge { display: inline-block; vertical-align: middle; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: var(--ok-soft); color: var(--ok); border: 1px solid rgba(52, 211, 153, .3); }

/* ---------- Welcome ---------- */
.hero-brand { display: flex; align-items: center; gap: 16px; }
.hero-logo-wrap { position: relative; flex: none; width: 76px; height: 76px; border-radius: 50%; padding: 3px; }
.hero-logo-wrap::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from var(--angle, 0deg), var(--accent), transparent 30%, var(--accent-2) 55%, transparent 80%, var(--accent));
  animation: spin 5s linear infinite;
}
.hero-logo-wrap::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; background: var(--glow); filter: blur(22px); opacity: .45; z-index: -1; animation: pulse-glow 3.5s ease-in-out infinite; }
.hero-logo { position: relative; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--bg); border: 3px solid var(--bg); }
.hero-logo.emoji { display: grid; place-items: center; font-size: 34px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.hero-name { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.hero-name small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; }

.welcome h1 { font-size: clamp(34px, 6.5vw, 54px); letter-spacing: -.035em; }
.grad {
  background: linear-gradient(100deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 45%, #fff) 45%, var(--accent-2) 70%, var(--accent) 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: text-shine 5s ease-in-out infinite;
}
.meta { display: flex; flex-wrap: wrap; gap: 8px; }
.meta span { font-size: 13.5px; font-weight: 600; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); padding: 6px 12px; border-radius: 99px; }
.section-title { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.section-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border-strong), transparent); }

.needs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.need { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); transition: transform .3s var(--ease), border-color .3s; }
.need:hover { transform: translateY(-3px); border-color: var(--accent-line); }
.need .ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; font-size: 21px; border-radius: 12px; background: var(--surface-3); }
.need b { display: block; font-size: 15px; }
.need small { color: var(--muted); font-size: 13px; }

.methods { display: grid; grid-template-columns: 1.12fr 1fr; gap: 14px; align-items: stretch; padding-top: 10px; }
.method, .choice {
  position: relative; text-align: left; cursor: pointer; border-radius: 20px; background: var(--surface-2);
  border: 1px solid var(--border); transition: transform .35s var(--ease), border-color .3s, background .3s, box-shadow .3s;
}
.method { display: flex; flex-direction: column; gap: 11px; padding: 22px 18px 16px; }
.method:hover, .choice:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.method[aria-pressed="true"], .choice[aria-pressed="true"] {
  background: linear-gradient(160deg, var(--accent-soft), var(--surface-2) 70%); border-color: var(--accent-line);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--accent) 14%, transparent);
}
.method.featured::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: linear-gradient(90deg, var(--accent), transparent 35%, transparent 65%, var(--accent-2), var(--accent));
  background-size: 300% 100%; animation: flow 4s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.method .ribbon {
  position: absolute; top: -12px; left: 16px; z-index: 1; font-size: 11.5px; font-weight: 800; letter-spacing: .04em;
  padding: 4px 11px; border-radius: 99px; color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 6px 18px var(--glow);
}
.method .m-head { display: flex; align-items: center; gap: 10px; }
.method .m-head strong { font-size: 18px; line-height: 1.25; }
.method .m-ic { font-size: 22px; }
.method .radio, .choice .radio { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border-strong); display: grid; place-items: center; transition: border-color .3s; }
.method[aria-pressed="true"] .radio, .choice[aria-pressed="true"] .radio { border-color: var(--accent); }
.method[aria-pressed="true"] .radio::after, .choice[aria-pressed="true"] .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--glow); animation: pop .35s var(--ease) both; }
.method .d, .choice .d { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; font-weight: 600; }
.feats li { display: flex; align-items: center; gap: 9px; }
.feats li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; font-size: 11px; font-weight: 900; color: #04130c; background: var(--ok); }
.feats.neutral li::before { content: ""; width: 6px; height: 6px; margin-inline: 6.5px; background: var(--faint); }
.method .time { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--muted); }

.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 16px; }
.choice .radio { margin-top: 3px; }
.choice strong { display: block; font-size: 16.5px; margin-bottom: 3px; }
.choice .badge { margin-left: 4px; }

.path { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 4px; align-items: center; }
.path li { font-weight: 600; font-size: 13.5px; background: var(--surface-2); border: 1px solid var(--border); padding: 6px 12px; border-radius: 99px; }
.path li.sep { background: none; border: 0; padding: 0 2px; color: var(--faint); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer; text-align: center;
  padding: 14px 22px; border-radius: 16px; border: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--accent-ink);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 30%, transparent), 0 1px 0 rgba(255, 255, 255, .35) inset;
  transition: transform .25s var(--ease), box-shadow .25s, filter .2s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 16px 36px color-mix(in srgb, var(--accent) 40%, transparent), 0 1px 0 rgba(255, 255, 255, .35) inset; }
.btn:active { transform: translateY(0) scale(.99); }
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent); transform: translateX(-150%) skewX(-20deg);
}
.btn.block { width: 100%; font-size: 17px; padding: 18px 24px; }
.btn.block::after { animation: shine 4s ease-in-out infinite; }
.btn:hover::after { animation: shine .9s ease; }
.btn.light { background: var(--surface-2); color: var(--text); border: 1px solid var(--border-strong); box-shadow: none; }
.btn.light::after { display: none; }
.btn.light:hover { background: var(--surface-3); }
.btn.success { background: linear-gradient(135deg, #34d399, #10b981); color: #03140d; box-shadow: 0 10px 28px rgba(16, 185, 129, .3); }
.btn.tg { background: linear-gradient(135deg, #37bbfe, #1d93d2); color: #fff; box-shadow: 0 10px 28px rgba(42, 171, 238, .3); }
.btn svg { width: 20px; height: 20px; flex: none; }
.action { display: grid; gap: 8px; }
.action small { text-align: center; color: var(--faint); font-size: 13px; }
.text-link { background: none; border: 0; cursor: pointer; padding: 4px; font-weight: 700; font-size: 15px; color: var(--accent-text); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.text-link:hover { text-decoration-color: currentColor; }
.center { text-align: center; }

/* ---------- Numbered instructions ---------- */
.num { list-style: none; margin: 0; padding: 0; display: grid; }
.num > li { display: flex; gap: 16px; position: relative; padding-bottom: 20px; }
.num > li:last-child { padding-bottom: 0; }
.num > li:not(:last-child)::before {
  content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; border-radius: 2px;
  background: linear-gradient(var(--accent-line), var(--border));
}
.num .n {
  flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; font-size: 15px; color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 28%, transparent);
  transition: transform .3s var(--ease);
}
.num > li:hover .n { transform: scale(1.1) rotate(-6deg); }
.num .t { flex: 1; min-width: 0; padding-top: 5px; }
.num .t b { display: block; font-size: 16.5px; line-height: 1.4; }
.num .t small { display: block; color: var(--muted); font-size: 14.5px; margin-top: 3px; }
/* Highlighted instruction */
.num > li.important { margin: 4px 0 20px; padding: 14px 14px 14px 12px; border-radius: 16px; background: var(--warn-soft); border: 1px solid rgba(251, 191, 36, .45); box-shadow: 0 0 0 4px rgba(251, 191, 36, .06); }
.num > li.important::before { display: none; }
.num > li.important .n { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #1a1200; box-shadow: 0 0 0 4px rgba(251, 191, 36, .2), 0 6px 16px rgba(245, 158, 11, .35); animation: imp-pulse 2s ease-in-out infinite; }
.num > li.important .t { padding-top: 0; }
.num > li.important .t b { font-size: 17.5px; color: #fde68a; }
.num > li.important .t small { color: #e7d9b0; }
.imp-badge { display: inline-block; margin-bottom: 4px; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #1a1200; background: #fbbf24; padding: 2px 8px; border-radius: 99px; }
@keyframes imp-pulse { 50% { box-shadow: 0 0 0 8px rgba(251, 191, 36, 0), 0 6px 16px rgba(245, 158, 11, .35); } }

.sub-h { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.sub-h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border-strong), transparent); }

/* ---------- Notes / help ---------- */
.note { display: flex; gap: 12px; border-radius: 16px; padding: 15px 16px; background: var(--surface-2); border: 1px solid var(--border); border-left: 3px solid var(--faint); }
.note .ic { font-size: 20px; line-height: 1.4; }
.note p { color: #d4d4d8; }
.note.info { background: var(--info-soft); border-color: rgba(96, 165, 250, .2); border-left-color: var(--info); }
.note.warn { background: var(--warn-soft); border-color: rgba(251, 191, 36, .2); border-left-color: var(--warn); }
.note.ok { background: var(--ok-soft); border-color: rgba(52, 211, 153, .2); border-left-color: var(--ok); }
.note > div > * + * { margin-top: 6px; }
.note ul { margin: 6px 0 0; padding-left: 18px; color: #d4d4d8; }

.help {
  position: relative; overflow: hidden; border-radius: 20px; padding: 24px;
  background: radial-gradient(500px circle at 100% 0%, rgba(42, 171, 238, .16), transparent 60%), var(--surface-2);
  border: 1px solid rgba(42, 171, 238, .28);
}
.help > * + * { margin-top: 14px; }
.help h2 { font-size: 21px; display: flex; align-items: center; gap: 10px; }
.help p.lead { color: var(--muted); }
.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.help-box { background: rgba(0, 0, 0, .25); border-radius: 14px; padding: 14px 16px; border: 1px solid var(--border); }
.help-box b { display: flex; align-items: center; gap: 8px; font-size: 15px; margin-bottom: 8px; }
.help-box ol { margin: 0; padding-left: 20px; display: grid; gap: 2px; font-size: 15px; color: #d4d4d8; }
.help.compact { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 20px; }
.help.compact > * + * { margin-top: 0; }
.help.compact .txt { flex: 1; min-width: 210px; }
.help.compact .txt b { display: block; font-size: 16.5px; }
.help.compact .txt span { color: var(--muted); font-size: 14.5px; }

details.more { border: 1px solid var(--border); border-radius: 16px; background: var(--surface-2); overflow: hidden; }
details.more summary { cursor: pointer; list-style: none; padding: 15px 16px; font-weight: 700; display: flex; align-items: center; gap: 10px; transition: background .2s; }
details.more summary:hover { background: var(--surface-3); }
details.more summary::-webkit-details-marker { display: none; }
details.more summary .chev { margin-left: auto; transition: transform .3s var(--ease); color: var(--muted); }
details.more[open] summary .chev { transform: rotate(180deg); }
details.more .inner { padding: 4px 16px 18px; display: grid; gap: 14px; animation: fade-down .4s var(--ease) both; }
details.more .count { font-size: 11.5px; font-weight: 800; background: var(--accent-soft); color: var(--accent-text); border-radius: 99px; padding: 1px 8px; }

.copy { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border: 1px dashed var(--accent-line); border-radius: 14px; padding: 10px 10px 10px 16px; background: rgba(0, 0, 0, .25); }
.copy .k { font-size: 12.5px; color: var(--muted); width: 100%; margin-bottom: -6px; }
.copy .v { flex: 1; min-width: 0; font-weight: 700; word-break: break-word; }
.copy .v.mono { font-family: ui-monospace, Consolas, monospace; font-size: 21px; letter-spacing: .05em; color: var(--accent-text); }
.copy button { border: 0; cursor: pointer; font-weight: 800; font-size: 13.5px; border-radius: 10px; padding: 9px 14px; background: var(--accent-soft); color: var(--accent-text); border: 1px solid var(--accent-line); white-space: nowrap; transition: transform .2s var(--ease); }
.copy button:hover { transform: scale(1.04); }
.copy button.copied { background: var(--ok-soft); color: var(--ok); border-color: rgba(52, 211, 153, .35); }

.pdf-link { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); border: 1px solid var(--border); background: var(--surface-2); border-radius: 16px; padding: 14px 16px; transition: border-color .3s, transform .3s var(--ease); }
.pdf-link:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.pdf-link .ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; font-size: 22px; border-radius: 12px; background: var(--accent-soft); }
.pdf-link b { display: block; }
.pdf-link small { display: block; color: var(--muted); font-size: 13.5px; }
.pdf-link .go { margin-left: auto; font-weight: 800; color: var(--accent-text); transition: transform .3s var(--ease); }
.pdf-link:hover .go { transform: translate(3px, -3px); }

/* ---------- Robot request form ---------- */
.ea-request {
  display: grid; gap: 12px; padding: 20px; border-radius: 20px;
  background: radial-gradient(520px circle at 100% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%), var(--surface-2);
  border: 1px solid var(--accent-line); box-shadow: 0 14px 40px color-mix(in srgb, var(--accent) 10%, transparent);
}
.ea-head { display: flex; gap: 14px; align-items: center; }
.ea-ic { width: 48px; height: 48px; flex: none; display: grid; place-items: center; font-size: 24px; border-radius: 14px; background: var(--accent-soft); border: 1px solid var(--accent-line); }
.ea-head b { display: block; font-size: 18px; }
.ea-head small { display: block; color: var(--muted); font-size: 14.5px; }
.ea-label { font-weight: 700; font-size: 14px; margin-top: 4px; }
.ea-row { display: flex; gap: 10px; }
.ea-row input {
  flex: 1; min-width: 0; height: 54px; padding: 0 16px; border-radius: 14px; outline: none;
  background: rgba(0, 0, 0, .35); border: 1px solid var(--border-strong); color: var(--text);
  font: 700 20px/1 ui-monospace, Consolas, monospace; letter-spacing: .08em;
  transition: border-color .2s, box-shadow .2s;
}
.ea-row input::placeholder { color: var(--faint); font-weight: 500; letter-spacing: .02em; }
.ea-row input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.ea-row .btn { flex: none; min-height: 54px; }
.ea-err { color: #f87171; font-size: 13.5px; font-weight: 600; min-height: 0; }
.ea-err:empty { display: none; }
.ea-hint { color: var(--faint); font-size: 13px; }
.ea-done { display: grid; gap: 10px; animation: fade-down .4s var(--ease) both; }
.ea-msg { white-space: pre-line; font-weight: 600; font-size: 14.5px; }
@media (max-width: 600px) {
  .ea-request { padding: 16px; }
  .ea-row { flex-direction: column; }
  .ea-row .btn { width: 100%; }
}

/* ---------- Media ---------- */
.videos { display: grid; gap: 14px; }
.video { margin: 0; }
.video figcaption { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.video .frame { border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--border); }
.video video, .video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video-soon { border: 1px dashed var(--border-strong); border-radius: 16px; padding: 24px; text-align: center; color: var(--muted); font-weight: 600; display: grid; gap: 4px; place-items: center; background: var(--surface-2); }
.video-soon .ic { font-size: 28px; animation: bob 3s ease-in-out infinite; }
.gallery { display: grid; gap: 12px; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: #000; }
.gallery img { width: 100%; height: auto; cursor: zoom-in; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.02); }
.gallery figcaption { font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 9px 12px; background: var(--surface-2); }
.hint { font-size: 13px; color: var(--faint); text-align: center; }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .9); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; cursor: zoom-out; animation: fade .25s both; }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 12px; object-fit: contain; animation: zoom-in .35s var(--ease) both; }

.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: none; cursor: pointer; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 10px; color: var(--muted); transition: background .25s, color .25s; }
.seg button[aria-selected="true"] { background: var(--surface-3); color: var(--text); box-shadow: 0 0 0 1px var(--accent-line); }

/* ---------- Nav ---------- */
/* App bar: main actions fixed at the bottom of the screen (phone: full width, computer: floating pill) */
.appbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: rgba(14, 14, 17, .82); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-top: 1px solid var(--border-strong); border-radius: 20px 20px 0 0;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, .5);
  animation: appbar-in .45s var(--ease) both;
}
.appbar::before {
  content: ""; position: absolute; top: -1px; left: 20px; height: 2px; border-radius: 2px;
  width: calc((100% - 40px) * var(--prog, 0)); transition: width .6s var(--ease);
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 10px var(--glow);
}
.appbar-inner { display: flex; gap: 10px; max-width: 560px; margin: 0 auto; }
.appbar .btn { flex: 1; min-height: 54px; max-width: none; font-size: 16px; padding: 14px 18px; }
.appbar .btn.light:first-child:not(:only-child) { flex: 0 0 auto; min-width: 54px; padding: 0 18px; }
.no-anim .appbar { animation: none; }
.cta { display: none !important; }
#app { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }

@media (min-width: 701px) {
  .appbar {
    left: 50%; right: auto; bottom: 20px; width: min(640px, calc(100% - 40px)); transform: translateX(-50%);
    padding: 10px; border: 1px solid var(--border-strong); border-radius: 22px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .03) inset;
    animation-name: appbar-in-float;
  }
  .appbar::before { left: 24px; width: calc((100% - 48px) * var(--prog, 0)); }
  .appbar-inner { max-width: none; }
  .appbar .btn { min-height: 52px; font-size: 16.5px; }
}
/* With the side column, centre the bar under the step content */
@media (min-width: 1100px) {
  .layout ~ .appbar, .main .appbar { left: calc(50% + 166px); width: min(640px, calc(100% - 420px)); }
}
@keyframes appbar-in { from { transform: translateY(100%); } to { transform: none; } }
@keyframes appbar-in-float { from { transform: translate(-50%, 140%); } to { transform: translate(-50%, 0); } }

/* ---------- Final ---------- */
.final { text-align: center; }
.final .big { font-size: 72px; line-height: 1; animation: pop .8s var(--ease) both, bob 3s 1s ease-in-out infinite; }
.final .note, .final .help { text-align: left; }

footer { padding-block: 40px 44px; color: var(--faint); font-size: 12.5px; text-align: center; }
footer p { max-width: 640px; margin: 0 auto; }

/* ---------- Home ---------- */
.home { position: relative; z-index: 1; min-height: 100vh; display: grid; place-items: center; padding: 24px 18px; }
.home-card { width: 100%; max-width: 440px; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px 26px; display: grid; gap: 12px; justify-items: center; animation: card-in .6s var(--ease) both; }
.home-logo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.home-logo.emoji { display: grid; place-items: center; font-size: 36px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.home-card p { color: var(--muted); }
.home-links { display: grid; gap: 10px; width: 100%; margin-top: 8px; }

/* ---------- Welcome hero (title + audio message) ---------- */
.welcome-hero { display: grid; gap: 22px; grid-template-areas: "brand" "voice" "text"; }
.welcome-hero .hero-brand { grid-area: brand; }
.welcome-hero .voice { grid-area: voice; }
.welcome-hero .wh-text { grid-area: text; display: grid; gap: 16px; }

/* ---------- Wide screens: use the extra width ---------- */
@media (min-width: 1100px) {
  .wrap { max-width: 1080px; }
  .wrap.wide { max-width: 1320px; }
  .card { padding: 44px 52px; }
  .welcome-hero { grid-template-columns: minmax(0, 1.25fr) minmax(360px, 1fr); grid-template-areas: "brand voice" "text voice"; column-gap: 40px; align-items: center; }
  .welcome-hero.no-voice { grid-template-columns: 1fr; grid-template-areas: "brand" "text"; }
  .welcome-hero .voice { align-self: center; flex-wrap: wrap; padding: 22px; }
  .welcome-hero .voice-body { flex-basis: calc(100% - 80px); }
  .welcome h1 { font-size: clamp(44px, 4.4vw, 62px); }
  .needs { grid-template-columns: repeat(4, 1fr); }
  .needs .need { flex-direction: column; align-items: flex-start; }
  .methods { gap: 18px; }
  .method { padding: 26px 24px 20px; }
  .choices { gap: 16px; }
  .help-grid { gap: 14px; }
  .welcome .btn.block.cta { max-width: 520px; margin-inline: auto; display: flex; }
  .step-title h1 { font-size: clamp(30px, 2.6vw, 38px); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .videos { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }
}
@media (min-width: 1440px) {
  .wrap { max-width: 1160px; }
  .wrap.wide { max-width: 1440px; }
}

/* ---------- Top actions ---------- */
.top-actions { display: flex; align-items: center; gap: 8px; min-width: 0; }

/* ---------- Welcome audio message ---------- */
.voice {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px;
  background: radial-gradient(420px circle at 0% 50%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%), var(--surface-2);
  border: 1px solid var(--accent-line); box-shadow: 0 14px 40px color-mix(in srgb, var(--accent) 10%, transparent);
}
.voice-play {
  position: relative; flex: none; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 10px 26px var(--glow);
  transition: transform .25s var(--ease);
}
.voice-play:hover { transform: scale(1.06); }
.voice-play:active { transform: scale(.96); }
.voice-play svg { width: 26px; height: 26px; position: relative; z-index: 1; }
.voice-play .i-play { margin-left: 3px; }
.voice-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: ring 2.2s ease-out infinite; }
.voice-ring::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--accent); animation: ring 2.2s 1.1s ease-out infinite; }
.i-pause { display: none; }
.voice-playing .i-play { display: none; }
.voice-playing .i-pause { display: block; }
.voice-playing .voice-ring, .voice-started .voice-ring { animation: none; opacity: 0; }
.voice-body { flex: 1; min-width: 0; display: grid; gap: 6px; }
.voice-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.voice-title { font-weight: 800; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.voice-time { flex: none; font-size: 12.5px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.voice-wave { position: relative; display: flex; align-items: center; gap: 2px; height: 34px; cursor: pointer; outline: none; }
.voice-wave:focus-visible { box-shadow: 0 0 0 2px var(--accent-line); border-radius: 6px; }
.voice-wave .w-base, .voice-wave .w-fill { position: absolute; inset: 0; display: flex; align-items: center; gap: 2px; }
.voice-wave .w-fill { clip-path: inset(0 calc(100% - var(--voice-p, 0%)) 0 0); transition: clip-path .15s linear; }
.voice-wave i { flex: 1; min-width: 2px; border-radius: 2px; background: var(--surface-3); }
.voice-wave .w-fill i { background: linear-gradient(var(--accent), var(--accent-2)); }
.voice-playing .voice-wave i { animation: wave 1.1s ease-in-out infinite; animation-delay: calc(var(--k) * -70ms); }
.voice-hint { font-size: 12.5px; color: var(--muted); }
.voice-started .voice-hint { visibility: hidden; height: 0; margin-top: -6px; }
.voice-speed {
  flex: none; align-self: center; border: 1px solid var(--border-strong); background: var(--surface-3); color: var(--text);
  font-weight: 800; font-size: 12.5px; border-radius: 99px; padding: 6px 10px; cursor: pointer; font-variant-numeric: tabular-nums; min-width: 44px;
}

.mini-voice {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 4px; border-radius: 99px; cursor: pointer;
  border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--text); font-weight: 700; font-size: 13px;
  transition: transform .2s var(--ease);
}
.mini-voice:hover { transform: translateY(-1px); }
.mv-icon { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.mv-icon svg { width: 13px; height: 13px; }
.mv-icon .i-play { margin-left: 2px; }
.mv-eq { display: none; align-items: flex-end; gap: 2px; height: 14px; }
.mv-eq i { width: 3px; height: 100%; border-radius: 2px; background: var(--accent); animation: eq .9s ease-in-out infinite; }
.mv-eq i:nth-child(2) { animation-delay: -.3s; } .mv-eq i:nth-child(3) { animation-delay: -.6s; } .mv-eq i:nth-child(4) { animation-delay: -.15s; }
.voice-playing .mv-eq { display: inline-flex; }
.mv-time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 12px; }
.mv-time:empty { display: none; }

/* ---------- Step layout (large screens: side navigation) ---------- */
.layout { display: block; }
.side { display: none; }
.stepper-meta { display: none; }
.main { min-width: 0; }
.final { max-width: 900px; margin-inline: auto; }

@media (min-width: 1100px) {
  .layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 26px; }
  .wrap.wide .stepper { display: none; }
  .side { display: block; position: sticky; top: 84px; }
  .side-inner { padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); animation: card-in .5s var(--ease) both; }
  .side-title { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 12px; }
  .side-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; position: relative; }
  .side-steps li { min-width: 0; }
  .side-steps button { width: 100%; min-width: 0; display: flex; gap: 12px; align-items: center; text-align: left; border: 0; background: none; cursor: pointer; padding: 9px 10px; border-radius: 12px; transition: background .2s; }
  .side-steps .txt { flex: 1; overflow: hidden; }
  .side-steps button:hover { background: var(--surface-2); }
  .side-steps .dot { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: var(--faint); background: var(--surface-2); border: 1px solid var(--border); transition: all .3s; }
  .side-steps .txt { min-width: 0; }
  .side-steps b { display: block; font-size: 14px; color: var(--muted); }
  .side-steps small { display: block; font-size: 12px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .side-steps li.past .dot { color: #04130c; background: var(--ok); border-color: transparent; }
  .side-steps li.past b { color: var(--text); }
  .side-steps li.current button { background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line); }
  .side-steps li.current .dot { color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; box-shadow: 0 6px 16px var(--glow); }
  .side-steps li.current b { color: var(--text); }
  .side-progress { height: 5px; border-radius: 99px; background: var(--surface-3); margin: 14px 4px 12px; overflow: hidden; }
  .side-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .6s var(--ease); }
  .side-help { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 13px; font-weight: 700; color: var(--muted); text-decoration: none; padding: 8px; border-radius: 10px; }
  .side-help:hover { color: var(--text); background: var(--surface-2); }
  .side-help svg { width: 15px; height: 15px; color: var(--tg); }
  .layout .card { margin-top: 0; }
}

.no-anim .card, .no-anim .card * { animation-delay: 0s !important; }
.no-anim .card { animation: none; }

/* ---------- Scroll reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }
.num > li.rv { transform: translateX(-14px); }
.num > li.rv.in { transform: none; }

.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 70; overflow: hidden; }
.confetti span { position: absolute; top: -14px; width: 9px; height: 14px; border-radius: 2px; animation: fall 3s cubic-bezier(.25, .6, .4, 1) forwards; }

/* ---------- Keyframes ---------- */
@keyframes card-in { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.5); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
@keyframes bob { 50% { transform: translateY(-4px); } }
@keyframes shine { 0%, 65% { transform: translateX(-150%) skewX(-20deg); } 100% { transform: translateX(260%) skewX(-20deg); } }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -50% 0; } }
@keyframes flow { to { background-position: 300% 0; } }
@keyframes text-shine { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-glow { 50% { opacity: .8; transform: scale(1.08); } }
@keyframes fade { from { opacity: 0; } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } }
@keyframes zoom-in { from { opacity: 0; transform: scale(.94); } }
@keyframes aurora1 { 0% { transform: translate3d(-14%, -4%, 0) rotate(-12deg) scale(1); opacity: .75; } 50% { opacity: 1; } 100% { transform: translate3d(16%, 14%, 0) rotate(22deg) scale(1.3); opacity: .8; } }
@keyframes aurora2 { 0% { transform: translate3d(14%, 6%, 0) rotate(10deg) scale(1.2); opacity: .55; } 100% { transform: translate3d(-16%, -16%, 0) rotate(-24deg) scale(.9); opacity: 1; } }
@keyframes grid-scroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, 56px, 0); } }
@keyframes grid-scroll-sm { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, 44px, 0); } }
@keyframes beam { 0%, 15% { transform: translateX(-160%) rotate(18deg); } 60%, 100% { transform: translateX(360%) rotate(18deg); } }
@keyframes rise {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  10% { opacity: var(--o, .5); }
  85% { opacity: var(--o, .5); }
  100% { transform: translate3d(var(--drift, 0), -105vh, 0); opacity: 0; }
}
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes wave { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.55); } }
@keyframes eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
@keyframes fall { 0% { transform: translate(0, -20px) rotate(0); opacity: 1; } 100% { transform: translate(var(--x), 105vh) rotate(var(--r)); opacity: .9; } }

/* "Reduce motion" (often enabled by default on Windows): content appears without entrance effects,
   but the animated backdrop is part of the brand and keeps running. */
@media (prefers-reduced-motion: reduce) {
  .card, .card *, .side-inner, .appbar, .step-icon, .final .big { animation: none !important; }
  .rv { opacity: 1; transform: none; transition: none; }
}

/* Tablets */
@media (max-width: 900px) {
  .help-link .t { display: none; }
  .help-link { padding: 8px; }
  .mv-label { display: none; }
}

/* Phones */
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .topbar { padding-block: 10px; }
  .card { padding: 22px 16px; border-radius: 20px; margin-top: 14px; }
  .card > * + * { margin-top: 20px; }
  .needs, .choices, .help-grid, .methods { grid-template-columns: 1fr; }
  .methods { gap: 22px; }
  .welcome h1 { font-size: clamp(30px, 9vw, 40px); }
  .intro { font-size: 16px; }
  .step-title { gap: 12px; }
  .step-title h1 { font-size: clamp(22px, 6.4vw, 27px); }
  .step-icon { width: 46px; height: 46px; font-size: 22px; border-radius: 14px; animation: pop .6s .1s var(--ease) both; }
  .hero-logo-wrap { width: 60px; height: 60px; }

  /* Compact progress: "Étape 2 sur 5 · MT5" above thin bars */
  .stepper-meta { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 2px 8px; font-size: 13px; color: var(--muted); }
  .stepper-meta b { color: var(--text); font-size: 13.5px; }
  .stepper { margin: 0 0 4px; gap: 5px; }
  .stepper .lbl { display: none; }
  .stepper .bar { height: 4px; }

  /* App bar on phones: compact back button */
  .appbar .btn.light:first-child:not(:only-child) { flex: 0 0 54px; width: 54px; padding: 0; font-size: 18px; }
  .appbar .nav-txt { display: none; }
  #app { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }

  .voice { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .voice-play { width: 54px; height: 54px; }
  .voice-body { flex-basis: calc(100% - 66px - 56px); }
  .voice-speed { position: absolute; top: 12px; right: 12px; padding: 4px 8px; min-width: 38px; }
  .voice-top { padding-right: 44px; }
  .mini-voice { padding-right: 10px; }
  .mv-time { display: none; }

  .num > li { gap: 13px; }
  .num .n { width: 32px; height: 32px; font-size: 14px; border-radius: 10px; }
  .num > li:not(:last-child)::before { left: 15px; top: 36px; }
  .num .t b { font-size: 15.5px; }
  .num .t small { font-size: 14px; }
  .btn.block { padding: 16px 18px; font-size: 16px; }
  .help { padding: 18px; }
  .help.compact .btn { width: 100%; }
  .brand .type-pill { display: none; }
  .copy .v.mono { font-size: 18px; }
  .seg { display: flex; width: 100%; }
  .seg button { flex: 1; padding-inline: 8px; }

  /* Lighter effects on phones for smooth scrolling */
  .bg .grid { background-size: 44px 44px; top: -44px; animation-name: grid-scroll-sm; }
  .bg .beam { width: 70%; animation-duration: 9s; }
  .card { backdrop-filter: none; }
  footer { padding-bottom: 28px; }
}

/* Touch devices: no hover lift that sticks after a tap */
@media (hover: none) {
  .method:hover, .choice:hover, .need:hover, .pdf-link:hover, .btn:hover { transform: none; }
  .card::before { display: none; }
}
