/* Stream Live landing: a Tashkent modernist facade. Pale concrete carries every line of text; smalti mosaics (drawn
   by mosaic.js on <canvas>, cobalt without it) carry the colour. Logo and red #e0263c come from the app. */
:root {
  --concrete: #e2dfd8;
  --concrete-2: #d6d2c9;
  --concrete-3: #c2bdb2;
  --ink: #1b1c20;
  --ink-2: #4a4b51;
  --red: #e0263c;
  --red-ink: #b3192e;
  --cobalt: #22409a;
  --turq: #14a0a4;
  --turq-ink: #0b6a6e;
  --ochre: #e3a21c;
  --enamel: #f7f5ef;
  --glaze: linear-gradient(160deg, rgba(255,255,255,.42), rgba(255,255,255,0) 55%);
  --groove: inset 0 1px 0 rgba(27,28,32,.15), inset 0 2px 0 rgba(255,255,255,.5);
  --display: 'Unbounded', 'Onest', system-ui, sans-serif;
  --body: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --expo: cubic-bezier(.16, 1, .3, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .19 0 0 0 0 .17 .34 0 0 0 -.09'/%3E%3C/filter%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.011' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .28 0 0 0 0 .25 .2 0 0 0 -.06'/%3E%3C/filter%3E%3Crect width='320' height='320' filter='url(%23c)'/%3E%3Crect width='320' height='320' filter='url(%23f)'/%3E%3C/svg%3E");
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; scrollbar-color: var(--concrete-3) var(--concrete); }
body { background: var(--grain) var(--concrete); color: var(--ink); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
::selection { background: var(--ochre); color: var(--ink); }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 20; }

/* Header: a concrete lintel */
.top { position: sticky; top: 0; z-index: 10; background: var(--grain) var(--concrete); box-shadow: 0 1px 0 rgba(27,28,32,.15), 0 2px 0 rgba(255,255,255,.5); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 18px/1 var(--display); letter-spacing: -.03em; text-decoration: none; color: var(--ink); }
.logo { width: 34px; height: 34px; border-radius: 9px; background: var(--red); display: grid; place-items: center; flex: none; }
.top nav { display: flex; gap: 28px; margin-left: auto; }
.top nav a { color: var(--ink-2); font-weight: 500; font-size: 15px; text-decoration: none; padding: 10px 0; }
.top nav a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 760px) { .top nav { display: none; } }

/* Hero: the mosaic stands in the wall, the headline is cast around it */
.hero { padding: clamp(28px, 4vw, 44px) 0 clamp(64px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
h1 { font: 800 clamp(28px, 9vw, 58px)/1 var(--display); }
h1 span { letter-spacing: -.038em; }
h1 span { display: block; }
h1 em { font-style: normal; color: var(--red); }
.lead { font-size: clamp(17px, 1.35vw, 19px); color: var(--ink-2); max-width: 31em; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.store { display: inline-flex; align-items: center; gap: 11px; min-height: 56px; padding: 8px 20px 8px 15px; background: var(--ink); color: #fff; border-radius: 4px; font-weight: 700; font-size: 16px; line-height: 1.15; box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), 0 10px 20px -12px rgba(27,28,32,.6); }
.store small { display: block; font: 600 10.5px/1.35 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ochre); }
.soon { font-size: 14px; color: var(--ink-2); margin-top: 12px; }

.panel { position: relative; aspect-ratio: 4 / 5; background: var(--cobalt); border: 10px solid var(--concrete-2); box-shadow: inset 0 0 0 1px rgba(27,28,32,.12), 0 30px 60px -34px rgba(27,28,32,.55); overflow: hidden; }
.panel canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ov { position: absolute; left: 12px; right: 12px; display: flex; gap: 6px; align-items: flex-start; font-size: 13px; line-height: 1.3; }
.ov.bar { top: 12px; }
.live { display: inline-flex; align-items: center; gap: 7px; background: var(--red); color: #fff; font: 700 11px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; }
.live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.views { background: rgba(27,28,32,.86); color: #fff; font-weight: 700; font-size: 12px; padding: 6px 9px; }
.ov.chat { top: 50px; right: auto; max-width: 74%; flex-direction: column; }
.chat p { background: var(--enamel); padding: 6px 10px; border-radius: 0 10px 10px 10px; box-shadow: 0 8px 16px -10px rgba(0,0,0,.6); }
.chat b { color: var(--red-ink); margin-right: 5px; }
.ov.pin { bottom: 12px; flex-direction: column; align-items: stretch; }
.pin .who { align-self: flex-start; background: var(--ink); color: #fff; font-weight: 700; padding: 5px 9px; }
.ticket { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--enamel); padding: 8px 8px 8px 12px; box-shadow: 0 14px 28px -12px rgba(0,0,0,.6); }
.ticket b { display: block; font-size: 15px; }
.ticket i { font: 700 14px/1.25 var(--display); font-style: normal; letter-spacing: -.02em; color: var(--red-ink); }
.buy { background: var(--glaze) var(--red); color: #fff; font: 700 12px/1 var(--display); padding: 12px 14px; }

@media (max-width: 959px) {
  .panel { max-width: 520px; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) clamp(330px, 31vw, 450px) minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: clamp(24px, 2.6vw, 44px); row-gap: 26px; }
  h1 { grid-area: 1 / 1 / 4 / 4; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; font-size: clamp(38px, 3.8vw, 55px); }
  .w1 { grid-area: 1 / 1; justify-self: end; text-align: right; }
  .w2 { grid-area: 2 / 3; align-self: end; padding-bottom: 54px; }
  .w3 { grid-area: 3 / 1 / 4 / 4; justify-self: center; font-size: .82em; }
  .panel { grid-area: 1 / 2 / 3 / 3; z-index: 1; }
  .pitch { grid-area: 2 / 1; align-self: end; justify-self: end; max-width: 30em; z-index: 1; }
}

/* Sections */
.sec { padding: clamp(72px, 9vw, 128px) 0; box-shadow: var(--groove); }
.how { background: var(--grain) var(--concrete-2); }
h2 { font: 700 clamp(30px, 3.7vw, 52px)/1.06 var(--display); letter-spacing: -.04em; text-wrap: balance; max-width: 17ch; }
.sub { color: var(--ink-2); margin-top: 18px; max-width: 38em; font-size: clamp(17px, 1.3vw, 19px); }
h3 { text-wrap: balance; }

/* How it works: oversized cast numerals; the tracker follows the step at mid-screen */
.how-grid { display: grid; gap: 48px; }
.steps { list-style: none; counter-reset: s; margin-top: 40px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: clamp(58px, 7.5vw, 104px) 1fr; column-gap: clamp(16px, 2vw, 28px); padding: 28px 0; box-shadow: var(--groove); }
.steps li::before { content: counter(s); grid-row: span 2; font: 800 clamp(54px, 7vw, 100px)/.82 var(--display); letter-spacing: -.04em; color: var(--cobalt); transition: color .5s var(--expo); }
.steps li.on::before { color: var(--red); }
.steps h3 { font: 600 clamp(19px, 1.6vw, 22px)/1.25 var(--display); letter-spacing: -.02em; }
.steps p { color: var(--ink-2); margin-top: 6px; max-width: 34em; }

.track { background: var(--enamel); padding: clamp(20px, 2.4vw, 28px); border-radius: 4px; box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 26px 50px -30px rgba(27,28,32,.5); max-width: 440px; }
.track-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.track-head b { font-size: 17px; }
.state { font: 700 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--red-ink); }
.track[data-at="5"] .state { color: var(--turq-ink); }
.muted { color: var(--ink-2); font-size: 14px; margin-top: 2px; }
.lbl { margin-top: 20px; font: 600 11px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.code { display: flex; gap: 8px; margin-top: 10px; }
.code span { width: 54px; height: 64px; display: grid; place-items: center; border-radius: 6px; background: var(--glaze) var(--cobalt); color: #fff; font: 700 28px/1 var(--display); box-shadow: inset 0 0 0 2px rgba(255,255,255,.22), inset 0 0 0 4px var(--cobalt), 0 6px 12px -8px rgba(23,44,107,.8); transition: background-color .6s var(--expo); }
.track[data-at="5"] .code span { background-color: var(--turq-ink); box-shadow: inset 0 0 0 2px rgba(255,255,255,.22), inset 0 0 0 4px var(--turq-ink); }
.note { font-size: 13px; color: var(--ink-2); margin-top: 10px; }
.stages { list-style: none; margin-top: 20px; display: grid; gap: 10px; font-size: 14px; }
.stages li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
.stages li::before { content: ''; flex: none; width: 16px; height: 16px; border-radius: 2px; background: linear-gradient(160deg, rgba(255,255,255,.25), rgba(255,255,255,0) 55%) var(--concrete-3); box-shadow: inset 0 1px 2px rgba(27,28,32,.2); transition: background-color .5s var(--expo); }
.stages li:nth-child(2)::before { transition-delay: .06s; }
.stages li:nth-child(3)::before { transition-delay: .12s; }
.stages li:nth-child(4)::before { transition-delay: .18s; }
.stages li:nth-child(5)::before { transition-delay: .24s; }
.stages .done { color: var(--ink); }
.stages .done::before { background-color: var(--turq); box-shadow: none; }
.stages .now { color: var(--ink); font-weight: 700; }
.stages .now::before { background-color: var(--red); box-shadow: 0 0 0 3px rgba(224,38,60,.18); }
@media (min-width: 900px) {
  .how-grid { grid-template-columns: 1.2fr .8fr; gap: clamp(48px, 6vw, 96px); }
  .track { position: sticky; top: 108px; align-self: start; margin-top: 10px; }
}

/* Who: one mosaic frieze over four columns of copy */
.frieze { display: grid; margin-top: 44px; }
.frieze article { display: grid; grid-template-columns: 96px 1fr; gap: 18px; padding: 20px 0; box-shadow: var(--groove); }
.frieze canvas { width: 96px; height: 96px; display: block; background: var(--cobalt); }
.frieze h3 { font: 600 19px/1.25 var(--display); letter-spacing: -.02em; }
.frieze p { color: var(--ink-2); margin-top: 8px; font-size: 16px; }
@media (min-width: 900px) {
  .frieze { grid-template-columns: repeat(4, 1fr); }
  .frieze article { grid-template-columns: none; grid-template-rows: 210px auto; gap: 0; padding: 0; box-shadow: none; }
  .frieze canvas { width: 100%; height: 210px; }
  .frieze article > div { padding: 26px 22px 6px; box-shadow: inset 1px 0 rgba(27,28,32,.15), inset 2px 0 rgba(255,255,255,.5); }
  .frieze article:first-child > div { box-shadow: none; padding-left: 0; }
}

/* Trust: the quiet passage, one tessera per promise */
.trust-grid { display: grid; gap: 36px; }
.rules > div { position: relative; padding: 24px 0 24px 40px; box-shadow: var(--groove); }
.rules > div::before { content: ''; position: absolute; left: 3px; top: 31px; width: 16px; height: 16px; border-radius: 2px; background: var(--glaze) var(--turq); transform: rotate(-4deg); }
.rules > div:nth-child(2n)::before { transform: rotate(3deg); }
.rules h3 { font-size: 21px; line-height: 1.3; }
.rules p { color: var(--ink-2); margin-top: 4px; max-width: 36em; }
@media (min-width: 900px) {
  .trust-grid { grid-template-columns: 5fr 7fr; gap: clamp(48px, 6vw, 96px); }
  .trust h2 { position: sticky; top: 112px; align-self: start; }
}

/* Business: a cobalt mosaic wall with a concrete plaque set into it */
.biz { position: relative; background: var(--cobalt); padding: clamp(56px, 8vw, 112px) 0; overflow: hidden; }
.biz canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.biz .wrap { position: relative; }
.plaque { background: var(--grain) var(--concrete); padding: clamp(24px, 4.5vw, 64px); display: grid; gap: 28px; box-shadow: 0 34px 64px -30px rgba(0,0,0,.65); }
.plaque ol { list-style: none; counter-reset: b; }
.plaque li { counter-increment: b; display: flex; align-items: center; gap: 14px; padding: 15px 0; box-shadow: var(--groove); font-weight: 500; }
.plaque li::before { content: counter(b); flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 2px; background: var(--glaze) var(--red); color: #fff; font: 700 13px/1 var(--display); }
@media (min-width: 900px) { .plaque { grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(40px, 5vw, 72px); } }

footer { padding: 36px 0 44px; color: var(--ink-2); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
footer .brand { font-size: 15px; margin-right: auto; }
footer .logo { width: 28px; height: 28px; border-radius: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before { transition: none !important; }
}
