@charset "UTF-8";
/* Brand book Stiip.
   Valori presi da design/Brandbook stiip.dc.html.
   I colori si dichiarano solo qui, come variabili.

   Come nel prototipo non c'e un reset di box-sizing: larghezze e padding
   si sommano (content-box), e le misure restano quelle del design. */

:root {
  /* Palette del marchio */
  --yellow: #FCD90D;
  --black: #0B0B0A;
  --anthracite: #1F1F1D;
  --grey: #6B6B67;
  --grey-light: #F2F2F0;
  --white: #FFFFFF;

  /* Toni di servizio del prototipo */
  --yellow-hover: #FFE33D;
  --ink-soft: #3A3A38;
  --ink-stripe: #4A4A47;
  --grey-500: #8C8C88;
  --grey-400: #A3A39F;
  --grey-300: #C9C9C5;
  --line: #EDEDEB;
  --line-strong: #D6D6D2;
  --line-input: #E2E2DF;
  --line-tick: #CFCFCB;
  --stripe-pale: #F5F5F3;
  --btn-dark: #1C1C1B;
  --btn-dark-hover: #262625;
  --btn-dark-line: #333331;

  --header-bg: rgba(255, 255, 255, .86);
  --hero-glow: rgba(252, 217, 13, .07);
  --hatch: rgba(252, 217, 13, .35);
  --shadow-card: rgba(0, 0, 0, .45);
  --shadow-label: rgba(0, 0, 0, .4);
  --shadow-dark: rgba(0, 0, 0, .35);
  --shadow-light: rgba(0, 0, 0, .3);
  --shadow-page: rgba(0, 0, 0, .25);
  --shadow-soft: rgba(0, 0, 0, .18);

  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ---------- Base ---------- */

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--black); }
a:hover { color: var(--grey); }

h1, h2, h3, h4, p { margin: 0; }

.page { min-height: 100vh; background: var(--white); }

.list-reset { list-style: none; margin: 0; padding: 0; }

/* Colori di fondo e di testo, usati nei campioni e nelle miniature */
.bg-white { background: var(--white); }
.bg-light { background: var(--grey-light); }
.bg-black { background: var(--black); }
.bg-anthracite { background: var(--anthracite); }
.bg-grey { background: var(--grey); }
.bg-yellow { background: var(--yellow); }
.fg-white { color: var(--white); }
.fg-black { color: var(--black); }
.fg-grey { color: var(--grey); }
.fg-light { color: var(--grey-light); }
.fg-yellow { color: var(--yellow); }
.hairline { border: 1px solid var(--line); }

.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mt-56 { margin-top: 56px; }
.mt-64 { margin-top: 64px; }

.pretty { text-wrap: pretty; }

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.header__bar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.header__logo { display: flex; flex: none; }
.header__logo img { height: 26px; display: block; }

.header__nav {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  font-size: 14px;
  white-space: nowrap;
}
.header__nav a { color: var(--grey); text-decoration: none; }
.header__nav a:hover { color: var(--black); }

/* ---------- Hero ---------- */

.hero {
  background: var(--black);
  background-image: radial-gradient(ellipse 60% 50% at 50% 38%, var(--hero-glow), transparent 70%);
  color: var(--white);
}

.hero__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 130px 32px 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey-400);
}

.hero__logo { width: min(340px, 70%); margin-top: 56px; }

.hero__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -.04em;
  margin-top: 56px;
}

.hero__lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--grey-300);
  max-width: 600px;
  margin-top: 22px;
  text-wrap: pretty;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.btn {
  text-decoration: none;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
}
.btn--yellow { background: var(--yellow); color: var(--black); font-weight: 600; }
.btn--yellow:hover { background: var(--yellow-hover); color: var(--black); }
.btn--dark {
  background: var(--btn-dark);
  color: var(--white);
  font-weight: 500;
  border: 1px solid var(--btn-dark-line);
}
.btn--dark:hover { background: var(--btn-dark-hover); color: var(--white); }

/* ---------- Sezioni ---------- */

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 110px 32px;
  scroll-margin-top: 56px;
}
.section--intro { padding: 100px 32px 40px; }
.section--first { padding-top: 100px; }

.divider { border-top: 1px solid var(--line); }
.band { background: var(--grey-light); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey);
}
.eyebrow__num { color: var(--black); }
.eyebrow__line { width: 18px; height: 1px; background: var(--line-tick); }

.h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.05;
  letter-spacing: -.035em;
  margin-top: 20px;
}
.h2--tight { line-height: 1.02; }

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--grey);
  max-width: 680px;
  margin-top: 22px;
  text-wrap: pretty;
}

.h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -.025em;
}

.note { font-size: 15px; line-height: 1.6; color: var(--grey); }
.note--sm { font-size: 14.5px; }
.note--xs { font-size: 13.5px; }
.note strong { color: var(--black); }
.note--w { max-width: 720px; }
.note--w strong { font-weight: 600; }

.caption { font-size: 13.5px; color: var(--grey); }
.caption strong { color: var(--black); font-weight: 600; }

.overline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grey);
}

/* Bottoni di download */
.chip {
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  background: var(--white);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-input);
}

.chips { display: flex; gap: 6px; margin-top: 6px; }

/* Didascalie con spunta o croce */
.mark { font-size: 13.5px; display: flex; gap: 8px; }
.mark__sign { font-weight: 700; }
.mark--no { color: var(--grey); }
.mark--no .mark__sign { color: var(--black); }

/* ---------- 00 Regole d'oro ---------- */

.rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 12px;
  margin-top: 44px;
}

.rule {
  background: var(--grey-light);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rule__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--black);
}

.rule__text { font-size: 15px; line-height: 1.5; }
.rule__text strong { font-weight: 600; }
.rule__text span { color: var(--grey); }

/* ---------- 01 Logo ---------- */

.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px 56px;
  margin-top: 22px;
}
.cols p { font-size: 18px; line-height: 1.6; color: var(--grey); text-wrap: pretty; }

.logo-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 32px 48px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  align-items: end;
}
.logo-compare__item { display: flex; flex-direction: column; gap: 16px; }
.logo-compare__img { height: 120px; display: flex; align-items: center; }
.logo-compare__img--old img { height: 72px; opacity: .9; }
.logo-compare__img--new img { height: 96px; }
.logo-compare__caption {
  font-size: 14px;
  color: var(--grey);
  display: flex;
  gap: 10px;
  align-items: center;
}

.badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}
.badge--light { background: var(--grey-light); color: var(--black); }
.badge--dark { background: var(--black); color: var(--white); }

.versions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 12px;
  margin-top: 20px;
}

.version {
  background: var(--grey-light);
  border-radius: 20px;
  padding: 10px 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.version__preview {
  background: var(--white);
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.version__preview--dark { background: var(--black); }
.version__preview img { width: 56%; }
.version__preview .version__icon { width: 46%; border-radius: 16px; }

.version__body { padding: 0 10px; display: flex; flex-direction: column; gap: 8px; }
.version__body h4 { font-size: 16px; font-weight: 600; }
.version__body p { font-size: 14px; line-height: 1.55; color: var(--grey); }

.formats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
  margin-top: 12px;
}
.format {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.format p { font-size: 14.5px; line-height: 1.55; color: var(--grey); }
.format strong { color: var(--black); font-weight: 600; }

.tag {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.tag--dark { background: var(--black); color: var(--white); }
.tag--light { background: var(--grey-light); }

.panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 12px;
  margin-top: 64px;
}
.panel {
  background: var(--grey-light);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.panel__tip {
  font-size: 14px;
  line-height: 1.55;
  color: var(--black);
  background: var(--white);
  border-radius: 12px;
  padding: 14px 16px;
}
.panel__tip strong { font-weight: 600; }

/* Area di rispetto: X = altezza del puntino della i, 26 px su un logo di 240.
   Sotto i 460 px di schermo il logo si restringe e X con lui. */
.clearspace {
  --cs-logo: 240px;
  --cs-x: calc(var(--cs-logo) * 26 / 240);
  background: var(--white);
  border-radius: 12px;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}
.clearspace__box {
  position: relative;
  padding: var(--cs-x);
  outline: 1.5px dashed var(--black);
  outline-offset: 0;
  background: repeating-linear-gradient(45deg, var(--hatch) 0 2px, transparent 2px 9px);
}
.clearspace__logo { background: var(--white); }
.clearspace__logo img { width: var(--cs-logo); display: block; }
.clearspace__x {
  position: absolute;
  font-size: 12px;
  font-weight: 700;
}
.clearspace__x--top,
.clearspace__x--bottom {
  left: 50%;
  transform: translateX(-50%);
  height: var(--cs-x);
  display: flex;
  align-items: center;
}
.clearspace__x--top { top: 0; }
.clearspace__x--bottom { bottom: 0; }
.clearspace__x--left,
.clearspace__x--right {
  top: 50%;
  transform: translateY(-50%);
  width: var(--cs-x);
  text-align: center;
}
.clearspace__x--left { left: 0; }
.clearspace__x--right { right: 0; }

@media (max-width: 460px) {
  .clearspace { --cs-logo: calc(100vw - 220px); }
}

.minsize {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  flex: 1;
}
.minsize__item { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.minsize__item span { font-size: 12.5px; font-weight: 600; }
.minsize__item .minsize__more { color: var(--grey); }
.minsize__screen { width: 80px; }
.minsize__print { width: 76px; }
.minsize__icon { width: 32px; border-radius: 7px; }

.backgrounds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 12px;
}
.backgrounds--dont { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }

.sample { display: flex; flex-direction: column; gap: 10px; }
.sample__box {
  border-radius: 12px;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sample__box img { width: 46%; }
.backgrounds--dont .sample__box { overflow: hidden; }
.sample__box--busy {
  background: repeating-linear-gradient(115deg, var(--grey) 0 10px, var(--grey-300) 10px 22px, var(--btn-dark) 22px 30px);
}

.wrong-rotate { transform: rotate(-15deg); }
.wrong-stretch { transform: scale(1.4, .72); }
.wrong-colors { filter: hue-rotate(160deg) saturate(2); }
.wrong-shadow { filter: drop-shadow(4px 5px 0 var(--grey-500)); }

/* ---------- 02 Ecosistema ---------- */

.brands {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 12px;
  margin-top: 48px;
  align-items: start;
}

.brand {
  background: var(--grey-light);
  border-radius: 20px;
  padding: 10px 10px 22px;
}

.brand__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }

.brand__tile {
  border-radius: 10px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  position: relative;
}
.brand__tile--light { background: var(--white); box-shadow: inset 0 0 0 1px var(--line-input); }
.brand__tile--dark { background: var(--black); }
.brand__tile img { max-width: 78%; max-height: 34px; }
.brand--wide .brand__tile img { max-height: 30px; }
.brand--tall .brand__tile img { max-height: 62px; }

.brand__label {
  position: absolute;
  left: 10px;
  bottom: 7px;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--grey);
}
.brand__tile--dark .brand__label { color: var(--grey-500); }

.brand__body { padding: 18px 12px 0; display: flex; flex-direction: column; gap: 10px; }
.brand__title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.brand__title h4 { font-size: 17px; font-weight: 600; }
.brand__body p { font-size: 14px; line-height: 1.55; color: var(--grey); }

.pill-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--grey);
  border: 1px solid var(--line-strong);
  padding: 2px 8px;
  border-radius: 999px;
}

.brand__dl { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.brand__fmt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--grey);
  width: 34px;
}

.names { margin: 16px 0 0; border-top: 1px solid var(--line-strong); }
.names__row {
  display: grid;
  grid-template-columns: minmax(110px, 180px) 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.55;
  align-items: baseline;
}
.names__row dt { font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.names__row dd { margin: 0; color: var(--ink-soft); }

/* ---------- 03 Colori ---------- */

.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 12px;
}
.swatches--main { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

.swatch {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.swatch__color {
  height: 220px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.swatch__role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.swatch__color.bg-black .swatch__role { color: var(--grey-400); }
.swatch__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -.03em;
}
.swatch__info { padding: 18px 24px 22px; display: flex; flex-direction: column; gap: 8px; }
.swatch__codes { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.swatch__codes strong { font-weight: 700; }
.swatch__codes span { color: var(--grey); }
.swatch__info p { font-size: 14px; line-height: 1.55; color: var(--grey); }

.swatch--sm { border-radius: 16px; }
.swatch--sm .swatch__color {
  height: 110px;
  padding: 16px 18px;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-end;
}
.swatch--sm .swatch__color span { font-size: 16px; font-weight: 600; }
.swatch--sm .swatch__color.bg-white { border-bottom: 1px solid var(--line); }
.swatch--sm .swatch__info { padding: 14px 18px 18px; gap: 6px; }
.swatch--sm .swatch__codes { gap: 12px; font-size: 12.5px; }
.swatch--sm .swatch__info p { font-size: 13px; line-height: 1.5; }

.ratio-block { margin-top: 48px; display: flex; flex-direction: column; gap: 12px; }
.ratio {
  display: flex;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
}
.ratio > div { display: flex; align-items: center; padding: 0 16px; }
.ratio__white { flex: 60; }
.ratio__black { flex: 25; }
.ratio > .ratio__greys { flex: 10; padding: 0 12px; white-space: nowrap; overflow: hidden; }
.ratio > .ratio__yellow { flex: 5; padding: 0; justify-content: center; }

.pairs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 12px;
  margin-top: 20px;
}
.pair { display: flex; flex-direction: column; gap: 8px; }
.pair__box {
  border-radius: 12px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 30px;
}
.pair p { font-size: 13px; }
.pair .pair--no { color: var(--grey); }
.pair .pair--no strong { color: var(--black); }

.dodont {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 0 48px;
  margin-top: 16px;
  border-top: 1px solid var(--line-strong);
  font-size: 15px;
  line-height: 1.5;
}
.dodont__col { display: flex; flex-direction: column; }
.dodont__col--no { color: var(--grey); }
.dodont__col p {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.dodont__col strong { flex: none; }
.dodont__col--no strong { color: var(--black); }

/* Tabelle (riepilogo colori, gerarchia): righe a griglia, scorrono in orizzontale */
.table-scroll { margin-top: 16px; overflow-x: auto; }
.table { font-size: 14px; }
.table__row { display: grid; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.table__head {
  padding: 10px 0;
  border-bottom-color: var(--line-strong);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grey);
  align-items: stretch;
}
.table__muted { color: var(--grey); }

.table--colors { min-width: 760px; }
.table--colors .table__row { grid-template-columns: 1.5fr .9fr 1.1fr 1.2fr 1fr 2fr; }
.table--colors sup { font-size: 10px; }
.color-name { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.color-dot { width: 22px; height: 22px; border-radius: 6px; flex: none; }
.color-dot--ring { box-shadow: inset 0 0 0 1px var(--line-input); }

.table--type { min-width: 680px; }
.table--type .table__row { grid-template-columns: 2fr 1.3fr .8fr .8fr .8fr; gap: 20px; padding: 16px 0; }
.table--type .table__head { padding: 10px 0; }
.type-title { font-family: var(--font-head); font-weight: 700; font-size: 28px; letter-spacing: -.03em; line-height: 1.1; }
.type-sub { font-family: var(--font-head); font-weight: 600; font-size: 21px; letter-spacing: -.02em; }
.type-body { font-size: 17px; }
.type-caption { font-size: 13px; color: var(--grey); }

/* ---------- 04 Tipografia ---------- */

.fonts { margin-top: 40px; display: flex; flex-direction: column; }
.font-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 12px 40px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.font-row:first-child { border-top: 1px solid var(--line-strong); }
.font-row__info { display: flex; flex-direction: column; gap: 6px; }
.font-row__name { font-size: 18px; font-weight: 600; }
.font-row__desc { font-size: 14px; line-height: 1.55; color: var(--grey); }
.font-row__specimen { font-size: clamp(40px, 5vw, 60px); line-height: 1; }
.font-row__specimen--head { font-family: var(--font-head); font-weight: 700; letter-spacing: -.035em; }
.font-row__specimen--body { font-weight: 400; letter-spacing: -.03em; }

.font-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.font-links a {
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  background: var(--grey-light);
  padding: 8px 14px;
  border-radius: 999px;
}

/* ---------- 05 Forme ---------- */

.shapes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
  margin-top: 48px;
}
.shape {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.shape__demo { height: 120px; display: flex; align-items: center; justify-content: center; }
.shape h4 { font-size: 16px; font-weight: 600; }
.shape p { font-size: 14px; line-height: 1.55; color: var(--grey); }

.radius { background: var(--grey-light); border: 1.5px solid var(--black); }
.radius--8 { width: 96px; height: 64px; border-radius: 8px; }
.radius--12 { width: 140px; height: 92px; border-radius: 12px; }
.radius--20 { width: 180px; height: 112px; border-radius: 20px; }

.toggle { display: flex; background: var(--grey-light); border-radius: 999px; padding: 4px; }
.toggle__btn {
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  background: transparent;
  color: var(--grey);
  transition: background .2s, color .2s;
}
.toggle__btn[aria-pressed="true"] { background: var(--black); color: var(--white); }

/* ---------- Miniature: slide, pagine, materiali ----------
   Le misure interne sono in cqw (centesimi della larghezza del riquadro),
   come nel prototipo. --fs e --w, quando servono, stanno sull'elemento:
   sono le uniche proprieta scritte nell'HTML. */

.mini,
.slide,
.a4 { container-type: inline-size; position: relative; }
.mini,
.slide { overflow: hidden; }

.mini {
  aspect-ratio: 16 / 9;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--line-input);
}
.mini--dark { background: var(--black); border-color: var(--black); }
.mini--yellow { background: var(--yellow); border-color: var(--yellow); }
/* Nel prototipo il bordo di queste due e un valore non valido, quindi non c'e. */
.mini--photo {
  background: repeating-linear-gradient(135deg, var(--ink-soft) 0 3cqw, var(--ink-stripe) 3cqw 6cqw);
  border: 0;
}
.mini--busy {
  background: repeating-linear-gradient(115deg, var(--grey) 0 3cqw, var(--grey-300) 3cqw 6cqw, var(--ink-soft) 6cqw 8cqw);
  border: 0;
}

.mini__in {
  position: absolute;
  inset: 0;
  padding: 7cqw;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 3cqw;
}
.mini__in--between { justify-content: space-between; }
.mini__in--center { justify-content: center; }
.mini__in--end { justify-content: flex-end; }
.mini__in--middle { justify-content: center; align-items: center; }

.mock-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs);
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--black);
}
.mock-title.fg-white { color: var(--white); }
.mock-title.fg-yellow { color: var(--yellow); }

.mock-logo { width: var(--w); }

/* Segnaposto per righe di testo */
.ph {
  height: 1.6cqw;
  width: var(--w);
  background: var(--line-strong);
  border-radius: 99px;
}
.ph--4 { height: 4cqw; }
.ph--14 { height: 1.4cqw; }
.ph--11 { height: 1.1cqw; background: var(--grey-300); }
.ph--09 { height: .9cqw; }
.ph--dark { background: var(--ink-soft); }
.ph--black { background: var(--black); }

.ph-stack { display: flex; flex-direction: column; gap: 2.4cqw; }
.ph-stack--2 { gap: 2cqw; margin-top: 2cqw; }
.ph-stack--13 { gap: 1.3cqw; }
.ph-stack--11 { gap: 1.1cqw; }

.mock-foot {
  position: absolute;
  left: 7cqw;
  right: 7cqw;
  bottom: 4cqw;
  display: flex;
  justify-content: space-between;
  font-size: 2.3cqw;
  color: var(--grey);
}

.hl { background: var(--yellow); padding: 0 1cqw; border-radius: 1cqw; }

.guide { margin-top: 40px; border-top: 1px solid var(--line-strong); }
.guide__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 24px 64px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.guide__text { display: flex; flex-direction: column; gap: 10px; }
.guide__text h4 { font-family: var(--font-head); font-weight: 700; font-size: 21px; letter-spacing: -.02em; }
.guide__body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 480px;
  text-wrap: pretty;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.guide__visual { max-width: 460px; width: 100%; }

.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.thumbs--2 { grid-template-columns: 1fr 1fr; gap: 12px; }
.thumb { display: flex; flex-direction: column; gap: 6px; }
.thumb > span { font-size: 12px; color: var(--grey); }

.safe-area { position: absolute; inset: 7cqw; outline: 1.5px dashed var(--yellow); }
.safe-label {
  position: absolute;
  font-size: 2.2cqw;
  font-weight: 600;
  color: var(--grey);
}
.safe-label--top { top: 1.6cqw; left: 50%; transform: translateX(-50%); }
.safe-label--left { left: 1.4cqw; top: 50%; transform: translateY(-50%) rotate(-90deg); }

.specimen-aa { font-size: 16cqw; line-height: 1; letter-spacing: -.03em; }
.specimen-aa--head { font-family: var(--font-head); font-weight: 700; letter-spacing: -.04em; }
.specimen-label { font-size: 4.4cqw; color: var(--grey); }

.bullets { display: flex; flex-direction: column; gap: 2.4cqw; margin-top: 1cqw; }
.bullets > div { display: flex; gap: 2cqw; align-items: center; }
.bullets i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: var(--black); flex: none; }

.split {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5cqw;
  padding: 7cqw;
  align-items: center;
}
.split .ph-stack { margin-top: 4cqw; }
.photo-ph {
  height: 100%;
  border-radius: 2cqw;
  background: repeating-linear-gradient(135deg, var(--line) 0 2cqw, var(--stripe-pale) 2cqw 4cqw);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6cqw;
  color: var(--grey);
}

.font-mess-1 { font-family: Georgia, serif; font-style: italic; font-size: 6cqw; line-height: 1; }
.font-mess-2 { font-family: Impact, 'Arial Black', sans-serif; font-size: 4.4cqw; }
.font-mess-3 { font-family: 'Courier New', monospace; font-size: 3.4cqw; }

.centered { text-align: center; gap: 2cqw; }

.dont-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 24px 16px;
  margin-top: 20px;
}
.dont-grid .sample > p { font-size: 14px; display: flex; gap: 8px; color: var(--ink-soft); }
.dont-grid .sample > p span { font-weight: 700; color: var(--black); }

/* Esempi di slide */
.examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 28px 20px;
  margin-top: 20px;
}
.example { display: flex; flex-direction: column; gap: 10px; }

.slide {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px -24px var(--shadow-soft);
}
.slide--dark {
  background: var(--black);
  color: var(--white);
  border: 0;
  box-shadow: 0 20px 50px -24px var(--shadow-dark);
}

.slide__in {
  position: absolute;
  inset: 0;
  padding: 6cqw;
  display: flex;
  flex-direction: column;
}
.slide__in--between { justify-content: space-between; }
.slide__in--center { justify-content: center; gap: 1.5cqw; }
.slide__in--gap { gap: 4cqw; }
.slide__in--middle { align-items: center; justify-content: center; padding: 0; }

.slide .mock-foot { left: 6cqw; right: 6cqw; font-size: 1.9cqw; }
.slide--dark .mock-foot { color: var(--grey-500); }

.cover-logo { width: 9cqw; }
.cover-kicker {
  font-size: 1.8cqw;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--yellow);
}
.cover-date {
  font-size: 1.3cqw;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
}
.cover-title { margin-top: 2cqw; }

.points {
  display: flex;
  flex-direction: column;
  gap: 1.8cqw;
  margin-top: 4cqw;
  font-size: 2.3cqw;
  line-height: 1.35;
}
.points > div { display: flex; gap: 1.6cqw; align-items: baseline; }
.points i {
  width: 1cqw;
  height: 1cqw;
  border-radius: 50%;
  background: var(--yellow);
  flex: none;
  transform: translateY(-.3cqw);
}

.stat {
  position: absolute;
  inset: 0;
  padding: 6cqw 6cqw 10cqw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4cqw;
  align-items: end;
}
.stat__value { display: flex; flex-direction: column; gap: 1cqw; }
.stat__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13cqw;
  line-height: .9;
  letter-spacing: -.05em;
}
.stat__num span { font-size: 7cqw; }
.stat__label { font-size: 2.2cqw; color: var(--grey); }
.stat__bars { display: flex; flex-direction: column; gap: 1.6cqw; padding-bottom: 1cqw; }
.stat__track { height: 1.4cqw; background: var(--grey-light); border-radius: 99px; overflow: hidden; }
.stat__fill { width: var(--w); height: 100%; background: var(--black); }
.stat__fill--key { background: var(--yellow); }
.stat__bars p { font-size: 1.6cqw; color: var(--grey); }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.card3 {
  background: var(--grey-light);
  border-radius: 1.6cqw;
  padding: 2.6cqw;
  display: flex;
  flex-direction: column;
  gap: 1.8cqw;
}
.card3--dark { background: var(--anthracite); }
.card3__dot { width: 3.2cqw; height: 3.2cqw; border-radius: 50%; background: var(--yellow); }
.card3__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 3.6cqw;
  color: var(--yellow);
  line-height: 1;
}
.card3__title { font-family: var(--font-head); font-weight: 700; font-size: 2.3cqw; letter-spacing: -.02em; }
.card3--dark .card3__title { color: var(--white); }

.cta {
  position: absolute;
  inset: 0;
  padding: 6cqw;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5cqw;
  align-items: center;
}
.cta__text { display: flex; flex-direction: column; gap: 2.4cqw; }
.cta__text p:last-child { font-size: 2.3cqw; line-height: 1.45; color: var(--grey); }
.cta__contacts { display: flex; flex-direction: column; gap: 1.2cqw; }
.cta__contact {
  background: var(--grey-light);
  border-radius: 1.4cqw;
  padding: 1.5cqw 2.2cqw;
  display: flex;
  align-items: center;
  gap: 2cqw;
}
.cta__contact i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: var(--yellow); flex: none; }
.cta__contact div { display: flex; flex-direction: column; gap: .3cqw; }
.cta__contact span:first-child { font-size: 1.5cqw; color: var(--grey); }
.cta__contact span:last-child { font-size: 2cqw; font-weight: 600; }

.closing-logo {
  position: absolute;
  left: 50%;
  bottom: 6cqw;
  transform: translateX(-50%);
  width: 9cqw;
}

/* ---------- 07 Documenti ---------- */

.docs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 32px;
  margin-top: 48px;
  align-items: start;
}
.doc { display: flex; flex-direction: column; gap: 12px; max-width: 440px; width: 100%; justify-self: center; }

.a4 {
  aspect-ratio: 210 / 297;
  background: var(--white);
  border: 1px solid var(--line-input);
  border-radius: 4px;
  box-shadow: 0 30px 60px -30px var(--shadow-page);
  color: var(--black);
}

.a4__head,
.a4__body,
.a4__foot { position: absolute; left: 11.9cqw; right: 11.9cqw; }

.a4__head {
  top: 7cqw;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 2.4cqw;
  border-bottom: 1px solid var(--line);
}
.a4__head img { width: 15cqw; }
.a4__ref { text-align: right; font-size: 1.35cqw; line-height: 1.5; color: var(--grey); }

.a4__body { top: 22cqw; display: flex; flex-direction: column; }
.a4__body--next { top: 20cqw; }

.a4__title { font-family: var(--font-head); font-weight: 700; font-size: 3.8cqw; letter-spacing: -.025em; line-height: 1.15; }

.a4__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2cqw;
  margin-top: 3.2cqw;
  padding: 2cqw 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.a4__meta div { display: flex; flex-direction: column; gap: .4cqw; }
.a4__meta span:first-child { font-size: 1.25cqw; color: var(--grey); }
.a4__meta span:last-child { font-size: 1.55cqw; font-weight: 600; }

.a4__h { font-family: var(--font-head); font-weight: 600; font-size: 2.2cqw; letter-spacing: -.015em; margin-top: 4cqw; }
.a4__body--next .a4__h { margin-top: 0; }
.a4__sub { font-family: var(--font-head); font-weight: 600; font-size: 1.75cqw; letter-spacing: -.01em; margin-top: 2.6cqw; }
.a4__p { font-size: 1.55cqw; line-height: 1.5; color: var(--ink-soft); margin-top: 1.4cqw; }
.a4__body--next .a4__p { line-height: 1.55; }
.a4__small { font-size: 1.3cqw; color: var(--grey); margin-top: 1.6cqw; }
.a4__body--next .a4__small { line-height: 1.5; margin-top: 2.4cqw; }

.a4__table { margin-top: 1.4cqw; }
.a4__table div {
  display: flex;
  justify-content: space-between;
  padding: 1.3cqw 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.6cqw;
}
.a4__table .a4__th { padding: 1cqw 0; border-bottom-color: var(--line-strong); font-size: 1.3cqw; color: var(--grey); }
.a4__table .a4__total { border-bottom-color: var(--black); font-weight: 700; }

.a4__list { display: flex; flex-direction: column; gap: .8cqw; margin-top: 1.2cqw; padding-left: 2cqw; }
.a4__list div { display: flex; gap: 1.4cqw; font-size: 1.55cqw; line-height: 1.55; color: var(--ink-soft); }
.a4__list i { width: .8cqw; height: .8cqw; border-radius: 50%; background: var(--black); flex: none; margin-top: .85cqw; }

.a4__foot {
  bottom: 6cqw;
  display: flex;
  justify-content: space-between;
  font-size: 1.2cqw;
  color: var(--grey);
  border-top: 1px solid var(--line);
  padding-top: 1.6cqw;
}

.settings {
  margin-top: 16px;
  border-top: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  column-gap: 64px;
}
.setting {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.setting h4 { font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.setting__body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-wrap: pretty;
}

/* ---------- 08 Applicazioni ---------- */

.apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 20px;
  margin-top: 48px;
}
.app {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.app--wide { grid-column: 1 / -1; }

.app__row { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.app__row--middle { align-items: center; }

.bcard {
  width: 220px;
  aspect-ratio: 85 / 55;
  border-radius: 8px;
}
.bcard--front {
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px -18px var(--shadow-card);
}
.bcard--front img { width: 42%; }
.bcard--back {
  background: var(--white);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 18px 40px -18px var(--shadow-light), 0 0 0 1px var(--line);
}
.bcard__name { font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: -.02em; }
.bcard__role { font-size: 9.5px; color: var(--grey); margin-top: 2px; }
.bcard__bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.bcard__contacts { font-size: 8.5px; line-height: 1.5; }
.bcard__bottom img { width: 38px; }

.labels { display: flex; flex-direction: column; align-items: center; gap: 14px; flex: 1; justify-content: center; }
.label {
  width: 230px;
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: 0 14px 30px -16px var(--shadow-label);
}
.label--light { background: var(--white); color: var(--black); box-shadow: 0 14px 30px -16px var(--shadow-label), 0 0 0 1px var(--line); }
.label--dark { background: var(--black); color: var(--white); }
.label img { width: 46px; flex: none; }
.label__text {
  border-left: 1px solid var(--line);
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 10px;
  line-height: 1.45;
}
.label--dark .label__text { border-left-color: var(--ink-soft); }
.label__title { font-weight: 700; font-size: 11px; }
.label--light .label__muted { color: var(--grey); }
.label--light .label__code strong { color: var(--black); }
.label--dark .label__muted { color: var(--grey-300); }
.label--dark .label__code { color: var(--grey-500); }
.label--dark .label__code strong { color: var(--yellow); }

.mails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 16px;
}
.mail {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 13px;
  line-height: 1.5;
}
.mail__msg { color: var(--grey); }
.mail__sig {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mail__who { display: flex; gap: 18px; align-items: center; }
.mail__who img { width: 64px; flex: none; }
.mail__who div { border-left: 2px solid var(--yellow); padding-left: 16px; }
.mail__who p:first-child { font-weight: 700; font-size: 14px; }
.mail__who p + p { color: var(--grey); }
.mail__products { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.mail__products .p-gmh { height: 24px; }
.mail__products .p-bitbell { height: 26px; }
.mail__products .p-uptime { height: 20px; }

.post {
  width: 210px;
  aspect-ratio: 1;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.post--dark { background: var(--black); box-shadow: 0 18px 40px -18px var(--shadow-card); }
.post--dark img { width: 52px; }
.post--dark p {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--white);
}
.post--light { background: var(--white); box-shadow: 0 18px 40px -18px var(--shadow-light), 0 0 0 1px var(--line); }
.post__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey);
}
.post__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.post__title span { background: var(--yellow); padding: 0 4px; border-radius: 4px; }
.post--light img { width: 44px; }

.profile {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.profile > img { width: 72px; height: 72px; border-radius: 50%; flex: none; }
.profile__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.profile__name { font-weight: 700; font-size: 16px; }
.profile__bio { font-size: 13px; color: var(--grey); }
.profile__actions { display: flex; gap: 8px; margin-top: 6px; }
.profile__actions span { font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 999px; }
.profile__follow { background: var(--black); color: var(--white); }
.profile__msg { background: var(--grey-light); }

.icons { display: flex; gap: 14px; align-items: center; }
.icons .i40 { width: 40px; border-radius: 9px; }
.icons .i28 { width: 28px; border-radius: 6px; }
.icons .i16 { width: 16px; border-radius: 3px; }
.icons span { font-size: 12.5px; color: var(--grey); }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); }
.footer__bar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--grey);
}
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand img { height: 20px; }
.footer__top,
.footer__top:hover { color: var(--grey); }
