/* Haidee — sito di presentazione */
:root {
  --blue: #2563eb;
  --blue-700: #1d4ed8;
  --blue-900: #172554;
  --blue-50: #eff4ff;
  --blue-100: #dbe6fe;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --tint: #f5f7fb;
  --green: #15803d;
  --green-bg: #e8f6ec;
  --orange: #c2410c;
  --orange-bg: #fdf0e7;
  --violet: #7c3aed;
  --violet-bg: #f1ebfe;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px -8px rgba(15, 23, 42, .12);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .04), 0 30px 60px -20px rgba(23, 37, 84, .35);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .9rem;
}
.eyebrow--light { color: #93b4ff; }
.caption { font-size: .8rem; color: var(--muted); margin: .8rem 0 0; text-align: center; }
.caption--center { margin-top: 1.6rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: .8em 1.35em; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 1.5px solid transparent; transition: transform .15s, background .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .6); }
.btn--primary:hover { background: var(--blue-700); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: #cbd5e1; }
.btn--light { background: #fff; color: var(--blue-900); }
.btn--outline-light { color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { border-color: #fff; }
.btn--sm { padding: .55em 1.1em; font-size: .92rem; }
.btn--xs { padding: .35em .85em; font-size: .75rem; box-shadow: none; }
.btn--xs:hover { transform: none; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.topbar.is-scrolled { border-color: var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 700; font-size: 1.2rem; }
.brand:hover { text-decoration: none; }
.brand__mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(160deg, #2f6df2, #1e3a8a); color: #fff; font-weight: 800; font-size: 1.05rem;
}
.brand--small .brand__mark { width: 28px; height: 28px; font-size: .9rem; border-radius: 8px; }
.brand--small { font-size: 1rem; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--ink-2); font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav .btn--primary { color: #fff; }
.nav__login { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px);
  background:
    radial-gradient(900px 500px at 85% 10%, var(--blue-50), transparent 70%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(37,99,235,.18) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 60%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: normal; color: var(--blue); }
.h1__sub { display: block; margin-top: .3em; font-size: .52em; font-weight: 600; color: var(--ink-2); letter-spacing: -0.015em; }

/* Trust strip */
.trust {
  position: relative; list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.trust li { display: flex; gap: 12px; align-items: flex-start; padding: 20px 22px; }
.trust li + li { border-left: 1px solid var(--line); }
.trust svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust strong { display: block; font-size: .95rem; }
.trust span span, .trust li > span { font-size: .84rem; color: var(--muted); line-height: 1.4; }
.trust strong { color: var(--ink); margin-bottom: 2px; }

/* Data flow */
.flow { display: grid; grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr; align-items: stretch; gap: 0; }
.flow__step {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px 18px;
}
.flow__step span:last-child { font-size: .86rem; color: var(--muted); line-height: 1.45; }
.flow__step--main { border-color: var(--blue-100); background: var(--blue-50); }
.flow__ico { width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid var(--blue-100); display: grid; place-items: center; margin-bottom: 8px; }
.flow__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flow__badge {
  position: absolute; top: 14px; right: 14px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: var(--blue); padding: .2em .6em; border-radius: 999px;
}
.flow__arrow { align-self: center; justify-self: center; width: 14px; height: 14px; border-top: 2px solid #94a3b8; border-right: 2px solid #94a3b8; transform: rotate(45deg); }
.flow__note { text-align: center; margin: 22px 0 0; font-weight: 600; color: var(--blue-900); font-size: .95rem; }
.privacy-grid { margin-top: clamp(36px, 5vw, 56px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.8rem 0 1.6rem; }
.hero__points { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; color: var(--ink-2); font-size: .97rem; }
.hero__points li { padding-left: 1.6rem; position: relative; }
.hero__points li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

/* App mock (hero) */
.app {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.app__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.app__title { margin-left: 10px; font-size: .8rem; color: var(--muted); font-weight: 500; }
.app__body { padding: 20px 20px 8px; display: grid; gap: 14px; font-size: .95rem; }
.msg--user {
  justify-self: end; max-width: 85%;
  background: var(--blue-50); color: var(--blue-900); padding: .6em 1em; border-radius: 16px 16px 4px 16px;
}
.msg--ai { display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
.msg--ai p { margin: 0 0 .5em; }
.avatar {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--blue); color: #fff; font-weight: 800; font-size: .85rem;
}
.cite {
  display: inline-grid; place-items: center; min-width: 1.35em; height: 1.35em; padding: 0 .3em;
  font-size: .72rem; font-weight: 700; line-height: 1; vertical-align: .15em;
  color: var(--blue); background: var(--blue-100); border-radius: 6px; cursor: pointer;
  transition: background .15s, color .15s;
}
.cite:hover, .cite.is-active { background: var(--blue); color: #fff; text-decoration: none; }
.source {
  margin-left: 40px; border: 1px solid var(--blue-100); background: #fafcff; border-radius: 12px; padding: 12px 14px;
  transition: opacity .2s;
}
.source.is-switching { opacity: .3; }
.source__head { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.source__head strong { display: block; font-size: .88rem; }
.source__quote { margin: 0; font-size: .86rem; color: var(--ink-2); border-left: 3px solid var(--blue); padding-left: 10px; }
.source__quote mark { background: #fff3b0; padding: 0 2px; border-radius: 3px; }
.file-ico {
  display: grid; place-items: center; flex: none; width: 34px; height: 40px; border-radius: 6px;
  background: #fee2e2; color: #b91c1c; font-size: .62rem; font-weight: 800;
}
.file-ico--sm { display: inline-grid; width: 30px; height: 20px; border-radius: 4px; font-size: .55rem; margin-right: 6px; vertical-align: middle; }
.app__composer { padding: 10px 16px 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chip { font-size: .72rem; padding: .25em .7em; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); background: #fff; }
.chip--on { background: var(--blue); border-color: var(--blue); color: #fff; }
.composer__input {
  display: flex; justify-content: space-between; align-items: center;
  border: 1px solid var(--line); border-radius: 14px; padding: .55em .6em .55em 1em; color: #94a3b8; font-size: .9rem;
}
.send { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--blue-900); color: #e2e8ff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: #c7d4f7; }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.card p { color: var(--ink-2); font-size: .96rem; margin: 0; }
.card__num { display: block; font-weight: 700; color: var(--blue); font-size: .85rem; margin-bottom: 14px; letter-spacing: .05em; }
.card--line { border-top: 3px solid var(--blue); }

.feature {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 26px 24px;
}
.feature p { color: #c7d4f7; font-size: .96rem; margin: 0; }
.feature__ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(96, 141, 255, .18); display: grid; place-items: center; margin-bottom: 16px; }
.feature__ico svg { width: 22px; height: 22px; fill: none; stroke: #9db9ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Compare */
.compare { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.compare__row { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; }
.compare__row > span { padding: 18px 24px; border-top: 1px solid var(--line); font-size: .97rem; }
.compare__row > span:first-child { font-weight: 600; }
.compare__row > span:nth-child(2) { color: var(--muted); }
.compare__row > span:nth-child(3) { background: var(--blue-50); color: var(--blue-900); font-weight: 500; }
.compare__row--head > span { border-top: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); padding-block: 14px; }
.compare__row--head > span:nth-child(3) { color: var(--blue); }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tabs button {
  font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer;
  padding: .55em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2);
  transition: all .15s;
}
.tabs button:hover { border-color: var(--blue-100); color: var(--blue); }
.tabs button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: center; animation: fade .3s ease; }
.panel[hidden] { display: none; }
.panel__text p { color: var(--ink-2); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Mock UI pieces */
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 20px; font-size: .88rem;
}
.mock__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 1rem; }
.mock__head--sub { margin-top: 18px; font-size: .92rem; }
.mock__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.box { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.box__title { font-weight: 650; font-size: .82rem; margin-bottom: 8px; }
.item { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 8px; background: var(--tint); margin-bottom: 6px; font-size: .82rem; }
.item strong { width: 100%; font-size: .85rem; }
.item .muted { width: 100%; }
.item--accent { border-left: 3px solid var(--orange); background: #fff; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.item--violet { border-left: 3px solid var(--violet); background: #fff; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pill { flex: 0 0 100%; font-weight: 650; font-size: .86rem; color: var(--blue-900); margin-bottom: 2px; }
.tag { display: inline-block; font-size: .7rem; font-weight: 600; padding: .15em .6em; border-radius: 6px; background: #eef1f5; color: var(--ink-2); }
.tag--green { background: var(--green-bg); color: var(--green); }
.tag--orange { background: var(--orange-bg); color: var(--orange); }
.tag--blue { background: var(--blue-50); color: var(--blue); }
.tag--violet { background: var(--violet-bg); color: var(--violet); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-size: .72rem; }
.seg span { padding: .3em .7em; color: var(--muted); }
.seg .on { background: var(--blue-50); color: var(--blue); font-weight: 600; }
.mtable { width: 100%; border-collapse: collapse; }
.mtable th { text-align: left; font-size: .75rem; color: var(--muted); font-weight: 600; padding: 8px 10px; background: var(--tint); }
.mtable td { padding: 10px; border-top: 1px solid var(--line); }
.room { display: grid; gap: 10px; }
.room__msg { background: var(--tint); border-radius: 12px; padding: 10px 12px; }
.room__msg p { margin: 0; }
.room__msg .who { font-weight: 700; font-size: .78rem; color: var(--ink-2); }
.room__msg--ai { background: var(--blue-50); border: 1px solid var(--blue-100); }
.room__msg--ai .who { color: var(--blue); }
.todo__label { font-weight: 650; font-size: .8rem; margin: 6px 0; color: var(--ink-2); }
.skill { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.skill strong { margin-right: 8px; }
.skill p { margin: 6px 0 0; }
.cal { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.cal span { min-height: 62px; padding: 6px 8px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); font-size: .78rem; }
.cal span:nth-child(5n+1) { border-left: 0; }
.cal .cal__d { min-height: 0; border-top: 0; background: var(--tint); color: var(--muted); font-weight: 600; }
.ev { display: block; font-style: normal; margin-top: 4px; padding: 2px 6px; border-radius: 5px; background: var(--blue); color: #fff; font-size: .68rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev--green { background: var(--green); }
.ev--grey { background: #64748b; }
.field { display: block; margin-bottom: 12px; }
.field > span:first-child { display: block; font-size: .78rem; color: var(--ink-2); margin-bottom: 4px; }
.input { display: block; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.input--area { min-height: 76px; color: var(--ink-2); }
.btns { display: flex; gap: 6px; flex-wrap: wrap; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 2rem; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .25em; width: 1.25rem; height: 1.25rem; border-radius: 6px;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.checks strong { color: var(--ink); }

/* Steps */
.steps { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.steps__title { font-size: 1.3rem; margin-bottom: 1.2rem; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.steps li p { margin: .2em 0 0; color: var(--ink-2); font-size: .95rem; }
.steps__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-50); color: var(--blue); font-weight: 800; }

/* CTA */
.cta {
  padding: clamp(64px, 9vw, 104px) 0; color: #fff; text-align: center;
  background: radial-gradient(700px 300px at 50% 0%, rgba(96,141,255,.35), transparent 70%), linear-gradient(160deg, #1e3a8a, var(--blue-900));
}
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); color: #fff; }
.cta p { color: #c7d4f7; font-size: 1.15rem; }
.cta__mail { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cta__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.8rem; }

/* Footer */
.footer { padding: 28px 0; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.footer p { margin: 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .panel { animation: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .hero__grid, .panel, .split { grid-template-columns: 1fr; }
  .hero__demo { max-width: 560px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .flow { grid-template-columns: 1fr; gap: 10px; }
  .flow__arrow { transform: rotate(135deg); margin: 2px 0 6px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav__login { border-left: 0; padding-left: 4px; }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid--4, .grid--3 { grid-template-columns: 1fr; }
  .compare__row { grid-template-columns: 1fr; }
  .compare__row--head { display: none; }
  .compare__row > span { border-top: 0; padding: 4px 18px; }
  .compare__row > span:first-child { padding-top: 16px; border-top: 1px solid var(--line); }
  .compare__row > span:nth-child(2)::before { content: "Senza: "; font-weight: 600; }
  .compare__row > span:nth-child(3) { margin: 4px 12px 14px; border-radius: 8px; padding: 8px 10px; }
  .compare__row:nth-child(2) > span:first-child { border-top: 0; }
  .mock__grid2 { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .trust li + li { border-left: 0; border-top: 1px solid var(--line); }
  .source { margin-left: 0; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .tabs button { flex: none; }
  .steps { padding: 22px; }
}
