/* Layout: hero is a compact two-column intro (headline | lead + store buttons) over one large,
   unmodified campaign image. Bands alternate white / light grey, like the image itself.
   Palette is taken from the supplied image: white, #f8f8f8 grey, SOS red, slate text. */
:root {
  --paper: #ffffff;
  --grey: #f8f8f8;
  --ink: #2a2e35;
  --muted: #5d646c;
  --red: #d63f43;
  --red-soft: #f35a5c;
  --red-tint: #fdeded;
  --line: #e7e8ea;
  --line-strong: #d7d9dc;
  --display: "Roboto", "Segoe UI", system-ui, sans-serif;
  --body: "Roboto", "Segoe UI", system-ui, sans-serif;
  --mark: "Roboto Condensed", "Arial Narrow", "Roboto", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--paper);
}

img { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; text-wrap: balance; line-height: 1.15; }
p { margin: 0; }
a { color: var(--red); }
:focus-visible { outline: 3px solid var(--red-soft); outline-offset: 3px; border-radius: 8px; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap.wide { max-width: 1240px; }
.band { padding-block: clamp(52px, 8vw, 96px); }
.band.tint { background: var(--grey); }
section[id] { scroll-margin-top: 72px; }

.sec-head { display: grid; gap: 12px; max-width: 640px; margin-bottom: clamp(28px, 5vw, 48px); }
.sec-head h2 { font-size: clamp(1.9rem, 4.6vw, 2.7rem); font-weight: 700; }
.sub { color: var(--muted); font-size: 1.1rem; }

/* header */
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.mark { font-family: var(--mark); font-weight: 700; font-size: 1.55rem; line-height: 1; letter-spacing: .01em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.mark b { color: var(--red-soft); font-weight: 700; }
.nav { display: flex; gap: 26px; margin-inline: auto 8px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover { color: var(--red); }
@media (max-width: 820px) { .nav { display: none; } }

.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; }
.lang button {
  font: 700 .9rem/1 var(--display);
  letter-spacing: .04em;
  min-width: 44px;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--red); color: #fff; }

/* hero */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: inline-block;
  font: 700 .8rem/1 var(--display);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-tint);
  border-radius: 999px;
  padding: 10px 14px;
}
.lead { font-size: clamp(1.1rem, 2.4vw, 1.25rem); color: var(--muted); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.store {
  flex: 1 1 168px;
  max-width: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 58px;
  padding: 8px 22px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
  transition: transform .15s ease, background .15s ease;
}
.store:hover { background: #444a53; transform: translateY(-2px); }
.store small { font-size: .78rem; opacity: .85; }
.store strong { font: 700 1.2rem/1.2 var(--display); }
@media (prefers-reduced-motion: reduce) { .store { transition: none; } }

/* Desktop first screen */
.hero-desktop {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
  justify-items: start;
  padding-block: clamp(24px, 4vw, 48px) clamp(36px, 5vw, 64px);
}
.hero-mobile { display: none; }
.hero-desktop .lead { max-width: 54em; }

.card {
  position: relative;
  width: 100%;
  aspect-ratio: 1600 / 839;
  container-type: inline-size;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--grey);
  box-shadow: 0 30px 60px -36px rgba(42, 46, 53, .35);
}
.card img { display: block; }

/* Latvian: the original campaign image, unmodified. The store badges inside it are real links. */
.card-lv > img { width: 100%; height: auto; }
.hit { position: absolute; display: block; border-radius: 10px; }
.hit:hover { outline: 3px solid rgba(243, 90, 92, .55); outline-offset: 2px; }
.hit.appstore { left: 6.44%; top: 67.7%; width: 12.81%; height: 7.27%; }
.hit.gplay { left: 20.81%; top: 67.7%; width: 12.81%; height: 7.27%; }

/* Russian and English: same layout, text as HTML. Logo and phones are pixel-exact crops of the original. */
.card-i18n { display: none; }
html[lang="ru"] .card-i18n, html[lang="en"] .card-i18n { display: block; }
html[lang="ru"] .card-lv, html[lang="en"] .card-lv { display: none; }
.c-logo { position: absolute; left: 5.625%; top: 13.35%; width: 19.5%; height: auto; }
.c-phones { position: absolute; right: 0; top: 0; height: 100%; width: auto; }
.c-h { position: absolute; left: 6.4%; top: 31.8%; width: 38%; margin: 0; font: 700 5.6cqw/1 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.c-tag { position: absolute; left: 6.4%; top: 48.9%; width: 36cqw; margin: 0; font: 400 2.5cqw/1.43 var(--display); color: var(--ink); }
.c-stores { position: absolute; left: 6.44%; top: 67.7%; display: flex; gap: 1.65cqw; }
.c-store {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 12.81cqw;
  min-height: max(3.82cqw, 44px);
  padding: 0 max(12px, 1.4cqw);
  border-radius: max(8px, 1cqw);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
}
.c-store:hover { background: #444a53; }
.c-store small { font-size: max(11px, 1.15cqw); opacity: .9; }
.c-store strong { font: 700 max(14px, 1.65cqw)/1.2 var(--display); }
.c-url { position: absolute; left: 6.4%; top: 85.9%; margin: 0; font: 400 2.5cqw/1 var(--display); color: var(--muted); }

/* Mobile first screen: its own composition, compact so the download buttons sit high */
@media (max-width: 768px) {
  .hero-desktop { display: none; }
  .hero-mobile { display: block; }
  .m-copy { display: grid; gap: 10px; padding-block: 16px 4px; }
  .m-eyebrow { margin: 0; font: 700 1rem/1.3 var(--display); color: var(--red); }
  .hero-mobile h1 { font-size: clamp(1.9rem, 8.6vw, 2.5rem); font-weight: 900; line-height: 1.06; letter-spacing: -.015em; }
  .m-lead { margin: 0; font-size: 1.1rem; line-height: 1.45; color: var(--muted); }
  .m-phones { margin: 12px 0 0; background: var(--grey); aspect-ratio: 880 / 650; overflow: hidden; }
  .m-phones img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
  .m-stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-block: 16px 32px; }
  .m-store {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 68px;
    padding: 8px 16px;
    border-radius: 16px;
    background: var(--ink);
    color: #fff;
    text-decoration: none;
    line-height: 1.2;
  }
  .m-store small { font-size: 1rem; opacity: .9; }
  .m-store strong { font: 700 clamp(1.15rem, 5.2vw, 1.4rem)/1.2 var(--display); white-space: nowrap; }
}
@media (max-width: 340px) { .m-stores { grid-template-columns: minmax(0, 1fr); } }

/* info: what makes the app more than an SOS button */
.info-band { padding-block: clamp(44px, 7vw, 80px); }
.info-head { display: grid; gap: 4px; max-width: 760px; margin-bottom: clamp(24px, 4vw, 40px); }
.info-head h2 { font-size: clamp(1.9rem, 4.6vw, 2.7rem); font-weight: 700; }
.info-head h2 span { display: block; }
.info-head h2 span:first-child { color: var(--muted); font-weight: 500; }
.info-lead { margin: 16px 0 0; font-size: 1.15rem; line-height: 1.55; color: var(--muted); max-width: 40em; }

.info-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.info-steps li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
}
.info-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -27px;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  border-radius: 50%;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d63f43' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat;
  border: 1px solid var(--line-strong);
}
.info-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--red-tint); margin-bottom: 4px; }
.info-ico svg { width: 28px; height: 28px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-label { font: 700 1rem/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.info-steps p { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--ink); }
.info-steps p.more { color: var(--muted); }

.info-quote {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
  margin-top: clamp(20px, 3vw, 32px);
  padding: clamp(22px, 3.5vw, 34px) clamp(20px, 4vw, 48px);
  border-radius: 24px;
  background: var(--red-tint);
}
.info-quote .clock { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--red); }
.info-quote .clock svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.info-quote p { margin: 0; font: 700 clamp(1.45rem, 3.4vw, 2.25rem)/1.2 var(--display); letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.info-quote p span { display: block; }
.info-quote p span + span { color: var(--red); font-weight: 900; font-size: 1.08em; }

.info-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--grey);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}
.info-note svg { flex: none; width: 26px; height: 26px; margin-top: 1px; fill: none; stroke: var(--red); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.info-note p { margin: 0; max-width: 62em; }

@media (max-width: 768px) {
  .info-steps { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .info-steps li { grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; row-gap: 8px; padding: 22px 18px; }
  .info-ico { grid-row: span 3; width: 52px; height: 52px; margin: 0; }
  .info-steps li:not(:last-child)::after { top: auto; right: auto; bottom: -32px; left: 50%; margin: 0 0 0 -17px; transform: rotate(90deg); }
  .info-quote { flex-direction: column; align-items: flex-start; gap: 14px; }
  .info-quote .clock { width: 48px; height: 48px; }
  .info-quote .clock svg { width: 24px; height: 24px; }
}

/* how it works */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}
.steps li { position: relative; counter-increment: step; display: grid; gap: 10px; align-content: start; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font: 700 1.5rem/1 var(--display);
  margin-bottom: 8px;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 72px;
  right: -20px;
  border-top: 2px dashed var(--line-strong);
}
.steps h3, .feat h3 { font-size: 1.3rem; font-weight: 700; }
.steps p, .feat p { color: var(--muted); }
@media (max-width: 820px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps li { grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; }
  .steps li::before { grid-row: span 2; margin-bottom: 0; }
  .steps li:not(:last-child)::after { display: none; }
}

/* features */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feat {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--red-tint); margin-bottom: 8px; }
.ico svg { width: 30px; height: 30px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 820px) { .feats { grid-template-columns: minmax(0, 1fr); } }

/* stats */
.stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  overflow: hidden;
}
.stats li {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: clamp(26px, 3.4vw, 44px) clamp(18px, 2.6vw, 36px);
  background: var(--paper);
}
.stats strong {
  font: 900 clamp(2.7rem, 5.6vw, 4.6rem)/1 var(--display);
  letter-spacing: -.03em;
  color: var(--ink);
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}
.stats strong i { font-style: normal; font-weight: 700; color: var(--red); margin-left: .02em; }
.stats span { font-size: 1.05rem; line-height: 1.35; color: var(--muted); }
.stats-cap { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 0; font-size: 1rem; color: var(--muted); }
.stats-cap::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .5em; border-radius: 50%; background: var(--red-soft); }
@media (max-width: 768px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 22px; }
  .stats li { padding: 24px 18px; }
  .stats strong { font-size: clamp(2.5rem, 12.5vw, 3.3rem); }
  .stats span { font-size: 1.05rem; }
}

/* story */
.story { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 860px) { .story { grid-template-columns: minmax(0, 1fr); } }
.story-copy { display: grid; gap: 18px; }
.story-copy h2 { font-size: clamp(1.9rem, 4.6vw, 2.7rem); font-weight: 700; }
.story-copy p { color: var(--muted); }
.story-copy .ivan { background: var(--grey); border-radius: 22px; padding: 22px 24px; color: var(--ink); }
.tl { list-style: none; margin: 0; padding: 0 0 0 30px; border-left: 2px solid var(--line-strong); display: grid; gap: 32px; }
.tl li { position: relative; display: grid; gap: 2px; }
.tl li::before {
  content: "";
  position: absolute;
  left: -40px;
  top: .45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red-soft);
  box-shadow: 0 0 0 5px var(--paper);
}
.tl strong { font: 700 1.5rem/1.2 var(--display); }
.tl span { color: var(--muted); }

/* video */
.video {
  position: relative;
  width: 100%;
  max-width: 880px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  border: 1px solid var(--line);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, var(--paper) 0 16%, rgba(255,255,255,0) 17%),
    repeating-radial-gradient(circle at 50% 50%, rgba(243, 90, 92, .1) 0 2px, rgba(255,255,255,0) 2px 44px),
    var(--paper);
}
.play {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--red-soft);
  box-shadow: 0 14px 30px -12px rgba(243, 90, 92, .8);
}
.play svg { width: 34px; height: 34px; fill: #fff; margin-left: 4px; }
.tag {
  font: 700 .82rem/1 var(--display);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-tint);
  border-radius: 999px;
  padding: 9px 14px;
}
.video-cap { text-align: center; color: var(--muted); max-width: 520px; margin: 22px auto 0; }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--grey); padding-block: clamp(44px, 7vw, 80px) 36px; }
.foot-in { display: grid; gap: 30px; justify-items: start; }
.foot h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 700; }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-top: 28px; border-top: 1px solid var(--line-strong); width: 100%; }
.logos .x { color: var(--line-strong); font: 500 1.4rem/1 var(--display); }
.logos .made { color: var(--muted); font-size: .95rem; flex-basis: 100%; }
.wm { font: 700 1.7rem/1 var(--mark); color: var(--ink); }
.wm b { color: var(--red-soft); font-weight: 700; }
.wm.alt { font-family: var(--display); font-size: 1.45rem; font-weight: 700; }
.site-link { font-weight: 700; }
.note { color: var(--muted); font-size: .95rem; max-width: 40em; }

/* V5 additions by Emma */
:root{--brand-burgundy:#9F1327;--brand-red:#FF5959;--brand-charcoal:#333E48}
.mark img{display:block;width:172px;height:auto;max-height:55px;object-fit:contain;object-position:left center}
.menu-toggle{display:none;background:transparent;border:1px solid #e5e5e5;border-radius:11px;padding:6px 11px;color:#333E48;font-size:22px;cursor:pointer}
.search-campaign{background:#171d20;color:#fff;padding:54px 0}.search-inner{display:grid;grid-template-columns:1fr 1.35fr;gap:34px;align-items:center}.search-copy h2{font-size:clamp(28px,3vw,43px);margin:0 0 18px}.search-copy p{line-height:1.7;color:#e4e8e9;font-size:17px}.search-inner img{width:100%;border-radius:20px;object-fit:contain}
.chili-band{background:#fff}.chili-wrap{max-width:1060px}.chili-side{padding:35px;border-radius:22px;background:#f8f8f8;border:1px solid #eee}.chili-side h2{font-size:clamp(28px,3vw,41px);margin:6px 0 18px}.chili-side p{font-size:17px;line-height:1.65;color:#333E48}.chili-overline{color:#9F1327;font-size:13px;font-weight:700;letter-spacing:.12em}.chili-thanks{font-weight:700!important}.chili-links{display:flex;flex-wrap:wrap;gap:18px;margin-top:18px}.chili-links a{color:#9F1327;font-weight:700}
.footer-logo{width:160px;max-height:55px;object-fit:contain}.privacy-footer{font-size:12px;opacity:.78}
.video-wrap{max-width:840px;margin:auto}.video-player{position:relative;aspect-ratio:16/9;background:#1d2227;border-radius:18px;overflow:hidden}.video-player iframe{width:100%;height:100%;border:0}.video-activate{position:absolute;inset:0;width:100%;background:linear-gradient(125deg,#333E48,#9F1327);border:0;color:#fff;font-size:24px;font-weight:700;cursor:pointer}.video-activate:before{content:'▶';display:block;font-size:55px;margin-bottom:12px}.video-activate[hidden]{display:none}.video-wrap>a{color:#9F1327;font-weight:700}
.card-lv>img{aspect-ratio:2048/1075;object-fit:cover;width:100%;height:auto}.card-i18n .c-phones{height:100%;width:auto;max-width:none;object-fit:contain}
@media(max-width:760px){.top .wrap{position:relative}.menu-toggle{display:block;margin-left:auto}.top .nav{display:none;position:absolute;top:100%;left:12px;right:12px;z-index:30;background:#fff;border:1px solid #e8e8e8;border-radius:14px;padding:12px;box-shadow:0 12px 30px #0002}.top .nav.nav-open{display:flex;flex-direction:column;align-items:stretch;gap:0}.nav.nav-open a{padding:12px}.search-inner{grid-template-columns:1fr}.search-campaign{padding:38px 0}.chili-side{padding:22px}.mark img{width:145px}.hero-mobile .m-phones img{max-width:100%;height:auto}}

/* ===== V5.2 design polish — editorial treatment from the first concept ===== */
:root{ --brand:#9F1327; --brand-red:#FF5959; --charcoal:#333E48; }

/* Brand accents */
a{ color:var(--brand); }
.nav a:hover{ color:var(--brand); }
.eyebrow{ color:var(--brand); background:#f6e3e6; letter-spacing:.14em; }

/* Condensed display headings (Roboto Condensed 700) — the punchy look of the first artifact */
.sec-head h2, .info-head h2, .story-copy h2, .search-copy h2,
.chili-side h2, .foot h2, .c-h, .info-quote p{
  font-family:"Roboto Condensed","Roboto",system-ui,sans-serif;
  letter-spacing:-.01em;
}
.sec-head h2, .info-head h2, .story-copy h2{ font-size:clamp(2rem,4.8vw,3rem); }

/* Short accent rule above section titles */
.sec-head h2::before, .info-head h2::before, .story-copy h2::before, .search-copy h2::before{
  content:""; display:block; width:48px; height:4px; border-radius:3px;
  background:var(--brand); margin-bottom:18px;
}
.search-copy h2::before{ background:var(--brand-red); }

/* Hero: faint topographic contours behind the opening */
main > section:first-of-type{ position:relative; }
#topo-hero{ position:absolute; inset:0; width:100%; height:100%; z-index:0; pointer-events:none; }
.hero-desktop, .hero-mobile{ position:relative; z-index:1; }
.card{ box-shadow:0 34px 70px -34px rgba(51,62,72,.42); }

/* Cards gain a quiet hover lift */
.feat, .info-steps li{ transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.feat:hover, .info-steps li:hover{ transform:translateY(-3px); box-shadow:0 22px 40px -28px rgba(51,62,72,.4); border-color:#cfd8dc; }
@media (prefers-reduced-motion:reduce){ .feat, .info-steps li{ transition:none; } }

/* Info quote (pink slogan band) — richer */
.info-quote{ background:linear-gradient(120deg,#fdeef0,#f9e3e6); }
.info-quote p span + span{ color:var(--brand); }
.info-quote .clock{ background:var(--brand); }

/* Stats: dark slate band with contours, like the first concept */
.stats-band{ position:relative; overflow:hidden; background:var(--charcoal); }
.stats-band > .wrap{ position:relative; z-index:1; }
#topo-stats{ position:absolute; inset:0; width:100%; height:100%; z-index:0; pointer-events:none; }
.stats{ background:transparent; border:0; border-radius:0; gap:0; }
.stats li{ background:transparent; border-right:1px solid rgba(255,255,255,.14); }
.stats li:last-child{ border-right:0; }
.stats strong{ color:#fff; }
.stats strong i{ color:var(--brand-red); }
.stats span{ color:rgba(255,255,255,.72); }
.stats-cap{ color:rgba(255,255,255,.72); }
.stats-cap::before{ background:var(--brand-red); }
@media (max-width:768px){
  .stats li{ border-right:1px solid rgba(255,255,255,.14); border-bottom:1px solid rgba(255,255,255,.14); }
  .stats li:nth-child(2n){ border-right:0; }
  .stats li:nth-child(n+3){ border-bottom:0; }
}

/* Chili block: brand overline + card lift */
.chili-side{ box-shadow:0 26px 54px -34px rgba(51,62,72,.38); }
.chili-overline{ letter-spacing:.14em; text-transform:uppercase; }

/* Timeline dots in brand */
.tl li::before{ background:var(--brand); }
.tl strong{ font-family:"Roboto Condensed","Roboto",sans-serif; color:var(--charcoal); }

/* Story highlight box */
.story-copy .ivan{ border-left:4px solid var(--brand); }

/* ===== V5.2 fixes (contrast) ===== */
.band.tint.stats-band{ background:var(--charcoal); }      /* win over .band.tint */
.search-copy h2{ color:#fff; }                            /* forest band heading on dark */

/* ===== V5.2 store badges — icon + two-line label (like the first concept) ===== */
.store, .m-store, .c-store{ flex-direction:row; align-items:center; gap:11px; }
.store .stxt, .m-store .stxt, .c-store .stxt{ display:flex; flex-direction:column; line-height:1.1; }
.sico{ flex:none; fill:currentColor; }
.store .sico, .m-store .sico{ width:27px; height:27px; }
.m-store{ justify-content:flex-start; }
/* RU/EN hero overlay badges scale with the card (container query units) */
.c-store{ gap:1cqw; }
.c-store .sico{ width:3.1cqw; height:3.1cqw; min-width:16px; min-height:16px; }

/* ===== V5.2 fix — forest promo band was too tall (empty dark space) ===== */
.search-campaign{ padding-block:clamp(40px,5vw,64px); }
.search-inner{ align-items:center; gap:clamp(24px,4vw,48px); }
.search-inner img{ width:100%; height:auto; max-height:360px; object-fit:cover; }
@media (max-width:760px){ .search-inner img{ max-height:260px; } }

/* ===== V5.2 footer — compact two-column block ===== */
.foot{ padding-block:clamp(34px,5vw,52px) 26px; }
.foot-in{ grid-template-columns:1.1fr 1fr; gap:clamp(22px,5vw,56px); align-items:start; }
.foot-cta{ display:grid; gap:16px; justify-items:start; align-content:start; }
.foot-meta{ display:grid; gap:12px; align-content:start; }
.foot-meta .logos{ margin:0; padding-top:0; border-top:0; gap:10px 16px; }
.foot-meta .note{ margin:0; }
.foot h2{ margin:0; }
@media (max-width:760px){ .foot-in{ grid-template-columns:1fr; gap:22px; } }

/* ===== V5.2 — drop redundant eyebrow pill above the hero card (desktop) ===== */
.hero-desktop > .eyebrow{ display:none; }
.hero-desktop{ padding-block:clamp(20px,3vw,36px) clamp(36px,5vw,64px); }

/* ===== V5.2 — modern floating header ===== */
.top{
  background:transparent;
  border-bottom:0;
  padding:10px max(12px,env(safe-area-inset-left,0px)) 0 max(12px,env(safe-area-inset-right,0px));
}
.top .wrap{
  max-width:1180px;
  padding-inline:20px;
  min-height:62px;
  border:1px solid rgba(51,62,72,.09);
  border-radius:18px;
  background:rgba(255,255,255,.80);
  -webkit-backdrop-filter:blur(14px) saturate(1.3);
  backdrop-filter:blur(14px) saturate(1.3);
  box-shadow:0 10px 30px -20px rgba(51,62,72,.4);
  transition:box-shadow .2s ease, background .2s ease;
}
.top.scrolled .wrap{
  background:rgba(255,255,255,.9);
  box-shadow:0 16px 36px -18px rgba(51,62,72,.5);
}
/* nav links: pill hover */
.nav{ gap:4px; margin-inline:auto 10px; }
.nav a{
  padding:9px 14px; border-radius:11px; font-weight:500; font-size:.95rem;
  color:var(--charcoal); transition:background .15s ease, color .15s ease;
}
.nav a:hover{ background:#f6e3e6; color:var(--brand); }
/* language: clean segmented control */
.lang{
  border:1px solid rgba(51,62,72,.12);
  background:rgba(51,62,72,.045);
  padding:3px; gap:2px;
}
.lang button{ min-width:42px; min-height:34px; font-size:.82rem; transition:background .15s, color .15s; }
.lang button[aria-pressed="true"]{ background:var(--brand); color:#fff; box-shadow:0 5px 12px -5px rgba(159,19,39,.7); }
/* mobile burger to match */
.menu-toggle{ border:1px solid rgba(51,62,72,.14); border-radius:12px; background:#fff; }
@media (max-width:760px){
  .top .wrap{ min-height:56px; padding-inline:14px; }
  .top .nav{ top:calc(100% + 8px); left:0; right:0; border-radius:16px; box-shadow:0 18px 40px -16px rgba(51,62,72,.35); }
}

/* ===== V5.3 — flat clean header (first-concept style), overrides the capsule ===== */
.top{
  background:color-mix(in srgb, #ffffff 88%, transparent);
  -webkit-backdrop-filter:blur(10px) saturate(1.2);
  backdrop-filter:blur(10px) saturate(1.2);
  border-bottom:1px solid var(--line);
  padding:0;
}
.top .wrap{
  max-width:1200px;
  padding-left:max(16px,env(safe-area-inset-left,0px));
  padding-right:max(16px,env(safe-area-inset-right,0px));
  min-height:66px;
  border:0; border-radius:0;
  background:transparent; box-shadow:none;
  -webkit-backdrop-filter:none; backdrop-filter:none;
}
.top.scrolled{ box-shadow:0 10px 26px -22px rgba(51,62,72,.45); }
.top.scrolled .wrap{ background:transparent; box-shadow:none; }

/* nav: plain muted links, brand on hover */
.nav{ gap:26px; margin-inline:auto 16px; }
.nav a{ padding:6px 0; border-radius:0; font-weight:500; font-size:.96rem; color:var(--muted); background:transparent; }
.nav a:hover{ background:transparent; color:var(--brand); }

/* language: minimal buttons, filled active */
.lang{ border:0; background:transparent; padding:0; gap:4px; }
.lang button{ min-width:40px; min-height:34px; border-radius:9px; font-size:.84rem; color:var(--muted); background:transparent; box-shadow:none; }
.lang button:hover{ color:var(--brand); }
.lang button[aria-pressed="true"]{ background:var(--brand); color:#fff; box-shadow:none; }

.menu-toggle{ border:1px solid rgba(51,62,72,.14); border-radius:10px; background:#fff; }

/* ===== V5.3 — squared blocks (user dislikes rounded) ===== */
.card,
.feat,
.info-steps li,
.stats,
.chili-side,
.info-quote,
.info-note,
.video-player,
.story-copy .ivan,
.m-phones,
.search-inner img,
.store, .m-store,
.btn,
.site-link{
  border-radius:6px;
}
.c-store{ border-radius:5px; }
.lang button, .menu-toggle{ border-radius:6px; }
.eyebrow, .m-eyebrow{ border-radius:4px; }
/* keep the step connector dots and icon badges circular (not "blocks") */

/* ===== V5.4 — square, borderless solid blocks ===== */
.card,.feat,.info-steps li,.stats,.chili-side,.info-quote,.info-note,
.video-player,.story-copy .ivan,.m-phones,.search-inner img,
.store,.m-store,.c-store,.btn,.site-link,.lang button,.menu-toggle,
.eyebrow,.m-eyebrow,.hit{ border-radius:8px; }

/* drop borders; blocks read via solid fill */
.card,.feat,.chili-side,.menu-toggle{ border:0; }
.info-steps li{ border:0; background:var(--grey); }
.info-note{ border:0; background:var(--grey); }
/* round step-connector arrow is inconsistent with square blocks */
.info-steps li:not(:last-child)::after{ display:none; }

/* ===== V5.4 — bigger logo ===== */
.mark img{ width:215px; max-height:66px; }
.top .wrap{ min-height:76px; }
@media (max-width:760px){ .mark img{ width:168px; max-height:52px; } .top .wrap{ min-height:60px; } }

/* ===== V5.4 — tighter vertical rhythm (sections were too tall) ===== */
.band{ padding-block:clamp(34px,4.2vw,58px); }
.info-band{ padding-block:clamp(34px,4.2vw,58px); }
.sec-head{ margin-bottom:clamp(16px,2.6vw,28px); gap:8px; }
.feats{ gap:16px; }
.feat{ padding:22px; gap:8px; }
.ico, .info-ico{ margin-bottom:2px; }
.info-steps{ gap:16px; }
.info-steps li{ padding:20px; }
.info-quote{ margin-top:clamp(16px,2.4vw,24px); padding:clamp(18px,3vw,28px) clamp(18px,3.5vw,40px); }

/* ===== V5.5 — menu bar styled like the first artifact ===== */
.nav a{ color:var(--charcoal); font-weight:500; }
.nav a:hover{ color:var(--brand); background:transparent; }
.lang button{ color:var(--muted); }
.lang button:hover{ color:var(--charcoal); }
.lang button[aria-pressed="true"]{ background:var(--charcoal); color:#fff; box-shadow:none; }

/* ===== V5.5 — shorter feature cards ===== */
.feat{ padding:18px 20px; gap:6px; }
.feat .ico{ width:44px; height:44px; margin-bottom:4px; }
.feat .ico svg{ width:22px; height:22px; }
.feat h3{ font-size:1.18rem; }
.feat p{ font-size:.96rem; line-height:1.5; }

/* ===== V5.6 — theme toggle + dark theme ===== */
.theme-toggle{ width:40px; height:40px; flex:none; display:grid; place-items:center; border:1px solid var(--line-strong); border-radius:8px; background:transparent; color:var(--charcoal); cursor:pointer; padding:0; margin-right:8px; transition:border-color .15s, color .15s; }
.theme-toggle:hover{ border-color:var(--brand); color:var(--brand); }
.theme-toggle svg{ width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.theme-toggle .ico-moon{ fill:currentColor; stroke:none; display:block; }
.theme-toggle .ico-sun{ display:none; }
[data-theme="dark"] .theme-toggle .ico-sun{ display:block; }
[data-theme="dark"] .theme-toggle .ico-moon{ display:none; }

/* logo swap (header + footer) */
.logo-on-dark{ display:none; }
[data-theme="dark"] .logo-on-light{ display:none; }
[data-theme="dark"] .logo-on-dark{ display:block; }

/* ---- Dark theme tokens ---- */
[data-theme="dark"]{
  --paper:#14181c; --grey:#1d232a; --ink:#e9edef; --muted:#9aa6ad;
  --red:#ff6b6e; --red-soft:#ff6b6e; --red-tint:#3a1d20;
  --line:#2a333b; --line-strong:#3a444d;
  --brand:#e2475f; --brand-red:#ff5e61; --charcoal:#283039;
  color-scheme:dark;
}
[data-theme="dark"] body{ background:var(--paper); color:var(--ink); }
[data-theme="dark"] body::before{ background:var(--paper); }
[data-theme="dark"] .top{ background:color-mix(in srgb,#14181c 86%,transparent); border-bottom-color:var(--line); }
[data-theme="dark"] .nav a{ color:var(--ink); }
[data-theme="dark"] .nav a:hover{ color:var(--brand); }
[data-theme="dark"] .lang button{ color:var(--muted); }
[data-theme="dark"] .lang button[aria-pressed="true"]{ background:#e9edef; color:#14181c; }
[data-theme="dark"] .menu-toggle{ background:transparent; color:var(--ink); border-color:var(--line-strong); }

/* dark surfaces & blocks */
[data-theme="dark"] .store,[data-theme="dark"] .m-store,[data-theme="dark"] .c-store{ background:#2a333b; color:#fff; }
[data-theme="dark"] .card,[data-theme="dark"] .feat,[data-theme="dark"] .info-note,
[data-theme="dark"] .info-steps li,[data-theme="dark"] .story-copy .ivan,[data-theme="dark"] .chili-side{ background:var(--grey); }
[data-theme="dark"] .chili-band{ background:var(--paper); }
[data-theme="dark"] .ico,[data-theme="dark"] .info-ico{ background:var(--red-tint); }
[data-theme="dark"] .chili-side p{ color:var(--muted); }
[data-theme="dark"] .chili-overline,[data-theme="dark"] .chili-links a,[data-theme="dark"] .video-wrap>a,[data-theme="dark"] a{ color:var(--brand); }
[data-theme="dark"] .tl strong{ color:var(--ink); }
[data-theme="dark"] .eyebrow,[data-theme="dark"] .m-eyebrow{ background:var(--red-tint); color:var(--brand); }
[data-theme="dark"] .info-quote{ background:linear-gradient(120deg,#2a1519,#331b20); }
[data-theme="dark"] .info-quote p span + span{ color:var(--brand); }
[data-theme="dark"] .sec-head h2::before,[data-theme="dark"] .info-head h2::before,[data-theme="dark"] .story-copy h2::before{ background:var(--brand); }

/* ===== V5.6 fix — header logo swap must beat .mark img specificity ===== */
.mark .logo-on-dark{ display:none; }
[data-theme="dark"] .mark .logo-on-light{ display:none; }
[data-theme="dark"] .mark .logo-on-dark{ display:block; }

/* ===== V5.6 — larger header logo ===== */
.mark img{ width:258px; max-height:84px; }
.top .wrap{ min-height:88px; }
@media (max-width:760px){ .mark img{ width:188px; max-height:58px; } .top .wrap{ min-height:62px; } }

/* ===== V5.7 — header matched 1:1 to the first artifact ===== */
.top .wrap{ min-height:auto; padding-block:12px; }
.mark img{ height:46px; width:auto; max-height:none; }
.nav{ gap:22px; margin-inline:auto 14px; }
.nav a{ font-size:14px; font-weight:500; color:var(--muted); padding:6px 0; }
.nav a:hover{ color:var(--ink); background:transparent; }
.lang{ gap:2px; border:0; background:transparent; padding:0; }
.lang button{ min-width:auto; min-height:auto; padding:5px 9px; border-radius:6px; font-size:13px; color:var(--muted); }
.lang button:hover{ color:var(--ink); }
.lang button[aria-pressed="true"]{ background:var(--charcoal); color:#fff; }
.theme-toggle{ width:38px; height:38px; border:1px solid var(--line); border-radius:9px; margin-right:6px; }
@media (max-width:760px){ .mark img{ height:38px; } }

/* ===== V5.7 — logo size after trimming whitespace ===== */
.mark img{ height:50px; width:auto; max-height:none; }
@media (max-width:760px){ .mark img{ height:40px; } }

/* ===== V5.8 — hero showcase card stays a light panel in both themes ===== */
[data-theme="dark"] .card{ background:#eef0f1; }
[data-theme="dark"] .c-h,[data-theme="dark"] .c-tag{ color:#2a2e35; }
[data-theme="dark"] .c-url{ color:#5d646c; }
