/* ეკომისია — design decisions
   1. Reference: warm print / activist eco-poster
   2. Palette: forest-green ink on cream paper, one accent (sun yellow); coral only marks "problem"
   3. Type: Noto Serif Georgian (display) + Noto Sans Georgian (text)
   4. Density: medium-dense; every grid has a column count that divides its item count
   5. Signature: 2px ink outlines + hard offset shadows, sticker badges, ticker tape */

:root {
  --ink: #10352a;
  --ink-2: #1f5a43;
  --ink-soft: #35594b;
  --leaf: #2f8a57;
  --mint: #d7ead3;
  --paper: #f7f1e1;
  --paper-2: #efe5cc;
  --card: #fffbf0;
  --sun: #f6c443;
  --sun-2: #fbe3a0;
  --coral: #c8432c;
  --coral-soft: #f8ddd5;
  --line: 2px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --gap: clamp(14px, 1.8vw, 22px);
  --gut: clamp(16px, 4vw, 40px);
  --font-d: "Noto Serif Georgian", "Segoe UI", system-ui, sans-serif;
  --font-t: "Noto Sans Georgian", "Segoe UI", system-ui, sans-serif;
  --aqi-bg: #48a868;
  --aqi-fg: #10352a;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-t);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  overflow-x: hidden;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1200px, 100% - 2 * var(--gut)); margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 80; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-d); text-wrap: balance; }
h1 { font-weight: 900; font-size: clamp(2.45rem, 6.6vw, 5.3rem); line-height: 1.1; letter-spacing: -.02em; }
h1 em { font-style: normal; background: linear-gradient(transparent 60%, var(--sun) 60%, var(--sun) 92%, transparent 92%); }
h2 { font-weight: 900; font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.16; letter-spacing: -.015em; }
h3 { font-weight: 800; font-size: 1.22rem; line-height: 1.3; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; letter-spacing: .03em; }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(26px, 4vw, 46px); max-width: 860px; }
.sec-lead { font-size: 1.14rem; max-width: 62ch; color: var(--ink-soft); text-wrap: pretty; }
@media (min-width: 1001px) {
  .sec-head--split { max-width: none; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(22px, 4vw, 56px); align-items: end; }
  .sec-head--split .kicker { grid-column: 1 / -1; }
  .sec-head--split .sec-lead { padding-bottom: .3em; }
}
.band-mint { background: var(--mint); border-block: var(--line); }
.band-paper { background: var(--paper-2); border-block: var(--line); }
.band-sun { background: var(--sun); border-block: var(--line); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink .sec-lead { color: #cfe1d6; }

/* ---------- buttons, stickers ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border: var(--line); border-radius: 14px;
  background: var(--sun); color: var(--ink); font-weight: 700; text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .16s ease-out, box-shadow .16s ease-out, background-color .16s ease-out;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--plain { background: var(--card); }
.btn--ink { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--sun); }
.btn--ink:hover { box-shadow: 6px 6px 0 var(--sun); }
.btn--sm { padding: 9px 16px; font-size: .95rem; border-radius: 12px; box-shadow: 3px 3px 0 var(--ink); }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.link:hover { text-decoration-color: var(--sun); }
.sticker {
  display: inline-block; background: var(--sun); color: var(--ink); border: var(--line); border-radius: 10px;
  padding: 8px 14px; font-weight: 800; box-shadow: 4px 4px 0 var(--ink); rotate: -3deg;
}
.seal {
  position: relative; width: 122px; height: 122px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: var(--sun); color: var(--ink); border: var(--line); box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--font-d); font-weight: 900; font-size: 1.05rem; line-height: 1.15; rotate: 10deg;
}
.seal::after { content: ""; position: absolute; inset: 6px; border: 2px dashed var(--ink); border-radius: 50%; }
.seal b { display: block; font-size: 1.7rem; line-height: 1; }
.card { background: var(--card); border: var(--line); border-radius: var(--r-l); box-shadow: var(--shadow); }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: var(--line); }
.head-row { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-d); font-weight: 900; font-size: 1.45rem; text-decoration: none; letter-spacing: -.01em; }
.brand-mark { color: var(--ink); width: 40px; height: 40px; border-radius: 12px; background: var(--sun); border: var(--line); display: grid; place-items: center; box-shadow: 3px 3px 0 var(--ink); rotate: -6deg; }
.brand-mark .ico { width: 22px; height: 22px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a:not(.btn) { padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .96rem; transition: background-color .16s ease-out; }
.nav a:not(.btn):hover { background: var(--sun-2); }
.nav a.is-active { background: var(--ink); color: var(--paper); }
.nav a.is-active:hover { background: var(--ink-2); }
.nav-cta { display: none; }
.nav-toggle { display: none; align-items: center; gap: 8px; padding: 8px 12px; background: var(--card); border: var(--line); border-radius: 12px; font-weight: 700; }
.progress { position: absolute; left: 0; right: 0; bottom: -5px; height: 4px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--leaf); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(26px, 4.6vw, 60px); }
.hero-head { position: relative; display: grid; gap: 16px; justify-items: start; }
.sticker--hash { position: absolute; right: 0; bottom: 14px; font-size: clamp(.95rem, 1.5vw, 1.2rem); rotate: -4deg; }
.hero-mid { margin-top: clamp(20px, 3vw, 34px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 56px); align-items: end; }
.hero-lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); max-width: 58ch; color: var(--ink-soft); text-wrap: pretty; }
.hero-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; }
.aqi-card {
  display: grid; gap: 12px; padding: 18px 20px; text-decoration: none;
  background: var(--card); border: var(--line); border-radius: var(--r-l); box-shadow: var(--shadow);
  transition: transform .16s ease-out, box-shadow .16s ease-out;
}
.aqi-card:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.aqi-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; }
.live { display: inline-flex; align-items: center; gap: 9px; }
.live i { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); }
.live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--leaf); animation: ping 1.8s ease-out infinite; }
.is-stale .live i, .is-stale .live i::after { background: #9a9a8c; animation: none; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(2.6); opacity: 0; } }
.aqi-main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
.aqi-num {
  min-width: 92px; padding: 4px 12px; border: var(--line); border-radius: 16px; text-align: center;
  background: var(--aqi-bg); color: var(--aqi-fg);
  font-family: var(--font-d); font-weight: 900; font-size: 2.8rem; line-height: 1.15; font-variant-numeric: tabular-nums;
}
.aqi-meta b { display: block; font-size: 1.22rem; line-height: 1.25; }
.aqi-meta small { font-size: .86rem; color: var(--ink-soft); }
.spark { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 2px; align-items: end; height: 34px; }
.spark i { display: block; min-height: 3px; border-radius: 2px 2px 0 0; background: var(--ink-2); }
.aqi-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; }
.hero-poster { position: relative; margin-top: clamp(26px, 4vw, 46px); border: var(--line); border-radius: var(--r-l); overflow: hidden; box-shadow: 8px 8px 0 var(--ink); background: var(--mint); }
.hero-poster img { width: 100%; aspect-ratio: 1566 / 664; object-fit: cover; }
.stats {
  position: relative; z-index: 2; margin: -46px clamp(10px, 3vw, 44px) 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--card); border: var(--line); border-radius: var(--r-m); box-shadow: var(--shadow);
}
.stats li { padding: 16px 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; align-content: start; border-left: var(--line); }
.stats li:first-child { border-left: 0; }
.stats b { font-family: var(--font-d); font-weight: 900; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats span { font-size: .92rem; line-height: 1.35; color: var(--ink-soft); }

/* ---------- ticker tape ---------- */
.tape { margin-top: clamp(44px, 6vw, 76px); background: var(--ink); color: var(--paper); overflow: hidden; rotate: -1deg; scale: 1.03; }
.tape-track { display: flex; width: max-content; animation: tape 46s linear infinite; }
.tape-group { display: flex; align-items: center; flex: none; }
.tape-group span { display: inline-flex; align-items: center; gap: 22px; padding: 13px 11px; font-family: var(--font-d); font-weight: 800; font-size: 1.12rem; white-space: nowrap; }
.tape-group svg { width: 16px; height: 16px; fill: var(--sun); }
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- team ---------- */
.photos { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); }
.photo { position: relative; height: clamp(230px, 33vw, 410px); border: var(--line); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); background: var(--mint); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; left: 14px; bottom: 14px; background: var(--paper); border: var(--line); border-radius: 10px; padding: 5px 12px; font-weight: 700; font-size: .9rem; }
.members { margin-top: var(--gap); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); }
.member { background: var(--card); border: var(--line); border-radius: var(--r-m); padding: 16px 14px 18px; box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start; transition: transform .18s ease-out, box-shadow .18s ease-out; }
.member:nth-child(odd) { rotate: -1.2deg; }
.member:nth-child(even) { rotate: 1.2deg; }
.member:hover { transform: translateY(-5px); box-shadow: 7px 9px 0 var(--ink); }
.avatar { width: 54px; height: 54px; border-radius: 18px; border: var(--line); display: grid; place-items: center; background: var(--sun); font-family: var(--font-d); font-weight: 900; font-size: 1.5rem; line-height: 1; }
.member:nth-child(3n+2) .avatar { background: var(--mint); }
.member:nth-child(3n) .avatar { background: var(--ink); color: var(--paper); }
.member p { font-size: .92rem; line-height: 1.4; color: var(--ink-soft); }

/* ---------- goals ---------- */
.goals-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap); }
.pic { position: relative; border: var(--line); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); background: var(--paper-2); min-height: 300px; }
.pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pic .sticker { position: absolute; left: 14px; bottom: 16px; }
.goals-pic img { object-position: 62% 50%; }
.goal-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.goal { position: relative; background: var(--card); border: var(--line); border-radius: var(--r-m); padding: 20px 18px; box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start; transition: transform .18s ease-out, box-shadow .18s ease-out; }
.goal:hover { transform: translate(-2px, -3px); box-shadow: 8px 9px 0 var(--ink); }
.goal-top { display: flex; align-items: center; justify-content: space-between; }
.goal-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--sun); border: var(--line); display: grid; place-items: center; }
.goal-ico .ico { width: 26px; height: 26px; }
.goal-n { font-family: var(--font-d); font-weight: 900; font-size: 1.9rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--ink); font-variant-numeric: tabular-nums; }
.goal p { font-size: .98rem; line-height: 1.5; color: var(--ink-soft); }

/* ---------- air ---------- */
.air-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); }
.gauge-card { padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 14px; align-content: space-between; }
.gauge-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; font-weight: 700; }
.gauge-wrap { display: grid; justify-items: center; }
.gauge { width: min(100%, 370px); overflow: visible; }
.gauge text { font-family: var(--font-t); font-size: 9px; font-weight: 700; fill: var(--ink-soft); }
#gaugeNeedle { transform-box: view-box; transform-origin: 120px 126px; transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.gauge-read { display: grid; justify-items: center; gap: 8px; text-align: center; margin-top: 4px; }
.gauge-val { font-family: var(--font-d); font-weight: 900; font-size: clamp(3rem, 6vw, 4.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.gauge-cat { display: inline-block; padding: 4px 14px; border: var(--line); border-radius: 10px; font-weight: 800; background: var(--aqi-bg); color: var(--aqi-fg); }
.gauge-advice { max-width: 40ch; color: var(--ink-soft); text-wrap: pretty; }
.air-status { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: space-between; border-top: 2px dashed var(--ink); padding-top: 14px; font-size: .9rem; }
.air-status p { flex: 1 1 200px; line-height: 1.4; }
.is-loading .ico { animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.poll-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.poll { background: var(--card); border: var(--line); border-radius: var(--r-m); padding: 16px; box-shadow: var(--shadow); display: grid; gap: 8px; align-content: start; }
.poll-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.poll-name { font-family: var(--font-d); font-weight: 900; font-size: 1.3rem; }
.poll-val { font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.poll-val small { font-weight: 600; font-size: .78rem; color: var(--ink-soft); }
.poll-bar { position: relative; height: 12px; border: var(--line); border-radius: 99px; background: var(--paper); overflow: hidden; }
.poll-bar span { display: block; height: 100%; width: 0; background: var(--leaf); transition: width .7s ease-out; }
.poll-bar i { position: absolute; top: 0; bottom: 0; left: 66.666%; width: 2px; background: var(--ink); }
.poll.is-mid .poll-bar span { background: var(--sun); }
.poll.is-high .poll-bar span { background: var(--coral); }
.poll-ratio { font-weight: 700; font-size: .88rem; }
.poll-note { font-size: .88rem; line-height: 1.45; color: var(--ink-soft); }
.forecast { margin-top: var(--gap); padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 18px; }
.forecast-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 24px; align-items: baseline; }
.forecast-head p { color: var(--ink-soft); font-size: .98rem; }
.bars-wrap { position: relative; }
.bars { position: relative; display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: clamp(2px, .5vw, 6px); align-items: end; height: 170px; padding-right: 34px; border-bottom: var(--line); }
.bar { position: relative; z-index: 1; min-height: 5px; border: var(--line); border-bottom: 0; border-radius: 6px 6px 0 0; background: var(--c, var(--leaf)); transform-origin: 50% 100%; transition: height .6s ease-out; }
.bar.is-now { outline: 3px solid var(--ink); outline-offset: 2px; }
.guide { position: absolute; left: 0; right: 34px; border-top: 2px dashed rgba(16, 53, 42, .3); }
.guide span { position: absolute; left: 100%; top: -1px; translate: 0 -50%; padding-left: 7px; font-size: .74rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.bar-labels { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: clamp(2px, .5vw, 6px); margin-top: 6px; padding-right: 34px; font-size: .74rem; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.legend { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.legend li { display: grid; gap: 2px; padding: 10px 12px; border: var(--line); border-radius: 12px; background: var(--paper); font-size: .84rem; line-height: 1.3; border-top-width: 10px; border-top-color: var(--c); }
.legend b { font-variant-numeric: tabular-nums; font-size: .95rem; }
.air-foot { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px clamp(22px, 4vw, 56px); font-size: .9rem; line-height: 1.5; color: var(--ink-soft); }
.air-foot b { color: var(--ink); }

/* ---------- problems ---------- */
.prob-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.prob { grid-column: span 4; display: flex; flex-direction: column; background: var(--card); border: var(--line); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); }
.prob--a { grid-column: span 7; flex-direction: row; }
.prob--b { grid-column: span 5; }
.prob-media { position: relative; flex: 1 0 auto; aspect-ratio: 16 / 9; border-bottom: var(--line); overflow: hidden; background: var(--paper-2); }
.prob-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease-out; }
.prob:hover .prob-media img { transform: scale(1.04); }
.prob--a .prob-media { flex: none; width: 44%; aspect-ratio: auto; border-bottom: 0; border-right: var(--line); }
.prob-num { position: absolute; left: 12px; top: 12px; z-index: 1; min-width: 46px; padding: 2px 10px; background: var(--sun); border: var(--line); border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); font-family: var(--font-d); font-weight: 900; font-size: 1.3rem; text-align: center; rotate: -4deg; }
.prob-body { flex: none; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.prob--a .prob-body { flex: 1; justify-content: space-between; }
.prob--a h3 { font-size: clamp(1.3rem, 2.1vw, 1.65rem); }
.prob--a .prob-body > p:not(.tag) { font-size: 1.08rem; }
.tag { align-self: flex-start; padding: 2px 10px; border: var(--line); border-radius: 8px; font-weight: 800; font-size: .8rem; }
.tag--problem { background: var(--coral); color: #fff; }
.tag--solution { background: var(--leaf); color: #fff; border-color: var(--ink); }
.prob-body > p:not(.tag) { color: var(--ink-soft); }
.solution { display: grid; gap: 8px; background: var(--mint); border: var(--line); border-radius: 14px; padding: 14px; }
.solution p:not(.tag), .solution li { font-weight: 600; line-height: 1.45; font-size: .98rem; }
.solution .tag { align-self: start; justify-self: stretch; font-size: .86rem; }
.solution ul { display: grid; gap: 6px; }
.solution li { position: relative; padding-left: 20px; }
.solution li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: var(--ink); rotate: 45deg; scale: .8; }
.stat { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 12px 14px; background: var(--coral-soft); border: var(--line); border-radius: 14px; }
.stat-num { font-family: var(--font-d); font-weight: 900; font-size: clamp(2.3rem, 3.4vw, 3rem); line-height: 1; color: var(--coral); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-num small { font-size: .5em; }
.stat p { font-size: .9rem; line-height: 1.4; font-weight: 600; }

/* ---------- law ---------- */
.law-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(22px, 4vw, 56px); align-items: stretch; }
.law-side .sec-head { margin-bottom: 20px; }
.law-side .sec-lead { color: var(--ink); }
.law-note { background: var(--paper); border: var(--line); border-radius: 14px; padding: 14px 16px; font-size: .94rem; line-height: 1.5; }
.law-cards { display: grid; gap: var(--gap); grid-auto-rows: 1fr; }
.law { padding: 22px 24px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 20px; align-content: center; align-items: center; }
.law-n { grid-row: span 2; position: relative; width: 78px; height: 78px; border-radius: 50%; border: var(--line); background: var(--mint); display: grid; place-items: center; font-family: var(--font-d); font-weight: 900; font-size: 1.5rem; rotate: -8deg; }
.law-n::after { content: ""; position: absolute; inset: 5px; border: 2px dashed var(--ink); border-radius: 50%; }
.law h3 { font-size: 1.4rem; align-self: end; }
.law p { color: var(--ink-soft); align-self: start; }

/* ---------- kiosk ---------- */
.kiosk-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(22px, 3vw, 36px) clamp(24px, 4vw, 56px); align-items: center; }
.kiosk-top .sec-head { margin-bottom: 0; }
.steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: step; }
.step { counter-increment: step; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; padding: 14px; border: 2px solid rgba(247, 241, 225, .55); border-radius: 14px; }
.step::before { content: counter(step); grid-row: span 2; width: 36px; height: 36px; border-radius: 11px; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-family: var(--font-d); font-weight: 900; font-size: 1.15rem; }
.step b { font-size: 1.02rem; }
.step span { font-size: .9rem; line-height: 1.4; color: #cfe1d6; }
.kiosk-art { position: relative; }
.kiosk-art .pic { min-height: 0; aspect-ratio: 1280 / 698; border-color: var(--paper); box-shadow: 8px 8px 0 var(--sun); }
.kiosk-art .seal { position: absolute; right: -10px; top: -26px; z-index: 2; }
.shop { margin-top: clamp(36px, 5vw, 60px); background: var(--paper); color: var(--ink); border: 2px solid var(--paper); border-radius: var(--r-l); box-shadow: 8px 8px 0 var(--sun); overflow: hidden; }
.awning { position: relative; height: 46px; background: repeating-linear-gradient(90deg, var(--sun) 0 44px, var(--card) 44px 88px); border-bottom: var(--line); }
.awning::after {
  content: ""; position: absolute; left: 0; right: 0; top: calc(100% + 2px); height: 22px;
  background:
    radial-gradient(circle at 22px 0, var(--sun) 19px, var(--ink) 19.5px 21.5px, transparent 22px) 0 0 / 88px 22px repeat-x,
    radial-gradient(circle at 66px 0, var(--card) 19px, var(--ink) 19.5px 21.5px, transparent 22px) 0 0 / 88px 22px repeat-x;
}
.shop-body { padding: clamp(16px, 3vw, 30px); padding-top: calc(clamp(16px, 3vw, 30px) + 26px); display: grid; gap: var(--gap); }
.shop-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.shop-head h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 900; }
.shop-head p { font-size: .92rem; color: var(--ink-soft); }
.shop-main { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); }
.counter { display: grid; gap: 12px; align-content: start; }
.tariffs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tariff { background: var(--card); border: var(--line); border-radius: var(--r-m); padding: 14px 10px 12px; display: grid; justify-items: center; gap: 6px; text-align: center; }
.bottle { height: 102px; display: grid; align-items: end; }
.tariff b { font-family: var(--font-d); font-weight: 900; font-size: 1.25rem; line-height: 1.1; }
.tariff .pts { font-weight: 700; font-size: .9rem; background: var(--sun); border: var(--line); border-radius: 8px; padding: 0 8px; }
.stepper { width: 100%; margin-top: 4px; display: grid; grid-template-columns: 38px minmax(0, 1fr) 38px; align-items: center; border: var(--line); border-radius: 12px; overflow: hidden; background: var(--paper); }
.stepper button { height: 38px; border: 0; background: var(--mint); display: grid; place-items: center; transition: background-color .14s ease-out; }
.stepper button:hover { background: var(--sun); }
.stepper button:active { background: var(--sun-2); }
.stepper output { text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.basket { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; background: var(--mint); border: var(--line); border-radius: var(--r-m); padding: 14px 16px; }
.basket p { line-height: 1.35; }
.basket strong { font-family: var(--font-d); font-weight: 900; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.wallet { background: var(--ink); color: var(--paper); border-radius: var(--r-m); padding: 20px; display: grid; gap: 12px; align-content: space-between; }
.wallet-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; }
.wallet-num { font-family: var(--font-d); font-weight: 900; font-size: clamp(2.8rem, 5.4vw, 4rem); line-height: 1; color: var(--sun); font-variant-numeric: tabular-nums; }
.wallet-num.is-bump { animation: bump .5s ease-out; }
@keyframes bump { 30% { transform: scale(1.12); } 100% { transform: scale(1); } }
.wallet small { font-size: .9rem; line-height: 1.4; color: #cfe1d6; }
.meter { height: 12px; border: 2px solid var(--paper); border-radius: 99px; overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--sun); transition: width .5s ease-out; }
.wallet .btn-reset { justify-self: start; background: none; border: 0; padding: 0; color: #cfe1d6; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.wallet .btn-reset:hover { color: var(--sun); }
.shelf-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; }
.shelf-title p { font-size: .9rem; color: var(--ink-soft); }
.rewards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.reward { background: var(--card); border: var(--line); border-radius: var(--r-m); padding: 14px 10px 12px; display: grid; gap: 8px; justify-items: center; text-align: center; align-content: space-between; }
.reward-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--mint); border: var(--line); display: grid; place-items: center; }
.reward-ico .ico { width: 28px; height: 28px; }
.reward b { font-size: .98rem; line-height: 1.25; }
.reward .cost { font-weight: 800; font-size: .92rem; font-variant-numeric: tabular-nums; }
.reward .btn { width: 100%; padding: 7px 8px; font-size: .88rem; }
.reward.is-open .reward-ico { background: var(--sun); }
.vouchers { border-top: 2px dashed var(--ink); padding-top: 16px; display: grid; gap: 10px; }
.vouchers ul { display: flex; flex-wrap: wrap; gap: 10px; }
.voucher { display: inline-grid; gap: 0; padding: 8px 14px; background: var(--card); border: 2px dashed var(--ink); border-radius: 12px; line-height: 1.3; }
.voucher b { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 1.05rem; letter-spacing: .06em; }
.voucher span { font-size: .86rem; color: var(--ink-soft); }
.shop-note { font-size: .86rem; color: var(--ink-soft); }

/* ---------- quiz ---------- */
.quiz-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(22px, 4vw, 56px); align-items: stretch; }
.quiz-side { display: flex; flex-direction: column; }
.quiz-side .sec-head { margin-bottom: 22px; }
.quiz-side .pic { flex: 1; min-height: 240px; }
.quiz-card { padding: clamp(18px, 3vw, 32px); display: grid; gap: 16px; align-content: start; }
.quiz-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.seg { display: inline-grid; grid-template-columns: auto auto auto; border: var(--line); border-radius: 12px; overflow: hidden; }
.seg button { padding: 8px 18px; min-height: 44px; border: 0; background: var(--card); font-weight: 800; transition: background-color .14s ease-out; }
.seg button + button { border-left: var(--line); }
.seg button:hover { background: var(--sun-2); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.dots { display: flex; gap: 6px; min-width: 0; }
.dots.is-many { flex: 1 1 100%; gap: 4px; }
.dots.is-many .dot { flex: 1 1 0; width: auto; min-width: 0; }
.dot { width: 30px; height: 10px; border-radius: 99px; border: var(--line); }
.dot.is-now { background: var(--sun); }
.dot.is-right { background: var(--leaf); }
.dot.is-wrong { background: var(--coral); }
#quizStage { display: grid; gap: 14px; align-content: start; }
.q-hint { border: 2px dashed rgba(16, 53, 42, .45); border-radius: 12px; padding: 10px 14px; font-size: .92rem; color: var(--ink-soft); }
.q-count { font-weight: 700; font-size: .92rem; color: var(--ink-soft); }
.q-text { font-family: var(--font-d); font-weight: 800; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.3; text-wrap: balance; }
.opts { display: grid; gap: 10px; }
.opt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; text-align: left; padding: 11px 14px; background: var(--paper); border: var(--line); border-radius: 14px; font-weight: 600; line-height: 1.35; transition: transform .14s ease-out, background-color .14s ease-out; }
.opt:hover:not([disabled]) { transform: translateX(4px); background: var(--sun-2); }
.opt[disabled] { cursor: default; }
.opt-key { width: 30px; height: 30px; border-radius: 9px; border: var(--line); background: var(--card); display: grid; place-items: center; font-weight: 800; }
.opt--multi .opt-key { color: transparent; }
.opt--multi .opt-key .ico { width: 18px; height: 18px; stroke-width: 3; }
.opt[aria-pressed="true"] { background: var(--sun-2); }
.opt[aria-pressed="true"] .opt-key { background: var(--ink); color: var(--paper); }
.opt.is-right { background: #cdebd3; }
.opt.is-right .opt-key, .opt.is-right[aria-pressed] .opt-key { background: var(--leaf); color: #fff; }
.opt.is-wrong { background: var(--coral-soft); }
.opt.is-wrong .opt-key, .opt.is-wrong[aria-pressed] .opt-key { background: var(--coral); color: #fff; }
.opt--multi.is-right:not([aria-pressed="true"]) .opt-key { color: #fff; }
.q-feedback { border-left: 6px solid var(--leaf); background: var(--mint); border-radius: 0 12px 12px 0; padding: 10px 14px; line-height: 1.45; }
.q-feedback.is-wrong { border-left-color: var(--coral); background: var(--coral-soft); }
.q-feedback b { display: block; }
#quizStage > .btn { justify-self: start; }
.quiz-result { display: grid; gap: 14px; justify-items: start; }
.score { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--font-d); font-weight: 900; font-size: clamp(3rem, 7vw, 4.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.score small { font-size: .4em; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- join ---------- */
.join-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(22px, 4vw, 56px); align-items: stretch; }
.join-side { display: flex; flex-direction: column; }
.join-side .sec-head { margin-bottom: 20px; }
.perks { display: grid; gap: 10px; margin-bottom: 24px; }
.perks li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; font-weight: 600; line-height: 1.35; }
.perk-ico { width: 30px; height: 30px; border-radius: 9px; background: var(--sun); border: var(--line); display: grid; place-items: center; }
.perk-ico .ico { width: 18px; height: 18px; stroke-width: 3; }
.join-side .pic { flex: 1; min-height: 220px; }
.form-card { padding: clamp(18px, 3vw, 32px); display: grid; gap: 14px; align-content: start; }
.form-card h3 { font-size: 1.5rem; font-weight: 900; }
.form-card > .tag { justify-self: start; }
.field { display: grid; gap: 6px; }
.field label, .field-label { font-weight: 700; font-size: .95rem; }
.input { width: 100%; padding: 12px 14px; border: var(--line); border-radius: 12px; background: var(--paper); font-size: 1rem; }
.input::placeholder { color: #7d8f84; }
.input:focus { outline: 3px solid var(--sun); outline-offset: 1px; background: #fff; }
.field.is-error .input { border-color: var(--coral); background: var(--coral-soft); }
.err { color: var(--coral); font-size: .88rem; font-weight: 700; line-height: 1.3; }
.err:empty { display: none; }
.row-2 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 14px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 7px 14px; border: var(--line); border-radius: 10px; background: var(--paper); font-weight: 600; font-size: .95rem; cursor: pointer; user-select: none; transition: background-color .14s ease-out; }
.chip span:hover { background: var(--sun-2); }
.chip input:checked + span { background: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; font-size: .95rem; line-height: 1.4; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }
.form-note { font-size: .86rem; color: var(--ink-soft); line-height: 1.45; }
.pass { border: var(--line); border-radius: var(--r-m); overflow: hidden; background: var(--paper); }
.pass-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 14px; background: var(--ink); color: var(--paper); padding: 12px 18px; font-weight: 700; font-size: .92rem; }
.pass-body { padding: 18px; display: grid; gap: 6px; }
.pass-name { font-family: var(--font-d); font-weight: 900; font-size: 1.6rem; line-height: 1.2; overflow-wrap: anywhere; }
.pass-no { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-weight: 700; font-size: 1.2rem; letter-spacing: .06em; background: var(--sun); border: var(--line); border-radius: 8px; padding: 2px 10px; justify-self: start; }
.pass-body small { color: var(--ink-soft); font-size: .9rem; }
[hidden] { display: none !important; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--paper); padding-block: clamp(40px, 6vw, 70px) 26px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: clamp(24px, 4vw, 56px); }
.foot .brand { font-size: 1.7rem; }
.foot h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--sun); }
.foot p, .foot li { font-size: .93rem; line-height: 1.5; color: #dbe7df; }
.foot ul { display: grid; gap: 8px; }
.foot a { color: var(--sun-2); text-underline-offset: 3px; }
.foot a:hover { color: var(--sun); }
.foot-about { margin-top: 14px; max-width: 40ch; }
.foot .sticker { margin-top: 18px; color: var(--ink); }
.foot-tools { margin-top: 16px; display: grid; gap: 8px; justify-items: start; }
.foot-tools button { display: inline-flex; align-items: center; gap: 8px; background: none; border: 2px solid rgba(247, 241, 225, .5); border-radius: 10px; padding: 7px 12px; color: var(--paper); font-size: .9rem; font-weight: 600; }
.foot-tools button:hover { border-color: var(--sun); color: var(--sun); }
.foot-bottom { margin-top: 34px; padding-top: 18px; border-top: 2px solid rgba(247, 241, 225, .25); display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; font-size: .9rem; color: #cfe1d6; }

/* ---------- phone tab bar ---------- */
.tabbar { display: none; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; translate: 0 20px; transition: opacity .55s ease-out, translate .55s ease-out; transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 14px var(--gut) 18px; background: var(--paper); border-bottom: var(--line); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .nav.is-open { display: grid; }
  .nav a:not(.btn) { border: var(--line); background: var(--card); text-align: center; padding: 10px; }
  .nav-cta { display: inline-flex; grid-column: 1 / -1; }
  .head-cta { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .members { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .goals-grid { grid-template-columns: minmax(0, 1fr); }
  .goals-pic { min-height: 0; aspect-ratio: 16 / 7; }
  .goal-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .air-grid { grid-template-columns: minmax(0, 1fr); }
  .poll-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .legend { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prob { grid-column: span 6; }
  .prob--a { grid-column: span 12; }
  .law-grid { grid-template-columns: minmax(0, 1fr); }
  .kiosk-top { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kiosk-art { margin-top: 18px; }
  .shop-main { grid-template-columns: minmax(0, 1fr); }
  .rewards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quiz-grid, .join-grid { grid-template-columns: minmax(0, 1fr); }
  .quiz-side .pic, .join-side .pic { flex: none; min-height: 0; aspect-ratio: 16 / 8; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}
/* tablet only: pair up blocks that would otherwise leave the right half of the row empty */
@media (min-width: 681px) and (max-width: 1000px) {
  .join-side { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(18px, 3vw, 28px); align-items: stretch; }
  .join-side .sec-head { grid-column: 1 / -1; }
  .join-side .perks { margin-bottom: 0; align-content: space-between; }
  .join-side .pic { aspect-ratio: auto; min-height: 230px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-grid > :nth-child(2) { grid-column: 2; grid-row: span 2; }
}
@media (max-width: 760px) {
  .sticker--hash { position: static; order: -1; }
  .hero-mid { grid-template-columns: minmax(0, 1fr); }
  .hero-poster img { aspect-ratio: 4 / 3; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -34px; }
  .stats li:nth-child(odd) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: var(--line); }
  .stats li { padding: 14px 12px; }
  .photos { grid-template-columns: minmax(0, 1fr); }
  .forecast-head { grid-template-columns: minmax(0, 1fr); }
  .air-foot { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .prob, .prob--a, .prob--b { grid-column: span 12; flex-direction: column; }
  .prob--a .prob-media { flex: 1 0 auto; width: auto; aspect-ratio: 16 / 9; border-right: 0; border-bottom: var(--line); }
  .prob--a .prob-body { flex: none; }
  .members { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .goal-cards { grid-template-columns: minmax(0, 1fr); }
  .poll-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .tariffs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rewards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reward b { font-size: .92rem; }
  .law { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .law-n { grid-row: auto; }
  .law-cards { grid-auto-rows: auto; }
  .row-2 { grid-template-columns: minmax(0, 1fr); }
  .bar { border-width: 1.5px; border-radius: 4px 4px 0 0; }
  .bar-labels { font-size: .66rem; }
  .kiosk-art .seal { right: 6px; width: 104px; height: 104px; font-size: .92rem; }
  .kiosk-art .seal b { font-size: 1.45rem; }
}
/* phones: thumb-reach navigation, bigger tap targets, shorter page */
@media (max-width: 680px) {
  html { scroll-padding-top: 72px; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); font-size: 1rem; }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--ink); border-top: 2px solid var(--ink); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; padding: 8px 2px 7px; min-height: 60px; color: #cfe1d6; text-decoration: none; font-size: .62rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.15; text-align: center; -webkit-tap-highlight-color: transparent; }
  .tabbar a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tabbar .ico { width: 24px; height: 24px; }
  .tabbar a.is-active { color: var(--ink); background: var(--sun); }
  .tabbar a:active { background: rgba(246, 196, 67, .35); }
  .sec { padding-block: 44px; }
  .sec-head { margin-bottom: 22px; gap: 10px; }
  .sec-lead { font-size: 1.02rem; }
  .btn { min-height: 48px; }
  .hero .btn { width: 100%; justify-content: center; }
  .goal { grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; padding: 14px; align-items: start; }
  .goal-top { grid-row: span 2; }
  .goal-n { display: none; }
  .goal p { font-size: .94rem; }
  .member { padding: 12px; gap: 6px; }
  .poll p:last-child { font-size: .86rem; }
  .step { padding: 12px; }
  .stepper { grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .stepper button { height: 44px; }
  .basket .btn { width: 100%; justify-content: center; }
  .reward .btn { min-height: 44px; }
  .quiz-side .pic { display: none; }
  .quiz-bar .seg { width: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr); }
  .seg button { padding-inline: 6px; }
  .opt { padding: 13px 12px; min-height: 54px; }
  #quizStage > .btn { justify-self: stretch; justify-content: center; }
  .quiz-actions .btn { flex: 1 1 100%; justify-content: center; }
  .chip span { padding: 10px 14px; }
  .input { padding: 14px; font-size: 16px; }
  .check input { width: 26px; height: 26px; }
  .foot-tools button { min-height: 44px; }
}
@media (max-width: 520px) {
  .head-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .poll { padding: 13px; }
  .poll-top { flex-direction: column; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tape-track, .live i::after { animation: none; }
  .js .reveal { opacity: 1; translate: 0 0; transition: none; }
  * { transition-duration: .01ms !important; }
}
@media print {
  .site-head, .tape, body::before { display: none; }
  .js .reveal { opacity: 1; translate: 0 0; }
}
