/* =============================================================================
   Oplaty.ai — landing styles
   Tokens · Base · Buttons · Header · Hero · Chips · Sections · Bento ·
   Catalog · Payments · Checkout · Timer · How · Compare · FAQ · Final ·
   Footer · Utilities
   ============================================================================= */

/* ----------------------------------------------------------------- Tokens -- */
:root {
  --bg: #ffffff;
  --bg2: #f5f5f7;
  --bg3: #fafafc;
  --ink: #1d1d1f;
  --sub: #6e6e73;
  --line: #e3e3e8;
  --orange: #fa4f03;
  --orange-d: #e04600;
  --orange-l: #ff7a3d;
  --radius: 20px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --maxw: 1040px;
  /* 8pt spacing scale — snap gaps/padding to this for a calm, consistent rhythm */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px;
  --header-h: 58px; /* sticky header height — keep in sync with .nav + scroll-margin */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

/* ------------------------------------------------------------------- Base -- */
* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Offset anchored sections so the sticky header doesn't cover their titles */
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* Skip link — visually hidden until focused (keyboard "К содержимому") */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  padding: 10px 16px; border-radius: 10px;
  background: var(--orange); color: #fff; font-weight: 600; font-size: 15px;
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

/* Visible focus ring for keyboard navigation only */
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

/* ---------------------------------------------------------------- Buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  border: none;
  border-radius: 980px;
  padding: 13px 26px;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
button.btn { -webkit-appearance: none; appearance: none; }

.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-d); transform: translateY(-1px); }

.btn-soft { background: rgba(250, 79, 3, .1); color: var(--orange); }
.btn-soft:hover { background: rgba(250, 79, 3, .16); }

.btn-ghost { background: rgba(0, 0, 0, .04); color: var(--ink); }
.btn-ghost:hover { background: rgba(0, 0, 0, .07); }
.btn-ghost svg { transition: transform .2s var(--ease); }
.btn-ghost:hover svg { transform: translateX(3px); }

.btn.sm { font-size: 15px; padding: 9px 18px; }
.btn.lg { font-size: 19px; padding: 17px 36px; }

/* ----------------------------------------------------------------- Header -- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .07);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo .mk {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px;
  background: var(--orange);
}
.logo .wm { font-size: 20px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.logo .wm i { color: var(--orange); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--sub); transition: color .2s var(--ease); }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ------------------------------------------------------------------- Hero -- */
.hero {
  text-align: center;
  padding: 44px 0 72px;
  background: radial-gradient(120% 80% at 50% 0%, #fff 30%, #f6f1ec 75%, #f5f5f7 100%);
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 22px; padding: 6px 14px 6px 8px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 980px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
}
.badge .pin {
  padding: 3px 9px; border-radius: 980px;
  font-size: 11px; font-weight: 700; letter-spacing: .02em;
  background: var(--orange); color: #fff;
}
h1 { font-size: 56px; font-weight: 600; line-height: 1.07; letter-spacing: -.022em; margin-bottom: 20px; }
.grad { color: var(--orange); }
.hero-sub { max-width: 600px; margin: 0 auto 32px; font-size: 21px; color: var(--sub); line-height: 1.4; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; margin-bottom: 16px; }
/* Inline flow (not flex) so the icon stays with the first line and the text
   wraps cleanly on narrow screens instead of leaving the icon floating. */
.hero-trust { font-size: 14px; color: var(--sub); line-height: 1.5; }
.hero-trust svg { color: var(--orange); vertical-align: -3px; margin-right: 6px; }

/* Mascot sits on top of the hero as a compact topper; text follows below */
.hero-art { display: flex; justify-content: center; margin: 0 auto 28px; }
.hero-art img {
  width: auto; max-width: 230px;
  filter: drop-shadow(0 22px 38px rgba(0, 0, 0, .12));
  animation: float 8s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

@media (max-width: 600px) {
  h1 { font-size: 34px; }
  .hero-sub { font-size: 18px; }
}

/* -------------------------------------------------------- Generic section -- */
section { padding: var(--s7) 0; }
.shead { max-width: 700px; margin: 0 auto 60px; text-align: center; }
.shead .tag { display: block; margin-bottom: 14px; font-size: 15px; font-weight: 600; letter-spacing: .01em; color: var(--orange); }
.shead p { margin-top: 18px; font-size: 20px; color: var(--sub); line-height: 1.45; }
h2 { font-size: 40px; font-weight: 600; letter-spacing: -.021em; line-height: 1.08; }

@media (max-width: 600px) {
  h2 { font-size: 28px; }
  section { padding: 68px 0; }
}

/* ------------------------------------------------------------------ Bento -- */
.bento { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 1fr; gap: 18px; }
.tile {
  position: relative; overflow: hidden;
  padding: 34px 32px; border-radius: var(--radius);
  background: var(--bg2);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tile:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0, 0, 0, .08); }
.tile.feat {
  grid-row: span 2;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(160deg, #1d1d1f, #3a3a3d);
  color: #fff;
}
.tile.feat h3 { color: #fff; font-size: 28px; }
.tile.feat p { color: #c7c7cc; }
.tile .ic {
  width: 48px; height: 48px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px; background: #fff; color: var(--ink);
  border: 1px solid var(--line);
}
.tile .ic svg { width: 24px; height: 24px; }
.tile.feat .ic { background: rgba(255, 255, 255, .14); border: none; color: #fff; }
.tile h3 { margin-bottom: 8px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.tile p { font-size: 16px; color: var(--sub); line-height: 1.5; }
.tile .big { margin-bottom: 6px; font-size: 60px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }

@media (max-width: 820px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  /* Single column: stop the 1fr auto-rows from stretching every tile to the
     height of the tall feature tile, and let the feature tile fit its content. */
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile.feat { grid-row: auto; }
  .tile.feat .big { margin-top: 14px; font-size: 42px; }
}

/* Payment-method logos inside the bento tile. Official brand SVGs live in
   assets/pay/ and sit on small white tiles. They load under file:// too. */
.pay-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.pay-ic {
  height: 38px; min-width: 54px; padding: 0 9px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px; background: #fff; border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
}
.pay-ic img { display: block; width: auto; height: 24px; }
/* Per-logo nudges so marks with different internal padding read at the same weight. */
.pay-ic img[alt="СБП"]        { height: 22px; }
.pay-ic img[alt="Сбербанк"]   { height: 30px; }
.pay-ic img[alt="Т-Банк"]     { height: 30px; }
.pay-ic img[alt="Альфа-Банк"] { height: 27px; }
.pay-ic img[alt="ВТБ"]        { height: 30px; }

/* ---------------------------------------------------- Catalog (витрина) -- */
.cat { background: linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%); }
.cat-mascot { width: 126px; margin: 0 auto 14px; filter: drop-shadow(0 20px 32px rgba(0, 0, 0, .16)); animation: float 6s ease-in-out infinite; }

.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.cat-grid .pcard:nth-child(2) { transition-delay: .07s; }
.cat-grid .pcard:nth-child(3) { transition-delay: .14s; }
.cat-grid .pcard:nth-child(4) { transition-delay: .21s; }
@media (max-width: 600px) { .cat-grid { grid-template-columns: 1fr; } }

.pcard {
  position: relative;
  display: flex; flex-direction: column;
  padding: var(--s4); border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .05);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0, 0, 0, .08); }
.pcard.pop { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange), 0 8px 24px rgba(0, 0, 0, .05); }
.pcard.pop:hover { box-shadow: 0 0 0 1px var(--orange), 0 12px 32px rgba(0, 0, 0, .08); }

.pcard .pop-tag {
  position: absolute; top: 22px; right: 22px;
  padding: 4px 11px; border-radius: 980px;
  font-size: 12px; font-weight: 600;
  background: var(--orange); color: #fff;
}
.pcard .pic {
  width: 56px; height: 56px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 15px;
  background: var(--bg2);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease);
}
.pcard .product-icon-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}
.pcard:hover .pic { transform: scale(1.07); }
.pcard h3 { margin-bottom: 12px; font-size: 23px; font-weight: 600; letter-spacing: -.022em; }
.pcard .desc { margin-bottom: 26px; font-size: 14.5px; color: var(--sub); line-height: 1.6; }

.pcard .foot { margin-top: auto; }
.pcard .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.pcard .price .p-now { font-size: 33px; font-weight: 700; letter-spacing: -.035em; color: var(--ink); }
.pcard .price .p-old { font-size: 16px; font-weight: 600; color: #b3b3b9; text-decoration: line-through; }
.pcard .price .p-per { width: 100%; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--sub); }
.pcard .pnote { margin: 6px 0 0; font-size: 12.5px; color: var(--sub); }
.pcard .foot .btn { width: 100%; margin-top: 18px; }

/* When the sale timer has ended the struck-through "old" price is hidden */
body.sale-off .p-old { display: none; }

.cat-note { margin-top: 36px; text-align: center; font-size: 15px; color: var(--sub); }
.cat-note a { color: var(--orange); font-weight: 600; }

/* --------------------------------------------------------- Checkout modal -- */
.modal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-bg {
  position: absolute; inset: 0;
  background: rgba(20, 20, 22, .5);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: fadeIn .25s ease;
}
.modal-card {
  position: relative; z-index: 1;
  width: 100%; max-width: 430px;
  padding: 30px 28px; border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .32);
  animation: modalIn .35s var(--ease);
}
.modal-x {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%; background: var(--bg2);
  font-size: 19px; line-height: 1; color: var(--sub); cursor: pointer;
  transition: background .2s var(--ease);
}
.modal-x:hover { background: #e7e7ec; }
.modal-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--orange); }

.co-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.co-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.co-ic {
  flex: none; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--bg2);
  border: 1px solid var(--line);
}
.co-ic:empty { display: none; }
.co-ic svg { width: 26px; height: 26px; }
.co-meta b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.co-meta span { font-size: 13px; color: var(--sub); }
.co-price { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.co-price strong { font-size: 25px; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; }
.co-price s { font-size: 15px; font-weight: 600; color: #b3b3b9; }
/* Narrow screens: the icon + name + price don't fit one row — drop the price
   onto its own line, aligned under the product name (past the icon). */
@media (max-width: 430px) {
  .co-row { flex-wrap: wrap; }
  .co-price { width: 100%; padding-left: 56px; margin-top: 6px; }
}

.co-lbl { margin-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--sub); }
.co-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.co-m {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px; border: 1.5px solid var(--line); border-radius: 14px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.co-m input { position: absolute; opacity: 0; pointer-events: none; }
.co-m.on { border-color: var(--orange); background: #fff5f0; color: var(--orange); }

.pcard.sold-out { opacity: .68; }
.pcard.sold-out .buy-btn,
.buy-btn:disabled {
  background: #f1f1f3;
  color: #8b8b94;
  border-color: #dedee3;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.co-input {
  width: 100%; margin-bottom: 16px; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: 14px;
  font-family: inherit; font-size: 15px; outline: none;
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s var(--ease);
}
.co-input:focus { border-color: var(--orange); }
.co-input[aria-invalid="true"] { border-color: #e0341d; }
.co-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: -4px 0 14px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--sub);
}
.co-consent input { margin-top: 2px; accent-color: var(--orange); }
#coPay { width: 100%; }
#coPay:disabled { opacity: .72; cursor: wait; }
/* Inline flow (not flex) so the lock icon stays with the first line and the
   text wraps cleanly on mobile instead of leaving the icon floating. */
.co-note { margin-top: 14px; font-size: 12.5px; color: var(--sub); line-height: 1.5; text-align: center; }
.co-note svg { vertical-align: -2px; margin-right: 5px; }

.co-done { padding: 6px 0 2px; text-align: center; }
.co-check { width: 62px; height: 62px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #e9f9ee; }
.co-done h3 { margin-bottom: 8px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.co-done p { font-size: 14.5px; color: var(--sub); line-height: 1.55; }
.co-done .co-order { font-size: 13px; margin-bottom: 6px; }
.co-done .co-order b { color: var(--ink); font-weight: 700; }
.co-done .co-deliver { margin: 4px 0 14px; }
.co-done .co-deliver b { color: var(--ink); font-weight: 600; }
.co-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 4px; }
.co-actions .btn { width: 100%; }
.co-tg svg { width: 17px; height: 17px; }
.co-hint { margin-top: 16px; padding: 11px 14px; border-radius: 12px; background: var(--bg2); font-size: 12.5px; color: var(--sub); line-height: 1.5; }
.co-hint a { color: var(--orange); font-weight: 600; }
.co-error { background: #fff0ec; color: #b92c18; text-align: left; }
.co-spin {
  border: 4px solid #ffe2d4;
  border-top-color: var(--orange);
  background: transparent;
  animation: spin .9s linear infinite;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------- Sale timer -- */
/* Minimal floating countdown — just the time. Hidden once the sale ends. */
.timer {
  position: fixed; left: 18px; bottom: 18px; z-index: 95;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 9px; border-radius: 16px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .16);
  animation: timerIn .6s var(--ease) both;
  font-family: inherit; color: inherit; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.timer:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(0, 0, 0, .2); }
.timer.ended { display: none; }
.timer-ic {
  flex: none; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px; color: #fff;
  background: var(--orange);
}
.timer-text { display: flex; flex-direction: column; line-height: 1.05; }
.timer-label { font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--sub); }
.timer-clock { font-size: 18px; font-weight: 800; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: var(--orange); }

@keyframes timerIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (max-width: 520px) {
  .timer { left: 12px; bottom: 12px; gap: 8px; padding: 6px 13px 6px 7px; }
  .timer-ic { width: 28px; height: 28px; border-radius: 9px; }
  .timer-ic svg { width: 15px; height: 15px; }
  .timer-clock { font-size: 15px; }
}

/* -------------------------------------------------------------------- How -- */
.how { background: var(--bg2); }
.steps { display: flex; flex-direction: column; gap: 6px; max-width: 560px; margin: 0 auto; }
.step { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: none; }
.step .n {
  flex: none; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--bg2); color: var(--ink);
  font-size: 16px; font-weight: 600; border: 1px solid var(--line);
}
.step h3 { margin-bottom: 5px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.step p { font-size: 16px; color: var(--sub); }

/* ---------------------------------------------------------------- Compare -- */
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 840px; margin: 0 auto; }
.col { padding: 32px; border-radius: var(--radius); }
.col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 19px; font-weight: 700; }
.col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.col li { display: flex; gap: 12px; font-size: 16px; line-height: 1.4; }
.col li svg { flex: none; margin-top: 2px; }
.col.bad { background: var(--bg2); color: var(--sub); }
.col.bad h3 { color: var(--ink); }
.col.good { background: #fff; border: 2px solid var(--orange); box-shadow: 0 16px 40px rgba(250, 79, 3, .12); }
.col.good li { color: var(--ink); }

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

/* -------------------------------------------------------------------- FAQ -- */
.faq-sec { background: var(--bg); border-top: 1px solid var(--line); }
.faq { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--line); }
.q { border-bottom: 1px solid var(--line); }
/* .q-h is a <button> — reset UA styling so it lays out like the rest of the row */
.q-h {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 26px 4px; background: none; border: 0;
  font-family: inherit; font-size: 20px; font-weight: 600; letter-spacing: -.02em; text-align: left; color: inherit;
  cursor: pointer;
}
.q-h .pm { flex: none; position: relative; width: 26px; height: 26px; }
.q-h .pm::before,
.q-h .pm::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--ink); border-radius: 2px; }
.q-h .pm::before { width: 16px; height: 2.5px; }
.q-h .pm::after { width: 2.5px; height: 16px; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.q.open .q-h .pm::after { opacity: 0; }
.q-b { max-height: 0; overflow: hidden; font-size: 17px; line-height: 1.55; color: var(--sub); transition: max-height .3s var(--ease); }
.q.open .q-b { max-height: 240px; padding: 0 4px 26px; }

/* ------------------------------------------------------------------ Final -- */
.final { text-align: center; background: radial-gradient(120% 90% at 50% 100%, #f6f1ec 0%, #fff 60%); }
.final img { width: 180px; margin: 0 auto 8px; filter: drop-shadow(0 20px 34px rgba(0, 0, 0, .12)); animation: float 9s ease-in-out infinite; }
.final h2 { margin-bottom: 16px; }
.final p { max-width: 540px; margin: 0 auto 32px; font-size: 21px; color: var(--sub); }

/* ----------------------------------------------------------------- Footer -- */
footer { padding: 44px 24px; text-align: center; border-top: 1px solid var(--line); color: #86868b; font-size: 13px; line-height: 1.8; }
footer a { color: var(--orange); }

/* ------------------------------------------------------- Promotion page -- */
/* Focused funnel landing (promotion.html) — reuses .hero/.cat/.pcard/modal/timer. */
.promo-hero { text-align: center; padding: 56px 0 12px; background: radial-gradient(120% 80% at 50% 0%, #fff 30%, #f6f1ec 75%, #f5f5f7 100%); }
.promo-points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; margin: 30px auto 0; max-width: 660px; }
.promo-points li { display: inline-flex; align-items: center; font-size: 15px; font-weight: 600; color: var(--ink); }
.promo-points li::before { content: "✓"; margin-right: 7px; color: var(--orange); font-weight: 800; }
.promo-pay { justify-content: center; margin: 30px auto 0; }
@media (max-width: 600px) {
  .promo-hero { padding: 40px 0 8px; }
  .promo-points { gap: 9px 18px; font-size: 14px; }
}

/* -------------------------------------------------------------- Utilities -- */
.progress { position: fixed; top: 0; left: 0; z-index: 200; height: 3px; width: 0; background: linear-gradient(90deg, var(--orange), var(--orange-l)); transition: width .1s linear; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.vis { opacity: 1; transform: none; }

/* ------------------------------------------------- Mobile refinements -- */
/* Phone-only spacing/flow polish layered on top of the per-section queries
   above. Same 600px breakpoint → these win on the cascade where they overlap. */
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }

  /* Hero: mascot topper smaller, full-width stacked CTAs = bigger tap targets */
  .hero { padding: 28px 0 56px; }
  .hero-art { margin-bottom: 20px; }
  .hero-art img { max-width: 190px; }
  .hero-cta { flex-direction: column; gap: 12px; }
  .hero-cta .btn { width: 100%; }
  .hero-sub { margin-bottom: 26px; }

  /* Section rhythm */
  section { padding: 60px 0; }
  .shead { margin-bottom: 36px; }
  .shead p { margin-top: 14px; font-size: 17px; }
  .final p { font-size: 18px; }

  /* Cards & tiles: trim inner padding so copy keeps its width */
  .pcard { padding: 26px 22px; }
  .tile { padding: 26px 24px; }
  .col { padding: 26px 22px; }

  /* FAQ: shorter rows, lighter type */
  .q-h { padding: 22px 2px; font-size: 17px; }
  .q-b { font-size: 15.5px; }
  .q.open .q-b { padding: 0 2px 22px; }

  /* Big CTAs a touch more compact */
  .btn.lg { padding: 16px 28px; font-size: 18px; }

  /* Reserve room so the fixed sale timer (bottom-left) doesn't cover the footer */
  footer { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
