/* Ultra (SIL Open Font License), ospitato qui: nessuna richiesta a terze parti. */
@font-face {
  font-family: "Ultra";
  src: url("ultra.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
/* Brand: nero, cromo, nido d'ape. Change only these variables (see README). */
:root {
  --paper: #000000;
  --ink: #f4f6f8;
  --muted: #a6adb4;
  --line: #2a2d31;
  --chrome: linear-gradient(90deg, #6f7880, #f4f6f8 45%, #8d959c 70%, #e9edf0);
  color-scheme: dark;
  --display: "Ultra", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.0625rem/1.6 var(--sans);
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}
/* Honeycomb ceiling at the top, faded reflection at the bottom. */
body::before, body::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: min(60vw, 34rem);
  background: url("hex.webp") center top / cover no-repeat;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(#000, transparent);
  mask-image: linear-gradient(#000, transparent);
}
body::before { top: 0; opacity: .55; }
body::after { bottom: 0; transform: scaleY(-1); opacity: .22; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: .5rem 1rem;
}
.skip:focus { top: 1rem; }

.wrap {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 3rem;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  text-wrap: balance;
}
h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); margin: 0 0 .5rem; }
h2 { font-size: 1.2rem; margin: 2.5rem 0 .75rem; }
h2::after { content: ""; display: block; width: 3rem; height: 2px; margin-top: .6rem; background: var(--chrome); }
h3 { font-size: 1rem; margin: 1.5rem 0 .5rem; }

p, li { text-wrap: pretty; }

a { color: var(--ink); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

.tagline { font-size: 1.1rem; color: var(--muted); margin: 0 0 2rem; }

.back { display: inline-block; margin-bottom: 1.5rem; }

.meta { color: var(--muted); font-size: .95rem; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

dl.info { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.25rem; margin: 0; }
dl.info dt { color: var(--muted); }
dl.info dd { margin: 0; }

table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: .4rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 500; padding-right: 1rem; }
caption { caption-side: bottom; text-align: left; padding-top: .5rem; color: var(--muted); font-size: .95rem; }

.stores { display: flex; flex-wrap: wrap; gap: .75rem; padding: 0; list-style: none; }
.stores li {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: .6rem 1rem;
  background: rgba(255,255,255,.03);
  color: var(--ink);
}
.stores small { display: block; color: var(--muted); }
.stores b { display: block; font: 400 .8rem var(--display); letter-spacing: .06em; text-transform: uppercase; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero { text-align: center; padding: 1rem 0 0; }
.hero img { display: block; width: min(100%, 28rem); height: auto; margin: 0 auto; }
.hero .tagline { margin: 1rem 0 2.5rem; }

.legal h2 { font-size: 1.1rem; }
.legal td, .legal th { padding-right: 1rem; }
.table-scroll { overflow-x: auto; }

footer { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1.25rem; font-size: .9rem; color: var(--muted); }
footer nav a { margin-right: 1rem; }

@media print { .skip, .back { display: none; } }
