/* Benvelia site — self-hosted fonts (SIL OFL 1.1). No Google Fonts / third-party requests. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/fraunces-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/fraunces-latin-700-normal.woff2") format("woff2"); }

:root {
  --sage: #8FA58C;
  --cream: #F6F1E7;
  --terracotta: #C9734F;
  --anthracite: #2F3437;
  --sand: #E3D3B6;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(47, 52, 55, 0.08);
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--anthracite);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(143, 165, 140, 0.25), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(201, 115, 79, 0.12), transparent 55%),
    var(--cream);
  line-height: 1.55;
}

a { color: var(--terracotta); }
a:hover { filter: brightness(0.92); }

.wrap {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.banner-nl {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px dashed var(--terracotta);
  background: rgba(201, 115, 79, 0.1);
  font-size: 0.9rem;
  text-align: center;
}
.banner-nl strong { color: var(--anthracite); }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--sage), #6f8a6c);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 600;
}
.nav a { text-decoration: none; color: var(--anthracite); }
.nav a:hover { color: var(--terracotta); }
.nav .lang { color: var(--terracotta); }

.hero {
  margin-bottom: 2rem;
}
.hero h1 {
  margin: 0 0 0.6rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.15;
}
.hero .lede {
  margin: 0 0 1.25rem;
  max-width: 40rem;
  color: #4a5154;
  font-size: 1.05rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
}
.btn-primary:hover { color: var(--white); filter: brightness(0.96); }
.btn-secondary {
  background: var(--white);
  color: var(--anthracite);
  border-color: var(--sand);
}
.btn-secondary:hover { color: var(--anthracite); }
.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.section { margin: 2.25rem 0; }
.section h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.45rem;
}
.section .intro {
  margin: 0 0 1.15rem;
  color: #556065;
  max-width: 40rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 800px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}
.card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
}
.card p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: #4a5154;
}
.card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(143, 165, 140, 0.2);
  color: var(--anthracite);
  margin-bottom: 0.55rem;
}
.card .tag.soon {
  background: rgba(201, 115, 79, 0.15);
}
.card .tag.wait {
  background: rgba(227, 211, 182, 0.55);
}

.note {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--sand);
  background: rgba(143, 165, 140, 0.12);
  font-size: 0.9rem;
}

.footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sand);
  font-size: 0.85rem;
  color: #6a7276;
  text-align: center;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.75rem;
}
.footer a { color: #556065; text-decoration: none; font-weight: 600; }
.footer a:hover { color: var(--terracotta); }

.form-stub {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed var(--sand);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.6);
}
.form-stub label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.form-stub input[type="email"] {
  width: 100%;
  max-width: 22rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--sand);
  border-radius: 10px;
  font: inherit;
  background: var(--cream);
  color: var(--anthracite);
  margin-bottom: 0.65rem;
}
.form-stub .hint {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: #667075;
}

.tools-list { list-style: none; padding: 0; margin: 0; }
.tools-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--sand);
}
.tools-list li:last-child { border-bottom: 0; }
.tools-list .num {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--sage);
  min-width: 1.5rem;
}
.tools-list a { font-weight: 600; text-decoration: none; }
.tools-list .desc { color: #556065; font-size: 0.92rem; flex: 1 1 12rem; }

/* Classes replacing inline style attributes (14/10/2026) so pages work under CSP style-src 'self'. */
.tools-list .tool-name { font-weight: 600; }
.muted-small { color: #778085; font-size: 0.9rem; }

/* Ex stili inline (CSP style-src 'self'), 14/10/2026 */
.muted-small { color: #778085; font-size: 0.9rem; }
.list-plain { margin: 0; padding-left: 1.2rem; color: #4a5154; }
.mt-1 { margin-top: 1rem; }
.h1-sub { font-size: 0.55em; font-weight: 600; color: #667075; }
.page-404 { text-align: center; padding: 3rem 0; }
.cin-reminder { color: #778085; font-size: 0.9rem; margin: 0.5rem 0 1rem; }

/* Passo 9 (30/10/2026): riga dati legali nel footer + pagina informativa privacy */
.legal-line {
  margin: 0.75rem auto 0;
  max-width: 60rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #6a7276;
  text-align: center;
}
.legal-line a { color: #556065; font-weight: 600; }
.legal { max-width: 52rem; }
.legal h2 { margin-top: 2rem; font-size: 1.35rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.92rem; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid rgba(0, 0, 0, 0.12); padding: 0.5rem 0.6rem; vertical-align: top; text-align: left; }
.legal th { background: rgba(143, 165, 140, 0.18); }
.legal blockquote { margin: 1rem 0; padding: 0.6rem 1rem; border-left: 4px solid #8FA58C; background: rgba(143, 165, 140, 0.10); }
.legal hr { border: 0; border-top: 1px solid rgba(0, 0, 0, 0.1); margin: 1.5rem 0; }
.legal-version { font-size: 0.85rem; color: #6a7276; }
@media print { .legal-line { display: none; } .legal table { display: table; } }
