/* ============================================================
   WICK · marketing landing — plain, normal-scroll layout.
   Candlelit duo.css design system: solid fills, 2px lines,
   hard lips, Fraunces display moments. No gradients, no
   sticky-stack, no scroll hijacking. Just sections that scroll.
   ============================================================ */

body.landing { background: var(--bg); overflow-x: clip; }
main { display: block; }

/* ---------- topbar ---------- */
.mk-top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px clamp(16px, 3vw, 30px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--line);
}
.mk-brand { display: inline-flex; text-decoration: none; }
.mk-auth { display: flex; gap: 10px; align-items: center; }
.mk-auth .db { min-height: 44px; padding: 8px 16px; font-size: 13.5px; }

/* ---------- shared section frame ---------- */
.hero, .hook-section, .feature, .mission-section, .game-section, .feedback-section, .cta-final {
  max-width: 1100px; margin: 0 auto;
  padding: clamp(48px, 8vh, 96px) clamp(16px, 4vw, 40px);
}
.feat-kicker { display: inline-block; font-weight: 800; font-size: 12.5px; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 12px; }
.feat-kicker.green { color: var(--green); }
.feat-kicker.flame { color: var(--flame); }
.feat-kicker.blue { color: var(--blue); }
.feat-kicker.gold { color: var(--gold); }
.feat-kicker.purple { color: var(--purple); }

/* content is always visible — no reveal animation, nothing that can hide it */
.reveal { opacity: 1; transform: none; }

/* duo.css sets `body.duo p{margin:0}` which out-specifies single-class rules
   below and kills their margins (incl. the auto-centering on .hook-lead).
   Re-assert the paragraph spacing the landing needs, at higher specificity. */
body.landing .hero-sub { margin: 18px 0 0; }
body.landing .hook-lead { margin: 16px auto 0; }
body.landing .hook-foot { margin: 28px auto 0; }
body.landing .mission-text { margin: 0 0 26px; }
body.landing .cta-card p { margin: 12px 0 26px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(30px, 6vh, 64px); }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--line); border-radius: 999px; background: var(--card);
  color: var(--muted); font-weight: 800; font-size: 12.5px; letter-spacing: 1px;
  text-transform: uppercase; padding: 8px 14px; margin-bottom: 20px;
}
.hero h1 { font-family: var(--fdisplay); font-weight: 600; letter-spacing: -.02em; font-size: clamp(36px, 5.2vw, 60px); line-height: 1.07; color: var(--ink-strong); }
.hero h1 em { font-style: italic; color: var(--flame); text-shadow: var(--glow); }
.hero-sub { color: var(--muted); font-weight: 600; font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.6; max-width: 520px; margin-top: 18px; }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.db-big { min-height: 56px; padding: 14px 26px; font-size: 16px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 800; font-size: 13.5px; }
.hero-proof .dico { width: 22px; height: 22px; }
.hero-shot { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.device { width: 100%; max-width: 460px; border-radius: 26px; overflow: hidden; background: var(--panel); border: 2px solid var(--line-strong); box-shadow: 0 8px 0 var(--line), 0 30px 80px rgba(0,0,0,.5); aspect-ratio: 4 / 3; }
.device.wide { max-width: 560px; aspect-ratio: 16 / 10; }
.device video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--chart-bg); }
.shot-tag { color: var(--faint); font-weight: 800; font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; }

/* ---------- feature rows ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.feature.flip .feat-media { order: 2; }
.feat-media { display: flex; justify-content: center; min-width: 0; }
.feat-copy h2 { font-family: var(--fdisplay); font-weight: 600; letter-spacing: -.015em; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
.feat-copy p { color: var(--muted); font-weight: 600; font-size: 16.5px; line-height: 1.65; margin-top: 14px; max-width: 480px; }
.feat-note { border-left: 3px solid var(--flame); padding: 2px 0 2px 14px; color: var(--ink) !important; font-size: 14.5px !important; }

/* ---------- hook / research ---------- */
.hook-section { border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); background: color-mix(in srgb, var(--gold) 5%, var(--bg)); max-width: none; }
.hook { max-width: 1040px; margin: 0 auto; text-align: center; }
.hook h2 { font-family: var(--fdisplay); font-weight: 600; letter-spacing: -.015em; font-size: clamp(28px, 3.8vw, 46px); line-height: 1.12; }
.hook h2 em { font-style: italic; color: var(--flame); }
.hook-lead { color: var(--muted); font-weight: 600; font-size: clamp(15px, 1.5vw, 17.5px); line-height: 1.65; max-width: 720px; margin: 16px auto 0; }
.hook-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; text-align: left; }
.hook-card { background: var(--card); border: 2px solid var(--line); border-radius: var(--r); padding: 22px 20px; box-shadow: 0 4px 0 var(--line); }
.hook-num { font-family: var(--fdisplay); font-weight: 600; font-size: 30px; color: var(--flame); line-height: 1; margin-bottom: 10px; }
.hook-card h4 { font-size: 17.5px; color: var(--ink-strong); }
.hook-card p { color: var(--muted); font-weight: 600; font-size: 14px; line-height: 1.55; margin-top: 8px; }
.hook-foot { color: var(--ink-strong); font-weight: 800; font-size: clamp(15px, 1.6vw, 18px); margin-top: 28px; text-align: center; }

/* ---------- today's mission ---------- */
.mission-section { display: grid; place-items: center; }
.mission-card { width: min(640px, 100%); text-align: center; background: var(--card); border: 2px solid var(--flame-lip); border-radius: 24px; padding: 40px 32px; box-shadow: 0 6px 0 var(--flame-lip), var(--glow); }
.mission-kicker { font-size: 12px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--flame); margin-bottom: 14px; }
.mission-text { font-family: var(--fdisplay); font-weight: 500; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.35; color: var(--ink-strong); margin-bottom: 26px; }
.mission-text b { color: var(--flame); font-style: italic; }

/* ---------- arcade ---------- */
.game-section { display: flex; flex-direction: column; align-items: center; gap: 22px; border-top: 2px solid var(--line); }
.arcade-head { text-align: center; max-width: 560px; }
.arcade-head h2 { font-family: var(--fdisplay); font-weight: 600; font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -.015em; }
.arcade-head p { color: var(--muted); font-weight: 600; font-size: 15.5px; line-height: 1.55; margin-top: 8px; }
.game-card { width: 100%; max-width: 560px; background: var(--card); border: 2px solid var(--line); border-radius: 24px; padding: 16px 16px 20px; box-shadow: 0 6px 0 var(--line), 0 30px 80px rgba(0,0,0,.45); }
.game-card.shake { animation: shake .45s; }
@keyframes shake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-9px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
.game-status { display: flex; align-items: center; gap: 14px; padding: 2px 6px 12px; font-size: 14px; font-weight: 700; }
.game-status .stat { color: var(--muted); font-variant-numeric: tabular-nums; }
.streak-stat { color: var(--ink-strong); font-size: 16px; display: flex; align-items: center; gap: 5px; }
.flame { display: inline-flex; filter: grayscale(1) opacity(.45); transition: filter .3s, transform .3s; }
.flame.lit { filter: none; }
.flame.hot { filter: none; transform: scale(1.22); }
.mute-btn { margin-left: auto; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 2px solid var(--line); background: var(--card); color: var(--muted); }
.mute-btn.muted { opacity: .4; }
.timer-wrap { position: relative; width: 44px; height: 44px; flex: none; }
.timer-ring { width: 44px; height: 44px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--line); stroke-width: 4; }
.ring-fg { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: 0; }
.timer-num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.chart-wrap { position: relative; border-radius: var(--r); overflow: hidden; background: var(--chart-bg); border: 2px solid var(--line); height: clamp(240px, 40vh, 300px); }
#chart { width: 100%; height: 100%; display: block; }
.chart-veil { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: var(--scrim); }
.chart-veil[hidden] { display: none; }
.reveal-chip { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 2px solid var(--line); font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--muted); }
.result-banner { padding: 12px 8px 0; text-align: center; min-height: 64px; }
.result-banner[hidden] { display: block; visibility: hidden; }
.result-title { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.result-title.win { color: var(--green); }
.result-title.win::before { content: "\2713  "; }
.result-title.loss { color: var(--red); }
.result-title.loss::before { content: "\2715  "; }
.result-lesson { margin-top: 6px; color: var(--muted); font-weight: 600; font-size: 13px; line-height: 1.5; }
.controls { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.btn-call { cursor: pointer; border: none; border-radius: 18px; padding: 16px 0; font: inherit; font-size: 19px; font-weight: 800; letter-spacing: .02em; color: #fff; transition: transform .1s, box-shadow .1s, filter .12s, opacity .2s; }
.btn-up { background: var(--green); box-shadow: 0 5px 0 var(--green-lip); }
.btn-down { background: var(--red); box-shadow: 0 5px 0 var(--red-lip); }
.btn-call:disabled { opacity: .35; cursor: default; }
.btn-call:not(:disabled):hover { filter: brightness(1.08); }
.btn-call:not(:disabled):active { transform: translateY(5px); box-shadow: none !important; }
.keys-hint { text-align: center; color: var(--faint); font-weight: 700; font-size: 11.5px; margin-top: 8px; }

/* ---------- feedback ---------- */
.feedback-section { border-top: 2px solid var(--line); background: color-mix(in srgb, var(--purple) 5%, var(--bg)); max-width: none; }
.feedback-wrap { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.feedback-copy h2 { font-family: var(--fdisplay); font-weight: 600; letter-spacing: -.015em; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
.feedback-copy p { color: var(--muted); font-weight: 600; font-size: 16.5px; line-height: 1.65; margin-top: 14px; max-width: 440px; }
.feedback-form { display: flex; flex-direction: column; gap: 12px; background: var(--card); border: 2px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: 0 6px 0 var(--line); }
.feedback-form input, .feedback-form textarea {
  width: 100%; min-height: 50px; padding: 13px 15px; border-radius: var(--r-sm);
  border: 2px solid var(--line); background: var(--panel); color: var(--ink-strong);
  font: inherit; font-weight: 600; resize: vertical;
}
.feedback-form input::placeholder, .feedback-form textarea::placeholder { color: var(--faint); font-weight: 600; }
.feedback-form input:focus, .feedback-form textarea:focus { outline: none; border-color: var(--purple); }
.feedback-form .hp { display: none; }
.feedback-sent { color: var(--green); font-weight: 800; text-align: center; }

/* ---------- final cta ---------- */
.cta-final { display: grid; place-items: center; }
.cta-card { width: 100%; max-width: 640px; text-align: center; background: var(--card); border: 2px solid var(--line); border-radius: 26px; padding: 40px 28px 44px; box-shadow: 0 6px 0 var(--line); }
.cta-card .dico { filter: drop-shadow(0 0 16px rgba(255,152,56,.3)); }
.cta-card h2 { font-family: var(--fdisplay); font-weight: 600; font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.015em; margin-top: 14px; }
.cta-card p { color: var(--muted); font-weight: 600; font-size: 16.5px; margin: 12px 0 26px; }

/* ---------- footer ---------- */
footer { text-align: center; padding: 30px 16px 46px; color: var(--faint); font-weight: 600; font-size: 12.5px; border-top: 2px solid var(--line); }
footer p + p { margin-top: 6px; }

/* ---------- verdict overlay ---------- */
.verdict-overlay { position: fixed; inset: 0; z-index: 260; background: var(--scrim); display: grid; place-items: center; padding: 20px; }
.verdict-overlay[hidden] { display: none; }
.verdict-card { width: 100%; max-width: 420px; text-align: center; background: var(--card); border: 2px solid var(--line-strong); border-radius: 26px; padding: 30px 26px; animation: vpop .35s cubic-bezier(.2,1.4,.3,1); }
@keyframes vpop { from { transform: scale(.92) translateY(10px); opacity: 0; } }
.verdict-kicker { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.verdict-rank { font-family: var(--fdisplay); font-style: italic; font-weight: 600; font-size: clamp(30px, 6vw, 38px); color: var(--flame); text-shadow: var(--glow); margin: 8px 0 10px; letter-spacing: -.01em; }
.verdict-roast { color: var(--muted); font-weight: 600; font-size: 14.5px; line-height: 1.6; max-width: 340px; margin: 0 auto; }
.verdict-stats { display: flex; justify-content: center; gap: 26px; margin: 22px 0; }
.verdict-stats span { display: block; font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink-strong); }
.verdict-stats label { color: var(--muted); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.verdict-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.verdict-teaser { margin-top: 20px; color: var(--faint); font-weight: 600; font-size: 12.5px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  body.landing .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-proof { justify-content: center; }
  .hero-shot { order: 2; }
  .feature, .feedback-wrap { grid-template-columns: 1fr; text-align: center; }
  .feature.flip .feat-media { order: 0; }
  .feat-copy p, .feedback-copy p { margin-left: auto; margin-right: auto; }
  .feat-note { text-align: left; }
  .hook-cards { grid-template-columns: 1fr; }
  .mk-auth .db-white { display: none; }
}
