/* SoberHero landing — comic-hero design system.
   Faithful to Design/Claude/comic-hero-design-system.md:
   - closed color palette (§13), companion-dark borders/shadows
   - hard vertical shadows only: 0 4px / 0 6px / 0 8px, zero blur (§6)
   - cards: white, 3px #2C3E55 border, radius 16, shadow 0 6px 0 (§5)
   - primary button: green, 2.5px #1A6636 border, radius 14, shadow 0 6px 0,
     pressed = shadow collapses + shifts down (§8)
   - badges: sunburst yellow, Bangers, 2px border, shadow 0 3px 0 (§8)
   - narration/caption boxes: yellow, 2px border, radius 8, dog-ear fold (§8) */

@font-face {
  font-family: "Bangers";
  src: url("assets/fonts/Bangers-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  /* Variable font: full Cyrillic + Latin-ext coverage, weights 200-1000. */
  font-family: "Nunito";
  src: url("assets/fonts/Nunito-Variable.ttf") format("truetype-variations");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  /* Display font: Bangers has Latin + Latin-ext but NO Cyrillic — Russian
     pages swap the display stack to heavy Nunito via the :lang override. */
  --font-display: "Bangers", "Nunito", cursive;
  --display-weight: 400;
  --display-spacing: 1px;
  --hero-green: #2E9E56;
  --hero-green-dark: #1A6636;
  --sky-blue: #3BBFEF;
  --deep-sky: #1A8DC7;
  --light-sky: #5DD2F5;
  --city-dark: #2C3E55;
  --deep-navy: #0E1F33;
  --storm-gray: #8A9BB0;
  --sunburst: #FFD84D;
  --victory-gold: #F0A800;
  --gold-dark: #8A6800;
  --danger-red: #E84040;
  --danger-red-dark: #8A1515;
  --pale-sky: #D4E8F5;
  --white: #FFFFFF;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--city-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .nav-brand span, .step-num {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
}
html:lang(ru) {
  --font-display: "Nunito", system-ui, sans-serif;
  --display-weight: 900;
  --display-spacing: 0px;
}
html:lang(ru) h1, html:lang(ru) h2, html:lang(ru) h3 { letter-spacing: 0 !important; }
/* Heavy Nunito is much wider than condensed Bangers — scale display text down
   so long Cyrillic words don't blow up the layout. */
html:lang(ru) .hero h1 { font-size: clamp(34px, 4.6vw, 64px); }
html:lang(ru) .section-title { font-size: clamp(28px, 3.6vw, 46px); }
html:lang(ru) .page-head h1 { font-size: clamp(30px, 4.4vw, 54px); }
html:lang(ru) .slip-panel h2 { font-size: clamp(22px, 2.8vw, 36px); }
html:lang(ru) .card h3, html:lang(ru) .step h3, html:lang(ru) .legal-card h2 { font-size: 21px; }
html:lang(ru) .screens-scroll figcaption { font-size: 15px; }
html:lang(ru) .strip-item b { font-size: 30px; }
html:lang(ru) .nav-brand span { font-size: 24px; }
html:lang(ru) .bubble { font-size: 20px; }
html:lang(ru) .hero-kicker { font-size: 14px; letter-spacing: 0; }

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

/* ---------- comic textures ---------- */
/* Ben-Day halftone dots — the classic printed-comic shading. */
.dots-light { background-image: radial-gradient(rgba(255,255,255,.14) 2px, transparent 2.5px); background-size: 26px 26px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
  background: rgba(255,255,255,.95);
  border-bottom: 2px solid var(--city-dark);
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--city-dark);
  font-size: 28px; letter-spacing: 1px;
  flex-shrink: 0; /* never let the actions squeeze the logo (and its tap target) to 0px */
}
.nav-brand img { border-radius: 10px; flex-shrink: 0; }

.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-family: "Nunito", sans-serif; font-weight: 800; letter-spacing: 1px;
  border-radius: 14px; cursor: pointer;
}
.btn-primary {
  background: var(--hero-green); color: var(--white);
  border: 2.5px solid var(--hero-green-dark);
  box-shadow: 0 6px 0 var(--hero-green-dark);
  transition: transform .1s ease, box-shadow .1s ease;
}
.btn-primary:hover { transform: translateY(3px); box-shadow: 0 3px 0 var(--hero-green-dark); }
.btn-primary:active { transform: translateY(6px); box-shadow: 0 0 0 var(--hero-green-dark); }
.btn-nav { padding: 10px 22px; font-size: 15px; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-picker select {
  appearance: none; -webkit-appearance: none;
  font-family: "Nunito", sans-serif; font-weight: 800; font-size: 14px;
  color: var(--city-dark);
  background: var(--pale-sky);
  border: 2.5px solid var(--city-dark);
  border-radius: 14px;
  box-shadow: 0 4px 0 var(--city-dark);
  padding: 8px 34px 8px 14px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232C3E55' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: transform .1s ease, box-shadow .1s ease;
}
.lang-picker select:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--city-dark); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--light-sky) 0%, var(--deep-sky) 100%);
  overflow: hidden;
}
.hero::before {
  /* comic sunburst rays */
  content: "";
  position: absolute; inset: -50%;
  background: repeating-conic-gradient(from 0deg at 50% 18%,
    rgba(255,255,255,.10) 0deg 6deg, transparent 6deg 13deg);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 2px, transparent 2.5px);
  background-size: 26px 26px;
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1160px; margin: 0 auto;
  padding: 72px 24px 0;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px;
  align-items: center;
}
/* Badge/achievement chip (§8): sunburst, Bangers, 2px border, 0 3px 0 shadow */
.hero-kicker {
  display: inline-block;
  font-family: var(--font-display); font-weight: var(--display-weight);
  background: var(--sunburst); color: var(--city-dark);
  border: 2px solid var(--city-dark);
  box-shadow: 0 3px 0 var(--city-dark);
  border-radius: 999px;
  font-size: 17px; letter-spacing: 1px;
  padding: 7px 20px; margin-bottom: 24px;
  transform: rotate(-2deg);
}
.hero h1 {
  font-size: clamp(56px, 7vw, 96px);
  line-height: .95;
  color: var(--white);
  letter-spacing: 2px;
  text-shadow: 5px 5px 0 var(--city-dark);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 19px; font-weight: 700; color: var(--white);
  text-shadow: 0 2px 8px rgba(14,31,51,.45);
  max-width: 540px; margin-bottom: 28px;
}
.hero-sub strong, .hero-sub em { color: var(--sunburst); font-style: normal; }

.hero-ctas { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.appstore-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--deep-navy); color: var(--white);
  border: 2.5px solid var(--city-dark);
  box-shadow: 0 6px 0 rgba(14,31,51,.55);
  border-radius: 14px;
  padding: 10px 24px;
  text-decoration: none;
  line-height: 1.15;
  transition: transform .1s ease, box-shadow .1s ease;
}
.appstore-badge:hover { transform: translateY(3px); box-shadow: 0 3px 0 rgba(14,31,51,.55); }
.appstore-badge:active { transform: translateY(6px); box-shadow: 0 0 0 rgba(14,31,51,.55); }
.appstore-badge small { font-size: 12px; font-weight: 400; opacity: .85; }
.appstore-badge span { font-weight: 800; font-size: 20px; }
.hero-note { color: var(--white); font-weight: 700; font-size: 14px; text-shadow: 0 2px 6px rgba(14,31,51,.5); }

.hero-bullets {
  list-style: none;
  margin: 30px 0 48px;
  display: flex; flex-direction: column; gap: 12px;
}
.hero-bullets li {
  background: var(--white);
  border: 2.5px solid var(--city-dark);
  box-shadow: 0 4px 0 var(--city-dark);
  border-radius: 14px;
  font-weight: 800; font-size: 16px;
  padding: 10px 18px;
  width: fit-content;
}
.hero-bullets li:nth-child(odd) { transform: rotate(-.6deg); }
.hero-bullets li:nth-child(even) { transform: rotate(.6deg); }

.hero-shot { position: relative; align-self: end; padding-top: 10px; }

/* Comic speech bubble pointing at the phone */
.bubble {
  position: relative;
  width: fit-content;
  margin: 0 auto 26px;
  font-family: var(--font-display); font-weight: var(--display-weight);
  font-size: 24px; letter-spacing: var(--display-spacing);
  color: var(--city-dark);
  background: var(--white);
  border: 3px solid var(--city-dark);
  border-radius: 18px;
  box-shadow: 0 4px 0 var(--city-dark);
  padding: 10px 22px;
  transform: rotate(-2deg);
  z-index: 3;
}
.bubble::before, .bubble::after {
  content: "";
  position: absolute; left: 56px; bottom: -16px;
  width: 0; height: 0;
  border-left: 12px solid transparent;
  border-right: 8px solid transparent;
}
.bubble::before { border-top: 17px solid var(--city-dark); bottom: -20px; left: 54px; }
.bubble::after { border-top: 14px solid var(--white); }

.phone-wrap { position: relative; width: fit-content; margin: 0 auto; }

/* App chips reused as stickers (dashboard LVL chip + days-sober pill) */
.sticker {
  position: absolute; z-index: 3;
  font-family: var(--font-display); font-weight: var(--display-weight);
  letter-spacing: var(--display-spacing);
  white-space: nowrap;
}
.sticker-lvl {
  top: 26px; left: -30px;
  background: var(--sunburst); color: var(--city-dark);
  border: 2.5px solid var(--city-dark);
  border-radius: 12px;
  box-shadow: 0 3px 0 var(--city-dark);
  font-size: 22px;
  padding: 4px 16px;
  transform: rotate(-7deg);
}
.sticker-days {
  bottom: 90px; right: -34px;
  background: var(--danger-red); color: var(--white);
  border: 2.5px solid var(--city-dark);
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--danger-red-dark);
  font-size: 18px;
  padding: 6px 18px;
  transform: rotate(4deg);
}

/* phone frame — device mockup: dark bezel, comic outline, hard shadow */
.phone {
  background: var(--deep-navy);
  border: 3px solid var(--city-dark);
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 8px 0 rgba(14,31,51,.5);
}
.phone img { border-radius: 32px; }
.phone-big { width: min(360px, 88%); margin: 0 auto; position: relative; z-index: 2; }

.hero-wave { height: 56px; background: var(--white); border-radius: 48px 48px 0 0; position: relative; z-index: 2; margin-top: -8px; border-top: 3px solid var(--city-dark); }

/* ---------- strip ---------- */
.strip { background: var(--white); padding: 8px 24px 0; }
.strip-inner {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.strip-item {
  text-align: center; padding: 18px 8px;
  background: var(--pale-sky);
  border: 3px solid var(--city-dark);
  border-radius: 16px;
  box-shadow: 0 6px 0 var(--city-dark);
}
.strip-item:nth-child(odd) { transform: rotate(-.8deg); }
.strip-item:nth-child(even) { transform: rotate(.8deg); }
.strip-item b { display: block; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 40px; color: var(--deep-sky); letter-spacing: var(--display-spacing); }
.strip-item span { font-weight: 800; font-size: 14px; color: var(--city-dark); }

/* ---------- sections ---------- */
.section { padding: 88px 24px; max-width: 1160px; margin: 0 auto; }
.section-title {
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: 2px; text-align: center;
  color: var(--city-dark);
  text-shadow: 4px 4px 0 var(--pale-sky);
  margin-bottom: 14px;
}
.section-title.light { color: var(--white); text-shadow: 4px 4px 0 var(--deep-navy); }

/* Narration/caption box (§8 Alert): yellow, 2px border, radius 8, dog-ear */
.section-sub {
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 auto 52px;
  text-align: center;
  font-size: 16px; font-weight: 600;
  color: var(--city-dark);
  background: var(--sunburst);
  border: 2px solid var(--city-dark);
  border-radius: 8px;
  box-shadow: 0 3px 0 var(--city-dark);
  padding: 8px 30px 8px 18px;
  transform: rotate(-.5deg);
}
.section-sub::after {
  /* dog-ear fold, top-right */
  content: "";
  position: absolute; top: -2px; right: -2px;
  width: 0; height: 0;
  border-top: 16px solid var(--white);
  border-left: 16px solid var(--gold-dark);
  border-top-right-radius: 6px;
}
.section-screens .section-sub::after { border-top-color: var(--deep-navy); }

/* feature cards — comic panels (§5 Card Anatomy) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--white);
  border: 3px solid var(--city-dark);
  border-radius: 16px;
  box-shadow: 0 6px 0 var(--city-dark);
  padding: 28px 26px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:nth-child(odd) { transform: rotate(-.7deg); }
.card:nth-child(even) { transform: rotate(.7deg); }
.card:hover { transform: rotate(0) translateY(-3px); box-shadow: 0 9px 0 var(--city-dark); }
.card-icon {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  border: 2.5px solid var(--city-dark);
  border-radius: 14px;
  box-shadow: 0 4px 0 var(--city-dark);
  margin-bottom: 18px;
}
.card h3 { font-size: 27px; letter-spacing: var(--display-spacing); margin-bottom: 8px; }
.card p { font-size: 15.5px; font-weight: 600; color: #4A5E78; }

/* screens gallery — a comic strip */
.section-screens {
  max-width: none;
  background: linear-gradient(180deg, var(--deep-sky), var(--deep-navy));
  position: relative;
}
.section-screens::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 2px, transparent 2.5px);
  background-size: 22px 22px;
  pointer-events: none;
}
.screens-scroll {
  position: relative;
  display: flex; gap: 34px;
  overflow-x: auto;
  padding: 16px 32px 30px;
  max-width: 1300px; margin: 0 auto;
  scroll-snap-type: x mandatory;
}
.screens-scroll figure { flex: 0 0 250px; scroll-snap-align: center; }
.screens-scroll figure:nth-child(odd) { transform: rotate(-1.2deg); }
.screens-scroll figure:nth-child(even) { transform: rotate(1.2deg); }
.screens-scroll .phone { border-radius: 36px; padding: 9px; box-shadow: 0 7px 0 rgba(0,0,0,.4); }
.screens-scroll .phone img { border-radius: 27px; }
.screens-scroll figcaption {
  font-family: var(--font-display); font-weight: var(--display-weight);
  font-size: 18px; letter-spacing: var(--display-spacing);
  color: var(--city-dark);
  text-align: center;
  width: fit-content; margin: 16px auto 0;
  background: var(--sunburst);
  border: 2px solid var(--city-dark);
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--city-dark);
  padding: 3px 16px;
}
.screens-scroll::-webkit-scrollbar { height: 10px; }
.screens-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.35); border-radius: 5px; }
.screens-scroll::-webkit-scrollbar-track { background: rgba(255,255,255,.08); border-radius: 5px; }

/* steps — numbered comic panels */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  text-align: center; padding: 34px 24px;
  background: var(--pale-sky);
  border: 3px solid var(--city-dark);
  border-radius: 16px;
  box-shadow: 0 6px 0 var(--city-dark);
}
.step:nth-child(1) { transform: rotate(-.8deg); }
.step:nth-child(2) { transform: rotate(.5deg); }
.step:nth-child(3) { transform: rotate(-.4deg); }
.step-num {
  width: 64px; height: 64px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; color: var(--white);
  background: var(--hero-green);
  border: 2.5px solid var(--hero-green-dark);
  border-radius: 50%;
  box-shadow: 0 4px 0 var(--hero-green-dark);
}
.step h3 { font-size: 27px; letter-spacing: var(--display-spacing); margin-bottom: 8px; }
.step p { font-size: 15.5px; font-weight: 600; color: #4A5E78; }

/* subtle halftone on light content sections */
#features, #how {
  background-image: radial-gradient(rgba(212,232,245,.55) 1.6px, transparent 1.9px);
  background-size: 24px 24px;
}

/* slip panel — celebration gradient (§35) with sparkles */
.section-slip { padding-top: 0; }
.slip-panel {
  position: relative;
  background: linear-gradient(180deg, var(--city-dark), var(--deep-navy));
  border: 3px solid var(--city-dark);
  border-radius: 24px;
  box-shadow: 0 8px 0 rgba(14,31,51,.35);
  padding: 56px 48px;
  text-align: center;
  overflow: hidden;
}
.slip-panel::before, .slip-panel::after {
  font-family: "Nunito", sans-serif;
  position: absolute;
  color: var(--sunburst);
  text-shadow: 0 0 0 var(--gold-dark);
}
.slip-panel::before { content: "✦ ✧"; left: 5%; top: 22px; font-size: 30px; transform: rotate(-12deg); }
.slip-panel::after { content: "✧ ✦"; right: 5%; bottom: 22px; font-size: 26px; transform: rotate(9deg); }
.slip-panel h2 {
  color: var(--sunburst);
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: 2px; line-height: 1.1;
  text-shadow: 3px 3px 0 rgba(0,0,0,.4);
  margin-bottom: 18px;
}
.slip-panel p { color: var(--pale-sky); font-weight: 700; font-size: 17px; max-width: 720px; margin: 0 auto; }

/* final cta with starburst behind the icon */
.section-cta { text-align: center; padding-bottom: 110px; }
.cta-burst {
  position: relative;
  width: 190px; height: 190px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
}
.cta-burst::before, .cta-burst::after {
  content: "";
  position: absolute; inset: 0;
  clip-path: polygon(50% 0%, 59% 12%, 72% 5%, 75% 20%, 90% 18%, 86% 33%, 100% 38%, 90% 50%, 100% 62%, 86% 67%, 90% 82%, 75% 80%, 72% 95%, 59% 88%, 50% 100%, 41% 88%, 28% 95%, 25% 80%, 10% 82%, 14% 67%, 0% 62%, 10% 50%, 0% 38%, 14% 33%, 10% 18%, 25% 20%, 28% 5%, 41% 12%);
}
.cta-burst::before { background: var(--gold-dark); transform: scale(1.06) translateY(4px); }
.cta-burst::after { background: var(--sunburst); }
.cta-icon { position: relative; z-index: 1; border-radius: 20px; border: 2.5px solid var(--city-dark); box-shadow: 0 4px 0 var(--city-dark); }
.section-cta .appstore-badge { margin-top: 6px; }

/* ---------- inner pages (privacy / terms / support) ---------- */
.page-head {
  background: linear-gradient(180deg, var(--light-sky), var(--deep-sky));
  border-bottom: 3px solid var(--city-dark);
  text-align: center;
  padding: 72px 24px 56px;
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute; inset: -50%;
  background: repeating-conic-gradient(from 0deg at 50% 30%,
    rgba(255,255,255,.10) 0deg 6deg, transparent 6deg 13deg);
  pointer-events: none;
}
.page-head::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 2px, transparent 2.5px);
  background-size: 26px 26px;
  pointer-events: none;
}
.page-head h1 {
  position: relative; z-index: 1;
  font-size: clamp(44px, 6vw, 72px);
  letter-spacing: 2px; color: var(--white);
  text-shadow: 4px 4px 0 var(--city-dark);
  margin-bottom: 8px;
}
.page-head p {
  position: relative; z-index: 1;
  font-weight: 800; font-size: 18px; color: var(--white);
  text-shadow: 0 2px 8px rgba(14,31,51,.45);
}

.legal { max-width: 780px; padding-top: 56px; display: flex; flex-direction: column; gap: 24px; }
.legal-card {
  background: var(--white);
  border: 3px solid var(--city-dark);
  border-radius: 16px;
  box-shadow: 0 6px 0 var(--city-dark);
  padding: 24px 28px;
}
.legal-card:nth-child(odd) { transform: rotate(-.3deg); }
.legal-card:nth-child(even) { transform: rotate(.3deg); }
.legal-card h2 { font-size: 26px; letter-spacing: var(--display-spacing); margin-bottom: 8px; color: var(--city-dark); }
.legal-card p { font-size: 15.5px; font-weight: 600; color: #4A5E78; }
.legal-card a { color: var(--deep-sky); font-weight: 800; }
.support-contact { background: var(--pale-sky); }
.support-crisis { background: #FBEAEA; border-color: var(--danger-red); box-shadow: 0 6px 0 var(--danger-red-dark); }
.support-crisis h2 { color: var(--danger-red); }

/* footer */
.footer { background: var(--deep-navy); color: var(--pale-sky); border-top: 3px solid var(--city-dark); }
.footer-inner { max-width: 900px; margin: 0 auto; padding: 48px 24px; text-align: center; }
.footer-brand {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: var(--display-weight);
  font-size: 24px; letter-spacing: var(--display-spacing); color: var(--white);
  margin-bottom: 18px;
}
.footer-brand img { border-radius: 8px; }
.footer-disclaimer { font-size: 13.5px; font-weight: 600; color: var(--storm-gray); max-width: 640px; margin: 0 auto 22px; }
.footer-links { display: flex; justify-content: center; gap: 26px; margin-bottom: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--sky-blue); font-weight: 800; text-decoration: none; font-size: 14px; }
.footer-links a:hover { text-decoration: underline; }
.footer-copy { font-size: 12.5px; color: var(--storm-gray); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  /* minmax(0, …): a long unbreakable heading word must not widen the column past the viewport */
  .hero-inner { grid-template-columns: minmax(0, 1fr); text-align: center; padding-top: 56px; }
  .hero-kicker { margin-left: auto; margin-right: auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-bullets { align-items: center; }
  .cards, .steps, .strip-inner { grid-template-columns: 1fr 1fr; }
  .sticker-lvl { left: -8px; }
  .sticker-days { right: -8px; }
}
@media (max-width: 600px) {
  .cards, .steps { grid-template-columns: 1fr; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
  .nav-brand span { display: none; }
  .btn-nav { padding: 10px 14px; font-size: 13px; }
  .lang-picker select { font-size: 13px; padding: 8px 30px 8px 10px; }
  .slip-panel { padding: 40px 24px; }
  .sticker-lvl { left: 0; top: 14px; }
  .sticker-days { right: 0; bottom: 60px; }
}
/* narrow phones (320–420px), where long Cyrillic words and the nav controls ran out of room */
@media (max-width: 420px) {
  .nav { padding: 10px 12px; }
  .nav-actions { gap: 8px; min-width: 0; }
  .lang-picker select { padding: 7px 26px 7px 8px; background-position: right 8px center; max-width: 118px; }
  .btn-nav { padding: 9px 10px; letter-spacing: .5px; }
  .hero-inner { padding-left: 16px; padding-right: 16px; }
  .hero h1 { font-size: clamp(36px, 12vw, 56px); letter-spacing: 1px; text-shadow: 4px 4px 0 var(--city-dark); overflow-wrap: anywhere; }
  /* Cyrillic headline (Nunito 900) is wider: "ПРОКАЧИВАЙСЯ." must fit one line at 320px */
  html:lang(ru) .hero h1 { font-size: clamp(26px, 9vw, 34px); }
  .hero-kicker { font-size: 15px; padding: 6px 14px; max-width: 100%; }
  .hero-sub { font-size: 17px; overflow-wrap: anywhere; }
  .hero-note { overflow-wrap: anywhere; }
  .hero-bullets li { max-width: 100%; }
  .bubble { font-size: 19px; padding: 8px 16px; max-width: 100%; }
  .sticker-days { font-size: 15px; padding: 5px 12px; }
}
