/* Trainova — tema chiaro per le pagine generate dal vecchio tema scuro
   (pagine SEO, blog, legali, invito). Vedi tools/light_theme.py. */
@font-face { font-family: 'Syne'; font-weight: 700 800; font-display: swap; src: url('/assets/fonts/syne-700.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 400; font-display: swap; src: url('/assets/fonts/dm-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-display: swap; src: url('/assets/fonts/dm-sans-500.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 600 700; font-display: swap; src: url('/assets/fonts/dm-sans-700.woff2') format('woff2'); }
/* Le etichette in «DM Mono» del vecchio tema ora usano DM Sans, come il resto del sito */
@font-face { font-family: 'DM Mono'; font-weight: 400 500; font-display: swap; src: url('/assets/fonts/dm-sans-500.woff2') format('woff2'); }
@font-face { font-family: 'DM Mono'; font-weight: 600 800; font-display: swap; src: url('/assets/fonts/dm-sans-700.woff2') format('woff2'); }

html, body { background: #F5F5F2; color: #0A0A0A; }
::selection { background: #C8FF00; color: #0A0A0A; }
:focus-visible { outline: 3px solid #0A0A0A; outline-offset: 2px; }

/* Titoli in Syne Bold (l'Extra Bold era troppo largo) */
h1, h2, h3 { font-weight: 700 !important; }

/* Menu e pulsanti principali come nelle app: pillola nera */
.nav-cta, .cta-btn, .form-btn {
  background: #0A0A0A !important; color: #FFFFFF !important; border-color: #0A0A0A !important;
  border-radius: 999px !important;
}
.nav-cta:hover, .cta-btn:hover, .form-btn:hover { background: #262626 !important; }
.nav-brand { color: #0A0A0A !important; }
nav { border-bottom-color: #E4E4DE !important; }

/* Link in un testo lungo: sottolineati e neri */
article a:not([class]), .article-body a:not([class]), main p a:not([class]) { color: #0A0A0A; text-decoration-color: #C8FF00; text-decoration-thickness: 3px; text-underline-offset: 3px; }

/* Etichette/badge che erano verdi su scuro */
.article-tag, .tag, .badge, .pill { color: #0A0A0A !important; }

/* Menu: alcune pagine non stilizzavano i link */
.nav-links { gap: 22px; }
@media (max-width: 760px) { .nav-links { display: none !important; } }
.nav-links a { color: #3A3A3A; text-decoration: none; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: #0A0A0A; }

/* ── Allineamento allo stile nuovo del sito (home, beta, strumenti: assets/site.css) ── */
body { font-size: 17px; line-height: 1.6; }

/* Primo blocco delle pagine di presentazione: allineato a sinistra come la home */
.seo-hero { text-align: left !important; max-width: 780px !important; padding-top: 40px !important; padding-bottom: 56px !important; }
.seo-hero h1 { font-size: clamp(38px, 5.4vw, 64px) !important; line-height: 1.04 !important; letter-spacing: -0.02em; max-width: 900px; margin: 0 0 20px !important; }
.seo-hero p, .seo-hero .lead { text-align: left !important; margin-left: 0 !important; margin-right: 0 !important; max-width: 640px; }
.seo-hero .lead { font-size: 19px !important; color: #3A3A3A; }
h1 em, h2 em { font-style: normal !important; }

/* Pulsanti: pillola nera come nella home */
.cta-btn, .form-btn, .price-cta, .chat-cta-btn { display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px !important; font-size: 16px !important; font-weight: 700 !important; border-radius: 999px !important; text-decoration: none; }
.cs-link { border-radius: 999px !important; }

/* Schede: angoli morbidi e bordo come nella home */
.card, .c-card, .pain-card, .price-card, .stat-card, .who-card, .vs-card, .plan-card, .deep-card, .app-card, .article-card,
.faq-item, .verdict-box, .calc-box, .comparison-strip, .article-cta, .cta-inline, .inline-cta, .featured {
  border-radius: 24px !important;
}
.card, .c-card, .pain-card, .stat-card, .who-card, .vs-card, .deep-card, .app-card, .article-card, .faq-item, .featured { background: #FFFFFF; border: 1.5px solid #E4E4DE !important; }
.faq-item { border-radius: 18px !important; }

/* Etichette sopra i titoli: maiuscolo spaziato come la home */
.hero-label, .section-label, .eyebrow, .article-tag, .featured-badge { letter-spacing: 0.1em; font-weight: 700; }
@media (max-width: 640px) { .seo-hero h1 { font-size: 34px !important; } .seo-hero .lead { font-size: 17px !important; } }
/* Briciole di pane allineate alla colonna del testo */
.breadcrumb { max-width: 780px !important; }
.article-wrap .breadcrumb, article .breadcrumb { padding-left: 0 !important; padding-right: 0 !important; max-width: none !important; }
