/* Identità ripristinata dalla landing precedente a 96e4382 (base 702351f).
   Stili pubblici del pilota: nessuna dipendenza dal prototipo Anamnesi. */
:root {
  --forest: #123f35;
  --ink: #173f35;
  --paper: #fff9ef;
  --white: #fff;
  --gold: #f4c44e;
  --muted: #52635c;
  --line: #c9d3ca;
  --soft: #edf1eb;
  --terra: #9d3d27;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 18px;
  line-height: 1.6;
  color-scheme: light;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body,
h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}
body {
  min-height: 100vh;
  padding-bottom: var(--cookie-space, 0px);
  -webkit-font-smoothing: antialiased;
}
html {
  scroll-padding-block: 1.5rem calc(var(--cookie-space, 0px) + 1.5rem);
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
h1,
h2,
h3 {
  line-height: 1.13;
  text-wrap: balance;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.025em;
}
p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 5px;
  border-radius: 3px;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -8rem;
  z-index: 100;
  background: var(--white);
  padding: 0.7rem 1rem;
}
.skip-link:focus {
  top: 0.5rem;
}
.shell {
  width: min(1184px, calc(100% - 32px));
  margin-inline: auto;
}
.eyebrow,
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terra);
  flex-shrink: 0;
}
.hero {
  padding-block: 2.6rem 3rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: start;
  gap: 3rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  max-width: 20ch;
  margin-bottom: 1.4rem;
}
.hero h1 em {
  color: var(--terra);
  font-weight: 700;
}
.lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 51ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.7rem;
  align-items: center;
}
.cta,
.cta-outline {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0.75rem 1.2rem;
  border: 2px solid var(--forest);
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
  transition:
    background 0.15s,
    color 0.15s;
}
.cta {
  background: var(--forest);
  color: white;
}
.cta:hover {
  background: #205747;
}
.cta-outline {
  background: transparent;
  color: var(--forest);
}
.cta-outline:hover {
  background: var(--soft);
}
.hero-hint {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 0.8rem;
  max-width: 54ch;
}
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
}
.hero-image {
  width: 100%;
  height: auto;
  max-width: 520px;
  border-radius: 10px;
  display: block;
  position: relative;
  z-index: 1;
  box-shadow:
    0 2px 8px #173f351a,
    0 8px 32px #173f3510,
    0 0 0 1px #c9d3ca,
    0 0 0 4px #fff9ef,
    0 0 0 5px #d9e1d5;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto;
  top: 8px;
  left: 6px;
  right: -4px;
  bottom: -4px;
  background: #173f3508;
  border-radius: 12px;
  z-index: 0;
  filter: blur(6px);
}
.principle-strip {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-block: 1px solid var(--line);
  padding: 1.05rem 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.principle-strip span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.principle-strip span::before {
  content: "";
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: var(--terra);
  flex-shrink: 0;
}
.section {
  padding-block: 3.2rem;
}
.section-head {
  max-width: 700px;
  margin-bottom: 2rem;
}
.section-title {
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  margin-bottom: 1rem;
}
.section-intro {
  color: var(--muted);
  max-width: 65ch;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
.step-card {
  position: relative;
  padding: 1.7rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: box-shadow .2s ease, transform .2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .step-card:hover {
    box-shadow: 0 10px 24px rgba(18,63,53,.11);
    transform: translateY(-3px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .step-card {
    transition: none;
  }
}
.step-num {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.2rem;
}
.step-num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line) 0%, transparent 100%);
}
.step-num span {
  font:
    400 1.4rem Georgia,
    serif;
  color: var(--terra);
  line-height: 1;
}
.step-card h3,
.audience-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}
.step-card p,
.audience-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}
.section-line {
  border-top: 1px solid var(--line);
}
.two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.audience-card {
  padding: 1.5rem 0;
  border-top: 2px solid var(--forest);
}
.audience-card .hero-visual {
  margin-inline: auto;
}
.audience-label {
  font-size: 0.7rem;
  color: var(--terra);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.note {
  border-left: 3px solid var(--gold);
  padding: 0.1rem 0 0.1rem 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 1.5rem;
}
.project-callout {
  background: var(--forest);
  color: var(--paper);
  padding: 3rem;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.project-callout .section-label {
  color: #c4d3c7;
}
.project-callout h2 {
  font-size: clamp(2rem, 3.1vw, 2.7rem);
}
.project-callout p {
  color: #e0e8e0;
  font-size: 0.95rem;
}
.text-link {
  font-size: 0.88rem;
  font-weight: 650;
  display: inline-block;
  padding-block: 0.5rem;
}
.project-callout .text-link {
  color: var(--gold);
}
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.7rem;
}
.status-grid article {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.status-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.7rem;
}
.status-grid h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}
.status-grid p {
  font-size: 0.86rem;
  color: var(--muted);
}
.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding-block: 2.8rem;
}
.closing .section-title {
  font-size: 2rem;
}
.closing p {
  max-width: 65ch;
  font-size: 0.92rem;
  color: var(--muted);
}
.closing .cta {
  flex-shrink: 0;
}
.disclaimer {
  color: var(--muted);
  font-size: 0.77rem;
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 2.6rem;
  line-height: 1.7;
}
.disclaimer strong {
  color: var(--ink);
}
/* Pagina progetto: una proposta leggibile e verificabile. */
.project-hero {
  padding: 4rem 0 3rem;
  max-width: 950px;
}
.project-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  max-width: 21ch;
  margin-bottom: 1.5rem;
}
.project-hero .lead {
  max-width: 68ch;
}
.project-summary {
  padding: 1.4rem 1.7rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.9rem;
  margin-top: 2rem;
  max-width: 85ch;
}
.project-summary strong {
  display: block;
  margin-bottom: 0.3rem;
}
.page-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.3rem;
  padding: 1rem 0;
  border-block: 1px solid var(--line);
  font-size: 0.79rem;
}
.page-index a {
  min-height: 40px;
  display: flex;
  align-items: center;
}
.editorial-section {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: 4rem;
  padding: 3.6rem 0;
  border-bottom: 1px solid var(--line);
}
.editorial-section h2 {
  font-size: 2.2rem;
  max-width: 18ch;
}
.editorial-body {
  min-width: 0;
}
.editorial-body p {
  color: var(--muted);
  font-size: 0.96rem;
}
.editorial-body strong {
  color: var(--ink);
}
.editorial-body h3 {
  font-size: 1rem;
  margin: 1.6rem 0 0.65rem;
}
.editorial-body h3:first-child {
  margin-top: 0;
}
.commitments {
  display: grid;
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  counter-reset: commitment;
}
.commitments li {
  position: relative;
  padding-left: 2.7rem;
  counter-increment: commitment;
  color: var(--muted);
  font-size: 0.92rem;
}
.commitments li::before {
  content: "0" counter(commitment);
  position: absolute;
  left: 0;
  top: 0;
  font:
    1.3rem Georgia,
    serif;
  color: var(--terra);
}
.commitments strong {
  display: block;
  margin-bottom: 0.3rem;
}
.project-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.87rem;
}
.project-table th,
.project-table td {
  padding: 0.9rem 0.7rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.project-table th {
  font-weight: 650;
  color: var(--ink);
  background: var(--soft);
}
.project-table td {
  color: var(--muted);
}
.project-table td:first-child {
  font-weight: 600;
  color: var(--ink);
  width: 35%;
}
.plain-list {
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.plain-list li {
  padding-left: 0.2rem;
  margin-bottom: 0.7rem;
}
.project-contact {
  background: var(--soft);
  padding: 2.3rem;
  border-radius: 8px;
  margin-block: 3rem;
}
.project-contact h2 {
  font-size: 2.1rem;
  margin-bottom: 1rem;
}
.project-contact p {
  max-width: 75ch;
  color: var(--muted);
}
.project-contact .hero-actions {
  margin-top: 1rem;
}
.project-contact .hero-hint {
  margin-top: 1rem;
}
/* Footer e informative: accessibili anche senza JavaScript. */
footer {
  background: var(--forest);
  color: #e3eae4;
  padding: 2.25rem 0 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem 1.25rem;
}
.footer-brand p {
  font-size: 0.8rem;
  max-width: 30ch;
  margin-top: 0.8rem;
}
.footer-group h2 {
  font:
    650 0.68rem system-ui,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.footer-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-group a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 0.76rem;
  line-height: 1.35;
  text-decoration: none;
}
.footer-group a:hover {
  text-decoration: underline;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 36px;
  padding: 0.35rem 0.65rem;
  border: 1px solid #48665b;
  border-radius: 999px;
  color: #e3eae4;
  font-size: 0.75rem;
  line-height: 1.2;
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease;
}
.social-link svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}
.social-link:hover {
  border-color: var(--gold);
  background: #ffffff0d;
  color: var(--white);
  text-decoration: none;
}
.social-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.footer-bottom {
  border-top: 1px solid #48665b;
  padding-top: 0.8rem;
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  justify-content: space-between;
  font-size: 0.68rem;
  line-height: 1.5;
  color: #d1ddd3;
}
.footer-bottom p {
  margin: 0;
}
footer :focus-visible {
  outline-color: var(--gold);
}
.legal-notices {
  width: min(1000px, calc(100% - 3rem));
  margin: 1.5rem auto;
}
.legal-notices details {
  margin: 1rem 0;
}
.has-policy-dialogs .legal-notices {
  display: none;
}
.policy-dialog {
  width: min(680px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  background: var(--paper);
  color: var(--ink);
  margin: auto;
  overflow-y: auto;
}
.policy-dialog::backdrop {
  background: #0b211dcc;
}
.policy-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.policy-head h2 {
  font-size: 1.7rem;
}
.policy-close {
  min-width: 44px;
  min-height: 44px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
}
.policy-copy {
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}
.policy-copy h3 {
  font-size: 1rem;
  margin: 1.2rem 0 0.4rem;
}
.policy-copy ul {
  padding-left: 1.3rem;
}
.policy-copy p {
  margin: 0.6rem 0;
}
.policy-date {
  font-size: 0.7rem;
  color: var(--muted);
}
.cookie-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 50;
  background: var(--white);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -6px 28px #123f3510;
  padding: 1rem max(1.25rem, calc((100% - 1160px) / 2))
    max(1rem, env(safe-area-inset-bottom));
}
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.cookie-copy {
  flex: 1;
  min-width: 0;
}
.cookie-copy h2 {
  font:
    650 0.9rem system-ui,
    sans-serif;
  margin-bottom: 0.25rem;
}
.cookie-copy p {
  font-size: 0.75rem;
  line-height: 1.5;
  margin: 0;
  color: var(--muted);
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  flex: 0 0 auto;
}
.cookie-actions .cta,
.cookie-actions .cta-outline {
  font-size: 0.75rem;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
}
@media (max-width: 950px) {
  .hero {
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .editorial-section {
    gap: 2rem;
  }
  .project-callout {
    gap: 2rem;
    padding: 2rem;
  }
  .hero h1 {
    font-size: 3rem;
  }
}
@media (max-width: 700px) {
  :root {
    font-size: 16px;
  }
  .shell {
    width: calc(100% - 32px);
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 2.3rem;
    padding-block: 2.5rem 2rem;
  }
  .hero h1 {
    font-size: clamp(1.9rem, 7.7vw, 2.5rem);
    max-width: 17ch;
  }
  .lead {
    font-size: 1.05rem;
  }
  .hero-visual {
    max-width: 520px;
    width: 100%;
  }
  .principle-strip {
    flex-wrap: wrap;
    gap: 0.5rem 1.2rem;
    font-size: 0.75rem;
  }
  .section {
    padding-block: 2.8rem;
  }
  .steps,
  .status-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .step-card {
    padding: 1.3rem;
  }
  .step-num {
    margin-bottom: .8rem;
  }
  .step-card:hover {
    box-shadow: none;
  }
  .section-title {
    font-size: 2.1rem;
  }
  .two-columns {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .project-callout {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 1.8rem;
  }
  .closing {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .closing .section-title {
    font-size: 1.9rem;
  }
  .project-hero {
    padding-block: 2.5rem;
  }
  .project-hero h1 {
    font-size: clamp(2rem, 7.7vw, 2.65rem);
  }
  .project-summary {
    padding: 1.2rem;
  }
  .editorial-section {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding-block: 2.7rem;
  }
  .editorial-section h2 {
    font-size: 2rem;
    max-width: 25ch;
  }
  .project-table th,
  .project-table td {
    padding: 0.8rem 0.4rem;
    font-size: 0.8rem;
    overflow-wrap: anywhere;
  }
  .project-contact {
    padding: 1.5rem;
  }
  .project-contact h2 {
    font-size: 1.9rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-group:last-child {
    grid-column: 1/-1;
  }
  .cookie-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 0.75rem;
  }
  .cookie-actions > * {
    flex: 1;
    justify-content: center;
  }
  .policy-dialog {
    padding: 1.1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media print {
  .page-index,
  .hero-actions,
  .cookie-banner,
  footer,
  .legal-notices,
  .skip-link {
    display: none !important;
  }
  body {
    background: white;
    padding: 0;
  }
  .shell {
    width: 100%;
  }
  .project-hero {
    padding-top: 0;
  }
  .editorial-section {
    break-inside: avoid;
    padding: 1.5rem 0;
  }
  .project-contact {
    background: none;
    border: 1px solid #aaa;
  }
  a {
    color: inherit;
  }
  h1 {
    font-size: 2.5rem !important;
  }
}
.hero .hero-actions .cta,
.hero .hero-actions .cta-outline {
  font-size: 0.95rem;
}
