/* MUZDAT landing — tokens follow the bottle label (variant B) */
:root {
  --night: #0D1A20;
  --deep: #091318;
  --panel: #12252D;
  --panel-hi: #163039;
  --ice: #EEF7FA;
  --frost: #DDF1F7;
  --frost-2: #CBE8F1;
  --glacier: #6CC6D9;
  --glacier-hi: #8DD6E5;
  --glacier-ink: #1F6F82;
  --mist: #9DB3BC;
  --body: #C9D9DF;
  --rule: #22404B;
  --ink-soft: #3D5A66;
  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --text: 'Geologica', 'Segoe UI', Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ice);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* language switch: Kyrgyz is the default */
html:not(.ru) .ru { display: none !important; }
html.ru .ky { display: none !important; }

:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; border-radius: 4px; }

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

/* header */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 12px var(--gutter);
  background: rgba(13, 26, 32, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(34, 64, 75, .7);
}
.mark { font: 700 22px/1 var(--display); letter-spacing: .03em; text-decoration: none; }
.nav { display: none; gap: 28px; margin-left: 24px; }
.nav a { color: var(--mist); text-decoration: none; font-size: 15px; transition: color .15s ease; }
.nav a:hover { color: var(--ice); }
.top-end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.top-end .btn { display: none; }
.lang { display: flex; border: 1px solid var(--rule); border-radius: 999px; padding: 3px; }
.lang button {
  appearance: none; border: 0; background: transparent; color: var(--mist);
  font: 600 13px/1 var(--text); letter-spacing: .04em;
  padding: 9px 13px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--glacier); color: var(--night); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px;
  background: var(--glacier); color: var(--night);
  font: 600 17px/1.2 var(--text); text-decoration: none; text-align: center;
  border-radius: 999px;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--glacier-hi); transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(108, 198, 217, .6); }
.btn-sm { min-height: 40px; padding: 10px 18px; font-size: 15px; }
.btn-lg { min-height: 58px; padding: 16px 28px; font-size: 18px; }
.btn-ghost { background: transparent; color: var(--glacier); box-shadow: inset 0 0 0 2px var(--glacier); }
.btn-ghost:hover { background: rgba(108, 198, 217, .12); box-shadow: inset 0 0 0 2px var(--glacier-hi); }
.wa { width: 22px; height: 22px; flex: none; }
.wa path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.wa .wa-i { fill: currentColor; stroke: none; }
.link { color: var(--ice); text-underline-offset: 5px; text-decoration-thickness: 1px; font-weight: 500; }
.link:hover { color: var(--glacier-hi); }

/* hero: the wordmark beside the bottle, ice on one side, drink on the other */
.hero {
  position: relative; overflow: hidden;
  border-bottom: 6px solid var(--glacier); /* the fill line from the label */
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(108, 198, 217, .14), transparent 70%),
    linear-gradient(180deg, var(--night), var(--deep));
}
.hero::before {
  content: ""; position: absolute; inset: 0 0 0 auto; width: 46%;
  background: url(/assets/img/frost-slab.jpg) center / cover;
  opacity: .06; mix-blend-mode: luminosity;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
          mask-image: linear-gradient(90deg, transparent, #000 60%);
  pointer-events: none;
}
.hero-in {
  position: relative;
  max-width: var(--wrap); margin: 0 auto;
  padding: 28px var(--gutter) 40px;
  display: grid;
  grid-template-areas: "head" "art" "body";
  gap: 8px;
}
.hero-head { grid-area: head; }
.hero-art { grid-area: art; }
.hero-body { grid-area: body; }

.word {
  font: 700 clamp(78px, 27vw, 150px)/.86 var(--display);
  letter-spacing: .01em;
}
.word span { display: inline; }
.word-ice { color: var(--frost); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .word-ice {
    color: transparent;
    background:
      linear-gradient(180deg, rgba(238, 247, 250, .55), rgba(141, 214, 229, .35)),
      url(/assets/img/frost-slab.jpg) 30% 40% / 180% auto;
    -webkit-background-clip: text; background-clip: text;
  }
}
.tagline {
  margin-top: 10px;
  font: 500 clamp(26px, 7vw, 46px)/1.1 var(--display);
  color: var(--glacier);
}
.lead { max-width: 38ch; color: var(--body); font-size: 17px; }
.actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }

.bottle { width: 100%; height: auto; max-height: min(46svh, 520px); margin: 0 auto; overflow: visible; }
.b-label { font: 700 40px/1 var(--display); fill: var(--night); letter-spacing: .02em; }
.b-label-sub { font: 500 15px/1 var(--display); fill: var(--glacier-ink); }
.b-note-t { font: 500 26px/1 var(--display); fill: var(--ice); }
.b-note-s { font: 400 17px/1 var(--text); fill: var(--mist); }
.bub { fill: #EEF7FA; fill-opacity: .7; animation: rise 3.2s ease-in infinite; }
.bub:nth-of-type(2) { animation-duration: 2.6s; animation-delay: .8s; }
.bub:nth-of-type(3) { animation-duration: 3.8s; animation-delay: 1.4s; }
.bub:nth-of-type(4) { animation-duration: 2.9s; animation-delay: 2s; }
.bub:nth-of-type(5) { animation-duration: 3.4s; animation-delay: .4s; }
@keyframes rise {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(-230px); opacity: 0; }
}
.b-float { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.b-drink { transform-box: fill-box; transform-origin: 50% 100%; animation: pour 1.6s cubic-bezier(.3, .7, .2, 1) .5s both; }
@keyframes pour { from { transform: scaleY(0); } }
.b-ice { animation: freeze 1.2s cubic-bezier(.2, .7, .2, 1) .1s both; }
@keyframes freeze { from { opacity: 0; filter: brightness(1.8); } }
.b-note { animation: fade-in .6s ease 1.6s both; }
@keyframes fade-in { from { opacity: 0; } }

/* key facts strip */
.facts {
  list-style: none; padding: 0 var(--gutter);
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
}
.facts li {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 8px 20px 0;
  font: 500 15px/1.3 var(--text); color: var(--body);
  border-bottom: 1px solid var(--rule);
}
.facts svg {
  width: 32px; height: 32px; flex: none;
  fill: none; stroke: var(--glacier); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* sections */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.sec-head { margin-bottom: clamp(28px, 4vw, 48px); }
.eyebrow {
  font: 600 13px/1 var(--text); letter-spacing: .14em; text-transform: uppercase;
  color: var(--glacier); margin-bottom: 14px;
}
h2 { font: 500 clamp(36px, 6vw, 64px)/1.02 var(--display); }
h3 { font: 500 24px/1.15 var(--display); margin-bottom: 8px; }

/* how: four step cards */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 16px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 28px 24px 26px;
  background: linear-gradient(180deg, var(--panel-hi), var(--panel));
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.steps li::before {
  content: "0" counter(step);
  position: absolute; top: 22px; right: 24px;
  font: 700 44px/1 var(--display); color: transparent;
  -webkit-text-stroke: 1.5px var(--rule);
}
.steps li.start { border-color: var(--glacier); box-shadow: 0 0 0 1px var(--glacier), 0 20px 50px -24px rgba(108, 198, 217, .5); }
.steps li.start::before { -webkit-text-stroke-color: var(--glacier); }
.steps p { color: var(--body); font-size: 16px; }
.badge {
  position: absolute; top: -14px; left: 20px;
  white-space: nowrap;
  padding: 6px 12px; border-radius: 999px;
  background: var(--glacier); color: var(--night) !important;
  font: 600 13px/1.3 var(--text) !important;
}
.pict {
  width: 76px; height: 76px; margin-bottom: 18px;
  fill: none; stroke: var(--ice); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round;
}
.pict .fill { fill: var(--frost); stroke: none; }
.pict .drink { fill: var(--glacier); fill-opacity: .6; stroke: none; }
.pict .line, .pict .snow { stroke: var(--glacier); stroke-width: 2.6; }

.tip {
  margin-top: 20px;
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 22px; border-radius: 14px;
  background: rgba(108, 198, 217, .08);
  border: 1px solid rgba(108, 198, 217, .25);
  color: var(--body);
}
.tip svg { width: 24px; height: 24px; flex: none; margin-top: 1px; fill: rgba(108, 198, 217, .25); stroke: var(--glacier); stroke-width: 1.6; }

/* uses: the light, icy section */
.uses { background: linear-gradient(180deg, var(--frost), var(--ice)); color: var(--night); }
.uses .eyebrow { color: var(--glacier-ink); }
.uses-list { display: grid; gap: 16px; }
.use {
  background: #fff;
  border-radius: var(--radius);
  padding: 0 0 26px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(13, 26, 32, .06), 0 24px 48px -32px rgba(13, 26, 32, .35);
}
.scene {
  width: 100%; height: auto; margin-bottom: 22px;
  padding: 26px 24px 0;
  background: linear-gradient(180deg, var(--frost) 0%, #F4FBFD 100%);
  border-bottom: 1px solid var(--frost-2);
  fill: none; stroke: var(--night); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.scene .sun { fill: var(--glacier-hi); stroke: none; }
.scene .cap { fill: #fff; }
.scene .tent, .scene .car { fill: #fff; }
.scene .wheel { fill: var(--night); }
.scene .dash { stroke: var(--glacier); stroke-width: 3; }
.scene .flag { fill: var(--glacier); stroke: none; }
.scene .plate { fill: #fff; }
.scene .bowl { fill: var(--glacier-hi); }
.use dt { padding: 0 24px; font: 500 26px/1.15 var(--display); }
.use dd { margin: 6px 0 0; padding: 0 24px; color: var(--ink-soft); }

/* faq */
.faq-grid { display: grid; gap: 8px; }
.faq-more { margin-top: 18px; color: var(--mist); }
.faq-more a { color: var(--glacier); text-underline-offset: 4px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 22px 0; font: 600 18px/1.35 var(--text);
  transition: color .15s ease;
}
.faq summary:hover { color: var(--glacier-hi); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--rule);
  font: 400 22px/1 var(--text); color: var(--glacier);
  transition: transform .2s ease, background-color .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: rgba(108, 198, 217, .12); }
.faq details p { padding: 0 48px 24px 0; color: var(--body); max-width: 62ch; }

/* order + shops */
.order { padding-top: 0; }
.order-card {
  position: relative; overflow: hidden;
  display: grid; gap: 28px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 28px;
  background: linear-gradient(135deg, #133340 0%, var(--panel) 55%, var(--night) 100%);
  border: 1px solid var(--rule);
}
.order-card::before {
  content: ""; position: absolute; inset: 0 0 0 auto; width: 50%;
  background: url(/assets/img/frost-slab.jpg) center / cover;
  opacity: .16; mix-blend-mode: luminosity;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
          mask-image: linear-gradient(90deg, transparent, #000);
  pointer-events: none;
}
.order-main, .shops { position: relative; }
.order-main p { margin: 14px 0 26px; color: var(--body); max-width: 40ch; font-size: 18px; }
.shops {
  align-self: end;
  padding: 24px; border-radius: 16px;
  background: rgba(13, 26, 32, .6);
  border: 1px solid var(--rule);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.shops p { color: var(--body); margin-bottom: 20px; }

.foot { border-top: 1px solid var(--rule); }
.foot-in {
  padding-top: 28px; padding-bottom: 36px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px;
}
.foot-word { font: 700 34px/1 var(--display); margin-right: auto; }
.foot a { text-decoration: none; font-weight: 500; }
.muted { color: var(--mist); }

/* scroll reveal (only when JS is on, so content never hides without it) */
html.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
html.js .rv.in { opacity: 1; transform: none; }
.steps .rv:nth-child(2), .uses-list .rv:nth-child(2), .facts .rv:nth-child(2) { transition-delay: .08s; }
.steps .rv:nth-child(3), .uses-list .rv:nth-child(3), .facts .rv:nth-child(3) { transition-delay: .16s; }
.steps .rv:nth-child(4), .facts .rv:nth-child(4) { transition-delay: .24s; }

/* mobile order dock: appears once the hero button scrolls away */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(13, 26, 32, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--rule);
  transition: transform .25s ease;
}
.dock .btn { width: 100%; }
html.js .dock { transform: translateY(110%); }
html.js .dock.show { transform: none; }
body { padding-bottom: 76px; }

@media (max-width: 479px) {
  .actions .btn { width: 100%; padding: 14px 18px; font-size: 16px; }
  .actions .link { margin: 0 auto; }
}

@media (min-width: 640px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts li { border-bottom: 0; padding: 26px 12px 26px 0; }
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .top-end .btn { display: inline-flex; }
  .hero-in {
    grid-template-columns: 1.05fr .95fr;
    grid-template-areas: ". art" "head art" "body art" ". art";
    grid-template-rows: 1fr auto auto 1fr;
    column-gap: 40px;
    min-height: min(calc(100svh - 64px), 860px);
    padding-top: 40px; padding-bottom: 56px;
  }
  .hero-head { align-self: end; }
  .hero-body { align-self: start; padding-top: 22px; }
  .hero-art { align-self: center; }
  .word { font-size: clamp(140px, 15vw, 230px); }
  .word span { display: block; }
  .bottle { max-height: min(calc(100svh - 160px), 700px); }
  .lead { font-size: 19px; }
  .facts li { border-left: 1px solid var(--rule); padding-left: 24px; }
  .facts li:first-child { border-left: 0; padding-left: 0; }
  .uses-list { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .faq-grid { grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
  .faq .sec-head { position: sticky; top: 100px; }
  .order-card { grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
  .dock { display: none; }
  body { padding-bottom: 0; }
}

@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bub, .b-float, .b-drink, .b-ice, .b-note { animation: none; }
  .bub { opacity: 0; }
  html.js .rv { opacity: 1; transform: none; transition: none; }
  .btn, .dock, .faq summary::after { transition: none; }
}
