/* =========================================================
   SINCRONO — Design system
   Palette ricavata dal logo: blu → viola → magenta → corallo → arancio
   ========================================================= */

:root {
  --bg: #ECE8F5;            /* lavanda tenue: fa risaltare le schede bianche */
  --field: #F5F3FA;         /* fondo di campi e risposte dentro le schede */
  --surface: #FFFFFF;
  --surface-2: #EFECF7;
  --ink: #15173D;           /* blu notte per i testi */
  --ink-soft: #3B3F66;
  --muted: #6E7191;
  --line: #E3DEEE;
  --line-strong: #CFC7E0;

  --blue: #2B5CE6;
  --blue-deep: #2337B8;
  --violet: #7B3FE4;
  --magenta: #D4459E;
  --coral: #FF4F5E;
  --orange: #FF9A3D;

  --grad: linear-gradient(115deg, #2B5CE6 0%, #6A3FE0 34%, #D4459E 64%, #FF5A52 84%, #FF9A3D 100%);
  --grad-soft: linear-gradient(115deg, rgba(43,92,230,.10), rgba(123,63,228,.10) 40%, rgba(255,79,94,.10) 75%, rgba(255,154,61,.12));
  --grad-love: linear-gradient(135deg, #D4459E 0%, #FF4F5E 55%, #FF9A3D 100%);
  --grad-friend: linear-gradient(135deg, #2B5CE6 0%, #4F4BE6 50%, #7B3FE4 100%);

  --success: #12A36B;
  --night: #07070D;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(21,23,61,.05), 0 2px 8px rgba(21,23,61,.04);
  --shadow: 0 10px 30px -12px rgba(21,23,61,.18), 0 2px 6px rgba(21,23,61,.05);
  --shadow-lg: 0 30px 60px -20px rgba(43,40,120,.28), 0 8px 20px -8px rgba(21,23,61,.10);

  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-x: clip;
}
/* Sfumature di colore fisse dietro a tutte le pagine */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(45% 40% at 0% 0%, rgba(43,92,230,.16), transparent 70%),
    radial-gradient(40% 40% at 100% 5%, rgba(255,154,61,.16), transparent 70%),
    radial-gradient(50% 45% at 100% 100%, rgba(212,69,158,.12), transparent 70%),
    radial-gradient(45% 40% at 0% 100%, rgba(123,63,228,.12), transparent 70%);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 640px; }
.text-grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,249,253,.78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(207,199,224,.6);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer; }
.brand img { width: 46px; height: 46px; }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a.link { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink-soft); padding: 10px 14px; border-radius: 999px; transition: background .2s; }
.nav a.link:hover { background: var(--surface-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em;
  padding: 16px 30px; border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { color: #fff; background: var(--grad); background-size: 140% 100%; background-position: 0% 50%; box-shadow: 0 12px 28px -10px rgba(123,63,228,.55); }
.btn-primary:hover { background-position: 100% 50%; transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(212,69,158,.55); }
.btn-dark { color: #fff; background: var(--ink); box-shadow: var(--shadow); }
.btn-dark:hover { background: #22255A; transform: translateY(-2px); }
.btn-ghost { color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-lg { padding: 19px 38px; font-size: 1.12rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none !important; box-shadow: none; filter: saturate(.4); }
.btn-text { background: none; border: 0; color: var(--muted); font-weight: 600; font-size: .9rem; cursor: pointer; padding: 8px 12px; border-radius: 999px; }
.btn-text:hover { color: var(--ink); background: var(--surface-2); }
.btn-text[disabled] { visibility: hidden; }

/* ---------- Chips / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  font-size: .82rem; font-weight: 700; letter-spacing: .02em;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.tag-rec { background: rgba(18,163,107,.12); color: var(--success); }
.tag-opt { background: var(--surface-2); color: var(--muted); }
.tag-req { background: rgba(255,79,94,.10); color: var(--coral); }

/* ---------- Sections (SPA) ---------- */
.view { display: none; }
.view.active { display: block; animation: rise .45s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
main { flex: 1; }
.page-pad { padding: 56px 0 88px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow-x: clip; }
.hero::before {
  content: ""; position: absolute; inset: -20% 0 auto 0; height: 680px; z-index: -1;
  background:
    radial-gradient(40% 50% at 18% 30%, rgba(43,92,230,.16), transparent 70%),
    radial-gradient(35% 45% at 82% 25%, rgba(255,154,61,.18), transparent 70%),
    radial-gradient(40% 45% at 55% 70%, rgba(212,69,158,.12), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; margin: 22px 0 20px; letter-spacing: -0.035em; }
.hero p.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.hero-meta i { color: var(--violet); margin-right: 6px; }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual .halo {
  position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%;
  background: var(--grad); filter: blur(60px); opacity: .22;
  animation: breathe 6s ease-in-out infinite;
}
.hero-visual img { position: relative; width: min(420px, 90%); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes breathe { 0%,100% { transform: scale(.94); opacity: .18; } 50% { transform: scale(1.04); opacity: .28; } }
.float-chip {
  position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 10px 14px; box-shadow: var(--shadow); font-size: .82rem; font-weight: 700; display: flex; align-items: center; gap: 10px;
}
.float-chip .ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: .8rem; }
.float-chip.a { top: 12%; left: -2%; animation: float 6s ease-in-out infinite; }
.float-chip.b { bottom: 14%; right: -2%; animation: float 8s ease-in-out infinite reverse; }
.ic-love { background: var(--grad-love); }
.ic-friend { background: var(--grad-friend); }
.ic-both { background: var(--grad); }

/* ---------- Generic section titles ---------- */
.section { padding: 80px 0; }
.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.section-title { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; margin: 12px 0 14px; }
.section-sub { color: var(--muted); font-size: 1.08rem; max-width: 620px; }
.section-head { margin-bottom: 44px; }
.section-head.center .section-sub { margin: 0 auto; }

/* ---------- Path cards (landing) ---------- */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.path-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; overflow: hidden;
}
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.path-card .icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-size: 1.3rem; margin-bottom: 20px; }
.path-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.path-card p { color: var(--muted); font-size: .97rem; }
.path-card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.path-card ul i { width: 18px; color: var(--violet); }
.path-card.featured { border: 0; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 2px solid transparent; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step .num { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; margin-bottom: 14px; }
.step h4 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .93rem; }

/* ---------- Dark band ---------- */
.band {
  position: relative; background: var(--night); color: #fff; border-radius: 36px; overflow: hidden;
  padding: 64px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
.band::after {
  content: ""; position: absolute; inset: auto -10% -60% 40%; height: 120%;
  background: radial-gradient(closest-side, rgba(123,63,228,.35), transparent); pointer-events: none;
}
.band h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 16px; }
.band p { color: rgba(255,255,255,.72); font-size: 1.08rem; max-width: 520px; }
.band img { width: 230px; position: relative; z-index: 1; }
.band .btn { margin-top: 28px; }

/* ---------- Notice ---------- */
.notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius);
  background: var(--grad-soft); border: 1px solid rgba(123,63,228,.18); font-size: .95rem; color: var(--ink-soft);
}
.notice i { color: var(--violet); font-size: 1.1rem; margin-top: 3px; }
.notice strong { color: var(--ink); }
.notice.warm { background: rgba(255,154,61,.10); border-color: rgba(255,154,61,.35); }
.notice.warm i { color: #E07A16; }

/* ---------- Card shell ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 44px; }
.card-head { text-align: center; margin-bottom: 32px; }
.card-head h2 { font-size: clamp(1.8rem, 4vw, 2.3rem); font-weight: 700; margin: 12px 0 10px; }
.card-head p { color: var(--muted); }

/* ---------- Mode chooser ---------- */
.choices { display: grid; gap: 14px; }
.choice {
  display: flex; align-items: center; gap: 18px; width: 100%; text-align: left; cursor: pointer;
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); padding: 20px 22px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.choice:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.choice .icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; font-size: 1.2rem; }
.choice h3 { font-size: 1.25rem; font-weight: 700; }
.choice p { color: var(--muted); font-size: .92rem; margin-top: 2px; }
.choice .check { margin-left: auto; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; color: transparent; font-size: .75rem; transition: all .2s; }
.choice.selected { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(123,63,228,.12); }
.choice.selected .check { background: var(--violet); border-color: var(--violet); color: #fff; }
.choice .mini { display: inline-block; margin-top: 8px; }
#both-info { margin-top: 18px; }

/* ---------- Form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .88rem; font-weight: 700; color: var(--ink-soft); }
.input, .select, .textarea {
  width: 100%; font-family: inherit; font-size: 1rem; font-weight: 500; color: var(--ink);
  background: var(--field); border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.input::placeholder, .textarea::placeholder { color: #A9A7B6; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(123,63,228,.12); }
.input.invalid { border-color: var(--coral); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236E7191' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.textarea { min-height: 120px; resize: vertical; }
.input-group { display: grid; grid-template-columns: 150px 1fr; gap: 10px; }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; }
.input-prefix .input { padding-left: 34px; }
.help { font-size: .8rem; color: var(--muted); }
.error-msg { font-size: .8rem; color: var(--coral); font-weight: 600; display: none; }
.field.has-error .error-msg { display: block; }
.field.has-error .input, .field.has-error .select { border-color: var(--coral); }

.form-divider { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin: 10px 0 0; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.form-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.checks { display: grid; gap: 12px; margin-top: 26px; }
.check-row {
  display: flex; gap: 14px; align-items: flex-start; cursor: pointer; padding: 16px 18px; border-radius: 16px;
  border: 1.5px solid var(--line); background: var(--field); transition: border-color .2s, background .2s;
  font-size: .92rem; color: var(--ink-soft);
}
.check-row:hover { border-color: var(--line-strong); }
.check-row input { appearance: none; flex-shrink: 0; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 7px; border: 2px solid var(--line-strong); background: #fff; cursor: pointer; display: grid; place-items: center; transition: all .2s; }
.check-row input::after { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .7rem; color: #fff; opacity: 0; }
.check-row input:checked { background: var(--violet); border-color: var(--violet); }
.check-row input:checked::after { opacity: 1; }
.check-row.highlight { border-color: rgba(255,154,61,.5); background: rgba(255,154,61,.07); }
.check-row:has(input:checked) { border-color: rgba(123,63,228,.45); background: rgba(123,63,228,.05); }
.check-row strong { color: var(--ink); }

.form-footer { margin-top: 26px; display: grid; gap: 12px; }
.missing { text-align: center; font-size: .85rem; color: var(--muted); min-height: 1.2em; }

/* ---------- Test ---------- */
.test-card { max-width: 720px; margin: 0 auto; }
.test-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.test-part { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); }
.test-part .icon { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: .7rem; }
.progress { height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.progress > div { height: 100%; width: 0; background: var(--grad); border-radius: 999px; transition: width .6s cubic-bezier(.2,.7,.2,1); }
.q-section { margin-top: 34px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); text-align: center; }
.q-text { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; text-align: center; margin: 10px 0 8px; }
.q-hint { text-align: center; color: var(--muted); font-size: .95rem; margin-bottom: 4px; }
.answers { margin-top: 28px; display: grid; gap: 12px; }
.answers.grid-2 { grid-template-columns: 1fr 1fr; }
.answer {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer;
  background: var(--field); border: 2px solid var(--line); border-radius: 16px; padding: 17px 20px;
  font-size: 1rem; font-weight: 600; color: var(--ink);
  transition: border-color .18s, background .18s, transform .18s, box-shadow .18s;
}
.answer:hover { border-color: var(--line-strong); background: #fff; transform: translateY(-1px); }
.answer .key { flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: .78rem; font-weight: 800; color: var(--muted); transition: all .18s; }
.answer.selected { border-color: var(--violet); background: #F6F1FF; box-shadow: 0 0 0 4px rgba(123,63,228,.10); }
.answer.selected .key { background: var(--grad); color: #fff; }

.chips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  cursor: pointer; border: 2px solid var(--line); background: var(--field); color: var(--ink);
  font-weight: 600; font-size: .95rem; padding: 10px 18px; border-radius: 999px;
  transition: all .18s;
}
.chip:hover { border-color: var(--line-strong); background: #fff; }
.chip.selected { color: #fff; border-color: transparent; background: var(--grad); box-shadow: 0 8px 18px -8px rgba(123,63,228,.6); }
.chip.selected::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .75rem; margin-right: 8px; }
.count-note { text-align: center; margin-top: 14px; font-size: .85rem; color: var(--muted); font-weight: 600; }

.q-input { margin-top: 28px; }
.test-actions { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.test-actions .btn { width: 100%; }
.kbd-hint { font-size: .78rem; color: #A9A7B6; text-align: center; }

/* Intermission */
.break-box { text-align: center; padding: 10px 0; }
.break-box .big-ic { width: 84px; height: 84px; border-radius: 26px; margin: 0 auto 20px; display: grid; place-items: center; color: #fff; font-size: 2rem; box-shadow: var(--shadow); }
.break-box h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.break-box p { color: var(--muted); max-width: 460px; margin: 0 auto; }

/* ---------- Pricing ---------- */
.ready-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(18,163,107,.12); color: var(--success); font-weight: 800; font-size: .85rem; }
.summary-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 22px 0 0; }
.summary-chips span { background: var(--surface); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.summary-chips i { color: var(--violet); margin-right: 6px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 820px; margin: 44px auto 0; align-items: stretch; }
.plan {
  position: relative; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.best { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: var(--shadow-lg); }
.plan .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 1.35rem; font-weight: 700; }
.plan .for { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.plan .price { font-family: var(--font-display); font-size: 3.2rem; font-weight: 800; letter-spacing: -0.04em; margin: 20px 0 4px; }
.plan .price small { font-size: 1.3rem; font-weight: 700; margin-right: 4px; vertical-align: 1.2rem; }
.plan .per { font-size: .85rem; color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; font-size: .95rem; color: var(--ink-soft); flex: 1; }
.plan li { display: flex; gap: 10px; }
.plan li i { color: var(--success); margin-top: 4px; }
.plan.best li i { color: var(--violet); }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 38px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.trust i { color: var(--violet); margin-right: 6px; }

/* ---------- Checkout / success ---------- */
.order { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--field); border: 1px solid var(--line); }
.order .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.order .meta { flex: 1; }
.order .meta strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.order .meta span { font-size: .85rem; color: var(--muted); }
.order .amount { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; }
.success-ic { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; font-size: 2.4rem; color: #fff; background: var(--grad); box-shadow: 0 20px 40px -14px rgba(123,63,228,.6); }
.status-line { margin-top: 16px; font-size: .85rem; color: var(--muted); font-weight: 600; text-align: center; }

/* ---------- Resume banner ---------- */
.resume { display: none; max-width: 720px; margin: 0 auto 8px; }
.resume.show { display: flex; }
.resume { align-items: center; gap: 14px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-sm); font-size: .92rem; }
.resume i { color: var(--violet); }
.resume .grow { flex: 1; min-width: 180px; }
.resume-wrap { padding-top: 24px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 780px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\2b"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .85rem; color: var(--violet); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgba(255,255,255,.65); padding: 56px 0 40px; margin-top: auto; }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }

.site-footer .brand span { color: #fff; }
.site-footer nav { display: flex; gap: 22px; font-size: .92rem; font-weight: 600; }
.site-footer nav a { text-decoration: none; color: rgba(255,255,255,.75); }
.site-footer nav a:hover { color: #fff; }
.site-footer .bottom { padding-top: 24px; font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- Come funziona (pagina) ---------- */
.page-hero { padding: 72px 0 40px; text-align: center; position: relative; }
.page-hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 420px; z-index: -1; background: radial-gradient(40% 60% at 30% 20%, rgba(43,92,230,.12), transparent 70%), radial-gradient(40% 60% at 70% 20%, rgba(255,154,61,.14), transparent 70%); }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); font-weight: 700; margin: 18px 0 16px; }
.page-hero p { color: var(--ink-soft); font-size: 1.12rem; max-width: 620px; margin: 0 auto; }
.timeline { display: grid; gap: 18px; max-width: 820px; margin: 0 auto; }
.tl-item { display: grid; grid-template-columns: 64px 1fr; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.tl-item .icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: #fff; font-size: 1.4rem; }
.tl-item h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 8px; }
.tl-item p { color: var(--muted); }
.tl-item .notice { margin-top: 16px; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); font-size: .95rem; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-family: var(--font-display); font-size: 1.05rem; background: var(--field); }
.compare td:first-child { font-weight: 700; color: var(--ink-soft); }
.table-wrap { max-width: 820px; margin: 0 auto; overflow-x: auto; }

/* ---------- Utility ---------- */
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.hidden { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin: 0 auto; }
  .hero-cta, .hero-meta { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-visual img { width: 260px; }
  .paths { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 1fr; padding: 44px 32px; text-align: center; }
  .band p { margin: 0 auto; }
  .band img { width: 150px; margin: 0 auto; order: -1; }
}
@media (max-width: 640px) {
  .site-header .container { height: 64px; }
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: 1.3rem; }
  .nav a.link { display: none; }
  .hero { padding: 36px 0 20px; }
  .float-chip { display: none; }
  .section { padding: 56px 0; }
  .steps { grid-template-columns: 1fr; }
  .card { padding: 28px 20px; border-radius: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .input-group { grid-template-columns: 1fr; }
  .answers.grid-2 { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; gap: 28px; }
  .plan { padding: 28px 22px; }
  .tl-item { grid-template-columns: 1fr; }
  .page-pad { padding: 28px 0 64px; }
  .btn-lg { padding: 17px 28px; }
  .site-footer .top { flex-direction: column; align-items: flex-start; }
  .resume .grow { flex-basis: 100%; }
  .resume .btn { flex: 1; }
  .resume > i { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
