/* ringospin-online-casino.com — "Pizzeria Napoletana" palette
   Pomodoro, basilico, mozzarella and the wood-fired oven
   Fonts: Playfair Display (display), Nunito (text & labels) */

:root {
  --pomodoro: #c62d1f;        /* San Marzano tomato */
  --pomodoro-bright: #e2472d;
  --pomodoro-dark: #9a1f14;
  --basilico: #2f7d32;        /* fresh basil */
  --basilico-bright: #43a047;
  --basilico-dark: #1d5620;
  --crosta: #e0a458;          /* golden crust */
  --crosta-dark: #b06f2c;
  --mozzarella: #fffaf0;
  --forno: #2a1810;           /* wood-fired oven */
  --forno-2: #3a2418;
  --forno-3: #4d3122;

  --bg: #fbf3e4;              /* flour-dusted cream */
  --bg-2: #f4e7d0;
  --surface: #ffffff;
  --surface-2: #fff8ec;
  --line: rgba(42, 24, 16, .12);
  --line-strong: rgba(42, 24, 16, .26);
  --text: #2a1d16;
  --text-soft: #4a3a30;
  --muted: #7a6758;

  /* tricolore: verde / bianco / rosso */
  --stripe: linear-gradient(90deg, var(--basilico) 0 33.3%, #fff 33.3% 66.6%, var(--pomodoro) 66.6% 100%);
  --stripe-v: linear-gradient(180deg, var(--basilico) 0 33.3%, #fff 33.3% 66.6%, var(--pomodoro) 66.6% 100%);
  /* red gingham tablecloth */
  --gingham:
    linear-gradient(90deg, rgba(198, 45, 31, .055) 50%, transparent 50%),
    linear-gradient(rgba(198, 45, 31, .055) 50%, transparent 50%);
  /* charred oven wall with embers */
  --oven:
    radial-gradient(600px 300px at 15% 110%, rgba(226, 71, 45, .28), transparent 70%),
    radial-gradient(500px 260px at 90% -20%, rgba(224, 164, 88, .18), transparent 70%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .14) 0 2px, transparent 2px 44px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .1) 0 2px, transparent 2px 88px),
    var(--forno);
  /* a whole margherita, drawn with gradients */
  --pizza:
    radial-gradient(circle at 34% 30%, #fff6dc 0 7%, transparent 7.6%),
    radial-gradient(circle at 63% 38%, #fff6dc 0 6%, transparent 6.6%),
    radial-gradient(circle at 46% 64%, #fff6dc 0 8%, transparent 8.6%),
    radial-gradient(circle at 70% 66%, #fff6dc 0 5%, transparent 5.6%),
    radial-gradient(circle at 28% 54%, #fff6dc 0 5%, transparent 5.6%),
    radial-gradient(ellipse 6% 3.5% at 52% 26%, var(--basilico-bright) 0 98%, transparent 100%),
    radial-gradient(ellipse 3.5% 6% at 38% 72%, var(--basilico) 0 98%, transparent 100%),
    radial-gradient(ellipse 6% 3.5% at 74% 52%, var(--basilico-bright) 0 98%, transparent 100%),
    radial-gradient(circle, #d8412b 0 60%, #c9832f 60.5% 63%, var(--crosta) 63.5% 69%, #a65f22 69.5% 70.5%, transparent 71%);

  --shadow: 0 20px 46px -24px rgba(90, 30, 10, .45);
  --shadow-sm: 0 6px 18px -10px rgba(42, 24, 16, .35);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-text: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-label: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at 100% -10%, rgba(198, 45, 31, .07), transparent 60%),
    radial-gradient(700px 480px at -10% 15%, rgba(47, 125, 50, .07), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.7 var(--font-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before { /* tricolore band on top of the page */
  content: "";
  position: fixed; top: 0; left: 0; right: 0; height: 5px; z-index: 101;
  background: var(--stripe);
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--pomodoro); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pomodoro-dark); }
:focus-visible { outline: 2px solid var(--basilico); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--crosta); color: var(--forno); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.12; letter-spacing: -.005em; margin: 0 0 .6em; color: var(--forno); }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.55rem); font-weight: 700; }
p { margin: 0 0 1.1em; }
strong { color: var(--forno); font-weight: 800; }
code { font-family: var(--font-label); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 28px; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--pomodoro); color: #fff; font-weight: 800; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

.text-grad { color: var(--pomodoro); }
.mt-lg { margin-top: 48px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pomodoro-bright), var(--pomodoro) 60%, var(--pomodoro-dark));
  color: #fff;
  font: 800 1rem/1.25 var(--font-text);
  letter-spacing: .03em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 22px -10px rgba(198, 45, 31, .75), inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 -3px 0 rgba(0, 0, 0, .16);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { color: #fff; transform: translateY(-2px); background: linear-gradient(180deg, var(--basilico-bright), var(--basilico) 60%, var(--basilico-dark)); box-shadow: 0 12px 26px -10px rgba(47, 125, 50, .8), inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -3px 0 rgba(0, 0, 0, .14); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; transition: transform .18s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { padding: 9px 18px; font-size: .92rem; }
.btn--lg { padding: 16px 30px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--forno); box-shadow: inset 0 0 0 2px var(--forno); }
.btn--ghost:hover { color: #fff; background: var(--forno); box-shadow: none; }

/* ---------- Badges & pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  font: 800 .78rem/1.2 var(--font-label);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge--ok { color: #fff; border-color: var(--basilico-dark); background: var(--basilico); }
.badge--ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.badge--age { color: #fff; border-color: var(--pomodoro); background: var(--pomodoro); }

.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font: 800 .8rem/1.4 var(--font-label); letter-spacing: .03em; white-space: nowrap; }
.pill--ok { background: rgba(47, 125, 50, .12); color: var(--basilico-dark); }
.pill--note { background: rgba(224, 164, 88, .3); color: #6b3f12; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(42, 24, 16, .95);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-top: 5px solid transparent; /* room for the fixed tricolore band */
  border-bottom: 3px solid var(--crosta);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex: none; }
.logo:hover { color: #fff; }
.logo img { width: 44px; height: 44px; transition: transform .6s ease; }
.logo:hover img { transform: rotate(180deg); }
.logo__text { font: italic 900 1.6rem/1 var(--font-display); letter-spacing: .01em; }
.logo__text span { color: var(--crosta); }

.nav { display: none; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav__link {
  display: block; padding: 8px 11px; border-radius: 999px;
  color: #f1e3cf; font: 700 .95rem/1.2 var(--font-text); letter-spacing: .02em; text-decoration: none;
  transition: color .15s, background .15s;
}
.nav__link:hover { color: var(--crosta); background: rgba(255, 255, 255, .07); }
.nav__cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 10px; background: var(--forno-2); color: #fff; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; background: var(--basilico-bright); }
.nav-toggle__bars::after { top: 6px; background: var(--pomodoro-bright); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav.is-open {
    display: block; position: fixed; left: 0; right: 0; top: calc(var(--header-h) + 8px); bottom: 0;
    padding: 20px 16px 32px; overflow-y: auto;
    background: rgba(42, 24, 16, .98);
  }
  .nav.is-open .nav__list { flex-direction: column; gap: 6px; margin-bottom: 20px; }
  .nav.is-open .nav__link { padding: 14px 16px; font-size: 1.1rem; border: 1px solid rgba(255, 255, 255, .12); border-left: 4px solid var(--pomodoro); border-radius: 10px; background: var(--forno-2); }
  .nav.is-open .nav__cta { display: flex; }
}
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; }
  .nav-toggle { display: none; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font: 700 .85rem/1.4 var(--font-label); color: rgba(255, 255, 255, .65); letter-spacing: .04em; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--crosta); }
.breadcrumbs a { color: var(--crosta); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.page-hero .breadcrumbs ol { color: var(--muted); }
.page-hero .breadcrumbs a { color: var(--pomodoro); }
.page-hero .breadcrumbs a:hover { color: var(--pomodoro-dark); }

/* ---------- Hero (wood-fired oven with a margherita) ---------- */
.hero { position: relative; padding: 32px 0 44px; background: var(--oven); color: #f1e3cf; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: 50%; right: -180px; width: 560px; height: 560px; margin-top: -280px;
  border-radius: 50%; background: var(--pizza);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55));
  opacity: .9; pointer-events: none;
  animation: pizza-spin 90s linear infinite;
}
@keyframes pizza-spin { to { transform: rotate(360deg); } }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--stripe); }
.hero .container { position: relative; }
.hero__grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .hero { padding: 40px 0 64px; } .hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; } }
@media (max-width: 959px) { .hero::before { opacity: .18; top: 10%; right: -260px; } }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.hero .badge:not(.badge--ok):not(.badge--age) { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: #f6ead8; }
.hero h1 { margin-bottom: .5em; color: #fff; }
.hero h1 .text-grad { display: block; color: var(--crosta); font-style: italic; }
.hero__lead { color: #e2d2bd; font-size: 1.1rem; max-width: 62ch; }
.hero__actions { margin-top: 26px; }
.hero__actions .btn { max-width: 100%; }

/* top row of the hero: breadcrumbs left, author right */
.hero__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 26px; }
.hero__top .breadcrumbs ol { margin: 0; }
.author-chip {
  display: flex; align-items: center; gap: 12px; margin-left: auto;
  padding: 6px 18px 6px 6px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px;
  background: rgba(255, 250, 240, .08); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.author-chip__avatar {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--pomodoro); color: #fff; font: italic 900 1rem/1 var(--font-display);
  box-shadow: 0 0 0 3px var(--crosta);
}
.author-chip__text { display: grid; margin: 0; line-height: 1.25; text-align: right; }
.author-chip__role { color: var(--crosta); font: 800 .7rem/1.3 var(--font-label); letter-spacing: .14em; text-transform: uppercase; }
.author-chip__name { color: #fff; font: italic 800 1.08rem/1.25 var(--font-display); }
.author-chip__date { color: #cbb8a2; font-size: .78rem; }

/* bonus card — a pizzeria menu card */
.bonus-card {
  position: relative;
  padding: 34px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--mozzarella);
  color: var(--text);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .8);
  overflow: hidden;
}
.bonus-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--stripe); }
.bonus-card__ribbon {
  display: inline-block; margin-bottom: 14px; padding: 4px 14px; border-radius: 999px;
  background: var(--basilico); color: #fff;
  font: 800 .76rem/1.3 var(--font-label); letter-spacing: .14em; text-transform: uppercase;
}
.bonus-card__label { margin: 0 0 4px; color: var(--text-soft); font: 700 1.05rem/1.3 var(--font-text); }
.bonus-card__amount { margin: 0; font: italic 900 clamp(3rem, 2.2rem + 2.6vw, 4.2rem)/1 var(--font-display); color: var(--pomodoro); }
.bonus-card__extra { margin: 8px 0 20px; color: var(--forno); font-weight: 800; }
.bonus-card__facts { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bonus-card__facts li { padding: 12px 8px; border: 1px solid var(--line); border-bottom: 3px solid var(--crosta); border-radius: 12px; background: #fff; text-align: center; color: var(--muted); font-size: .82rem; line-height: 1.3; }
.bonus-card__facts strong { display: block; margin-bottom: 3px; color: var(--pomodoro-dark); font: 900 1.35rem/1.1 var(--font-display); }
.bonus-card__code { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; padding: 12px 16px; border: 2px dashed var(--basilico); border-radius: 12px; background: rgba(47, 125, 50, .07); color: var(--text-soft); font-size: .92rem; }
.bonus-card__code code { color: var(--basilico-dark); font-weight: 900; font-size: 1.02rem; letter-spacing: .1em; }
.bonus-card__terms { margin: 14px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }

/* ---------- Stats & TOC ---------- */
.stats { list-style: none; margin: -28px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; position: relative; z-index: 2; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.stat { position: relative; padding: 20px 18px 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--stripe-v); }
.stat__value { display: block; font: italic 900 clamp(1.6rem, 1.1rem + 1.4vw, 2.3rem)/1.05 var(--font-display); color: var(--pomodoro); }
.stat__label { display: block; margin-top: 6px; color: var(--muted); font: 800 .8rem/1.3 var(--font-label); letter-spacing: .06em; text-transform: uppercase; }

.page-toc { margin-bottom: 16px; padding: 20px; border: 1px solid var(--line); border-top: 4px solid var(--basilico); border-radius: var(--radius); background: var(--surface); }
.page-toc__title { margin: 0 0 12px; color: var(--pomodoro); font: 900 .88rem/1 var(--font-label); letter-spacing: .18em; text-transform: uppercase; }
.page-toc ol { list-style: none; counter-reset: toc; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.page-toc li { counter-increment: toc; }
.page-toc a {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg);
  color: var(--text-soft); font: 700 .93rem/1.3 var(--font-text); text-decoration: none; transition: border-color .15s, color .15s, background .15s;
}
.page-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--pomodoro); font: 900 .8rem/1 var(--font-label); }
.page-toc a:hover { color: #fff; border-color: var(--pomodoro); background: var(--pomodoro); }
.page-toc a:hover::before { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
@media (min-width: 960px) { .section { padding: 76px 0; } }
.section--alt { background: var(--gingham), linear-gradient(180deg, var(--bg-2), var(--bg)); background-size: 36px 36px, auto; border-block: 1px solid var(--line); }
.section__head { max-width: 820px; margin-bottom: 30px; }
.section__head p { color: var(--text-soft); font-size: 1.1rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
  color: var(--basilico); font: 900 .86rem/1 var(--font-label); letter-spacing: .2em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 42px; height: 6px; border-radius: 3px; background: var(--stripe); box-shadow: 0 0 0 1px var(--line); }

.prose { max-width: 880px; }
.prose > p, .prose li { color: var(--text-soft); }
.prose h3 { margin-top: 2.1em; padding-left: 16px; border-left: 5px solid var(--basilico); }
.prose h3:first-child { margin-top: 0; }

.dot-list, .steps { margin: 0 0 1.3em; padding: 0; list-style: none; display: grid; gap: 10px; }
.dot-list li { position: relative; padding-left: 30px; }
.dot-list li::before { /* basil leaf */
  content: ""; position: absolute; left: 2px; top: .42em; width: 16px; height: 10px;
  border-radius: 0 100% 0 100%; background: var(--basilico); transform: rotate(-20deg);
}
.dot-list li:nth-child(even)::before { /* tomato slice */
  width: 12px; height: 12px; left: 4px; top: .4em; border-radius: 50%;
  background: radial-gradient(circle, #ffd7c9 0 22%, var(--pomodoro) 26%); transform: none;
}
.steps { counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 14px 16px 14px 68px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.steps li::before { /* pepperoni counter */
  content: counter(step); position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--pomodoro-bright), var(--pomodoro-dark));
  color: #fff; font: italic 900 1.15rem/1 var(--font-display);
  box-shadow: 0 0 0 3px var(--crosta);
}
.steps li:nth-child(3n+2)::before { background: radial-gradient(circle at 35% 35%, var(--basilico-bright), var(--basilico-dark)); }
.steps li:nth-child(3n)::before { background: radial-gradient(circle at 35% 35%, #fffaf0, #f0dfc0); color: var(--pomodoro-dark); }

/* verdict / takeaway notes */
.takeaway, .verdict {
  position: relative; margin: 0 0 1.4em; padding: 16px 18px 16px 24px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface);
  color: var(--text) !important; font-size: 1rem;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.takeaway::before, .verdict::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--stripe-v); }
.verdict strong { display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 999px; background: var(--pomodoro); color: #fff; font: 900 .78rem/1.6 var(--font-label); letter-spacing: .12em; text-transform: uppercase; vertical-align: 2px; }

.cta-row { margin: 28px 0 8px; }
.cta-row .btn { max-width: 100%; }

/* ---------- Tables ---------- */
.table-wrap { margin: 0 0 1.4em; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .97rem; line-height: 1.45; }
.table--grid { min-width: 520px; }
.table th, .table td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--basilico-dark); color: #fff; font: 800 .86rem/1.3 var(--font-label); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.table thead tr { box-shadow: inset 0 -4px 0 var(--pomodoro); }
.table tbody th { color: var(--forno); font-weight: 800; }
.table td { color: var(--text-soft); }
.table tbody tr:nth-child(even) { background: rgba(224, 164, 88, .08); }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: rgba(198, 45, 31, .07); }
.table tr.is-total > * { background: var(--pomodoro); color: #fff; font-weight: 900; }
.table--grid td { white-space: nowrap; }
.table--grid td, .table--grid thead th:not(:first-child) { text-align: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-left: 5px solid var(--crosta); border-radius: var(--radius); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-left-color: var(--pomodoro); box-shadow: var(--shadow-sm); }
.faq__item summary {
  position: relative; list-style: none; cursor: pointer; padding: 18px 58px 18px 20px;
  color: var(--forno); font: 700 1.2rem/1.35 var(--font-display);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--basilico); color: #fff; font: 800 1.2rem/1 var(--font-text);
}
.faq__item[open] summary::after { content: "–"; background: var(--pomodoro); color: #fff; }
.faq__answer { padding: 0 20px 6px; color: var(--text-soft); }

/* ---------- Author (bottom of content, centered) ---------- */
.author-box { position: relative; margin: 56px auto 72px; max-width: 420px; padding: 32px 24px 28px; text-align: center; border: 1px solid var(--line); border-radius: 18px; background: var(--mozzarella); box-shadow: var(--shadow); overflow: hidden; }
.author-box::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--stripe); }
.author-box__avatar {
  display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 14px; border-radius: 50%;
  background: var(--pomodoro); color: #fff; font: italic 900 1.5rem/1 var(--font-display);
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--crosta);
}
.author-box__name { margin: 0 0 4px; color: var(--forno); font: italic 900 1.6rem/1.2 var(--font-display); }
.author-box__meta { margin: 0; color: var(--muted); font: 700 .9rem/1.4 var(--font-label); letter-spacing: .03em; }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding: 60px 0 120px; background: var(--oven); color: #e2d2bd; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--stripe); }
@media (min-width: 1024px) { .site-footer { padding-bottom: 48px; } }
.site-footer .logo, .site-footer .logo:hover { color: #fff; }
.site-footer .logo__text span { color: var(--crosta); }
.site-footer strong { color: #fff; }
.footer-grid { display: grid; gap: 32px; margin-bottom: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand p { margin-top: 16px; color: #bfa98f; font-size: .92rem; max-width: 40ch; }
.footer-col h2 { margin: 0 0 14px; color: var(--crosta); font: 900 .86rem/1 var(--font-label); letter-spacing: .18em; text-transform: uppercase; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a, .footer-link-btn { color: #e2d2bd; font: 600 .95rem/1.4 var(--font-text); text-decoration: none; }
.footer-col a:hover, .footer-link-btn:hover { color: var(--pomodoro-bright); }
.footer-link-btn { padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
.footer-rg { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 20px 0; border-block: 1px solid rgba(255, 255, 255, .14); }
.footer-rg a { color: #e2d2bd; font-size: .92rem; }
.footer-legal { padding-top: 20px; color: #a8927b; font-size: .85rem; line-height: 1.6; }
.footer-legal a { color: var(--crosta); }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 16px;
  background: rgba(42, 24, 16, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow); overflow: hidden;
  transform: translateY(140%); transition: transform .25s ease;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}
.sticky-cta::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--stripe-v); }
.sticky-cta.is-visible { transform: none; }
.sticky-cta__text { color: #bfa98f; font-size: .76rem; line-height: 1.35; }
.sticky-cta__text strong { display: block; color: var(--crosta); font: italic 900 1.15rem/1.2 var(--font-display); }
@media (min-width: 1024px) { .sticky-cta { display: none; } }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 150; max-width: 460px;
  padding: 24px 20px 20px; border: 1px solid var(--line-strong); border-radius: 16px;
  background: var(--mozzarella); box-shadow: var(--shadow); overflow: hidden;
}
.cookie-banner::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--stripe); }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { margin: 0 0 8px; font-size: 1.4rem; }
.cookie-banner p { margin: 0 0 14px; color: var(--text-soft); font-size: .9rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 640px) { .cookie-banner { left: 24px; bottom: 24px; } }

/* ---------- Legal pages ---------- */
.page-hero { padding: 40px 0 32px; border-bottom: 1px solid var(--line); background: var(--gingham); background-size: 36px 36px; }
.page-hero p { color: var(--text-soft); max-width: 70ch; }
.page-hero__updated { color: var(--muted) !important; font: 700 .9rem/1.4 var(--font-label); }
.legal { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 72px; }
@media (min-width: 960px) { .legal { grid-template-columns: 280px minmax(0, 1fr); gap: 48px; } .toc { position: sticky; top: calc(var(--header-h) + 25px); align-self: start; } }
.toc { padding: 20px; border: 1px solid var(--line); border-top: 4px solid var(--pomodoro); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.toc h2 { margin: 0 0 12px; color: var(--pomodoro); font: 900 .86rem/1 var(--font-label); letter-spacing: .18em; text-transform: uppercase; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); font-size: .92rem; }
.toc a { color: var(--text-soft); text-decoration: none; }
.toc a:hover { color: var(--pomodoro); }
.legal__body { max-width: 820px; }
.legal__body section { margin-bottom: 36px; }
.legal__body h2 { font-size: clamp(1.4rem, 1.1rem + .9vw, 1.85rem); }
.legal__body h3 { margin-top: 1.4em; font-size: 1.2rem; }
.legal__body p, .legal__body li { color: var(--text-soft); }
.legal__body ul, .legal__body ol { padding-left: 22px; }
.notice { margin: 0 0 1.4em; padding: 16px 18px; border: 1px solid rgba(224, 164, 88, .6); border-left: 5px solid var(--crosta-dark); border-radius: 10px; background: rgba(224, 164, 88, .14); color: var(--text); }
