:root {
  --navy-900: #071a57;
  --navy-800: #0d2a85;
  --blue-600: #1b49c9;
  --blue-100: #e8eefc;
  --blue-50: #f3f6fd;
  --flame-600: #d9381a;
  --flame-500: #ec5420;
  --flame-400: #ff7a2a;
  --red-cap: #c8102e;
  --ink: #1a1f2e;
  --ink-soft: #4a5268;
  --line: #e3e6ee;
  --paper: #ffffff;
  --paper-warm: #faf8f5;
  --radius: 14px;
  --container: 860px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); }
a:hover { color: var(--navy-800); }
:focus-visible { outline: 3px solid var(--flame-400); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--wide { max-width: 1180px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy-900);
}
.brand__mark {
  width: 40px;
  height: 40px;
  flex: none;
}
.brand__name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.1;
}
.brand__name span {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover { background: var(--blue-50); color: var(--navy-800); }

/* ---------- Advertising label ---------- */
.ad-label {
  background: var(--navy-900);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 10px 16px;
}
.ad-label span { color: #ffb48a; font-weight: 600; letter-spacing: .08em; }

/* ---------- Article ---------- */
.article { padding: 48px 0 24px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--flame-600);
  margin: 0 0 18px;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--flame-400), var(--flame-600));
}
h1, h2, h3 {
  font-family: var(--serif);
  color: var(--navy-900);
  line-height: 1.2;
  font-weight: 700;
}
h1 {
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -.01em;
  margin: 0 0 22px;
}
.lead {
  font-family: var(--serif);
  font-size: clamp(19px, 2.3vw, 22px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 28px;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 36px;
}
.meta strong { color: var(--ink); }
.meta__pill {
  background: var(--blue-100);
  color: var(--navy-800);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.section {
  padding: 44px 0 8px;
  border-top: 1px solid var(--line);
  margin-top: 44px;
  scroll-margin-top: 90px;
}
.section--first { border-top: 0; margin-top: 0; padding-top: 8px; }
h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  margin: 0 0 22px;
}
h3 {
  font-size: clamp(21px, 2.6vw, 24px);
  margin: 36px 0 12px;
  color: var(--navy-800);
}
p { margin: 0 0 20px; }
.pullquote {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 27px);
  line-height: 1.45;
  color: var(--navy-800);
  border-left: 4px solid var(--flame-500);
  padding: 4px 0 4px 22px;
  margin: 32px 0;
}
.note {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 16.5px;
  line-height: 1.65;
  margin: 28px 0;
}
.note p:last-child { margin-bottom: 0; }
.note::before {
  content: "Da sapere";
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 6px;
}
.rhythm p { margin-bottom: 8px; font-family: var(--serif); font-size: 21px; color: var(--navy-800); }
.rhythm { margin: 28px 0; padding: 22px 26px; border-radius: var(--radius); background: var(--paper-warm); }
.rhythm p:last-child { margin-bottom: 0; }

.ingredient-list { display: grid; gap: 16px; margin: 28px 0; }
.ingredient {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 24px 6px;
  background: #fff;
}
.ingredient h3 { margin-top: 20px; }
.ingredient h3::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--flame-400), var(--flame-600));
  margin-right: 12px;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.features { counter-reset: feat; list-style: none; padding: 0; margin: 24px 0; }
.features li {
  counter-increment: feat;
  position: relative;
  padding: 18px 0 2px 62px;
  border-top: 1px solid var(--line);
}
.features li:first-child { border-top: 0; }
.features li::before {
  content: counter(feat);
  position: absolute;
  left: 0;
  top: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  background: var(--navy-800);
}

/* ---------- Figures ---------- */
figure { margin: 36px 0; }
.figure__img,
.product-stage {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
}
.figure__img { object-fit: cover; background: var(--paper-warm); }
figcaption {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-top: 10px;
}
.product-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.product-stage img {
  height: 86%;
  width: auto;
  filter: drop-shadow(0 24px 28px rgba(7, 26, 87, .28));
  position: relative;
  z-index: 1;
  transition: transform .4s ease;
}
a.product-stage:hover img { transform: translateY(-4px); }
.product-stage--neutral { background: radial-gradient(ellipse at 50% 40%, #ffffff 0%, #eef0f4 55%, #dfe3ea 100%); }
.product-stage--elegant { background: linear-gradient(120deg, #f4f7fe 0%, #e5ecfb 48%, #fdf1ea 100%); }
.product-stage--elegant::after,
.product-stage--minimal::after {
  content: "";
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 9%;
  border-radius: 50%;
  background: rgba(7, 26, 87, .14);
  filter: blur(10px);
}
.product-stage--minimal { background: linear-gradient(180deg, #faf8f5 0%, #f2eee8 62%, #e8e2d9 62.2%, #efeae3 100%); }

/* ---------- CTA ---------- */
.cta {
  margin: 36px 0;
  border-radius: var(--radius);
  padding: 34px 32px;
  text-align: center;
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 122, 42, .22), transparent 45%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--blue-600) 100%);
  color: #fff;
}
.cta__title {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 10px;
  color: #fff;
}
.cta__text { margin: 0 0 22px; color: #dbe3fb; font-size: 17px; }
.cta--light {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--ink);
}
.cta--light .cta__text { color: var(--ink-soft); }
.cta--bare { background: none; padding: 0; margin-top: -14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  min-height: 60px;
  padding: 16px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--flame-500) 0%, var(--flame-600) 100%);
  color: #fff;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(217, 56, 26, .32), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 14px 30px rgba(217, 56, 26, .4); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--block { max-width: none; }
.cta__fineprint { display: block; margin-top: 12px; font-size: 13px; color: #b9c6ef; }
.cta--light .cta__fineprint, .cta--bare .cta__fineprint { color: var(--ink-soft); }

/* ---------- Disclaimers ---------- */
.disclaimers {
  margin-top: 56px;
  padding: 30px 32px;
  border-radius: var(--radius);
  background: var(--paper-warm);
  border: 1px solid #ece6dd;
  font-size: 15.5px;
  line-height: 1.7;
  scroll-margin-top: 90px;
}
.disclaimers h2 { font-size: 24px; margin-bottom: 16px; }
.disclaimers p { margin-bottom: 14px; }
.disclaimers p:last-child { margin-bottom: 0; }
.disclaimers strong { color: var(--navy-900); }
.disclaimers a { word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 64px;
  background: var(--navy-900);
  color: #c9d3f2;
  font-size: 15px;
  line-height: 1.7;
}
.site-footer__inner { padding: 48px 24px 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
}
.site-footer h2 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 14px;
}
.site-footer address { font-style: normal; }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.site-footer a:hover { color: #ffb48a; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.link-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .35);
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-button:hover { color: #ffb48a; }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px;
  color: #9fb0e3;
}

/* ---------- Cookie consent ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(7, 26, 87, .25);
  border: 1px solid var(--line);
  padding: 22px 24px;
  font-size: 15px;
  line-height: 1.6;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-family: var(--sans); font-size: 16px; margin: 0 0 6px; color: var(--navy-900); }
.cookie-banner p { margin: 0 0 16px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.c-btn {
  flex: 1 1 160px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid var(--navy-800);
  background: #fff;
  color: var(--navy-800);
  font: 700 14px/1.2 var(--sans);
  cursor: pointer;
}
.c-btn--primary { background: var(--navy-800); color: #fff; }
.c-btn:hover { filter: brightness(1.08); }

.cookie-dialog {
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  width: min(560px, calc(100% - 32px));
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(7, 26, 87, .35);
}
.cookie-dialog::backdrop { background: rgba(7, 26, 87, .55); }
.cookie-dialog__body { padding: 26px 26px 22px; font-size: 15px; line-height: 1.6; }
.cookie-dialog h2 { font-family: var(--sans); font-size: 20px; margin: 0 0 8px; }
.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.cookie-option strong { display: block; color: var(--navy-900); }
.cookie-option small { color: var(--ink-soft); font-size: 13.5px; }
.switch { position: relative; flex: none; width: 50px; height: 28px; margin-top: 2px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #c5cad6; transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.switch input:checked + span { background: var(--navy-800); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + span { opacity: .6; }
.switch input:focus-visible + span { outline: 3px solid var(--flame-400); outline-offset: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .site-header__inner { flex-direction: column; align-items: stretch; gap: 0; padding-top: 10px; }
  .brand { justify-content: center; }
  .nav { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 6px 0 0; padding: 0 0 8px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav ul { width: max-content; margin: 0 auto; }
}
@media (max-width: 640px) {
  body { font-size: 17px; line-height: 1.7; }
  .container { padding: 0 18px; }
  .article { padding-top: 32px; }
  .site-header { position: static; }
  .ad-label { font-size: 11.5px; letter-spacing: .12em; }
  .section { padding-top: 34px; margin-top: 34px; }
  .cta { padding: 28px 20px; }
  .cta--bare { padding: 0; }
  .btn { font-size: 15.5px; letter-spacing: .06em; padding: 14px 20px; }
  .disclaimers { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .ingredient { padding: 2px 18px; }
  .features li { padding-left: 54px; }
  .features li::before { width: 38px; height: 38px; font-size: 17px; }
  .rhythm { padding: 18px 20px; }
  .rhythm p { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Legal pages ---------- */
.legal { padding: 40px 0 8px; }
.breadcrumb { font-size: 14px; color: var(--ink-soft); margin: 0 0 18px; }
.breadcrumb a { color: var(--ink-soft); }
.legal h1 { font-size: clamp(30px, 4.4vw, 42px); margin-bottom: 10px; }
.legal__date { font-size: 14px; color: var(--ink-soft); margin: 0 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.legal__body { font-size: 16.5px; line-height: 1.75; }
.legal__body h2 { font-size: clamp(21px, 2.6vw, 25px); margin: 36px 0 12px; }
.legal__body h3 { font-size: 18.5px; margin: 24px 0 8px; }
.legal__body p { margin: 0 0 14px; }
.legal__body ul { margin: 0 0 16px; padding-left: 22px; }
.legal__body li { margin-bottom: 6px; }
.legal__body li::marker { color: var(--flame-500); }
.legal__body a { word-break: break-word; }
.legal__body .note::before { content: "Questa pagina"; }
.legal__source { margin-top: 36px; font-size: 13.5px; color: var(--ink-soft); }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 8px 0 28px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: #fff; }
.contact-card h2 { font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); margin: 0 0 6px; }
.contact-card p { margin: 0; font-size: 17px; }
.contact-card a { font-weight: 700; text-decoration: none; }
@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.nav a[aria-current="page"] { background: var(--blue-100); color: var(--navy-800); }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: baseline;
  font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.02em;
}
.logo__artro { color: var(--navy-800); }
.logo__flex {
  background: linear-gradient(180deg, #ffb13b 0%, var(--flame-500) 48%, var(--red-cap) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .08em;
}
@media (max-width: 640px) { .logo { font-size: 26px; } }

.cta--light .cta__title { color: var(--navy-900); }
