/* =========================================================
   Event Decor Academy — Website + Brand Refresh offer (index.html)
   Loads after styles.css and reuses its tokens
   ========================================================= */

/* ---------- palette: pink-led, with the logo's orange as a final touch ----------
   Overrides styles.css for this page only; premium-install.html keeps the coral palette.
   --orange is the accent slot (kickers, links), so it carries the berry pink here. */
:root {
  --paper: #fdf3f5;
  --paper-2: #f9e3eb;
  --ink: #2b0f1e;
  --ink-soft: #74495d;
  --line: rgba(43, 15, 30, 0.14);
  --orange: #d6286f;
  --tangerine: #ff8fb3;
  --pink: #ff4f8b;
  --blush: #ffc6da;
  --grad: linear-gradient(100deg, #d6286f, #ff4f8b 55%, #ff8a5c);
}
.hero::after { background: radial-gradient(circle, rgba(255, 143, 179, 0.28), rgba(214, 40, 111, 0.1) 45%, transparent 70%); }
.stack::before { background: radial-gradient(circle, rgba(214, 40, 111, 0.4), transparent 60%); }
.final-glow { background: radial-gradient(closest-side, rgba(255, 79, 139, 0.6), rgba(214, 40, 111, 0.3) 55%, transparent); }
.nav, .nav.scrolled { background: rgba(253, 243, 245, 0.82); }
.btn-grad { background-size: 180% 100%; }

/* ---------- hero: copy + puzzle ---------- */
.hero-offer { flex-direction: column; justify-content: center; min-height: 0; padding-bottom: 40px; }
/* glow sits behind the puzzle and fades out before the hero's bottom edge */
.hero-offer::after { top: 6%; bottom: auto; right: -12vw; width: 50vw; height: 50vw; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 4vw, 64px); align-items: center; }
.hero-offer .hero-title { max-width: 15ch; }
.hero-offer .proof-bar { margin-top: 56px; }

.puzzle { margin: 0; position: relative; }
.pz-svg { width: 100%; height: auto; overflow: visible; display: block; filter: drop-shadow(0 30px 40px rgba(255, 79, 139, 0.22)); }
.pz-aa { font-family: var(--serif); font-size: 72px; fill: var(--ink); }
.pz-edge { fill: none; stroke: rgba(43, 20, 24, 0.16); stroke-width: 1.5; }
.pz-3 .pz-edge { stroke: rgba(255, 255, 255, 0.35); }
.pz { transform-box: fill-box; transform-origin: center; }

/* Resting state is assembled; the animation starts scattered, so reduced motion just shows the finished puzzle */
.pz-1 { animation: pz-in-1 1.4s var(--ease) 0.5s both; }
.pz-2 { animation: pz-in-2 1.4s var(--ease) 0.65s both; }
.pz-3 { animation: pz-in-3 1.4s var(--ease) 0.8s both; }
@keyframes pz-in-1 { from { opacity: 0; transform: translate(-70px, 40px) rotate(-14deg); } 60% { opacity: 1; } }
@keyframes pz-in-2 { from { opacity: 0; transform: translate(0, -70px) rotate(8deg); } 60% { opacity: 1; } }
@keyframes pz-in-3 { from { opacity: 0; transform: translate(80px, 30px) rotate(16deg); } 60% { opacity: 1; } }

/* the snap: a small pop once the last piece lands, then a slow float */
.pz-set { transform-box: fill-box; transform-origin: center; animation: pz-snap 0.5s var(--ease) 2.15s, pz-float 7s ease-in-out 2.8s infinite; }
@keyframes pz-snap { 40% { transform: scale(1.035); } }
@keyframes pz-float { 50% { transform: translateY(-8px); } }
.pz-shine { opacity: 0; animation: pz-shine 1.3s ease-in-out 2.3s; }
@keyframes pz-shine { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 1; transform: translateX(900px); } }

.pz-labels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 30px; text-align: center; }
.pz-labels button {
  justify-self: center; font: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
  background: rgba(255, 255, 255, 0.6); border: 1px solid var(--line); padding: 7px 12px; border-radius: 999px; cursor: pointer;
  animation: rise 0.9s var(--ease) both; transition: background 0.3s, border-color 0.3s, transform 0.35s var(--ease);
}
.pz-labels button:hover, .pz-labels button.on { background: #fff; border-color: var(--pink); transform: translateY(-2px); }
.pz-labels button:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.pz-labels button:nth-child(1) { animation-delay: 1.3s; }
.pz-labels button:nth-child(2) { animation-delay: 1.45s; }
.pz-labels button:nth-child(3) { animation-delay: 1.6s; }

/* hover: the piece grows, its neighbours step back */
.pz-hit { cursor: pointer; transform-box: fill-box; transform-origin: center; transition: transform 0.45s var(--ease), opacity 0.45s, filter 0.45s; outline: none; }
.pz-hit.on, .pz-hit:focus-visible { transform: scale(1.1); filter: drop-shadow(0 22px 26px rgba(255, 79, 139, 0.4)); }
.pz-set.hovering .pz-hit:not(.on) { transform: scale(0.95); opacity: 0.7; }

/* ---------- expanded piece ---------- */
.pz-focus { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.pz-focus[hidden] { display: none; }
.pz-backdrop { position: absolute; inset: 0; background: rgba(43, 20, 24, 0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.45s; }
.pz-focus.open .pz-backdrop { opacity: 1; }
.pz-card {
  position: relative; width: min(900px, 100%); max-height: calc(100svh - 32px); overflow: auto;
  display: grid; grid-template-columns: 0.85fr 1.15fr; background: var(--paper); border-radius: 30px;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.55); transform-origin: top left;
}
.pz-card-art { width: 100%; height: 100%; min-height: 320px; padding: 40px 30px; background: radial-gradient(circle at 50% 40%, #fff, var(--paper-2) 70%); overflow: visible; }
.pz-card-body { padding: clamp(28px, 4vw, 48px); }
.pz-card h3 { font-family: var(--serif); font-size: clamp(38px, 4.4vw, 56px); line-height: 1; margin: 10px 0 24px; }
.pz-card .piece-list { font-size: 17px; gap: 13px; }
.pz-card-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.pz-close {
  position: absolute; top: 16px; right: 16px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8); font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink);
}
.pz-close:hover { background: #fff; }
.pz-close:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
.pz-focus.open .pz-card-body > * { animation: rise 0.6s var(--ease) both; }
.pz-focus.open .pz-card-body > :nth-child(2) { animation-delay: 0.08s; }
.pz-focus.open .pz-card-body > :nth-child(3) { animation-delay: 0.16s; }
.pz-focus.open .pz-card-body > :nth-child(4) { animation-delay: 0.24s; }

/* ---------- hero prices ---------- */
.hero-prices { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-offer .hero-ctas { margin-top: 22px; }
.hp {
  position: relative; display: flex; flex-direction: column; gap: 2px; text-decoration: none; min-width: 190px;
  padding: 14px 22px 16px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.65);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.hp:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(43, 20, 24, 0.45); }
.hp-name { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.hp-row { display: flex; align-items: baseline; gap: 10px; }
.hp-row b { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1.05; }
.hp-row s, .tier-price s { color: var(--ink-soft); text-decoration-color: var(--pink); text-decoration-thickness: 2px; }
.hp-row s { font-size: 18px; }
.hp-best { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.hp-best .hp-name { color: var(--blush); }
.hp-best .hp-row b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; }
.hp-best .hp-row s { color: rgba(251, 243, 234, 0.6); }
.hp-flag {
  position: absolute; top: -11px; right: 16px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}

/* ---------- before -> after ---------- */
.results { background: var(--paper-2); }
.ba { margin-top: 56px; border-top: 1px solid var(--ink); }
.ba-head, .ba-row { display: grid; grid-template-columns: 170px 1fr 56px 1.15fr; gap: 20px; align-items: center; }
.ba-head { padding: 16px 0; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.ba-head span:last-child { color: var(--orange); }
.ba-row { padding: 22px 0; border-bottom: 1px solid var(--line); }
.ba-what { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.ba-before { color: var(--ink-soft); font-size: 17px; text-decoration: line-through; text-decoration-color: rgba(224, 69, 58, 0.55); }
.ba-arrow { font-style: normal; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 18px; }
.ba-after { font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.results .hero-ctas { margin-top: 44px; }

/* ---------- pricing: slashed values ---------- */
.tier-price s { font-family: var(--sans); font-size: 0.26em; vertical-align: middle; margin-left: 6px; }
.tier:not(.tier-best) .tier-price s { color: rgba(251, 243, 234, 0.55); }
.tier-price .grad-text { padding-right: 0.06em; }
.tier-best .tier-price { background: none; color: inherit; }


/* ---------- VSL ---------- */
.vsl { padding: clamp(36px, 5vw, 64px) 0 clamp(70px, 9vw, 120px); }
.vsl .h2 { max-width: 18ch; }
.vsl-frame {
  position: relative; margin: 44px auto 0; max-width: 980px; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden;
  display: grid; place-items: center;
  background:
    radial-gradient(60% 70% at 50% 40%, rgba(255, 255, 255, 0.22), transparent 70%),
    repeating-linear-gradient(100deg, rgba(255, 255, 255, 0) 0 22px, rgba(255, 255, 255, 0.12) 22px 26px),
    linear-gradient(150deg, #2b0f1e, #6b1a43 55%, #d6286f);
  box-shadow: 0 50px 90px -40px rgba(214, 40, 111, 0.65);
}
.vsl-play {
  width: clamp(72px, 9vw, 104px); height: clamp(72px, 9vw, 104px); border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.12); animation: vsl-pulse 2.6s ease-in-out infinite;
}
.vsl-play svg { width: 40%; fill: #fff; margin-left: 6%; }
@keyframes vsl-pulse { 50% { box-shadow: 0 0 0 24px rgba(255, 255, 255, 0.06); } }
.vsl-frame .shot-label { position: absolute; left: 20px; bottom: 20px; }

/* ---------- the three pieces ---------- */
.piece-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 60px; }
.piece {
  background: rgba(255, 255, 255, 0.55); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 34px; display: flex; flex-direction: column;
}
.piece-hot { background: #fff; box-shadow: 0 30px 60px -36px rgba(214, 40, 111, 0.55); }
.piece-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.piece-icon { width: 64px; height: 64px; }
.piece-kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.piece h3 { font-family: var(--serif); font-size: clamp(32px, 3vw, 42px); line-height: 1.05; margin: 8px 0 20px; }
.piece-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; color: var(--ink-soft); font-size: 16px; }
.piece-list li { position: relative; padding-left: 24px; }
.piece-list li::before { content: "✦"; position: absolute; left: 0; top: 3px; font-size: 11px; color: var(--pink); }
.not-mgmt {
  margin-top: 26px; border-radius: var(--radius); padding: 26px 30px; background: var(--paper-2);
  font-size: 17px; color: var(--ink-soft); max-width: none;
}
.not-mgmt strong { color: var(--ink); }

/* ---------- showcase ---------- */
.work { background: var(--paper-2); }
.showcase { margin-top: 50px; }
.sc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.sc-tabs button {
  font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.6);
  transition: background 0.3s, color 0.3s, transform 0.35s var(--ease);
}
.sc-tabs button:hover { transform: translateY(-2px); background: #fff; }
.sc-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sc-tabs button:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.browser {
  display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(43, 20, 24, 0.55);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.browser-bar i:nth-child(1) { background: var(--orange); }
.browser-bar i:nth-child(2) { background: var(--tangerine); }
.browser-bar i:nth-child(3) { background: var(--pink); }
.sc-host { margin-left: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-open { margin-left: auto; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.sc-open:hover { color: var(--pink); }
/* The site renders at desktop width and is scaled to fit; offer.js sets --sc-w and --sc-scale */
.sc-view { position: relative; height: clamp(420px, 62vh, 640px); overflow: hidden; background: var(--paper-2); }
.sc-frame {
  position: absolute; top: 0; left: 0; border: 0; background: #fff;
  width: calc(var(--sc-w, 1280) * 1px); height: calc(100% / var(--sc-scale, 1));
  transform: scale(var(--sc-scale, 1)); transform-origin: 0 0;
}
.sc-soon {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 22px;
  background: repeating-linear-gradient(100deg, rgba(255, 255, 255, 0) 0 22px, rgba(255, 255, 255, 0.16) 22px 26px), var(--grad);
}
.sc-soon[hidden] { display: none; }
.sc-soon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-soon-link { text-decoration: none; }
.sc-soon-link:hover { background: #fff; }
.shot-label {
  position: relative; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(251, 243, 234, 0.92); padding: 6px 12px; border-radius: 999px; color: var(--ink);
}
.sc-hint { margin-top: 14px; font-size: 14px; color: var(--ink-soft); text-align: center; }

/* ---------- showcase: mobile view in an iPhone frame ---------- */
.sc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sc-top .sc-tabs { margin-bottom: 0; }
.sc-mode {
  flex: none; display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--pink); background: #fff; color: var(--orange);
  transition: background 0.3s, color 0.3s, transform 0.35s var(--ease);
}
.sc-mode:hover { transform: translateY(-2px); }
.sc-mode:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.sc-mode svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.sc-mode .i-desk, .is-mobile .sc-mode .i-phone { display: none; }
.is-mobile .sc-mode .i-desk { display: block; }
.is-mobile .sc-mode { background: var(--orange); color: #fff; border-color: var(--orange); }

.sc-browser { position: relative; max-width: 1200px; margin: 0 auto; transition: max-width 0.6s var(--ease), border-radius 0.6s var(--ease), padding 0.6s var(--ease), background 0.4s; }
.sc-buttons, .sc-phone-link { display: none; }
.is-mobile .sc-browser {
  max-width: 372px; padding: 13px; border-radius: 58px; overflow: visible; border: 0;
  background: linear-gradient(145deg, #3a3236, #141012 45%, #2b2427);
  box-shadow: inset 0 0 0 2px #4a4146, inset 0 0 0 5px #0c0a0b, 0 50px 90px -40px rgba(43, 15, 30, 0.75);
}
.is-mobile .browser-bar { display: none; }
.is-mobile .sc-view { height: auto; aspect-ratio: 390 / 844; border-radius: 45px; background: #000; }
/* Dynamic Island */
.is-mobile .sc-browser::before {
  content: ""; position: absolute; z-index: 3; top: 25px; left: 50%; transform: translateX(-50%);
  width: 31%; height: 30px; border-radius: 20px; background: #000;
}
/* side buttons: action + volume on the left, power on the right */
.is-mobile .sc-buttons { display: block; }
.is-mobile .sc-buttons::before, .is-mobile .sc-buttons::after, .is-mobile .sc-browser::after {
  content: ""; position: absolute; width: 4px; border-radius: 3px; background: #2b2427;
}
.is-mobile .sc-buttons::before { left: -3px; top: 118px; height: 28px; }
.is-mobile .sc-buttons::after { left: -3px; top: 172px; height: 50px; box-shadow: 0 64px 0 #2b2427; }
.is-mobile .sc-browser::after { right: -3px; top: 220px; height: 84px; }
.is-mobile .sc-phone-link { display: block; text-align: center; margin-top: 6px; font-size: 14px; }
.sc-open-m { font-weight: 600; color: var(--ink); text-decoration: none; }
.sc-open-m:hover { color: var(--pink); }
@media (max-width: 640px) {
  .sc-top { flex-direction: column; align-items: stretch; gap: 10px; }
  .sc-mode { align-self: flex-start; font-size: 13px; padding: 9px 14px; }
  .is-mobile .sc-browser { max-width: 300px; padding: 10px; border-radius: 48px; }
  .is-mobile .sc-view { height: auto; border-radius: 38px; }
  .is-mobile .sc-browser::before { top: 20px; height: 24px; }
}


/* ---------- pricing tiers ---------- */
.tiers-section .wrap { position: relative; z-index: 1; }
.tiers-head { max-width: 760px; }
.tiers { display: grid; grid-template-columns: 1fr 1.08fr; gap: 24px; margin-top: 56px; align-items: stretch; }
.tier {
  position: relative; border-radius: 26px; padding: clamp(28px, 3.5vw, 44px);
  background: rgba(251, 243, 234, 0.06); border: 1px solid rgba(251, 243, 234, 0.18); color: var(--paper);
  display: flex; flex-direction: column;
}
.tier .piece-list { color: rgba(251, 243, 234, 0.75); margin-bottom: 34px; flex: 1; }
.tier .btn-ghost { color: var(--paper); border-color: rgba(251, 243, 234, 0.3); background: transparent; }
.tier .btn-ghost:hover { border-color: var(--paper); }
.tier-best { background: var(--paper); color: var(--ink); border-color: transparent; box-shadow: 0 40px 90px -30px rgba(255, 79, 139, 0.55); }
.tier-best .piece-list { color: var(--ink-soft); }
.tier-flag {
  position: absolute; top: -14px; right: 28px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px;
}
.tier-name { font-family: var(--serif); font-size: clamp(30px, 3vw, 40px); line-height: 1.05; }
.tier-pieces { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; }
.tier-pieces span:last-of-type { margin-right: 6px; }
.dot { width: 12px; height: 12px; border-radius: 3px; }
.dot-1 { background: #ffc6da; }
.dot-2 { background: #fffaf4; border: 1px solid rgba(43, 20, 24, 0.35); }
.tier:not(.tier-best) .dot-2 { border-color: rgba(251, 243, 234, 0.5); }
.dot-3 { background: var(--grad); }
.tier-price { font-family: var(--serif); font-size: clamp(60px, 7vw, 92px); line-height: 1; margin: 22px 0 26px; }
.tier-best .tier-price { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tiers-fine { margin-top: 26px; font-size: 14px; color: rgba(251, 243, 234, 0.6); text-align: center; }

/* ---------- how it works ---------- */
.how-steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: none; }
.how-steps li { border-top: 1px solid var(--ink); padding-top: 26px; }
.how-steps h3 { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; margin: 18px 0 10px; }
.how-steps p { color: var(--ink-soft); font-size: 16px; }

/* ---------- founding deal ---------- */
.deal { background: var(--paper-2); }
.deal-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.deal-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.deal-list li { display: grid; gap: 6px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.deal-list b { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 30px); }
.deal-list span { color: var(--ink-soft); }

/* ---------- about ---------- */
.zero-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.zero-photo { aspect-ratio: 4 / 5; border-radius: 999px 999px 26px 26px; }
.story-sign { margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: 26px; }
.final-sub { margin-top: 26px; color: rgba(251, 243, 234, 0.75); font-size: clamp(17px, 1.6vw, 20px); }
.final .hero-ctas { margin-top: 36px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .puzzle { order: -1; max-width: 560px; margin: 0 auto 10px; width: 100%; }
  .piece-grid, .tiers, .deal-wrap, .zero-wrap { grid-template-columns: 1fr; }
  .tiers { max-width: 560px; }
  .how-steps { grid-template-columns: 1fr 1fr; row-gap: 34px; }
}
@media (max-width: 640px) {
  .hero-offer { padding-top: 130px; }
  .pz-labels button { font-size: 10px; padding: 6px 8px; letter-spacing: 0.06em; }
  .hp { flex: 1; min-width: 0; padding: 12px 16px 14px; }
  .hp-row { flex-direction: column; gap: 0; }
  .hp-row b { font-size: 38px; }
  .ba-head { display: none; }
  .ba-row { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .ba-arrow { width: 30px; height: 30px; font-size: 14px; transform: rotate(90deg); }
  .pz-card { grid-template-columns: 1fr; }
  .pz-card-art { min-height: 0; height: 200px; padding: 24px; }
  .how-steps { grid-template-columns: 1fr; }
  .sc-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px 16px; padding: 4px 20px; scrollbar-width: none; }
  .sc-tabs button { white-space: nowrap; font-size: 13px; padding: 9px 14px; }
  .sc-view { height: 560px; }
  .footer-inner { justify-content: center; text-align: center; }
}
