/* =========================================================================
   123 PDF Editor PRO — shared stylesheet
   Design tokens: ink / brand-blue / trust-emerald / paper
   Type: Poppins (display) + Inter (body) + JetBrains Mono (data)
   ========================================================================= */

:root {
  --ink:        #101828;
  --ink-soft:   #344054;
  --muted:      #5a6474;
  --brand:      #2f5bea;
  --brand-deep: #1d3fb0;
  --brand-wash: #eef2ff;
  --trust:      #0ea472;
  --trust-deep: #05704f;
  --trust-wash: #e7f6ef;
  --paper:      #f6f7fb;
  --white:      #ffffff;
  --line:       #e4e7ec;
  --line-soft:  #eef0f4;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.05);
  --shadow-md: 0 10px 24px -12px rgba(16,24,40,.28);
  --shadow-lg: 0 40px 70px -30px rgba(29,63,176,.45);

  --wrap: 1160px;
  --font-display: "Poppins", system-ui, -apple-system, Segoe UI, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--brand-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.02em;
  font-weight: 600;
}

p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.eyebrow.on-trust { color: var(--trust-deep); }
.eyebrow.on-trust::before { background: var(--trust); }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(47,91,234,.7);
}
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-2px); }
.btn-trust {
  background: var(--trust);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(14,164,114,.7);
}
.btn-trust:hover { background: var(--trust-deep); transform: translateY(-2px); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: #cfd4dd; transform: translateY(-2px); }
.btn-lg { padding: 18px 32px; font-size: 17px; border-radius: 14px; }
.btn-block { width: 100%; }

.btn-chrome-mark {
  width: 20px; height: 20px; border-radius: 50%;
  background:
    conic-gradient(from -30deg, #ea4335 0 120deg, #fbbc05 0 240deg, #34a853 0 360deg);
  position: relative;
  flex: 0 0 auto;
}
.btn-chrome-mark::after {
  content: ""; position: absolute; inset: 6px;
  background: #fff; border-radius: 50%;
  box-shadow: inset 0 0 0 2px #4285f4;
}

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;          /* il marchio non deve restringersi... */
  white-space: nowrap;     /* ...né andare a capo */
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.02em;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto; }
.brand .pro {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #fff;
  background: var(--brand);
  padding: 3px 7px;
  border-radius: 6px;
  transform: translateY(-1px);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  list-style: none;
  padding: 0; margin-right: 0;
}
.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 15.5px;
  padding: 9px 13px;
  border-radius: 9px;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--paper); text-decoration: none; }
.nav-links a.active { color: var(--brand-deep); background: var(--brand-wash); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 44px; height: 42px;
  flex: 0 0 auto;
  font-size: 20px;
  cursor: pointer;
  color: var(--ink);
}
/* Cloned header buttons: visible only inside the open mobile menu. */
.nav-mobile-cta { display: none; }

/* =========================================================================
   Sections
   ========================================================================= */
.section { padding: 88px 0; }
.section-tight { padding: 60px 0; }
.section-paper { background: var(--paper); }
.section-ink { background: var(--ink); color: #cdd5e4; }
.section-ink h1, .section-ink h2, .section-ink h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  padding: 76px 0 96px;
  background:
    radial-gradient(1200px 520px at 78% -10%, rgba(47,91,234,.10), transparent 60%),
    radial-gradient(900px 420px at 5% 8%, rgba(14,164,114,.08), transparent 55%),
    var(--white);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--brand); }
.hero-lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 30px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0; margin: 0;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero-trust .tick {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--trust-wash);
  color: var(--trust-deep);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  flex: 0 0 auto;
}

/* ---------- Browser-frame screenshot (SIGNATURE element) ---------- */
.shot {
  position: relative;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f2f4f8;
  border-bottom: 1px solid var(--line);
}
.shot-dots { display: flex; gap: 6px; }
.shot-dots i { width: 11px; height: 11px; border-radius: 50%; background: #d3d8e0; display: block; }
.shot-dots i:nth-child(1){ background:#ff5f57; }
.shot-dots i:nth-child(2){ background:#febc2e; }
.shot-dots i:nth-child(3){ background:#28c840; }
.shot-url {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #6b7480;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  display: flex; align-items: center; gap: 8px;
  min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.shot-url::before { content: "🔒"; font-size: 11px; }
.shot img { width: 100%; display: block; }
.local-pill {
  position: absolute;
  bottom: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(5,112,79,.95);
  color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 20px -8px rgba(5,112,79,.6);
  backdrop-filter: blur(4px);
}
.local-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #6ee7b7; box-shadow: 0 0 0 4px rgba(110,231,183,.3);
}

/* =========================================================================
   Logo / trust strip
   ========================================================================= */
.spec-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.spec-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.spec {
  display: flex;
  align-items: center;
  gap: 12px;
}
.spec .spec-ico {
  width: 40px; height: 40px; border-radius: 11px;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 19px;
  flex: 0 0 auto;
}
.spec strong { display: block; font-family: var(--font-display); font-size: 15px; color: var(--ink); }
.spec span { font-size: 13px; color: var(--muted); }

/* =========================================================================
   Feature rows (alternating image / text)
   ========================================================================= */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature-row + .feature-row { margin-top: 88px; }
.feature-row.reverse .feature-media { order: 2; }
.feature-row.reverse .feature-copy { order: 1; }
.feature-copy h3 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 14px; }
.feature-copy > p { color: var(--muted); font-size: 17px; }
.feature-list {
  list-style: none;
  padding: 0; margin: 18px 0 0;
  display: grid; gap: 12px;
}
.feature-list li {
  position: relative; padding-left: 33px;
  font-size: 15.5px; color: var(--ink-soft);
}
.feature-list .tick {
  position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--brand-wash); color: var(--brand-deep);
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
  flex: 0 0 auto;
}

/* =========================================================================
   Privacy band (signature moment)
   ========================================================================= */
.privacy-band { background: var(--trust-wash); border-top: 1px solid #cdeadd; border-bottom: 1px solid #cdeadd; }
.privacy-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.privacy-grid h2 { font-size: clamp(26px, 3.6vw, 38px); color: var(--trust-deep); }
.privacy-grid p { color: #22503f; font-size: 18px; }
.privacy-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.privacy-points li { position: relative; padding-left: 36px; font-weight: 500; color: #1c4736; }
.privacy-points .tick {
  position: absolute; left: 0; top: 2px;
  width: 24px; height: 24px; border-radius: 7px; background: var(--trust); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: 0 0 auto;
}
.privacy-visual {
  background: #fff;
  border: 1px solid #cdeadd;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 30px 60px -30px rgba(5,112,79,.4);
}
.flow {
  display: grid; gap: 14px;
}
.flow-step {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
}
.flow-step .n {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--trust); color: #fff; font-weight: 700;
  display: grid; place-items: center; font-size: 14px; flex: 0 0 auto;
}
.flow-step strong { display: block; font-size: 15px; }
.flow-step span { font-size: 13.5px; color: var(--muted); }
.flow-cross {
  text-align: center; font-size: 13px; color: var(--trust-deep); font-weight: 600;
  padding: 6px 0;
}

/* =========================================================================
   Capability grid
   ========================================================================= */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.cap:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d3d8e2; }
.cap-ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--brand-wash); color: var(--brand-deep);
  display: grid; place-items: center; font-size: 22px; margin-bottom: 16px;
}
.cap h3 { font-size: 18px; margin-bottom: 8px; }
.cap p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* =========================================================================
   Comparison table (Free vs PRO)
   ========================================================================= */
.compare {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: 15.5px; }
.compare thead th { font-family: var(--font-display); font-size: 16px; }
.compare thead th:nth-child(2), .compare td:nth-child(2) { text-align: center; }
.compare thead th:nth-child(3), .compare td:nth-child(3) { text-align: center; background: var(--brand-wash); }
.compare thead th:nth-child(3) { color: var(--brand-deep); }
.compare tbody td:first-child { color: var(--ink-soft); font-weight: 500; }
.compare .yes { color: var(--trust-deep); font-weight: 700; }
.compare .no  { color: #b0b7c3; }
.compare tr:last-child td { border-bottom: none; }

/* =========================================================================
   CTA band
   ========================================================================= */
.cta-band {
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(47,91,234,.35), transparent 60%),
    radial-gradient(600px 320px at 90% 120%, rgba(14,164,114,.28), transparent 60%),
    var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 12px; }
.cta-band p { color: #c3ccdd; font-size: 18px; max-width: 560px; margin: 0 auto 26px; }
.cta-band .hero-cta { justify-content: center; margin-bottom: 0; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
  background: var(--ink);
  color: #93a0b8;
  padding: 56px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand img { filter: none; }
.footer-about { font-size: 14.5px; color: #93a0b8; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: #93a0b8; font-size: 14.5px; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid #26324a;
  padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 13.5px; color: #7c8aa4;
}
.footer-bottom .badge-local {
  display: inline-flex; align-items: center; gap: 8px;
  color: #6ee7b7; font-weight: 600;
}
.footer-bottom .badge-local .dot { width: 8px; height: 8px; border-radius: 50%; background: #6ee7b7; }

/* =========================================================================
   Tutorial page
   ========================================================================= */
.doc-hero {
  background:
    radial-gradient(900px 380px at 85% -20%, rgba(47,91,234,.10), transparent 60%),
    var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 60px 0 52px;
}
.doc-hero h1 { font-size: clamp(30px, 4.2vw, 46px); }
.doc-hero p { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0; }

.doc-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 52px;
  align-items: start;
  padding: 56px 0 90px;
}
.doc-toc {
  position: sticky;
  top: 88px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.doc-toc strong {
  display: block; font-family: var(--font-display); font-size: 13px;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px;
}
.doc-toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.doc-toc a {
  display: block; padding: 7px 10px; border-radius: 8px;
  font-size: 14px; color: var(--ink-soft); font-weight: 500;
  border-left: 2px solid transparent;
}
.doc-toc a:hover { background: var(--paper); color: var(--ink); text-decoration: none; }

.doc-body { min-width: 0; }
.doc-section { scroll-margin-top: 90px; padding-bottom: 46px; margin-bottom: 46px; border-bottom: 1px solid var(--line-soft); }
.doc-section:last-child { border-bottom: none; }
.doc-section > h2 {
  font-size: clamp(23px, 3vw, 30px);
  display: flex; align-items: center; gap: 12px; margin-bottom: 8px;
}
.doc-section .step-ico {
  width: 40px; height: 40px; border-radius: 11px; flex: 0 0 auto;
  background: var(--brand-wash); color: var(--brand-deep);
  display: grid; place-items: center; font-size: 20px;
}
.doc-section .lede { color: var(--muted); font-size: 17px; margin-bottom: 20px; }
.doc-figure {
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
}
.doc-figure img { width: 100%; display: block; }
.doc-figure figcaption {
  font-size: 13.5px; color: var(--muted); padding: 11px 16px;
  border-top: 1px solid var(--line-soft); background: var(--paper);
}
.doc-steps { counter-reset: dstep; list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.doc-steps li {
  position: relative; padding-left: 44px; font-size: 15.5px; color: var(--ink-soft);
}
.doc-steps li::before {
  counter-increment: dstep; content: counter(dstep);
  position: absolute; left: 0; top: -2px;
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600;
  display: grid; place-items: center; font-size: 13px;
}
.doc-steps li strong { color: var(--ink); }

.note {
  display: flex; gap: 12px;
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 14.5px;
  margin: 20px 0 0;
}
.note .note-ico { font-size: 18px; flex: 0 0 auto; }
.note-tip { background: var(--brand-wash); color: #1e336b; border: 1px solid #d4ddfb; }
.note-safe { background: var(--trust-wash); color: #1c4736; border: 1px solid #cdeadd; }
.note-pro { background: #fff7e8; color: #6b4e12; border: 1px solid #f6e2b8; }
.note code, .doc-body code {
  font-family: var(--font-mono); font-size: 13px;
  background: rgba(16,24,40,.06); padding: 2px 7px; border-radius: 6px; color: var(--ink);
}

/* =========================================================================
   Download page
   ========================================================================= */
.download-hero { text-align: center; }
.download-hero .hero-cta { justify-content: center; }
.dl-card {
  max-width: 560px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 40px; text-align: center;
}
.dl-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--brand-wash); color: var(--brand-deep);
  font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.dl-icon { width: 76px; height: 76px; border-radius: 20px; margin: 0 auto 20px; box-shadow: var(--shadow-md); }
.dl-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 24px; color: var(--muted); font-size: 14px; }
.dl-meta span { display: inline-flex; align-items: center; gap: 7px; }
.install-steps {
  counter-reset: istep; list-style: none; padding: 0;
  max-width: 720px; margin: 46px auto 0; display: grid; gap: 16px;
}
.install-steps li {
  position: relative; padding: 20px 22px 20px 66px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.install-steps li::before {
  counter-increment: istep; content: counter(istep);
  position: absolute; left: 18px; top: 18px;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 600;
  display: grid; place-items: center; font-size: 15px;
}
.install-steps strong { display: block; margin-bottom: 3px; }
.install-steps p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* =========================================================================
   Purchase page
   ========================================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 30px;
  align-items: stretch;
  max-width: 940px; margin: 0 auto;
}
.price-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px;
  display: flex; flex-direction: column;
}
.price-card.featured {
  border-color: var(--brand);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.price-card.featured::before {
  content: "Best value";
  position: absolute; top: -13px; left: 34px;
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.price-card h3 { font-size: 20px; margin-bottom: 6px; }
.price-card .tagline { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.price-amount { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.price-amount .num { font-family: var(--font-display); font-weight: 700; font-size: 46px; color: var(--ink); letter-spacing: -.03em; }
.price-amount .cur { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--ink); }
.price-note { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.price-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.price-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.price-list .tick { width: 22px; height: 22px; border-radius: 6px; flex: 0 0 auto; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.price-list.pro .tick { background: var(--brand-wash); color: var(--brand-deep); }
.price-list.free .tick { background: var(--paper); color: var(--muted); border: 1px solid var(--line); }
.price-card .btn { margin-top: auto; }
.price-foot { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }

.activation-box {
  max-width: 620px; margin: 46px auto 0;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 28px; text-align: center;
}
.activation-box h3 { font-size: 19px; margin-bottom: 8px; }
.activation-box p { color: var(--muted); font-size: 15px; margin: 0; }
.code-chip {
  display: inline-block; font-family: var(--font-mono); font-size: 14px;
  background: #fff; border: 1px dashed var(--brand); color: var(--brand-deep);
  padding: 6px 14px; border-radius: 8px; margin-top: 8px;
}
.trust-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px;
  margin-top: 40px; color: var(--muted); font-size: 14px;
}
.trust-badges span { display: inline-flex; align-items: center; gap: 8px; }

/* =========================================================================
   Contact page
   ========================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 44px;
  align-items: start;
}
.contact-aside h2 { font-size: clamp(26px, 3.4vw, 36px); }
.contact-aside p { color: var(--muted); font-size: 17px; }
.contact-cards { display: grid; gap: 14px; margin-top: 26px; }
.contact-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px;
}
.contact-card .c-ico {
  width: 42px; height: 42px; border-radius: 11px; flex: 0 0 auto;
  background: var(--brand-wash); color: var(--brand-deep);
  display: grid; place-items: center; font-size: 20px;
}
.contact-card strong { display: block; font-family: var(--font-display); font-size: 15px; }
.contact-card a, .contact-card span { font-size: 14.5px; color: var(--muted); }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-md);
}
.contact-form .field { margin-bottom: 18px; }
.contact-form label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 7px; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font-family: var(--font-body); font-size: 15.5px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 11px; padding: 13px 14px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(47,91,234,.12);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 13px; color: var(--muted); margin: 14px 0 0; text-align: center; }

/* =========================================================================
   Utility
   ========================================================================= */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.only-mobile { display: none; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1000px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  /* ---- header mobile ---- */
  .nav { gap: 12px; height: 62px; }
  .brand { font-size: 16px; gap: 9px; min-width: 0; }
  .brand img { width: 30px; height: 30px; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-cta { order: 2; margin-left: auto; gap: 8px; }
  .nav-toggle { display: grid; place-items: center; order: 3; margin-left: 0; width: 42px; height: 40px; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 18px;
    box-shadow: var(--shadow-md);
  }
  .nav.open .nav-links a { padding: 12px 14px; }
  .nav.open .nav-links .nav-mobile-cta {
    display: flex; flex-direction: column; gap: 8px;
    margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line);
  }
  .nav-mobile-cta .btn { width: 100%; }
  .hero-grid,
  .feature-row,
  .feature-row.reverse .feature-media,
  .feature-row.reverse .feature-copy,
  .privacy-grid,
  .cap-grid,
  .pricing-grid,
  .contact-grid,
  .doc-layout,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature-row.reverse .feature-media { order: 0; }
  .feature-row.reverse .feature-copy { order: 0; }
  .cap-grid { gap: 16px; }
  .doc-toc { position: static; top: auto; }
  .footer-grid { gap: 28px; }
  .cta-band { padding: 40px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .spec-strip .wrap { gap: 18px; }
  .spec { width: calc(50% - 12px); }
}
@media (max-width: 700px) {
  /* le tabelle di confronto restano leggibili e, al limite, scorrono */
  .compare { overflow-x: auto; }
  .compare th, .compare td { padding: 13px 12px; font-size: 14.5px; }
  .compare thead th { font-size: 14.5px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .hero { padding: 52px 0 60px; }
  .hero h1 { font-size: 30px; }
  .doc-hero { padding: 44px 0 38px; }
  .section { padding: 52px 0; }
  /* NB: solo i pulsanti "di contenuto" diventano a tutta larghezza,
     mai quelli dell'header (altrimenti la barra si sfascia). */
  .hero-cta .btn, .cta-band .btn, .text-center > .btn, .price-card .btn {
    width: 100%; white-space: normal; text-align: center; padding-left: 16px; padding-right: 16px;
  }
  .hero-cta { gap: 10px; }
  .spec { width: 100%; }
  .cta-band { padding: 34px 20px; }
  .price-card, .contact-form, .dl-card { padding: 26px; }
  .footer-bottom { justify-content: flex-start; }
}

@media (max-width: 400px) {
  .brand { font-size: 15px; min-width: 0; flex: 0 1 auto; }  /* qui può accorciarsi */
  .brand img { width: 28px; height: 28px; }
  .brand .pro { font-size: 10px; padding: 2px 5px; }
  .brand > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* pulsante lingua compatto: recupera spazio per il logo */
  .lang-btn { padding: 8px 9px; gap: 5px; }
  .lang-btn .lang-caret { display: none; }
  .hero h1 { font-size: 27px; }
  .doc-hero h1 { font-size: 27px; }
}

/* Accessibility */
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================================
   Language switcher
   ========================================================================= */
.lang-switch { position: relative; flex: 0 0 auto; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-body); font-weight: 600; font-size: 14.5px;
  color: var(--ink-soft); background: #fff;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 12px; cursor: pointer; line-height: 1;
  transition: border-color .15s ease, background .15s ease;
}
.lang-btn:hover { border-color: #cfd4dd; background: var(--paper); }
.lang-btn .lang-caret { font-size: 10px; color: var(--muted); transition: transform .15s ease; }
.lang-switch.open .lang-btn .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 190px; list-style: none; margin: 0; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); z-index: 60; display: none;
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu li { margin: 0; }
.lang-menu a, .lang-menu span.soon {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 12px; border-radius: 8px; font-size: 14.5px; color: var(--ink-soft);
  text-decoration: none;
}
.lang-menu a:hover { background: var(--paper); color: var(--ink); text-decoration: none; }
.lang-menu a.active { background: var(--brand-wash); color: var(--brand-deep); font-weight: 600; }
.lang-menu em { font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.lang-menu a.active em { color: var(--brand-deep); }
.lang-menu span.soon { color: #b3b9c4; cursor: default; }
.lang-menu span.soon em { color: #c6ccd6; }
.lang-menu span.soon::after {
  content: "soon"; font-family: var(--font-body); font-size: 10px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: #a7aeba;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 2px 7px;
  margin-left: -6px;
}
.lang-menu span.soon em { display: none; }
@media (max-width: 1000px) {
  .lang-switch { order: -1; }
  .lang-menu { right: auto; left: 0; }
}

/* Larghezze intermedie: la barra deve restare su una riga sola.
   Si stringono spaziature e si nasconde il pulsante secondario,
   comunque raggiungibile dalla voce di menu "Prezzi". */
@media (max-width: 1340px) and (min-width: 1001px) {
  .nav { gap: 14px; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 9px 9px; font-size: 15px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { padding: 13px 16px; font-size: 15px; }
}

@media (max-width: 1140px) and (min-width: 1001px) {
  .nav-cta .btn-ghost { display: none; }
}

/* ---------- Colonna laterale "Articoli" (pagina download) ---------- */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: start;
}
.side-articles {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.side-articles > strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
}
.side-articles .side-sub {
  color: var(--muted);
  font-size: 13.5px;
  margin: 4px 0 16px;
}
.side-articles h4 {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin: 18px 0 6px;
}
.side-articles h4:first-of-type { margin-top: 0; }
.side-articles ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; }
.side-articles a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.35;
}
.side-articles a:hover { background: var(--paper); color: var(--ink); text-decoration: none; }
/* solo quando la sidebar è affiancata, le schede si adattano alla colonna stretta */
@media (min-width: 1001px) {
  .page-layout .cap-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
}

@media (max-width: 1000px) {
  .page-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .side-articles { position: static; top: auto; max-height: none; overflow: visible; }
  .side-articles ul { gap: 2px; }
}

/* ---------- Legal / terms page ---------- */
.legal { color: var(--ink-soft, #35415a); font-size: 16px; }
.legal h2 {
  font-size: 20px;
  margin: 34px 0 10px;
  padding-top: 4px;
}
.legal h2:first-of-type { margin-top: 8px; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin: 0 0 8px; }
.legal strong { color: var(--ink); }
.legal a { color: var(--brand-deep); font-weight: 600; }


/* =========================================================================
   Generic download / multi-platform button mark
   Use for CTAs that lead to Chrome, Windows, macOS and Android downloads.
   ========================================================================= */
.btn-platform-mark {
  width: 20px;
  height: 20px;
  position: relative;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-radius: 5px;
  opacity: .95;
}

.btn-platform-mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 3px;
  width: 6px;
  height: 8px;
  transform: translateX(-50%);
  border-left: 2px solid currentColor;
}

.btn-platform-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}
