/* Stile condiviso delle pagine interne. Deriva da index.html: tenere allineato. */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,340;0,9..144,440;0,9..144,560;0,9..144,650;1,9..144,440;1,9..144,560&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');
:root {
  /* palette brand: #649dad #85b2bf #4d8291 #a7c7d0 #e6e6e6 #ffffff */
  --ink: #1f3640;
  --ink-soft: #46606b;
  --paper: #ffffff;
  --paper-raised: color-mix(in srgb, #a7c7d0 26%, #ffffff);
  --paper-card: color-mix(in srgb, #a7c7d0 10%, #ffffff);
  --line: #e6e6e6;
  --amber: #4d8291;
  --amber-soft: #649dad;
  --teal: #4d8291;
  --teal-soft: #649dad;
  --brand-deep: #3f6c7a;
  --shadow: 0 1px 0 rgba(31, 54, 64, .05);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  padding-inline: 20px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}

.eyebrow {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-soft);
}

.measure {
  max-width: 62ch;
}

p {
  line-height: 1.65;
  color: var(--ink-soft);
}

.wrap {
  max-width: 1120px;
  margin-inline: auto;
}

section {
  padding-block: 72px;
}

@media (max-width:720px) {
  section {
    padding-block: 52px;
  }
}
/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: .82rem;
  letter-spacing: .03em;
  padding: .85rem 1.3rem;
  border-radius: 3px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--teal);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--teal-soft);
  color: var(--teal-soft);
}

.btn-on-dark {
  border-color: rgba(255, 255, 255, .6);
  color: #ffffff;
}

.btn-on-dark:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, .14);
}

.btn-arrow {
  transition: transform .15s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}
/* ---------- header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1120px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
}

.brand-name {
  font-family: 'Fraunces', serif;
  font-weight: 560;
  font-size: 1.05rem;
  color: var(--ink);
}

.navlinks {
  display: flex;
  gap: 1.6rem;
  font-size: .88rem;
}

.navlinks a {
  text-decoration: none;
  color: var(--ink-soft);
}

.navlinks a:hover {
  color: var(--teal);
}

@media (max-width:760px) {
  .navlinks {
    display: none;
  }
}
/* ---------- alt band ---------- */
.band {
  background: var(--paper-raised);
  border-block: 1px solid var(--line);
}

.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}

.head-row h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  margin-top: .4rem;
}
/* ---------- rate table ---------- */
.rate-group+.rate-group {
  margin-top: 2.2rem;
}

.rate-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
}

.rate-table th,
.rate-table td {
  text-align: left;
  padding: .7rem .95rem;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
  background: var(--paper-card);
}

.rate-table th {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  background: var(--paper-raised);
}

.rate-table td:last-child,
.rate-table th:last-child {
  text-align: right;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--amber);
  white-space: nowrap;
}

.rate-table tbody tr:last-child td {
  border-bottom: none;
}
/* ---------- cta band ---------- */
.cta-dark {
  background: linear-gradient(155deg, #4d8291, var(--brand-deep) 70%);
  color: #ffffff;
  border-radius: 14px;
  margin-inline: auto;
  padding: 3.2rem 2.4rem;
  text-align: center;
  max-width: 1120px;
  position: relative;
  overflow: hidden;
}

.cta-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(480px 220px at 18% 0%, color-mix(in srgb, #a7c7d0 32%, transparent), transparent 60%),
    radial-gradient(480px 220px at 82% 100%, color-mix(in srgb, #85b2bf 38%, transparent), transparent 60%);
  pointer-events: none;
}

.cta-dark>* {
  position: relative;
}

.cta-dark h2 {
  color: #ffffff;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: .7rem;
}

.cta-dark p {
  color: #e6e6e6;
  margin-inline: auto;
}

.cta-dark .btn-primary {
  background: #ffffff;
  color: var(--brand-deep);
}

.cta-dark .btn-primary:hover {
  background: #e6e6e6;
}

.cta-dark .hero-actions {
  justify-content: center;
  margin-top: 1.8rem;
}
/* ---------- footer ---------- */
footer {
  padding-block: 56px 40px;
  border-top: 1px solid var(--line);
}

.foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.foot-claim {
  max-width: 38ch;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
}

.foot-cols {
  display: flex;
  gap: 3.2rem;
  flex-wrap: wrap;
}

.foot-col h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 .7rem;
}

.foot-col a,
.foot-col span {
  display: block;
  font-size: .9rem;
  color: var(--ink-soft);
  text-decoration: none;
  margin-bottom: .5rem;
}

.foot-col a:hover {
  color: var(--teal);
}

.foot-bottom {
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: .8rem;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .6rem;
}
/* ---------- pagine interne ---------- */
.page-hero { padding-top: 56px; padding-bottom: 24px; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.1; margin-top: .6rem; }
.page-hero h1 em { color: var(--teal); }
.page-hero .lead { margin-top: 1.1rem; font-size: 1.05rem; }
.crumbs { font-size: .8rem; color: var(--ink-soft); margin: 0 0 1.4rem; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--teal); }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.8rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width:760px) { .two-col { grid-template-columns: 1fr; } }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 1.6rem; line-height: 1.6; color: var(--ink-soft); }
.check-list li::before { content: ''; position: absolute; left: 0; top: .55em; width: .65rem; height: .65rem; border-radius: 50%; background: var(--teal-soft); }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0 0 .8rem; }
.prose p { margin: 0 0 1rem; }
.faq details { border: 1px solid var(--line); border-radius: 8px; padding: .9rem 1.1rem; background: var(--paper-card); }
.faq details + details { margin-top: .7rem; }
.faq summary { cursor: pointer; font-weight: 500; color: var(--ink); }
.faq details p { margin: .7rem 0 0; }
.related { display: flex; flex-wrap: wrap; gap: .6rem; }
.related a { border: 1px solid var(--line); border-radius: 3px; padding: .55rem .9rem; font-size: .88rem; text-decoration: none; color: var(--ink); }
.related a:hover { border-color: var(--teal-soft); color: var(--teal); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.4rem; margin: 0; }
.facts dt { font-family: 'IBM Plex Mono', monospace; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); padding-top: .2rem; }
.facts dd { margin: 0; color: var(--ink); }
