:root {
  --paper: #f7f5f0;
  --paper-deep: #eee9df;
  --white: #fffefa;
  --navy: #15263b;
  --navy-soft: #243b55;
  --ink-v2: #20252b;
  --muted-v2: #66707a;
  --terracotta: #b9603c;
  --sage: #748579;
  --line-v2: rgba(21, 38, 59, .13);
  --shadow-v2: 0 24px 60px -35px rgba(21, 38, 59, .45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-v2);
  font-family: 'Work Sans', sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0 0 .4em;
  color: var(--navy);
  font-family: 'Fraunces', serif;
  letter-spacing: -.01em;
}

p { margin: 0 0 1em; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
}

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

.topbar { position: sticky; top: 0; z-index: 30; padding: 14px 0; background: rgba(247,245,240,.94); border-bottom: 1px solid var(--line-v2); backdrop-filter: blur(14px); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); font-family: 'Fraunces', serif; font-size: 1.28rem; font-weight: 600; text-decoration: none; }
.brand-mark { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); }
.brand-mark svg { width: 18px; height: 18px; }
.topbar nav { display: flex; align-items: center; }
.topbar nav a { margin-left: 24px; color: var(--navy); font-size: .95rem; font-weight: 500; text-decoration: none; }
.topbar nav .nav-cta { padding: 10px 16px; border-radius: 999px; color: #fff; background: var(--navy); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 24px;
  border: 0;
  border-radius: 8px;
  appearance: none;
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
  font-size: .98rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.hero { padding: clamp(42px, 7vw, 88px) 0 clamp(58px, 8vw, 100px); }
.hero .wrap { grid-template-columns: 1.1fr .9fr; gap: clamp(38px, 7vw, 90px); }
.hero .eyebrow { color: var(--terracotta); background: transparent; padding: 0; letter-spacing: .12em; }
.hero h1 { max-width: 13ch; font-size: clamp(2.55rem, 5vw, 4.65rem); line-height: .98; letter-spacing: -.035em; }
.hero h1 em { color: var(--terracotta); }
.hero .lead { max-width: 54ch; font-size: 1.08rem; color: var(--muted-v2); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-soft); }
.btn-accent { background: var(--terracotta); }
.btn-accent:hover { background: #99472a; }
.btn-ghost { color: var(--navy); border-color: var(--line-v2); }
.trust-note { color: var(--muted-v2); }
.hero-art { min-height: 500px; display: grid; place-items: center; position: relative; }
.hero-art::before { content: ''; position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(185,96,60,.16), rgba(116,133,121,.08) 56%, transparent 57%); }
.hero-cover { position: relative; width: min(70%, 315px); border-radius: 5px 16px 16px 5px; box-shadow: 30px 38px 65px -28px rgba(21,38,59,.62); transform: perspective(900px) rotateY(-8deg) rotateZ(1.2deg); }

.editorial { padding: clamp(58px, 8vw, 96px) 0; background: var(--white); border-top: 1px solid var(--line-v2); border-bottom: 1px solid var(--line-v2); }
.editorial-grid { display: grid; grid-template-columns: minmax(260px,.82fr) minmax(0,1.18fr); gap: clamp(34px, 6vw, 78px); align-items: start; }
.video-placeholder { position: sticky; top: 104px; min-height: 520px; border-radius: 26px; overflow: hidden; display: flex; align-items: flex-end; padding: 24px; background: linear-gradient(155deg, #d8ddd8, #a7b1aa 55%, #6c7b72); box-shadow: var(--shadow-v2); }
.video-placeholder::before { content: ''; position: absolute; width: 70%; height: 75%; left: 15%; bottom: 0; border-radius: 46% 46% 10% 10%; background: linear-gradient(#eee7df, #263d55); opacity: .76; }
.video-play { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; padding: 9px 13px; border-radius: 999px; background: var(--white); color: var(--navy); font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.video-caption { position: relative; margin: 0; padding: 15px 16px; border-radius: 12px; color: var(--navy); background: rgba(255,254,250,.9); font-family: 'Fraunces',serif; font-size: 1.08rem; line-height: 1.35; }
.section-kicker { display: block; margin-bottom: 12px; color: var(--terracotta); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.editorial-copy h2, .registro h2 { font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.02; letter-spacing: -.025em; }
.editorial-intro { max-width: 55ch; color: var(--muted-v2); }
.article-list { margin-top: 35px; border-top: 1px solid var(--line-v2); }
.article-card { display: grid; grid-template-columns: 40px 1fr 28px; gap: 13px; padding: 24px 0; color: inherit; text-decoration: none; border-bottom: 1px solid var(--line-v2); }
.article-card:hover h3 { color: var(--terracotta); }
.article-number { color: var(--muted-v2); font-size: .82rem; padding-top: 5px; }
.article-card h3 { margin: 0 0 6px; font-size: 1.32rem; transition: color .15s ease; }
.article-card p { margin: 0; font-size: .92rem; color: var(--muted-v2); }
.article-arrow { color: var(--terracotta); font-size: 1.35rem; }

.how { background: var(--paper-deep); }
.step, .action-card { background: var(--white); border-color: var(--line-v2); box-shadow: none; }
.step-num { color: var(--terracotta); }
.actions { padding-top: 88px; }
.card-grid { grid-template-columns: 1fr 1fr .68fr; }
.action-card { min-height: 230px; }
.action-card[data-open='disattiva'] { background: transparent; }
.action-icon { background: rgba(116,133,121,.12); }

.book { padding: 96px 0; background: var(--white); }
.book .wrap { background: var(--navy); color: #fff; }
.book-copy h2, .book-price { color: #fff; }
.book-copy p, .book-copy li { color: rgba(255,255,255,.76); }
.book-copy .eyebrow { background: rgba(255,255,255,.1); color: #fff; }
.book-cover-img { border-radius: 5px 14px 14px 5px; box-shadow: 24px 32px 56px -25px #000; }

.registro { padding: clamp(70px, 9vw, 110px) 0; }
.registro-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; }
.coming { display: inline-flex; padding: 8px 13px; border-radius: 999px; background: rgba(185,96,60,.12); color: var(--terracotta); font-weight: 700; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; }
.document-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 42px; }
.document-card { min-height: 245px; padding: 28px; border-radius: 18px; background: var(--white); border: 1px solid var(--line-v2); }
.document-card span { color: var(--terracotta); font-family: 'Fraunces',serif; font-size: 1.45rem; }
.document-card h3 { margin-top: 45px; font-size: 1.3rem; }
.privacy-note { display: flex; gap: 13px; align-items: flex-start; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line-v2); color: var(--muted-v2); }
.privacy-note strong { color: var(--navy); }

footer { background: var(--navy); border: 0; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
footer .foot-brand { font-family: 'Fraunces', serif; font-weight: 600; }
footer .foot-links { display: flex; flex-wrap: wrap; gap: 22px; }
footer .foot-links a { font-size: .9rem; text-decoration: none; }
footer .foot-brand, footer .foot-links a { color: #fff; }
footer .foot-note { width: 100%; margin-top: 6px; color: rgba(255,255,255,.62); font-size: .82rem; }

@media (max-width: 900px) {
  .topbar nav a:not(.nav-cta) { display: none; }
  .topbar nav .nav-cta { display: inline-flex; margin-left: 0; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 330px; }
  .hero-cover { width: 175px; }
  .hero h1 { max-width: 15ch; }
  .editorial-grid { grid-template-columns: 1fr; }
  .video-placeholder { position: relative; top: auto; min-height: 500px; max-width: 360px; width: 100%; margin: 0 auto; }
  .card-grid, .document-grid { grid-template-columns: 1fr; }
  .action-card { min-height: auto; }
  .registro-head { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .topbar { padding: 10px 0; }
  .brand { font-size: 1.08rem; }
  .brand-mark { width: 30px; height: 30px; }
  .topbar nav .nav-cta { padding: 9px 12px; font-size: .82rem; }
  .hero { padding-top: 28px; }
  .hero-art { min-height: 285px; }
  .hero h1 { font-size: clamp(2.25rem, 11vw, 3.25rem); }
  .hero .lead { font-size: 1rem; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .editorial { padding: 64px 0; }
  .video-placeholder { min-height: 455px; }
  .article-card { grid-template-columns: 32px 1fr 20px; padding: 20px 0; }
  .article-card p { display: none; }
  .article-card h3 { font-size: 1.16rem; }
  .how, .actions, .book, .registro { padding-top: 64px; padding-bottom: 64px; }
  .book .wrap { border-radius: 0; margin: 0; width: 100%; padding: 42px 22px; }
  .book-cover-img { max-width: 180px; }
  .document-card { min-height: 210px; }
}
