/* Archivo (SIL OFL 1.1), hostowany lokalnie – strona nie łączy się z Google Fonts. */
@font-face {
  font-family: 'Archivo'; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/archivo.woff2) format('woff2');
}
/* chantape.com – wspólne style. Kolory z logo-kasety (src/core/util.js → cassetteSvg). */
:root {
  --shell: #1e1e1e;   /* obudowa kasety */
  --ink: #121212;     /* tekst na etykiecie, okienko */
  --label: #ededed;   /* papierowa etykieta */
  --reel: #9bd14b;    /* szpule */
  --amber: #d4ab45;   /* "coming soon", jak licznik obserwowanych wątków */
  --muted: #a3a39c;
  --line: #34342f;
  --bad: #ff8a7a;
  --wide: 'Archivo', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--shell); color: var(--label); }
body {
  margin: 0; font: 400 17px/1.6 var(--wide); font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--reel); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--reel); outline-offset: 3px; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* nagłówek strony */
.top { display: flex; align-items: center; gap: 12px; padding: 22px 0; }
.top a.home { display: flex; align-items: center; gap: 10px; color: var(--label); text-decoration: none; font-weight: 700; font-stretch: 112%; }
.top svg { width: 40px; height: 26px; }
.top nav { margin-left: auto; display: flex; gap: 18px; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--label); }

/* Etykieta kasety: jedyny "głośny" element strony */
.label {
  position: relative; margin: 28px 0 40px; padding: 26px 26px 30px 26px;
  background: var(--label); color: var(--ink); border-radius: 10px;
  box-shadow: inset 0 0 0 6px var(--label), inset 0 0 0 7px #cfcfc8;
}
.label h1 {
  margin: 0; font-weight: 800; font-stretch: 125%; letter-spacing: -0.02em;
  font-size: clamp(38px, 9vw, 76px); line-height: 0.95; padding-right: 48px;
}
.label p { margin: 14px 0 0; font-size: 19px; line-height: 1.4; max-width: 34ch; }
.label .side {
  position: absolute; top: 18px; right: 22px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--label); display: grid; place-items: center;
  font-weight: 800; font-size: 16px;
}
.reels { display: flex; gap: 14px; margin-top: 22px; }
.reels span {
  width: 44px; height: 44px; border-radius: 50%; background: var(--ink); position: relative;
}
.reels span::after {
  content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--reel);
  background-image: conic-gradient(from 0deg, var(--ink) 0 8deg, transparent 8deg 120deg, var(--ink) 120deg 128deg, transparent 128deg 240deg, var(--ink) 240deg 248deg, transparent 248deg);
  animation: spin 1.6s linear 1;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .reels span::after { animation: none; } }

h2 { font-weight: 800; font-stretch: 115%; font-size: 26px; line-height: 1.15; margin: 48px 0 12px; }
h3 { font-weight: 700; font-size: 18px; margin: 28px 0 6px; }
p, li { max-width: 64ch; }
.lead { font-size: 19px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

ul.plain { padding: 0; list-style: none; }
ul.plain li { padding: 10px 0; border-top: 1px solid var(--line); }
ul.plain li:last-child { border-bottom: 1px solid var(--line); }
ul.plain b { font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 16px/1 var(--wide); padding: 14px 20px; border-radius: 8px; border: 0; cursor: pointer;
  background: var(--reel); color: var(--ink); text-decoration: none;
}
.btn:hover { background: #b3e06f; }
.btn.ghost { background: transparent; color: var(--label); box-shadow: inset 0 0 0 1px #5a5a54; }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--label); }
.btn[disabled] { opacity: .6; cursor: progress; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--amber); color: var(--ink); font-size: 14px; font-weight: 700; vertical-align: 3px; }

/* formularz listy oczekujących */
form.wait { margin: 18px 0 0; display: grid; gap: 16px; max-width: 520px; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
legend { font-weight: 700; margin-bottom: 8px; }
.choice {
  display: flex; align-items: baseline; gap: 12px; padding: 14px 16px; border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--line); cursor: pointer;
}
.choice:has(input:checked) { box-shadow: inset 0 0 0 2px var(--reel); }
.choice input { accent-color: var(--reel); transform: translateY(2px); }
.choice .price { font-weight: 800; font-stretch: 115%; font-size: 20px; min-width: 5.5ch; }
.choice small { display: block; color: var(--muted); font-size: 14px; }
label.field { display: grid; gap: 6px; font-weight: 700; }
input[type=email] {
  font: 400 17px var(--wide); padding: 13px 14px; border-radius: 8px; border: 0;
  background: #2a2a27; color: var(--label); box-shadow: inset 0 0 0 1px #4a4a44;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.6em; margin: 0; }
.status.ok { color: var(--reel); }
.status.err { color: var(--bad); }

/* polityka prywatności */
.doc h2 { font-size: 22px; margin-top: 40px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 10px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-top: 1px solid var(--line); }
.doc th { font-weight: 700; }

footer.site { margin: 72px 0 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer.site a { color: var(--muted); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .label { padding: 22px 18px 24px; }
  .label .side { top: 14px; right: 14px; width: 30px; height: 30px; font-size: 14px; }
  .top nav { gap: 14px; }
}
.doc h1.page { font-stretch: 115%; font-weight: 800; font-size: clamp(32px, 6vw, 48px); line-height: 1.05; margin: 28px 0 8px; }
