:root {
  --fondo: #000000;
  --pannello: #0b0b0b;
  --bordo: #262626;
  --bordo-su: #4a4a4a;
  --cella-spenta: #161616;
  --cella-lettera: #3a3732;
  --accento: #ffb13d;
  --accento-chiaro: #ffd78f;
  --testo: #8a8680;
  --testo-forte: #e8e4dd;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  background: var(--fondo);
  color: var(--testo);
  font-family: 'Archivo Variable', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.stage {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 16px;
}

.sign {
  display: grid;
  justify-items: center;
  gap: clamp(14px, 3.2vh, 26px);
  width: min(560px, 88vw);
}

.sign__brand {
  font-size: clamp(10px, 1.6vh, 12px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--testo);
  font-variation-settings: 'wdth' 112;
}

.sign__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: clamp(10px, 2.4vh, 18px) clamp(14px, 3vw, 24px);
  border: 1px solid var(--bordo);
  border-radius: 14px;
  background: var(--pannello);
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.35s ease;
}

.sign__btn:focus-visible { border-color: var(--accento); }

@media (hover: hover) {
  .sign__btn:hover { border-color: var(--bordo-su); }
}

.sign__btn.is-lit { border-color: var(--bordo-su); }

.sign__cells {
  display: block;
  width: 100%;
  height: auto;
}

/* the glass over the cells: one hairline of reflection along the top and a soft shade at the bottom */
.sign__glass {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0.015) 1.5px, transparent 30%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0, transparent 40%);
  z-index: 1;
}

.sign__note {
  font-size: clamp(12px, 1.9vh, 14px);
  color: var(--testo);
  font-variation-settings: 'wdth' 100;
}

.sign__note.is-done { color: var(--accento); }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
