/* =========================================================
   RunePreview — foglio di stile
   Sistema tipografico su tela bone, righe sottili, nessun raggio.
   ========================================================= */

:root {
  /* superfici */
  --bone: #dbd7d3;
  --sand: #e5d5c3;
  --linen: #cdc0b1;
  --frost: #c9c8c9;

  /* inchiostro */
  --ink: #2b2b2b;
  --graphite: #535251;
  --accent: #4b5145;

  /* righe */
  --ash: #e5e7eb;
  --rule: rgba(43, 43, 43, .22);
  --rule-soft: rgba(43, 43, 43, .12);

  /* tipografia */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mark: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;

  --text-caption: 10px;
  --text-label: 11px;
  --text-body: 16px;
  --text-body-lg: 20px;
  --text-subheading: 27px;
  --text-heading-sm: 26px;
  --text-heading: 36px;
  --text-display: 60px;

  /* spaziature */
  --s4: 4px;
  --s8: 8px;
  --s12: 12px;
  --s16: 16px;
  --s20: 20px;
  --s24: 24px;
  --s36: 36px;
  --s40: 40px;
  --s60: 60px;

  --section-gap: 64px;
  --container: 1400px;
  --pad: clamp(20px, 4vw, 48px);
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--text-body);
  line-height: 1.5;
  font-weight: 400;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.u-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
  background: var(--ink);
  color: var(--bone);
  padding: 10px 16px;
  font-size: var(--text-label);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip:focus { left: 0; }

section[id],
[id="doc"] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- contenitore comune ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- elementi tipografici condivisi ---------- */
.label {
  font-size: var(--text-label);
  line-height: 1.6;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--graphite);
}

.label__dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 8px 2px;
  background: currentColor;
  vertical-align: middle;
}

.link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.link:hover,
.link:focus-visible { font-weight: 700; }

.note {
  margin-top: var(--s36);
  padding-top: var(--s16);
  border-top: 1px solid var(--rule-soft);
  font-size: 13px;
  line-height: 1.6;
  color: var(--graphite);
  max-width: 74ch;
}

.section__lead {
  max-width: 62ch;
  font-size: var(--text-body-lg);
  line-height: 1.5;
  letter-spacing: -.5px;
  margin-bottom: var(--s40);
}

/* ---------- logo ---------- */
.logo {
  font-family: var(--font-mark);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.logo__a { color: var(--ink); }
.logo__b { color: var(--accent); }
.logo--footer { font-size: 20px; display: inline-block; }

/* ---------- testata ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bone);
  border-bottom: 1px solid var(--rule);
}
.masthead.is-stuck { border-bottom-color: var(--ink); }

.masthead__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s16);
  min-height: 62px;
  border-bottom: 1px solid var(--rule-soft);
}

.masthead__tagline {
  display: none;
  font-size: var(--text-caption);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--graphite);
}

.burger {
  width: 42px;
  height: 34px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 6px;
  background: none;
  border: 1px solid var(--rule);
  cursor: pointer;
}
.burger__line {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] .burger__line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav { display: none; }
.nav.is-open { display: block; border-top: 1px solid var(--rule-soft); }

.nav__list {
  display: flex;
  flex-direction: column;
  padding-block: var(--s8);
}
.nav__item + .nav__item { border-top: 1px solid var(--rule-soft); }
.nav__link {
  display: block;
  padding: 12px 0;
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.nav__link:hover,
.nav__link:focus-visible { color: var(--accent); }

/* ---------- pulsanti ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: none;
  border-radius: 0;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -.2px;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease;
}
.btn:hover,
.btn:focus-visible { font-weight: 700; }
.btn__ico { flex: none; }

.btn--ghost {
  border-bottom-color: var(--rule);
  color: var(--graphite);
  font-size: var(--text-label);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
}
.btn--ghost:hover,
.btn--ghost:focus-visible { color: var(--ink); border-bottom-color: var(--ink); }

.btn--solid {
  border: 1px solid var(--ink);
  padding: 11px 20px;
  font-weight: 700;
  font-size: var(--text-label);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.btn--solid:hover,
.btn--solid:focus-visible { background: var(--ink); color: var(--bone); }

/* ---------- intestazione di sezione ---------- */
.section {
  padding-block: var(--section-gap);
  border-top: 1px solid var(--rule);
}
.section--sand { background: var(--sand); }
.section--frost { background: var(--frost); }

.shead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s20);
  padding-bottom: var(--s16);
  border-bottom: 1px solid var(--rule);
  margin-bottom: var(--s40);
}
.shead__title {
  font-size: clamp(26px, 5vw, var(--text-heading));
  line-height: 1.15;
  letter-spacing: -.04em;
  font-weight: 700;
}
.shead__num {
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* ---------- apertura ---------- */
.hero { padding-top: var(--s40); }

.hero__kicker { margin-bottom: var(--s20); color: var(--ink); }

.hero__title {
  font-size: clamp(52px, 13.5vw, 168px);
  line-height: .94;
  letter-spacing: -.05em;
  font-weight: 700;
  margin-bottom: var(--s40);
  text-wrap: balance;
}
.hero__accent { color: var(--accent); }

.hero__grid {
  display: grid;
  gap: var(--s36);
  padding-top: var(--s24);
  border-top: 1px solid var(--rule);
}

.hero__lead {
  font-size: var(--text-body-lg);
  line-height: 1.5;
  letter-spacing: -.5px;
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s24);
  margin-top: var(--s24);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s12);
  margin-top: var(--s36);
  padding-top: var(--s16);
  border-top: 1px solid var(--rule-soft);
}
.facts__k {
  font-size: var(--text-caption);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--graphite);
}
.facts__v {
  margin-top: 4px;
  font-size: clamp(20px, 3vw, 27px);
  font-weight: 700;
  letter-spacing: -.03em;
}
.facts__note {
  margin-top: var(--s12);
  font-size: 13px;
  line-height: 1.55;
  color: var(--graphite);
}

.hero__figure { margin: 0; }
.hero__img {
  width: 100%;
  border: 1px solid var(--rule);
  filter: saturate(.88) contrast(1.02);
}
.hero__cap,
.how__cap {
  margin-top: var(--s8);
  font-size: var(--text-caption);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--graphite);
}

/* striscia icone */
.iconstrip {
  margin-top: var(--s40);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--sand);
}
.iconstrip__inner { padding-block: var(--s20); }
.iconstrip__label { margin-bottom: var(--s12); }
.iconstrip__list {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 1px;
  background: var(--rule-soft);
  border: 1px solid var(--rule-soft);
}
.iconstrip__item { background: var(--sand); }
.iconstrip__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

/* ---------- redazione ---------- */
.intro {
  display: grid;
  gap: var(--s16);
  margin-bottom: var(--s40);
}
.intro__lead {
  font-size: var(--text-body-lg);
  line-height: 1.5;
  letter-spacing: -.5px;
  max-width: 68ch;
}
.intro__note {
  font-size: var(--text-caption);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--graphite);
}

.pillars {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.pillars__item {
  padding-block: var(--s24);
  border-bottom: 1px solid var(--rule-soft);
}
.pillars__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule);
  color: var(--ink);
  margin-bottom: var(--s16);
}
.pillars__title {
  font-size: var(--text-subheading);
  line-height: 1.25;
  letter-spacing: -.025em;
  font-weight: 700;
  margin-bottom: var(--s8);
}
.pillars__text {
  color: var(--graphite);
  max-width: 44ch;
}

/* ---------- valutazione a stelle ---------- */
.rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.rating__stars {
  position: relative;
  display: inline-block;
  line-height: 0;
}
.rating__row {
  display: flex;
  gap: 2px;
  line-height: 0;
}
.rating__row--bg { color: rgba(43, 43, 43, .2); }
.rating__row--fg {
  position: absolute;
  inset: 0;
  color: var(--ink);
  clip-path: inset(0 calc(100% - var(--rating, 0%)) 0 0);
}
.rating__row svg { fill: currentColor; }
.rating__value {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.rating__count {
  font-size: var(--text-caption);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--graphite);
}

/* ---------- scheda in evidenza ---------- */
.showcase {
  display: grid;
  border-top: 1px solid var(--rule);
  padding-top: var(--s24);
  margin-bottom: var(--s60);
}
.showcase__media { margin: 0; }
.showcase__media img {
  width: 100%;
  border: 1px solid var(--rule);
}
.showcase__panel {
  background: var(--bone);
  border: 1px solid var(--ink);
  padding: var(--s20);
  margin-top: -28px;
  margin-inline: var(--s16) 0;
  position: relative;
  z-index: 2;
}
.showcase__num {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--accent);
  margin-bottom: var(--s8);
  font-variant-numeric: tabular-nums;
}
.showcase__meta { margin-bottom: var(--s8); }
.showcase__title {
  font-size: clamp(24px, 4vw, var(--text-heading-sm));
  line-height: 1.2;
  letter-spacing: -.035em;
  font-weight: 700;
  margin-bottom: var(--s12);
}
.showcase__text { color: var(--graphite); margin-bottom: var(--s20); }
.showcase__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s16);
  padding-top: var(--s16);
  border-top: 1px solid var(--rule-soft);
}

/* ---------- elenco a fasce ---------- */
.strips { border-top: 1px solid var(--rule); }
.strips__row { border-bottom: 1px solid var(--rule-soft); }

.strip {
  display: grid;
  gap: var(--s16);
  padding-block: var(--s24);
  transition: background-color .2s ease;
}
.strips__row:hover .strip { background: rgba(229, 213, 195, .5); }

.strip__index {
  display: flex;
  align-items: baseline;
  gap: var(--s12);
}
.strip__num {
  font-size: 42px;
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.045em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.strip__genre {
  font-size: var(--text-caption);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--graphite);
}

.strip__media { margin: 0; }
.strip__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--rule);
  filter: saturate(.9);
}

.strip__meta { margin-bottom: 6px; }
.strip__title {
  font-size: clamp(20px, 3.4vw, 24px);
  line-height: 1.2;
  letter-spacing: -.03em;
  font-weight: 700;
  margin-bottom: var(--s12);
}
.strip__text { color: var(--graphite); font-size: 15px; }
.strip__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s12);
  margin-top: var(--s16);
  padding-top: var(--s12);
  border-top: 1px solid var(--rule-soft);
}

/* ---------- galleria ---------- */
.gallery {
  display: grid;
  gap: var(--s20);
}
.gallery__fig { margin: 0; }
.gallery__fig img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--rule);
  filter: saturate(.9);
  transition: filter .25s ease;
}
.gallery__fig:hover img { filter: saturate(1.05); }
.gallery__cap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--rule-soft);
  font-size: var(--text-caption);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--graphite);
}
.gallery__idx { color: var(--accent); font-variant-numeric: tabular-nums; }

/* ---------- metodo di prova ---------- */
.method {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
  list-style: none;
  margin: 0;
  padding: 0;
}
.method__item {
  padding-block: var(--s24);
  border-bottom: 1px solid var(--rule-soft);
}
.method__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  font-family: var(--font-mark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--s16);
}
.method__title {
  font-size: var(--text-body-lg);
  line-height: 1.25;
  letter-spacing: -.025em;
  font-weight: 700;
  margin-bottom: var(--s8);
}
.method__text {
  color: var(--graphite);
  line-height: 1.6;
  max-width: 44ch;
}

/* ---------- iscrizione ---------- */
.signup {
  display: grid;
  gap: var(--s40);
  border-top: 1px solid var(--rule);
  padding-top: var(--s24);
}
.signup__lead {
  font-size: var(--text-body-lg);
  line-height: 1.5;
  letter-spacing: -.5px;
  max-width: 44ch;
}
.signup__small {
  margin-top: var(--s16);
  font-size: 13px;
  line-height: 1.6;
  color: var(--graphite);
  max-width: 48ch;
}

.form { display: grid; gap: var(--s20); }
.form__row { display: grid; gap: 4px; }
.form__label {
  font-size: var(--text-caption);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--graphite);
}
.form__req { color: var(--accent); }
.form__input {
  width: 100%;
  padding: 2px 0 14px;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: var(--text-body);
}
.form__input::placeholder { color: rgba(83, 82, 81, .7); }
.form__input:focus { outline: none; border-bottom-color: var(--ink); border-bottom-width: 2px; padding-bottom: 13px; }
.form__input:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: var(--s4);
}
.form__box {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--ink);
  border-radius: 0;
}
.form__consent { font-size: 13px; line-height: 1.55; color: var(--graphite); }

.form__error {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  border-left: 2px solid var(--ink);
  padding-left: 10px;
}
.form__ok {
  border: 1px solid var(--ink);
  padding: var(--s16);
  font-size: 14px;
  line-height: 1.5;
}
.form__ok[hidden],
.form__error[hidden] { display: none; }

/* ---------- come funziona ---------- */
.how {
  display: grid;
  gap: var(--s40);
  border-top: 1px solid var(--rule);
  padding-top: var(--s24);
}
.how__list { display: grid; gap: 0; }
.how__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: var(--s16);
  padding-block: var(--s20);
  border-bottom: 1px solid var(--rule-soft);
}
.how__n {
  grid-row: 1 / span 2;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.how__title {
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -.02em;
  font-weight: 700;
  margin-bottom: 6px;
}
.how__text { color: var(--graphite); font-size: 15px; }
.how__figure { margin: 0; align-self: start; }
.how__figure img {
  width: 100%;
  border: 1px solid var(--rule);
  filter: saturate(.85) contrast(1.02);
}

/* ---------- domande ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule-soft); }
.faq__h { margin: 0; }
.faq__btn {
  display: grid;
  grid-template-columns: 46px 1fr 24px;
  align-items: center;
  gap: var(--s12);
  width: 100%;
  padding: var(--s20) 0;
  background: none;
  border: 0;
  border-radius: 0;
  text-align: left;
  cursor: pointer;
}
.faq__n {
  font-size: var(--text-caption);
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.faq__q {
  font-size: clamp(17px, 2.6vw, 21px);
  line-height: 1.3;
  letter-spacing: -.02em;
  font-weight: 700;
}
.faq__sign {
  position: relative;
  width: 18px;
  height: 18px;
  justify-self: end;
}
.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.faq__sign::before { left: 0; top: 8px; width: 18px; height: 1px; }
.faq__sign::after { left: 8px; top: 0; width: 1px; height: 18px; }
.faq__btn[aria-expanded="true"] .faq__sign::after { opacity: 0; transform: rotate(90deg); }
.faq__panel { padding: 0 0 var(--s20) 58px; }
.faq__panel[hidden] { display: none; }
.faq__a { color: var(--graphite); max-width: 74ch; }

/* ---------- piede ---------- */
.footer {
  --graphite: #454340;
  background: var(--linen);
  border-top: 1px solid var(--rule);
  padding-block: var(--section-gap) var(--s20);
}
.footer__grid {
  display: grid;
  gap: var(--s36);
  padding-bottom: var(--s36);
}
.footer__claim {
  margin-top: var(--s12);
  font-size: 14px;
  line-height: 1.6;
  color: var(--graphite);
  max-width: 42ch;
}
.footer__label { margin-bottom: var(--s12); color: var(--ink); }
.footer__list { display: grid; gap: 8px; }
.footer__link {
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  color: var(--ink);
}
.footer__link:hover,
.footer__link:focus-visible { border-bottom-color: var(--ink); font-weight: 700; }
.footer__mail { margin-bottom: var(--s12); font-size: 15px; }
.footer__mail .footer__link { border-bottom: 1px solid var(--ink); }
.footer__small { font-size: 13px; line-height: 1.55; color: var(--graphite); max-width: 34ch; }

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s8);
  padding-top: var(--s16);
  border-top: 1px solid var(--rule);
  font-size: 12px;
  letter-spacing: .04em;
}
.footer__meta { color: var(--graphite); }

/* ---------- torna su ---------- */
.totop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bone);
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
}
.totop[hidden] { display: none; }
.totop:hover,
.totop:focus-visible { background: var(--ink); color: var(--bone); }

/* ---------- avviso cookie ---------- */
.cookiebar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--bone);
  border-top: 1px solid var(--ink);
}
.cookiebar[hidden] { display: none; }
.cookiebar__inner {
  display: grid;
  gap: var(--s16);
  padding-block: var(--s16);
}
.cookiebar__text { font-size: 14px; line-height: 1.55; max-width: 78ch; }
.cookiebar__actions { display: flex; flex-wrap: wrap; gap: var(--s16); align-items: stretch; }

/* i due pulsanti hanno lo stesso peso visivo: stessa cornice, stessa misura */
.cookiebar__actions .btn,
.cookiebar__actions .btn--ghost,
.cookiebar__actions .btn--solid {
  flex: 1 1 auto;
  min-width: 150px;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: none;
  color: var(--ink);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cookiebar__actions .btn:hover,
.cookiebar__actions .btn:focus-visible {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}

/* ---------- pagine documentali ---------- */
.legal {
  max-width: 78ch;
  border-top: 1px solid var(--rule);
  padding-top: var(--s24);
}
.legal__meta {
  font-size: var(--text-caption);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--graphite);
  margin-bottom: var(--s20);
}
.legal__lead {
  font-size: var(--text-body-lg);
  line-height: 1.5;
  letter-spacing: -.5px;
  margin-bottom: var(--s36);
  padding-bottom: var(--s20);
  border-bottom: 1px solid var(--rule-soft);
}
.legal__h {
  font-size: clamp(19px, 3vw, 22px);
  line-height: 1.3;
  letter-spacing: -.025em;
  font-weight: 700;
  margin: var(--s36) 0 var(--s12);
  padding-top: var(--s12);
  border-top: 1px solid var(--rule-soft);
}
.legal__h3 {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 700;
  margin: var(--s20) 0 6px;
}
.legal__p { margin-bottom: var(--s16); color: var(--graphite); }
.legal__p strong { color: var(--ink); }
.legal__list { display: grid; gap: var(--s12); margin-bottom: var(--s16); }
.legal__li {
  padding-left: var(--s20);
  border-left: 1px solid var(--rule);
  color: var(--graphite);
}
.legal__li strong { color: var(--ink); }
.legal__back {
  margin-top: var(--s40);
  padding-top: var(--s20);
  border-top: 1px solid var(--rule);
}

/* ---------- pagina contatti ---------- */
.contact {
  display: grid;
  gap: var(--s40);
}
.contact__opening {
  display: grid;
  gap: var(--s12);
}
.contact__lead {
  max-width: 68ch;
  font-size: var(--text-body-lg);
  line-height: 1.5;
  letter-spacing: -.5px;
}
.contact__note {
  font-size: var(--text-caption);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--graphite);
}
.contact__box {
  border: 1px solid var(--rule);
  padding: var(--s24);
  background: var(--sand);
}
.contact__boxlabel { margin-bottom: var(--s12); color: var(--ink); }
.contact__mail {
  font-family: var(--font-mark);
  font-size: clamp(20px, 5vw, var(--text-subheading));
  line-height: 1.2;
  letter-spacing: -.03em;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.contact__mail a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.contact__hint {
  margin-top: var(--s12);
  max-width: 62ch;
  color: var(--graphite);
  font-size: 15px;
}
.contact__times {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--s12);
  margin-top: var(--s24);
  padding-top: var(--s16);
  border-top: 1px solid var(--rule-soft);
}
.contact__timek {
  font-size: var(--text-caption);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--graphite);
}
.contact__timev {
  margin-top: 4px;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 700;
  letter-spacing: -.03em;
}
.contact__small {
  margin-top: var(--s16);
  padding-top: var(--s12);
  border-top: 1px solid var(--rule-soft);
  font-size: 13px;
  line-height: 1.6;
  color: var(--graphite);
  max-width: 74ch;
}
.contact__grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.contact__card {
  padding-block: var(--s24);
  border-bottom: 1px solid var(--rule-soft);
}
.contact__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule);
  color: var(--ink);
  margin-bottom: var(--s16);
}
.contact__title {
  font-size: clamp(19px, 3.4vw, var(--text-subheading));
  line-height: 1.25;
  letter-spacing: -.025em;
  font-weight: 700;
  margin-bottom: var(--s12);
}
.contact__text {
  color: var(--graphite);
  max-width: 62ch;
}
.contact__text + .contact__text { margin-top: var(--s12); }
.contact__speed {
  border-top: 1px solid var(--rule);
  padding-top: var(--s24);
}
.contact__h {
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.2;
  letter-spacing: -.03em;
  font-weight: 700;
  margin-bottom: var(--s20);
}
.contact__steps { max-width: 88ch; }
.contact__back {
  padding-top: var(--s20);
  border-top: 1px solid var(--rule);
}

/* =========================================================
   Punti di rottura
   ========================================================= */

@media (min-width: 560px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .showcase__panel { margin-inline: var(--s40) var(--s40); }
  .form .btn--solid { justify-self: start; }
}

@media (min-width: 768px) {
  :root { --section-gap: 80px; --header-h: 74px; }

  .masthead__bar { min-height: 72px; border-bottom: 0; }
  .masthead__tagline { display: block; }

  .pillars { grid-template-columns: repeat(2, 1fr); column-gap: var(--s40); }
  .contact__box { padding: var(--s36); }
  .contact__grid { grid-template-columns: repeat(2, 1fr); column-gap: var(--s40); }
  .method { grid-template-columns: repeat(2, 1fr); column-gap: var(--s40); }
  .method__item {
    padding-inline: 0 var(--s24);
    border-right: 1px solid var(--rule-soft);
  }
  .method__item:nth-child(2n) { border-right: 0; padding-right: 0; }

  .hero__grid { grid-template-columns: 1fr 1fr; align-items: start; gap: var(--s40); }
  .facts { max-width: 480px; }

  .signup { grid-template-columns: 1fr 1fr; gap: var(--s60); }
  .how { grid-template-columns: 1.25fr 1fr; gap: var(--s40); }

  .strip {
    grid-template-columns: 84px 1fr;
    column-gap: var(--s24);
    align-items: start;
    padding-block: var(--s36);
  }
  .strip__media { grid-column: 2; max-width: 460px; }
  .strip__body { grid-column: 2; }
  .strip__index {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s16);
    height: 100%;
  }
  .strip__genre {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: .22em;
    white-space: nowrap;
  }
  .strip__num { font-size: 52px; }

  .showcase {
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
  }
  .showcase__media { grid-column: 1 / 9; grid-row: 1; }
  .showcase__panel {
    grid-column: 8 / 13;
    grid-row: 1;
    margin: 0;
    padding: var(--s24);
  }

  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

@media (min-width: 1024px) {
  :root { --header-h: 114px; }

  .burger { display: none; }
  .nav { display: block; border-top: 1px solid var(--rule-soft); }
  .nav.is-open { border-top: 1px solid var(--rule-soft); }
  .nav__list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--s24);
    padding-block: 0;
  }
  .nav__item + .nav__item { border-top: 0; }
  .nav__link { padding: 11px 0; }

  .pillars { grid-template-columns: repeat(4, 1fr); }
  .pillars__item { padding-right: var(--s20); }

  .contact__grid { grid-template-columns: repeat(3, 1fr); }
  .contact__card { padding-right: var(--s20); }

  .method { grid-template-columns: repeat(3, 1fr); }
  .method__item:nth-child(2n) { border-right: 1px solid var(--rule-soft); padding-right: var(--s24); }
  .method__item:nth-child(3n) { border-right: 0; padding-right: 0; }

  .strip { grid-template-columns: 108px 320px 1fr; column-gap: var(--s36); }
  .strip__media { grid-column: auto; max-width: none; }
  .strip__body { grid-column: auto; }
  .strip__num { font-size: 60px; }
  .strip__text { font-size: var(--text-body); }

  .hero__title { letter-spacing: -.05em; }
  .hero__grid { grid-template-columns: 1fr 1.15fr; gap: var(--s60); }

  .gallery { grid-template-columns: repeat(4, 1fr); }

  .cookiebar__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: var(--s40);
  }
}

@media (min-width: 1280px) {
  .strip { grid-template-columns: 128px 380px 1fr; }
  .showcase__panel { grid-column: 8 / 13; padding: var(--s36); }
  .hero__title { font-size: clamp(120px, 11.5vw, 176px); }
}

/* ---------- movimento ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- stampa ---------- */
@media print {
  .masthead, .totop, .cookiebar, .nav { display: none !important; }
  body { background: #fff; color: #000; }
}
