/* Press by MoliseWow · demo TTG 2026
   Design system: inchiostro, carta, un solo accento. Griglia a 8px. Nessuna dipendenza esterna. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-latin-wght-normal.woff2) format("woff2-variations"), url(fonts/inter-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Fallback con metriche allineate a Inter: lo swap del font non sposta il layout */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22.4%;
  line-gap-override: 0%;
}

:root {
  --ink: #0F1B2D;
  --ink-2: #39455A;
  --ink-3: #5B6577;
  --paper: #FBFAF7;
  --surface: #FFFFFF;
  --sunk: #F4F2EC;
  --line: #E7E3DA;
  --line-2: #D5CFC2;
  --accent: #9E4426;
  --accent-hover: #833720;
  --focus: #2B5CB8;

  --good: #2F6246;  --good-bg: #EDF2EE;
  --warn: #75561A;  --warn-bg: #F5F0E3;
  --bad: #8E3A2F;   --bad-bg: #F6EAE7;
  --neutral: #4F596A; --neutral-bg: #F0EEE9;

  --primary: var(--ink);
  --text-muted: var(--ink-3);

  --font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --r-sm: 6px;
  --r: 8px;
  --r-lg: 12px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .04);
  --ease: cubic-bezier(.2, .6, .2, 1);
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--font);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
img, svg { display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.hidden { display: none !important; }
.muted { color: var(--ink-3); }
.text-center { text-align: center; }
.w-full, .btn-full { width: 100%; }
.max-w-md { max-width: 720px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ---------- Header ---------- */
.top-nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 250, 247, .96);
  border-bottom: 1px solid var(--line);
}
.nav-container {
  max-width: var(--max); margin: 0 auto; padding: 0 16px;
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
@media (min-width: 768px) { .nav-container { padding: 0 32px; } }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; min-height: 44px; }
.brand-logo { width: 28px; height: 28px; border-radius: 7px; background: var(--ink); display: grid; place-items: center; color: var(--paper); }
.brand-logo .icon-logo { width: 18px; height: 18px; }
.brand-name { font-weight: 650; font-size: 1.0625rem; letter-spacing: -.01em; }
.brand-sub { font-weight: 450; color: var(--ink-3); font-size: .875rem; letter-spacing: 0; }
@media (max-width: 420px) { .brand-sub { display: none; } }
.nav-actions { display: flex; align-items: center; gap: 8px; }

.status-badge {
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 12px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--surface);
  width: 184px; overflow: hidden;
  font-size: .8125rem; color: var(--ink-2); white-space: nowrap;
}
.status-badge .status-text { overflow: hidden; text-overflow: ellipsis; }
.status-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.status-badge.status-live .dot { background: var(--good); }
.status-badge.status-offline .dot { background: var(--warn); }

.lang-switch { display: flex; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.lang-btn {
  min-width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  font-size: .8125rem; font-weight: 550; color: var(--ink-3);
}
.lang-btn + .lang-btn { border-left: 1px solid var(--line); }
.lang-btn.active { color: var(--ink); background: var(--sunk); }

/* ---------- Tipografia ---------- */
.eyebrow { font-size: .8125rem; font-weight: 550; color: var(--ink-3); letter-spacing: .02em; margin-bottom: 8px; }
.section-title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); line-height: 1.2; font-weight: 620; letter-spacing: -.02em; }
.section-desc { margin-top: 8px; color: var(--ink-2); max-width: 60ch; }
.section-head { margin-bottom: 32px; }
.card-title { font-size: 1.5rem; line-height: 1.25; font-weight: 620; letter-spacing: -.015em; }
.card-desc { margin-top: 8px; color: var(--ink-2); }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: var(--r);
  border: 1px solid transparent; background: transparent;
  font-size: .9375rem; font-weight: 560; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary, .btn-outline { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-secondary:hover, .btn-outline:hover { border-color: var(--ink-3); }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 1rem; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .875rem; }
.btn.copied { background: var(--good); }

/* ---------- Hero ---------- */
.hero-section { padding: 48px 0 56px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-section { padding: 96px 0; } .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 64px; } }
.hero-pill { font-size: .8125rem; font-weight: 550; color: var(--ink-3); margin-bottom: 16px; }
.hero-title {
  font-size: clamp(2.125rem, 1.4rem + 3.4vw, 3.5rem); line-height: 1.06; font-weight: 640; letter-spacing: -.035em;
  max-width: 16ch; text-wrap: balance;
}
.hero-subtitle { margin-top: 24px; font-size: 1.125rem; line-height: 1.6; color: var(--ink-2); max-width: 54ch; }
.hero-cta-group { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) { .hero-cta-group .btn { width: 100%; } }

.hero-aside { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }
.aside-kicker { font-size: .8125rem; color: var(--ink-3); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.aside-list { list-style: none; padding: 0; }
.aside-list li { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.aside-list strong { display: block; font-size: .9375rem; }
.aside-list small { display: block; font-size: .8125rem; color: var(--ink-3); }
.aside-code { font: 600 .75rem/1 var(--mono); letter-spacing: .04em; border: 1px solid var(--line-2); border-radius: var(--r-sm); height: 28px; display: grid; place-items: center; color: var(--ink-2); }
.aside-judge { font-size: .8125rem; font-weight: 550; color: var(--good); }
.aside-foot { padding-top: 16px; font-size: .875rem; color: var(--ink-2); }

/* ---------- Sezioni ---------- */
.simulator-section, .results-section, .campaign-section, .integrations-section, .lead-section { padding: 64px 0; }
@media (min-width: 960px) { .simulator-section, .results-section, .campaign-section, .integrations-section, .lead-section { padding: 96px 0; } }
.results-section, .campaign-section { border-top: 1px solid var(--line); }
.integrations-section { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }

/* ---------- Form ---------- */
.form-card { padding: 0; }
.step-card { padding: 24px 16px; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .step-card { padding: 32px; } }
.step-header { display: flex; gap: 16px; margin-bottom: 24px; }
.step-badge { font: 600 .8125rem/1 var(--mono); color: var(--ink-3); padding-top: 6px; letter-spacing: .02em; }
.step-title { font-size: 1.125rem; font-weight: 620; letter-spacing: -.01em; line-height: 1.35; }
.step-subtitle { margin-top: 4px; font-size: .9375rem; color: var(--ink-3); }

.grid-2 { display: grid; gap: 16px; }
.grid-2 + .grid-2, .grid-2 + .form-group, .form-group + .grid-2, .form-group + .form-group, .form-group + .form-submit { margin-top: 16px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 24px; } }
.form-group { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fieldset { border: 0; margin: 0; padding: 0; }
label, .label { font-size: .875rem; font-weight: 550; color: var(--ink); padding: 0; }
.form-input, .form-select {
  width: 100%; min-height: 48px; padding: 0 14px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r);
  font-size: 1rem; color: var(--ink);
  transition: border-color .15s var(--ease);
}
.form-input::placeholder { color: #7A8291; }
.form-input:hover, .form-select:hover { border-color: var(--ink-3); }
.form-input:focus, .form-select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(15, 27, 45, .12); }
.form-select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6577' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.date-range-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.date-range-row input { min-width: 0; }
.date-sep { color: var(--ink-3); }

.slider-group { margin-top: 24px; }
.slider-header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.slider-val { font-variant-numeric: tabular-nums; font-weight: 600; font-size: .9375rem; }
.form-range { width: 100%; height: 44px; margin: 0; accent-color: var(--ink); cursor: pointer; }

.chips-container { display: flex; flex-wrap: wrap; gap: 8px; min-height: 104px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: var(--r);
  border: 1px solid var(--line-2); background: var(--surface);
  font-size: .9375rem; color: var(--ink-2); cursor: pointer; user-select: none;
  transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.chip:hover { border-color: var(--ink-3); }
.chip.active { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.chip.active::before {
  content: ""; width: 16px; height: 16px; margin-left: -4px; background: currentColor;
  -webkit-mask: var(--m-check) center / contain no-repeat; mask: var(--m-check) center / contain no-repeat;
}

.form-submit-hero { padding: 24px 16px; background: var(--sunk); border-radius: 0 0 var(--r-lg) var(--r-lg); }
@media (min-width: 768px) { .form-submit-hero { padding: 24px 32px; display: flex; justify-content: flex-end; } }
.btn-hero-cta { width: 100%; min-height: 56px; font-size: 1.0625rem; }
@media (min-width: 768px) { .btn-hero-cta { width: auto; padding: 0 32px; } }

.spinner {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--line-2); border-top-color: var(--ink);
  animation: spin .9s linear infinite;
}
.spinner-sm { width: 18px; height: 18px; border-color: rgba(255,255,255,.4); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Icone CSS per testi impostati via textContent ---------- */
:root {
  --m-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --m-flag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 20.5v-16M5.5 4.5h11l-2 4 2 4h-11'/%3E%3C/svg%3E");
  --m-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E");
  --m-cal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E");
  --m-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

/* ---------- Risultati ---------- */
.inventory-banner {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px; margin-bottom: 48px;
  background: var(--ink); color: var(--paper); border-radius: var(--r-lg);
}
.inventory-icon { width: 44px; height: 44px; border-radius: var(--r); border: 1px solid rgba(251,250,247,.25); display: grid; place-items: center; flex: none; }
.inventory-icon .icon { width: 22px; height: 22px; }
.inventory-headline { font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem); line-height: 1.3; font-weight: 560; letter-spacing: -.015em; }
.inventory-headline strong { font-weight: 700; font-variant-numeric: tabular-nums; }
.inventory-sub { margin-top: 8px; color: #C9CED6; font-size: .9375rem; }

.results-header { margin-bottom: 24px; }
.opportunities-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .opportunities-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

.opp-card {
  display: flex; flex-direction: column; gap: 16px; min-width: 0;
  padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.opp-card.best-rank { border-color: var(--ink); }
.opp-header-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; }
.opp-country-wrap { display: flex; align-items: center; gap: 12px; min-width: 0; }
.opp-flag { font: 600 .75rem/1 var(--mono); letter-spacing: .04em; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 8px 6px; flex: none; }
.opp-country { white-space: nowrap; font-size: 1.25rem; font-weight: 620; letter-spacing: -.015em; line-height: 1.25; }

.opp-label-badge {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  font-size: .8125rem; font-weight: 560; padding: 4px 10px; border-radius: var(--r-sm); white-space: nowrap;
}
.opp-label-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.label-green { color: var(--good); background: var(--good-bg); }
.label-amber { color: var(--warn); background: var(--warn-bg); }
.label-gray { color: var(--neutral); background: var(--neutral-bg); }

.opp-timing-row { display: flex; flex-direction: column; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.opp-holiday-tag, .opp-timing-badge, .opp-launch-tag { position: relative; padding-left: 28px; font-size: .875rem; line-height: 1.45; color: var(--ink-2); }
.opp-holiday-tag { color: var(--ink); font-weight: 560; }
.opp-holiday-tag::before, .opp-timing-badge::before, .opp-launch-tag::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; background: var(--ink-3);
  -webkit-mask: var(--m-flag) center / contain no-repeat; mask: var(--m-flag) center / contain no-repeat;
}
.opp-timing-badge::before { -webkit-mask-image: var(--m-clock); mask-image: var(--m-clock); }
.opp-launch-tag::before { -webkit-mask-image: var(--m-cal); mask-image: var(--m-cal); }

.opp-summary-text { font-size: 1rem; line-height: 1.55; }
.opp-checklist { list-style: none; padding: 0; display: grid; gap: 8px; }
.opp-checklist li { display: flex; gap: 10px; font-size: .9375rem; color: var(--ink-2); line-height: 1.5; }
.opp-checklist .check-icon {
  flex: none; width: 18px; height: 18px; margin-top: 2px; background: var(--good);
  -webkit-mask: var(--m-check) center / contain no-repeat; mask: var(--m-check) center / contain no-repeat;
}
.btn-generate-camp { margin-top: auto; }

.opp-details-wrapper { border-top: 1px solid var(--line); padding-top: 8px; }
.btn-toggle-details {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer;
  font-size: .875rem; font-weight: 550; color: var(--ink-2);
}
.btn-toggle-details:hover { color: var(--ink); }
.toggle-arrow {
  width: 18px; height: 18px; background: currentColor; transition: transform .2s var(--ease);
  -webkit-mask: var(--m-chev) center / contain no-repeat; mask: var(--m-chev) center / contain no-repeat;
}
.btn-toggle-details:has(+ .opp-tech-details:not(.collapsed)) .toggle-arrow { transform: rotate(180deg); }
.opp-tech-details { display: grid; gap: 12px; padding: 8px 0 4px; }
.opp-tech-details.collapsed { display: none; }
.tech-score-row { display: flex; align-items: center; gap: 12px; font-size: .875rem; color: var(--ink-3); }
.score-badge { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: var(--r-sm); }
.score-badge .num { font-size: 1.125rem; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--ink); }
.score-badge .lbl { font-size: .75rem; color: var(--ink-3); }
.opp-headline { font-weight: 600; font-size: .9375rem; }
.opp-reason { font-size: .875rem; color: var(--ink-2); }
.factors-list { display: grid; gap: 12px; }
.factor-item { display: grid; gap: 6px; }
.factor-info { display: flex; justify-content: space-between; gap: 12px; font-size: .8125rem; color: var(--ink-2); }
.factor-info span:last-child { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 560; }
.factor-bar-bg { height: 4px; background: var(--sunk); border-radius: 2px; overflow: hidden; }
.factor-bar-fill { height: 100%; background: var(--ink-2); border-radius: 2px; }

/* ---------- Campagna ---------- */
.campaign-intro { margin-bottom: 32px; }
.studio-loader { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 64px 16px; text-align: center; }
.loader-text { color: var(--ink-2); font-size: .9375rem; min-height: 1.5em; }

.campaign-card { overflow: hidden; }
.campaign-header {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px; border-bottom: 1px solid var(--line);
}
@media (min-width: 768px) { .campaign-header { padding: 20px 24px; } }
.campaign-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: .875rem; color: var(--ink-2); }
.market-pill { font-weight: 620; color: var(--ink); font-size: 1rem; }
.status-pill { color: var(--good); }
.campaign-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 480px) { .campaign-actions { width: 100%; } .campaign-actions .btn { flex: 1; } }

.channel-tabs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line); background: var(--surface);
}
@media (min-width: 640px) { .channel-tabs { display: flex; gap: 4px; padding: 0 16px; } }
.tab-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; min-width: 0;
  min-height: 48px; padding: 0 12px; border: 0; background: transparent; cursor: pointer;
  font-size: .875rem; font-weight: 550; color: var(--ink-3); white-space: nowrap;
  box-shadow: inset 0 -2px 0 transparent;
}
.tab-btn .icon { width: 16px; height: 16px; }
@media (max-width: 639px) { .tab-btn { padding: 0 4px; font-size: .8125rem; } .tab-btn .icon { display: none; } }
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }

.tab-panels { padding: 16px; background: var(--paper); }
@media (min-width: 768px) { .tab-panels { padding: 24px; } }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.preview-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; overflow-wrap: anywhere; }
@media (min-width: 768px) { .preview-box { padding: 32px; } }
.meta-info-box {
  display: grid; gap: 4px; padding: 12px 16px; margin-bottom: 24px;
  background: var(--sunk); border-radius: var(--r); font-size: .8125rem; color: var(--ink-2); font-family: var(--mono);
}
.meta-title-tag { color: var(--ink); font-weight: 600; }

.landing-content, .blog-content { max-width: 68ch; font-size: 1rem; line-height: 1.65; }
.landing-content h1, .blog-content h1 { font-size: 1.625rem; line-height: 1.2; font-weight: 640; letter-spacing: -.02em; margin-bottom: 16px; }
.landing-content h2, .blog-content h2 { font-size: 1.1875rem; font-weight: 620; margin: 24px 0 8px; letter-spacing: -.01em; }
.landing-content h3, .blog-content h3 { font-size: 1rem; font-weight: 620; margin: 16px 0 8px; }
.landing-content p, .blog-content p { margin: 0 0 12px; color: var(--ink-2); }
.landing-content ul, .blog-content ul, .landing-content ol, .blog-content ol { margin: 0 0 12px; padding-left: 20px; color: var(--ink-2); }
.landing-content li, .blog-content li { margin-bottom: 4px; }
.landing-content a, .blog-content a { color: var(--accent); }
.landing-content .presssys-cta { display: none; }
.preview-box > h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 620; letter-spacing: -.015em; }

.cta-preview-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  background: var(--accent); color: #fff; border-radius: var(--r); font-weight: 560; text-decoration: none;
}
.cta-preview-btn.disabled { background: var(--neutral-bg); color: var(--ink-2); border: 1px dashed var(--line-2); cursor: not-allowed; }

.social-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .social-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.social-channel-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; min-width: 0; }
.social-channel-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .9375rem; }
.badge-channel { font-size: .75rem; font-weight: 500; color: var(--ink-3); }
.social-body { padding: 16px; display: grid; gap: 12px; overflow-wrap: anywhere; }
.visual-prompt-box { font-size: .8125rem; color: var(--ink-3); padding: 12px; background: var(--sunk); border-radius: var(--r); }
.caption-text { font-size: .9375rem; line-height: 1.6; white-space: pre-line; }
.hashtags-list { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.hashtag { font-size: .875rem; color: var(--ink-2); font-weight: 550; }

.reel-hook-box { padding: 16px; border-left: 2px solid var(--ink); background: var(--sunk); border-radius: 0 var(--r) var(--r) 0; font-size: .9375rem; }
.reel-mood-box { margin-top: 12px; font-size: .875rem; color: var(--ink-3); }
.reel-timeline { margin-top: 24px; display: grid; }
.timeline-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.timeline-sec { font: 600 .8125rem/1.6 var(--mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.timeline-desc { font-size: .9375rem; display: grid; gap: 4px; min-width: 0; }
.timeline-overlay { font-size: .8125rem; color: var(--ink-3); }

.snippets-container { display: grid; gap: 16px; }
.snippet-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); min-width: 0; }
.snippet-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 4px 4px 16px; border-bottom: 1px solid var(--line); }
.snippet-title { font-size: .8125rem; font-weight: 600; }
.btn-copy-snippet { min-height: 44px; min-width: 44px; padding: 0 12px; border: 0; background: transparent; border-radius: var(--r-sm); cursor: pointer; font-size: .8125rem; font-weight: 560; color: var(--ink-2); }
.btn-copy-snippet:hover { background: var(--sunk); color: var(--ink); }
.btn-copy-snippet.copied { color: var(--good); }
.snippet-code { margin: 0; padding: 16px; overflow-x: auto; background: var(--ink); color: #E6E8EC; font: .8125rem/1.6 var(--mono); }

.notice { padding: 20px; border-radius: var(--r-lg); border: 1px solid; }
.notice p + p { margin-top: 4px; }
.notice-title { font-weight: 620; }
.notice-error { color: var(--bad); background: var(--bad-bg); border-color: #E8CFC9; }
.offline-unsupported-box h3 { font-size: 1.125rem; margin-bottom: 8px; }
.empty-note { padding: 24px 16px; text-align: center; }

/* ---------- Integrazioni ---------- */
.section-intro { max-width: 640px; }
.integrations-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 640px) { .integrations-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .integrations-grid { grid-template-columns: repeat(3, 1fr); } }
.integ-card { background: var(--surface); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.integ-icon { width: 24px; height: 24px; color: var(--ink); margin-bottom: 8px; }
.integ-card h3 { font-size: 1rem; font-weight: 620; }
.integ-card p { font-size: .9375rem; color: var(--ink-2); flex: 1; }
.integ-tag { margin-top: 8px; font-size: .8125rem; color: var(--ink-3); font-family: var(--mono); }

/* ---------- Lead ---------- */
.lead-card { padding: 24px 16px; }
@media (min-width: 768px) { .lead-card { padding: 40px; } }
.lead-header { margin-bottom: 32px; }
.checkbox-label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--ink-2); font-size: .875rem; line-height: 1.5; cursor: pointer; min-height: 44px; padding-top: 2px; }
.checkbox-label input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--ink); }
.form-submit { margin-top: 24px; }
.feedback-msg { margin-top: 16px; padding: 12px 16px; border-radius: var(--r); font-size: .9375rem; border: 1px solid; }
.feedback-msg.success { color: var(--good); background: var(--good-bg); border-color: #CFDDD3; }
.feedback-msg.error { color: var(--bad); background: var(--bad-bg); border-color: #E8CFC9; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: .875rem; color: var(--ink-2); }
.footer-content { display: grid; gap: 8px; }
.footer a { color: var(--ink-2); text-underline-offset: 3px; display: inline-block; padding: 12px 0; }
@media (min-width: 768px) { .footer-content { grid-template-columns: 1fr auto; align-items: center; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .spinner { animation-duration: 2.4s; }
}

/* ---------- Revisione P0: navigazione, missione, fatti, CTA ---------- */
.nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; font-size: .875rem; font-weight: 550; color: var(--ink-2); text-decoration: none; }
.nav-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hero-note { margin-top: 16px; font-size: .875rem; color: var(--ink-3); max-width: 54ch; }
.optional { font-size: .75rem; font-weight: 500; color: var(--ink-3); margin-left: 8px; letter-spacing: 0; }
.aside-list li { grid-template-columns: 28px 1fr; }
.aside-code { width: 28px; }

.mission {
  display: grid; gap: 24px; margin-bottom: 48px; padding: 24px;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--neutral); border-radius: var(--r-lg);
}
@media (min-width: 900px) { .mission { grid-template-columns: 1.4fr 1fr; padding: 32px; } .mission-assumptions { grid-column: 1 / -1; } }
.mission.verdict-consigliata { border-left-color: var(--good); }
.mission.verdict-da-valutare { border-left-color: var(--warn); }
.mission.verdict-sconsigliata { border-left-color: var(--bad); }
.mission-kicker { font-size: .8125rem; color: var(--ink-3); font-weight: 550; }
.mission-verdict { margin-top: 8px; font-size: .9375rem; font-weight: 650; color: var(--neutral); }
.verdict-consigliata .mission-verdict { color: var(--good); }
.verdict-da-valutare .mission-verdict { color: var(--warn); }
.verdict-sconsigliata .mission-verdict { color: var(--bad); }
.mission-headline { margin-top: 4px; font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem); line-height: 1.25; font-weight: 640; letter-spacing: -.02em; }
.mission-note { margin-top: 12px; padding: 12px 16px; background: var(--bad-bg); color: var(--bad); border-radius: var(--r); font-size: .9375rem; font-weight: 520; }
.mission-reasons { margin-top: 16px; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); font-size: .9375rem; }
.mission-figures { margin: 0; display: grid; gap: 0; align-content: start; border-top: 1px solid var(--line); }
.mission-figures div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mission-figures dt { font-size: .875rem; color: var(--ink-3); }
.mission-figures dd { margin: 0; font-size: 1.125rem; font-weight: 640; font-variant-numeric: tabular-nums; }
.mission-assumptions { font-size: .875rem; color: var(--ink-3); }
.mission-assumptions summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 550; color: var(--ink-2); }
.mission-assumptions ul { padding-left: 20px; display: grid; gap: 4px; }

.opp-season-tag, .opp-timing-badge { position: relative; padding-left: 28px; font-size: .875rem; line-height: 1.45; color: var(--ink-2); }
.opp-season-tag::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; background: var(--ink-3);
  -webkit-mask: var(--m-cal) center / contain no-repeat; mask: var(--m-cal) center / contain no-repeat;
}
.opp-timing-badge.phase-open { color: var(--good); font-weight: 550; }
.opp-timing-badge.phase-open::before { background: var(--good); }
.opp-timing-badge.phase-late { color: var(--bad); font-weight: 550; }
.opp-timing-badge.phase-late::before { background: var(--bad); }

.opp-facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: .875rem; padding: 12px; background: var(--sunk); border-radius: var(--r); }
.opp-facts dt { color: var(--ink-3); }
.opp-facts dd { margin: 0; color: var(--ink); }
.factor-source { font-size: .75rem; color: var(--ink-3); }

.camp-facts { display: grid; gap: 16px; padding: 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
@media (min-width: 640px) { .camp-facts { grid-template-columns: 1fr 1fr; padding: 16px 24px; } }
.camp-fact-title { font-size: .8125rem; color: var(--ink-3); font-weight: 550; }
.camp-fact-list { margin-top: 4px; font-size: .9375rem; }

.campaign-cta { display: grid; gap: 16px; align-items: center; padding: 24px 16px; border-top: 1px solid var(--line); background: var(--surface); }
@media (min-width: 768px) { .campaign-cta { grid-template-columns: 1fr auto; padding: 24px; } }
.campaign-cta-title { font-weight: 620; font-size: 1.0625rem; }
.campaign-cta-desc { margin-top: 4px; font-size: .9375rem; color: var(--ink-2); }
.campaign-cta .btn { width: 100%; }
@media (min-width: 768px) { .campaign-cta .btn { width: auto; } }

.lead-context { margin-bottom: 24px; padding: 12px 16px; background: var(--sunk); border-radius: var(--r); font-size: .9375rem; color: var(--ink); }

.partner-head { display: grid; gap: 24px; margin-bottom: 32px; align-items: end; }
@media (min-width: 900px) { .partner-head { grid-template-columns: 1fr auto; } }
.partner-status { display: flex; align-items: center; gap: 12px; font-size: .8125rem; color: var(--ink-3); }
.partner-foot { margin-top: 24px; font-size: .875rem; color: var(--ink-2); }
.partner-foot a { color: var(--ink); text-underline-offset: 3px; display: inline-block; padding: 12px 0; }
