/* tokens
   teal: #1a6671 (sampled off the avatar's own flat background, so the cow fuses into the page
     with no visible edge, no frame, no card)
   cream: #f4ede0 (the cow's own face cream, used for the one line of copy)
   accent: #ccff00 (chain neon, used once, on the CA readout's copied state only, never a fill)
   type: Chewy (the one line, a cartoon-cel display face) / IBM Plex Mono (CA, real case, copyable)
   corner radius: none, this lane has no card, no frame, no rounding anywhere
   spacing scale: 3vmin / 5vmin (vmin-driven so the whole screen scales as one unit)
   motion: none. the lane says nothing moves, so nothing does
*/

@font-face {
  font-family: "Chewy";
  src: url("assets/fonts/chewy-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

:root {
  --teal: #1a6671;
  --cream: #f4ede0;
  --cream-soft: rgba(244, 237, 224, 0.72);
  --accent: #ccff00;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

body {
  min-height: 100vh;
  background: var(--teal);
  color: var(--cream);
  font-family: "Chewy", ui-rounded, system-ui, sans-serif;
}

.stage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.6vmin;
  padding: 3vmin;
}

.cow {
  display: block;
  width: min(62vmin, 640px);
  height: auto;
}

.line {
  margin: 0;
  max-width: 90vw;
  text-align: center;
  font-size: clamp(16px, 3vmin, 26px);
  line-height: 1.3;
  color: var(--cream);
}

.ca {
  appearance: none;
  border: 1px solid var(--cream-soft);
  background: transparent;
  color: var(--cream);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: clamp(11px, 1.8vmin, 15px);
  letter-spacing: 0.02em;
  padding: 0.6em 1em;
  border-radius: 3px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ca:hover,
.ca:focus-visible {
  border-color: var(--cream);
}

.ca.copied {
  color: #0d3138;
  border-color: var(--accent);
  background: var(--accent);
}

.ca:focus-visible {
  outline: 1px dashed var(--accent);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .stage { gap: 2vmin; padding: 4vmin 4vmin; }
  .cow { width: min(70vmin, 520px); }
}

@media (max-height: 620px) {
  .cow { width: min(48vmin, 420px); }
}


/* на странице не было ни X, ни кнопки купить (10.09.2026) */
.links { display: flex; justify-content: center; gap: 1.4em; margin-top: 18px; }
.links a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .8;
}
.links a:hover { opacity: 1; }
