@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-display: swap; src: url(/fonts/barlow-semi-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-display: swap; src: url(/fonts/barlow-semi-condensed-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 800; font-display: swap; src: url(/fonts/barlow-semi-condensed-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: Roboto; font-weight: 400; font-display: swap; src: url(/fonts/roboto-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Roboto; font-weight: 500; font-display: swap; src: url(/fonts/roboto-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Roboto; font-weight: 700; font-display: swap; src: url(/fonts/roboto-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: Roboto; font-weight: 900; font-display: swap; src: url(/fonts/roboto-latin-900-normal.woff2) format("woff2"); }

/* ROCKBIRD Style Guide (wie Hammer Challenge) */
:root {
  --rb-green: #00aca9;
  --rb-green-dark: #00807d;
  --rb-bg: #111717;
  --rb-bg-2: #1b2222;
  --rb-bg-3: #2c3535;
  --rb-text: #f4f6f6;
  --rb-muted: #bfcaca;
  --rb-red: #f75a51;
  --radius: 14px;
  --head: "Barlow Semi Condensed", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Roboto, Arial, sans-serif;
  background: var(--rb-bg);
  color: var(--rb-text);
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; cursor: pointer; }
h1, h2, h3, .head { font-family: var(--head); font-weight: 700; letter-spacing: 0.01em; }

/* ---------- Handy ---------- */
.mobile { max-width: 520px; margin: 0 auto; padding: 16px 16px 40px; min-height: 100svh; display: flex; flex-direction: column; }
.mobile header { display: flex; align-items: center; justify-content: space-between; padding: 4px 0 14px; }
.mobile header img { height: 30px; }
.mobile header .live { font-family: var(--head); font-weight: 700; font-size: 15px; color: var(--rb-green); letter-spacing: 0.12em; text-transform: uppercase; display: flex; align-items: center; gap: 7px; }
.dot-live { width: 9px; height: 9px; border-radius: 50%; background: var(--rb-red); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }

.hero { position: relative; overflow: hidden; border-radius: var(--radius); padding: 22px 18px 40px; background: #000; margin-bottom: 18px; }
.hero::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -46px; height: 70px; background: var(--rb-green); transform: skewY(-8deg); transform-origin: right bottom; }
.hero > * { position: relative; z-index: 1; }
.hero .kicker { font-family: var(--head); font-weight: 600; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rb-muted); margin: 0 0 6px; }
.hero h1 { margin: 0; font-size: 32px; line-height: 1.05; color: var(--rb-text); }
.hero p { margin: 8px 0 0; color: var(--rb-muted); font-size: 16px; line-height: 1.35; }

.card { background: var(--rb-bg-2); border-radius: var(--radius); padding: 18px 16px; margin-bottom: 14px; }
textarea.i, input.i {
  width: 100%; padding: 14px 13px; border-radius: 12px; border: 1px solid var(--rb-bg-3);
  background: #0c1111; color: var(--rb-text); font: inherit; font-size: 19px;
}
textarea.i { resize: none; min-height: 96px; line-height: 1.35; }
textarea.i:focus, input.i:focus { outline: 2px solid var(--rb-green); border-color: transparent; }
.num { display: flex; align-items: center; gap: 10px; }
.num input.i { font-size: 44px; font-weight: 900; text-align: center; padding: 10px 8px; font-variant-numeric: tabular-nums; }
.num .unit { font-family: var(--head); font-weight: 700; font-size: 26px; color: var(--rb-muted); white-space: nowrap; }
.meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--rb-muted); margin-top: 6px; }
.btn { display: block; width: 100%; text-align: center; text-decoration: none; border: 0; border-radius: 12px; padding: 16px; font-family: var(--head); font-weight: 700; font-size: 21px; letter-spacing: 0.04em; text-transform: uppercase; background: var(--rb-green); color: #061010; margin-top: 14px; }
.btn:disabled { background: var(--rb-bg-3); color: var(--rb-muted); cursor: default; }
.btn.ghost { background: transparent; color: var(--rb-text); border: 1.5px solid var(--rb-bg-3); }
.err { color: var(--rb-red); font-size: 15px; margin-top: 10px; min-height: 1em; }
.done { text-align: center; padding: 26px 16px; }
.done .big { font-family: var(--head); font-weight: 800; font-size: 46px; color: var(--rb-green); line-height: 1; margin: 6px 0 10px; word-break: break-word; }
.done .big.txt { font-size: 28px; color: var(--rb-text); line-height: 1.2; }
.done p { color: var(--rb-muted); margin: 6px 0; font-size: 16px; }
.link { background: none; border: 0; color: var(--rb-green); font-weight: 500; padding: 8px; margin-top: 8px; font-size: 16px; }
.wait { text-align: center; margin: auto 0; padding: 30px 10px; }
.wait h1 { font-size: 34px; margin: 0 0 10px; }
.wait p { color: var(--rb-muted); font-size: 17px; line-height: 1.4; }
.foot { margin-top: auto; padding-top: 26px; text-align: center; font-size: 13px; color: #7f8c8c; line-height: 1.5; }
.foot a { color: #9fb0b0; }

.compare { margin-top: 16px; background: #000; border-radius: 12px; padding: 14px; text-align: left; }
.compare div { display: flex; justify-content: space-between; padding: 5px 0; font-size: 17px; }
.compare b { font-variant-numeric: tabular-nums; }
.compare .truth b { color: var(--rb-red); }
