:root {
  --ink: #101815;
  --muted: #5d6862;
  --line: #dfe8e2;
  --paper: #fbfdf9;
  --soft: #f0f7f1;
  --verde: #16834a;
  --verde-soft: #e5f6ec;
  --rosso: #b91c1c;
  --rosso-soft: #fff0ef;
  --oro: #b7791f;
  --oro-soft: #fff8df;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
.topbar { position: sticky; top: 0; z-index: 20; min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 0 max(32px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid rgba(223,232,226,.95); background: rgba(251,253,249,.96); backdrop-filter: blur(18px); box-shadow: 0 8px 30px rgba(16,24,21,.05); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-weight: 950; }
.brand-mark { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: linear-gradient(90deg, #16834a 0 33%, #fff 33% 66%, #b91c1c 66%); color: var(--ink); border: 1px solid var(--line); font-size: 12px; font-weight: 950; }
.nav { display: flex; align-items: center; justify-content: flex-end; gap: 4px; color: #354039; font-weight: 850; }
.nav a { min-height: 38px; display: inline-flex; align-items: center; border-radius: 8px; padding: 8px 11px; white-space: nowrap; }
.nav a:hover { background: var(--soft); color: var(--verde); }
.hero { width: min(1180px, calc(100% - 32px)); min-height: 650px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 48px; align-items: center; padding: 52px 0 72px; }
.hero-copy { max-width: 780px; }
.eyebrow { display: inline-flex; align-items: center; min-height: 34px; margin: 0 0 16px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #607066; font-size: 13px; font-weight: 900; }
h1, h2, h3 { margin: 0; letter-spacing: 0; line-height: 1.04; }
h1 { font-size: clamp(48px, 6vw, 84px); }
h2 { font-size: clamp(31px, 4.6vw, 56px); }
h3 { font-size: 23px; }
.lead { margin-top: 24px; color: var(--muted); font-size: clamp(19px, 2vw, 24px); max-width: 780px; }
.micro { margin-top: 18px; color: #69766e; font-size: 15px; max-width: 720px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.primary, .secondary { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; padding: 0 20px; font-weight: 950; text-align: center; }
.primary { background: var(--ink); color: #fff; }
.secondary { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.italia-panel { min-height: 510px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 34px 95px rgba(16,24,21,.10); }
.italia-stripe { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; opacity: .18; }
.italia-stripe span:nth-child(1) { background: var(--verde); }
.italia-stripe span:nth-child(2) { background: #fff; }
.italia-stripe span:nth-child(3) { background: var(--rosso); }
.piazza-card { position: absolute; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.92); padding: 16px; box-shadow: 0 18px 45px rgba(16,24,21,.11); width: 190px; }
.piazza-card b { display: block; font-size: 18px; }
.piazza-card small { display: block; margin-top: 6px; color: var(--muted); font-weight: 800; }
.piazza-card.one { left: 34px; top: 42px; transform: rotate(-4deg); }
.piazza-card.two { right: 42px; top: 76px; transform: rotate(4deg); }
.piazza-card.three { left: 60px; bottom: 62px; transform: rotate(3deg); }
.piazza-card.four { right: 52px; bottom: 42px; transform: rotate(-3deg); }
.piazza-center { position: absolute; left: 50%; top: 50%; width: 188px; min-height: 188px; transform: translate(-50%, -50%); border-radius: 999px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; font-weight: 950; box-shadow: 0 24px 70px rgba(16,24,21,.23); }
section { padding: 72px 0; }
.soft, .comparison, .faq, .guides { background: var(--soft); }
.italy-focus { background: linear-gradient(180deg, #fbfdf9 0%, #fff 100%); }
.regulation { background: #fff; }
.section-head { width: min(980px, calc(100% - 32px)); margin: 0 auto 34px; text-align: center; }
.section-head p:not(.eyebrow) { max-width: 840px; margin: 18px auto 0; color: var(--muted); font-size: 19px; }
.cards, .icon-grid, .tool-card-list, .guide-grid { width: min(1180px, calc(100% - 32px)); margin: 0 auto; display: grid; gap: 14px; }
.cards.three, .tool-card-list, .guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.icon-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards article, .tool-card-list article, .guide-grid a, .icon-grid article { min-height: 205px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 22px; box-shadow: 0 16px 50px rgba(16,24,21,.045); }
.focus-grid { width: min(1180px, calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.focus-card { min-height: 330px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 26px; box-shadow: 0 18px 65px rgba(16,24,21,.055); }
.focus-card p { margin-top: 14px; color: var(--muted); font-size: 17px; font-weight: 650; }
.mini-icon { min-width: 54px; height: 38px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; border-radius: 999px; padding: 0 13px; font-size: 13px; font-weight: 950; }
.accent-green .mini-icon { background: var(--verde-soft); color: var(--verde); }
.accent-red .mini-icon { background: var(--rosso-soft); color: var(--rosso); }
.accent-gold .mini-icon { background: var(--oro-soft); color: var(--oro); }
.local-tools article { min-height: 260px; }
.tool-link { display: inline-flex; margin-top: 16px; color: #69766e; font-size: 13px; font-weight: 900; }
.tool-link:hover { color: var(--verde); }
.checklist { width: min(1180px, calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.checklist article { min-height: 245px; border: 1px solid var(--line); border-radius: 10px; background: #fbfdf9; padding: 22px; }
.checklist b { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 14px; }
.checklist p { margin-top: 12px; color: var(--muted); font-weight: 650; }
.icon { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--verde-soft); color: var(--verde); font-size: 22px; font-weight: 950; margin-bottom: 14px; }
.cards span, .tool-card-list span { display: block; margin-bottom: 10px; color: var(--verde); font-size: 13px; font-weight: 950; text-transform: uppercase; letter-spacing: .06em; }
.cards p, .tool-card-list p, .guide-grid span, .icon-grid p { display: block; margin-top: 12px; color: var(--muted); font-weight: 650; }
.link-row { width: min(1180px, calc(100% - 32px)); margin: 18px auto 0; display: flex; flex-wrap: wrap; gap: 10px; }
.link-row a { min-height: 42px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 8px 13px; background: #fff; color: #354039; font-weight: 850; }
.link-row a:hover { color: var(--verde); background: var(--verde-soft); }
.table-wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 18px 60px rgba(16,24,21,.06); }
.comparison-table { width: 100%; min-width: 1080px; border-collapse: collapse; }
.comparison-table th { padding: 16px; background: #f6fbf7; color: #4b5a51; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.comparison-table td { padding: 18px 16px; border-top: 1px solid var(--line); vertical-align: top; color: #233029; font-weight: 650; }
.comparison-table td small { display: block; margin-top: 5px; color: var(--muted); font-weight: 650; }
.rank { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--verde-soft); color: var(--verde); font-size: 13px; font-weight: 950; }
.tool-url { display: block; margin-top: 5px; color: #7b887f; font-size: 13px; font-weight: 800; }
.section-cta { width: min(1180px, calc(100% - 32px)); margin: 26px auto 0; display: flex; justify-content: center; align-items: center; }
.article { width: min(900px, calc(100% - 32px)); margin: 0 auto; }
.article-wide { width: min(1080px, calc(100% - 32px)); text-align: center; }
.article-wide .lead { margin-left: auto; margin-right: auto; }
.inline-links { justify-content: center; }
.article h2 { margin-top: 42px; font-size: clamp(30px, 4vw, 48px); }
.article p, .article li { color: var(--muted); font-size: 19px; }
.article p { margin-top: 16px; }
.article ul, .article ol { margin: 18px 0 0; padding-left: 22px; }
.article-callout { margin-top: 28px; border: 1px solid #bbe3c8; border-radius: 8px; background: var(--verde-soft); padding: 20px; color: #14532d; font-weight: 850; }
.faq-list { width: min(980px, calc(100% - 32px)); margin: 0 auto; display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: 8px; background: #fff; }
summary { cursor: pointer; padding: 18px 20px; color: var(--ink); font-size: 18px; font-weight: 950; }
details p { padding: 0 20px 20px; color: var(--muted); font-size: 17px; }
.footer { padding: 54px 18px 34px; border-top: 1px solid var(--line); color: #69766e; font-size: 14px; background: var(--paper); }
.footer-inner { width: min(1180px, calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 26px; text-align: left; }
.footer h3 { margin: 0 0 12px; color: var(--ink); font-size: 16px; line-height: 1.2; }
.footer a { display: block; margin-top: 8px; color: #354039; font-weight: 850; }
.footer p { color: #69766e; }
.footer-bottom { width: min(1180px, calc(100% - 32px)); margin: 28px auto 0; padding-top: 18px; border-top: 1px solid var(--line); color: #69766e; }
.mobile-nav-toggle { display: none; width: 44px; height: 44px; flex: 0 0 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; }
.mobile-nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 999px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.mobile-nav-open .mobile-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-nav-open .mobile-nav-toggle span:nth-child(2) { opacity: 0; }
.mobile-nav-open .mobile-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.scroll-reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .scroll-reveal { opacity: 1; transform: none; transition: none; } }
@media (max-width: 980px) { .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 40px; } .hero-copy { text-align: center; margin: 0 auto; } .actions { justify-content: center; } .cards.three, .tool-card-list, .guide-grid, .icon-grid, .focus-grid, .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1120px) { .topbar { min-height: 66px; gap: 12px; padding: 10px 18px; } .topbar .brand { min-width: 0; overflow: hidden; } .topbar .brand span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .topbar nav { display: none !important; position: absolute; top: calc(100% + 10px); left: 18px; right: 18px; z-index: 50; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 22px 60px rgba(16,24,21,.16); } .topbar.mobile-nav-open nav { display: flex !important; } .topbar nav a { min-height: 44px; display: flex; white-space: normal; } .topbar .mobile-nav-toggle { display: inline-flex; } }
@media (max-width: 640px) { h1 { font-size: 40px; } h2 { font-size: 32px; } section { padding: 54px 0; } .cards.three, .tool-card-list, .guide-grid, .icon-grid, .focus-grid, .checklist { grid-template-columns: 1fr; } .footer-inner { grid-template-columns: 1fr; } .primary, .secondary { width: 100%; } .section-cta { justify-content: stretch; } .italia-panel { min-height: 450px; } .piazza-card { width: 165px; } .piazza-card.one { left: 18px; top: 28px; } .piazza-card.two { right: 18px; top: 92px; } .piazza-card.three { left: 18px; bottom: 74px; } .piazza-card.four { right: 18px; bottom: 24px; } .piazza-center { width: 145px; min-height: 145px; font-size: 14px; } }
