:root {
  --navy: #091423;
  --navy-2: #111f31;
  --lime: #c9ff4a;
  --lime-soft: #e6ff9d;
  --coral: #ff6b57;
  --cream: #f4f2e9;
  --white: #fffef8;
  --ink: #101a24;
  --muted: #5e6871;
  --line: #d7d8cf;
  --shadow: 8px 8px 0 var(--navy);
  --radius: 22px;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  padding: 10px 16px; background: var(--lime); color: var(--navy); font-weight: 800;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(9, 20, 35, .94);
  color: var(--white); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(14px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 1.2rem; font-weight: 900; letter-spacing: -.04em; }
.brand-mark {
  display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px;
  background: var(--lime); color: var(--navy); font-size: .9rem; letter-spacing: -.08em;
  transform: rotate(-3deg);
}
.brand-bang { color: var(--coral); }
.brand-dot { color: var(--lime); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { text-decoration: none; font-size: .92rem; font-weight: 700; }
.main-nav a:not(.nav-pill):hover { color: var(--lime); }
.nav-pill { padding: 10px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; }
.nav-pill:hover { background: var(--lime); color: var(--navy); border-color: var(--lime); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: currentColor; }

.hero {
  position: relative; overflow: hidden; color: var(--white); background-color: var(--navy);
  background-image: linear-gradient(rgba(201,255,74,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(201,255,74,.055) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero-grid { min-height: 580px; display: grid; grid-template-columns: 1.08fr .82fr; align-items: center; gap: 68px; padding-block: 58px 66px; }
.eyebrow { margin: 0 0 18px; text-transform: uppercase; letter-spacing: .13em; font-size: .74rem; font-weight: 900; }
.eyebrow span { display: inline-block; width: 24px; height: 3px; margin-right: 8px; vertical-align: middle; background: var(--lime); }
.eyebrow-dark { color: var(--muted); }
.eyebrow-dark span { background: var(--coral); }
.hero h1 {
  max-width: 680px; margin: 0; font-size: clamp(3rem, 6vw, 5.75rem); line-height: .94;
  letter-spacing: -.075em; text-wrap: balance;
}
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-lead { max-width: 620px; margin: 22px 0 0; color: #c9d0d7; font-size: 1.08rem; }
.hero-search {
  max-width: 620px; min-height: 58px; display: flex; align-items: center; gap: 10px;
  margin-top: 28px; padding: 5px 5px 5px 16px; background: var(--white); border: 2px solid var(--navy);
  border-radius: 14px; box-shadow: 5px 5px 0 var(--coral);
}
.hero-search-icon { color: var(--navy); font-size: 1.45rem; font-weight: 950; }
.hero-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); }
.hero-search input::placeholder { color: #707981; opacity: 1; }
.hero-search button {
  align-self: stretch; display: inline-flex; align-items: center; gap: 15px; padding: 0 18px;
  border: 0; border-radius: 9px; background: var(--lime); color: var(--navy); cursor: pointer; font-weight: 900;
}
.hero-search button:hover { background: var(--coral); }
.hero-search:focus-within { outline: 3px solid rgba(201,255,74,.55); outline-offset: 3px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px;
  padding: 0 21px; border: 1px solid transparent; border-radius: 12px; text-decoration: none;
  font-size: .92rem; font-weight: 850; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: var(--navy); box-shadow: 4px 4px 0 var(--coral); }
.button-primary:hover { box-shadow: 6px 6px 0 var(--coral); }
.button-ghost { border-color: rgba(255,255,255,.26); color: var(--white); }
.button-ghost:hover { border-color: var(--white); }
.button-dark { background: var(--navy); color: var(--white); }
.trust-note { margin: 18px 0 0; color: #9eabb5; font-size: .82rem; }
.trust-note span { color: var(--lime); margin-right: 6px; }

.rescue-card {
  position: relative; padding: 26px; color: var(--ink); background: var(--white); border: 2px solid var(--navy);
  border-radius: var(--radius); box-shadow: 10px 10px 0 var(--lime); transform: rotate(1deg);
}
.rescue-card::before { content: ""; position: absolute; inset: 10px -12px -12px 10px; z-index: -1; border: 2px solid var(--coral); border-radius: inherit; }
.rescue-topline { display: flex; align-items: center; gap: 9px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(255,107,87,.14); }
.rescue-time { margin-left: auto; }
.rescue-card h2 { margin: 23px 0; font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.05; letter-spacing: -.05em; }
.rescue-list { list-style: none; padding: 0; margin: 0 0 21px; }
.rescue-list li { display: grid; grid-template-columns: 40px 1fr; align-items: start; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.rescue-list li > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--navy); color: var(--lime); font-size: .69rem; font-weight: 900; }
.rescue-list p { margin: 4px 0 0; color: var(--muted); font-size: .88rem; }
.rescue-list strong { color: var(--ink); }
.text-link, .card-link { font-size: .86rem; font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.text-link:hover, .card-link:hover { color: #4d6417; }
.signal { position: absolute; color: var(--coral); font-weight: 900; user-select: none; }
.signal-one { right: 3%; top: 12%; font-size: 4rem; transform: rotate(13deg); }
.signal-two { left: 3%; bottom: 2%; color: var(--lime); font-size: 5rem; transform: rotate(-8deg); }

.quick-strip { height: 18px; background: var(--lime); border-block: 2px solid var(--navy); }

.section { padding-block: 104px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.section-heading h2, .emergency-section h2, .manifesto-card h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.7rem); line-height: .98; letter-spacing: -.065em; }
.section-heading > p { max-width: 430px; margin: 0 0 4px; color: var(--muted); }
.guide-tools { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.guide-tools-filters { justify-content: flex-end; }
.search-box { min-width: min(100%, 430px); display: flex; align-items: center; gap: 10px; padding: 0 15px; background: var(--white); border: 2px solid var(--navy); border-radius: 12px; }
.search-box > span { font-size: 1.4rem; font-weight: 900; }
.search-box input { width: 100%; min-height: 49px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-button { padding: 9px 14px; border: 1px solid #b7bab5; border-radius: 999px; background: transparent; cursor: pointer; font-size: .8rem; font-weight: 800; }
.filter-button:hover, .filter-button.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.guide-card { min-height: 355px; display: flex; flex-direction: column; padding: 23px; background: var(--white); border: 2px solid var(--navy); border-radius: 18px; transition: transform .18s ease, box-shadow .18s ease; }
.guide-card:hover { transform: translateY(-5px); box-shadow: 6px 6px 0 var(--navy); }
.guide-card[hidden] { display: none; }
.guide-card-featured { background: var(--lime-soft); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.topic, .coming-soon, .reading-time { font-size: .66rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.topic { padding: 6px 9px; background: var(--navy); color: var(--white); border-radius: 999px; }
.topic-coral { background: var(--coral); color: var(--navy); }
.coming-soon, .reading-time { color: var(--muted); }
.card-icon { margin: 33px 0 22px; color: var(--coral); font-size: 2.5rem; font-weight: 950; line-height: 1; }
.guide-card h3 { margin: 0; font-size: 1.3rem; line-height: 1.12; letter-spacing: -.035em; }
.guide-card h3 a { text-decoration: none; }
.guide-card h3 a::after { content: ""; position: absolute; inset: 0; }
.guide-card { position: relative; }
.guide-card p { margin: 14px 0 22px; color: var(--muted); font-size: .88rem; }
.card-link { position: relative; z-index: 1; margin-top: auto; }
.no-results { padding: 28px; text-align: center; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

.emergency-section { color: var(--white); background: var(--navy); }
.emergency-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.emergency-section h2 { color: var(--lime); }
.emergency-copy > p { margin: 0 0 30px; color: #c7cfd5; font-size: 1.08rem; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; align-items: start; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.15); }
.check-list span { display: grid; place-items: center; flex: 0 0 25px; height: 25px; border-radius: 50%; background: var(--lime); color: var(--navy); font-size: .72rem; font-weight: 950; }

.manifesto-section { padding-block: 84px; }
.manifesto-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 38px; padding: 44px; background: var(--coral); border: 2px solid var(--navy); border-radius: 24px; box-shadow: var(--shadow); }
.manifesto-badge { display: flex; align-items: center; justify-content: center; width: 92px; height: 92px; background: var(--lime); border: 2px solid var(--navy); border-radius: 22px; font-size: 2rem; font-weight: 950; transform: rotate(-5deg); }
.manifesto-card h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
.manifesto-card p:not(.eyebrow) { max-width: 690px; margin: 14px 0 0; }

.site-footer { padding-block: 58px; color: #b9c1c8; background: #050c14; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; align-items: start; gap: 80px; }
.brand-footer { color: var(--white); }
.footer-grid > div:first-child > p { margin: 14px 0 0; font-size: .86rem; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { font-size: .85rem; text-decoration: none; }
.footer-links a:hover { color: var(--lime); }
.footer-note { margin: 0; text-align: right; font-size: .75rem; }

/* Pagine editoriali */
.page-hero { padding-block: 82px; color: var(--white); background: var(--navy); }
.page-hero .eyebrow { color: #b8c0c7; }
.page-hero h1 { max-width: 900px; margin: 0; font-size: clamp(3rem, 7vw, 6.4rem); line-height: .95; letter-spacing: -.07em; }
.page-hero p:last-child { max-width: 700px; margin: 24px 0 0; color: #c7cfd5; font-size: 1.12rem; }
.article-shell { width: min(calc(100% - 40px), 760px); margin-inline: auto; }
.article { padding-block: 72px 100px; }
.article-meta { display: flex; gap: 14px; margin-bottom: 32px; color: var(--muted); font-size: .78rem; font-weight: 750; }
.article h2 { margin: 58px 0 18px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.02; letter-spacing: -.05em; }
.article h3 { margin: 34px 0 10px; font-size: 1.35rem; letter-spacing: -.025em; }
.article p, .article li { font-size: 1.03rem; }
.article a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.article ol, .article ul { padding-left: 24px; }
.article li { margin: 9px 0; }
.article-intro { font-size: 1.18rem !important; font-weight: 650; }
.action-box { margin: 34px 0; padding: 25px; border: 2px solid var(--navy); border-radius: 18px; background: var(--lime-soft); box-shadow: 5px 5px 0 var(--navy); }
.action-box.warning { background: #ffe1dc; }
.action-box h2, .action-box h3 { margin-top: 0; }
.action-box p:last-child, .action-box ul:last-child { margin-bottom: 0; }
.decision-list { counter-reset: steps; list-style: none; padding: 0 !important; }
.decision-list > li { position: relative; padding: 20px 0 20px 55px; border-top: 1px solid var(--line); }
.decision-list > li::before { counter-increment: steps; content: counter(steps, decimal-leading-zero); position: absolute; left: 0; top: 21px; color: var(--coral); font-size: .78rem; font-weight: 950; }
.article-footer { margin-top: 65px; padding-top: 28px; border-top: 2px solid var(--navy); color: var(--muted); font-size: .85rem; }
.article-template-hero h1 { max-width: 980px; }
.template-note { margin-bottom: 28px; padding: 15px 18px; border-left: 5px solid var(--coral); background: #fff0ed; color: var(--navy); font-size: .9rem; }
.article-meta-wrap { flex-wrap: wrap; }
.article-summary { margin: 34px 0; padding: 30px; border-radius: 20px; background: var(--navy); color: var(--white); }
.article-summary h2 { margin: 5px 0 14px; color: var(--white); }
.article-summary p:last-child { margin-bottom: 0; color: #d6dde2; }
.article-summary-label { margin: 0; color: var(--lime); font-size: .72rem !important; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.verification-strip { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; margin: 28px 0 54px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; }
.verification-strip p { margin: 0; font-size: .9rem; }
.verification-badge { display: inline-flex; align-items: center; padding: 7px 11px; border-radius: 999px; background: var(--lime); color: var(--navy); font-size: .7rem; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; }
.placeholder-copy { padding-left: 20px; border-left: 3px solid var(--line); color: #354153; }
.signal-list { list-style: none; padding: 0 !important; }
.signal-list li { margin: 0; padding: 18px 0; border-top: 1px solid var(--line); }
.signal-list li:last-child { border-bottom: 1px solid var(--line); }
.sources-section { margin-top: 70px; padding-top: 34px; border-top: 2px solid var(--navy); }
.sources-section h2 { margin-top: 14px; }
.source-list { display: grid; gap: 12px; margin-top: 24px; }
.source-item { display: grid; gap: 5px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.source-item span { color: var(--coral); font-size: .7rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.source-item small { color: var(--muted); }
.corrections-box { margin-top: 32px; padding: 24px; border: 2px dashed var(--navy); border-radius: 16px; }
.corrections-box h2 { margin-top: 0; font-size: 1.55rem; }
.corrections-box p { margin-bottom: 0; }
.article-report-cta { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; margin-top: 60px; padding: 30px; border-radius: 20px; background: var(--lime-soft); }
.article-report-cta h2 { margin: 10px 0 12px; }
.article-report-cta p:last-child { margin-bottom: 0; }
.prose-page { padding-block: 82px 110px; }
.prose-page h1 { margin: 0 0 24px; font-size: clamp(3rem, 7vw, 5.8rem); line-height: .95; letter-spacing: -.07em; }
.prose-page h2 { margin: 48px 0 14px; font-size: 1.8rem; letter-spacing: -.04em; }
.prose-page p, .prose-page li { max-width: 750px; }
.prose-page a { font-weight: 750; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose-page a:hover { color: #4d6417; }
.identity-card {
  margin: 38px 0 60px; padding: 28px 30px; background: var(--lime-soft);
  border: 2px solid var(--navy); border-radius: 18px; box-shadow: 6px 6px 0 var(--coral);
}
.identity-card-label {
  margin: 0 0 7px; color: var(--muted); font-size: .7rem; font-weight: 900;
  letter-spacing: .1em; text-transform: uppercase;
}
.identity-card p:last-child { margin: 0; font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 900; line-height: 1.12; letter-spacing: -.04em; }
.principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 25px 0 56px; }
.principle-card { padding: 24px; background: var(--white); border: 2px solid var(--navy); border-radius: 16px; }
.principle-number { margin: 0 0 25px; color: var(--coral); font-size: .75rem; font-weight: 950; letter-spacing: .08em; }
.principle-card h3 { margin: 0 0 9px; font-size: 1.15rem; letter-spacing: -.03em; }
.principle-card p:last-child { margin: 0; color: var(--muted); font-size: .9rem; }
.page-updated { margin-top: 46px; padding-top: 18px; color: var(--muted); border-top: 1px solid var(--line); font-size: .78rem; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin: 42px 0 60px; }
.contact-card {
  display: flex; flex-direction: column; min-height: 285px; padding: 27px; color: inherit; background: var(--white);
  border: 2px solid var(--navy); border-radius: 18px; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.contact-card:hover { color: inherit; transform: translateY(-4px); box-shadow: 6px 6px 0 var(--navy); }
.contact-card:focus-visible { outline: 4px solid var(--coral); outline-offset: 4px; }
.contact-card-featured { background: var(--lime-soft); box-shadow: 5px 5px 0 var(--coral); }
.contact-card-featured:hover { box-shadow: 7px 7px 0 var(--coral); }
.contact-kicker { margin: 0 0 26px; color: var(--coral); font-size: .7rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.contact-card h2 { margin: 0 0 10px; font-size: 1.4rem; line-height: 1.08; }
.contact-card p:not(.contact-kicker) { margin: 0 0 25px; color: var(--muted); font-size: .9rem; }
.contact-address { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; overflow-wrap: anywhere; font-weight: 800; }
.contact-address span { color: var(--coral); font-size: 1.35rem; }
.report-page { background: var(--cream); }
.report-intro { padding: 78px 0 34px; }
.report-intro h1 { margin: 0 0 24px; font-size: clamp(3rem, 7vw, 5.8rem); line-height: .95; letter-spacing: -.07em; }
.report-safety-note { margin-top: 28px; padding: 18px 20px; background: #ffe1dc; border-left: 5px solid var(--coral); border-radius: 10px; }
.report-form-section { padding: 20px 0 60px; }
.report-form-shell { width: min(calc(100% - 28px), 820px); margin-inline: auto; padding: 22px; background: var(--cream); border: 2px solid var(--navy); border-radius: 22px; box-shadow: 8px 8px 0 var(--navy); }
.report-form-shell iframe { display: block; min-height: 400px; }
.form-fallback { margin: 18px 0 0; text-align: center; color: var(--muted); font-size: .8rem; }
.form-fallback a { font-weight: 800; }
.report-after { padding-bottom: 100px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .rescue-card { max-width: 620px; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto-card { grid-template-columns: auto 1fr; }
  .manifesto-card .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 720px) {
  .shell, .article-shell { width: min(calc(100% - 28px), var(--shell)); }
  .header-inner { min-height: 66px; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; left: 14px; right: 14px; top: 72px; align-items: stretch;
    padding: 18px; background: var(--navy-2); border: 1px solid rgba(255,255,255,.14); border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0,0,0,.35);
  }
  .main-nav.is-open { display: grid; gap: 5px; }
  .main-nav a { padding: 11px; }
  .hero-grid { min-height: auto; padding-block: 48px 58px; }
  .hero h1 { font-size: clamp(2.85rem, 14vw, 4.5rem); }
  .hero-lead { font-size: 1rem; }
  .hero-search { padding-left: 12px; }
  .hero-search button { padding-inline: 14px; }
  .rescue-card { transform: none; }
  .section { padding-block: 75px; }
  .section-heading, .guide-tools { align-items: stretch; flex-direction: column; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 315px; }
  .emergency-grid { grid-template-columns: 1fr; gap: 42px; }
  .manifesto-card { grid-template-columns: 1fr; padding: 30px; }
  .manifesto-card .button { grid-column: auto; justify-self: stretch; }
  .manifesto-badge { width: 72px; height: 72px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-note { text-align: left; }
  .page-hero { padding-block: 62px; }
  .article { padding-block: 52px 76px; }
  .verification-strip, .article-report-cta { grid-template-columns: 1fr; }
  .article-report-cta .button { justify-self: start; }
  .principles-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .identity-card { padding: 23px; }
  .report-intro { padding-top: 58px; }
  .report-form-shell { padding: 8px; box-shadow: 5px 5px 0 var(--navy); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
