@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #211d1d;
  --lime: #a3ff62;
  --paper: #ffffff;
  --muted: #5c5757;
  --line: #eceae8;
  color-scheme: light;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: #f3f1ef;
  color: var(--ink);
  font-family: Geist, system-ui, sans-serif;
}

body {
  max-width: 440px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper);
  padding-bottom: 7.5rem;
}

.band {
  background: var(--lime);
  padding: 1.4rem 1.25rem 1.1rem;
}

.brand {
  color: var(--ink);
  font-weight: 900;
  font-size: 3.2rem;
  letter-spacing: -0.06em;
  line-height: 0.85;
  text-transform: uppercase;
}

.tag {
  margin: 1rem 1.25rem 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

main {
  padding: 1rem 1.25rem 0;
}

.card {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  overflow: hidden;
}

video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 16rem;
  background: var(--ink);
  object-fit: cover;
}

.card-copy { padding: 0.9rem 1rem 1rem; }

h1 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

h2 {
  margin: 1.4rem 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#blurb, .hint, .status {
  color: var(--muted);
  line-height: 1.4;
}

#blurb { margin: 0.35rem 0 0; }

.drop {
  display: grid;
  place-items: center;
  min-height: 8.5rem;
  border: 1.5px dashed #c8c4c2;
  border-radius: 1rem;
  background: #fafafa;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
}

.drop input { display: none; }

#drop-label {
  font-weight: 700;
  padding: 1rem;
}

#thumb {
  width: 100%;
  max-height: 16rem;
  object-fit: cover;
}

.hint { margin: 0.55rem 0 0; font-size: 0.92rem; }

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.tier {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 0.9rem;
  padding: 0.75rem 0.3rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tier small {
  display: block;
  margin-top: 0.2rem;
  font-weight: 600;
  color: var(--muted);
}

.tier[aria-pressed="true"] {
  background: var(--ink);
  color: var(--lime);
  border-color: var(--ink);
}

.tier[aria-pressed="true"] small { color: #d7ffb4; }

.dock {
  position: fixed;
  left: 50%;
  bottom: 0;
  width: min(440px, 100%);
  transform: translateX(-50%);
  padding: 0.75rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom));
  background: linear-gradient(to top, #fff 70%, rgba(255, 255, 255, 0));
}

#go {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--lime);
  font: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  padding: 0.95rem 1rem;
  cursor: pointer;
}

#go:disabled {
  background: #e6e4e2;
  color: #9a9595;
  cursor: default;
}

.status {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
}
