/* ============================================================================
   REPORTISTIKA — Design System (2026)
   ----------------------------------------------------------------------------
   1. Tokens          5. Layout (container, section, grid)
   2. Reset & base    6. Components (nav, buttons, cards, pills, stats, faq…)
   3. Typography      7. Motion & utilities
   4. Icons           8. Responsive overrides
   Regola: niente colori hex nelle pagine, solo token. Niente emoji come icone.
   ========================================================================== */

/* 1. TOKENS ------------------------------------------------------------- */
:root {
  --bg: #060606;
  --bg-1: #0b0b0b;
  --bg-2: #111111;
  --bg-3: #171717;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --fg: #f4f4f4;
  --fg-1: #cfcfcf;
  --fg-2: #9a9a9a;
  --fg-3: #8c8c8c; /* ≥ 4.5:1 su --bg (WCAG AA) */

  --accent: #2aa01c;
  --accent-2: #5cd44e;
  --accent-deep: #1b7a12;
  --accent-btn: #1f8215; /* sfondo bottoni con testo bianco: contrasto 4,9:1 (WCAG AA) */
  --accent-rgb: 92, 212, 78;
  --accent-soft: rgba(92, 212, 78, 0.1);
  --accent-line: rgba(92, 212, 78, 0.28);

  --danger: #f06565;
  --danger-soft: rgba(240, 101, 101, 0.1);
  --danger-line: rgba(240, 101, 101, 0.3);
  --warn: #f5b041;
  --warn-soft: rgba(245, 176, 65, 0.1);
  --warn-line: rgba(245, 176, 65, 0.3);
  --info: #6aa8ff;
  --info-soft: rgba(106, 168, 255, 0.1);
  --info-line: rgba(106, 168, 255, 0.3);
  --violet: #b09aff;
  --violet-soft: rgba(176, 154, 255, 0.1);
  --violet-line: rgba(176, 154, 255, 0.3);

  --font-sans: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --t-display: clamp(44px, 6.6vw, 82px);
  --t-h1: clamp(38px, 5.2vw, 64px);
  --t-h2: clamp(30px, 3.8vw, 46px);
  --t-h3: clamp(20px, 2.2vw, 26px);
  --t-h4: 18px;
  --t-lead: clamp(17px, 1.4vw, 20px);
  --t-body: 16px;
  --t-small: 14px;
  --t-xs: 12px;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --container: 1200px;
  --container-narrow: 820px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 9vw, 120px);
  --section-y-s: clamp(48px, 6vw, 80px);
  --gap: clamp(16px, 2vw, 24px);

  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 60px -30px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 0 1px var(--accent-line), 0 30px 90px -30px rgba(var(--accent-rgb), 0.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.5s;
  --header-h: 76px;
}

/* 2. RESET & BASE --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-sans);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--fg-1);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(var(--accent-rgb), 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; padding: 10px 14px; background: var(--accent); color: #fff; border-radius: var(--r-s); font-weight: 700; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3. TYPOGRAPHY ----------------------------------------------------------- */
h1, h2, h3, h4, .display { color: var(--fg); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.display { font-size: var(--t-display); letter-spacing: -0.04em; line-height: 1.0; }
h1, .h1 { font-size: var(--t-h1); }
h2, .h2 { font-size: var(--t-h2); }
h3, .h3 { font-size: var(--t-h3); letter-spacing: -0.02em; line-height: 1.2; }
h4, .h4 { font-size: var(--t-h4); letter-spacing: -0.01em; line-height: 1.3; }
p { text-wrap: pretty; }
.lead { font-size: var(--t-lead); line-height: 1.6; color: var(--fg-1); }
.muted { color: var(--fg-2); }
.small { font-size: var(--t-small); }
.xs { font-size: var(--t-xs); }
strong, b { color: var(--fg); font-weight: 700; }
em.serif, .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-2);
  letter-spacing: 0.01em;
  font-size: 1.06em;
}
.text-accent { color: var(--accent-2); }
.text-center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-2);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--accent-2); opacity: 0.7; }
.eyebrow.is-plain::before { display: none; }
.kicker { font-size: var(--t-small); font-weight: 600; color: var(--fg-2); }
.mono { font-family: var(--font-mono); font-size: 0.92em; }

/* 4. ICONS ---------------------------------------------------------------- */
.icon { width: 1.25em; height: 1.25em; flex: none; stroke-width: 1.75; }
.icon-sm { width: 1em; height: 1em; }
.icon-lg { width: 28px; height: 28px; }
.icon-xl { width: 36px; height: 36px; stroke-width: 1.5; }
.icon-box {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-2);
}
.icon-box .icon { width: 22px; height: 22px; }
.icon-box.is-neutral { background: var(--bg-3); border-color: var(--line-2); color: var(--fg); }
.icon-box.is-danger { background: rgba(240, 101, 101, 0.1); border-color: rgba(240, 101, 101, 0.3); color: var(--danger); }
.icon-box.is-warn { background: rgba(245, 176, 65, 0.1); border-color: rgba(245, 176, 65, 0.3); color: var(--warn); }
.icon-box.is-info { background: rgba(106, 168, 255, 0.1); border-color: rgba(106, 168, 255, 0.3); color: var(--info); }
.icon-box.is-violet { background: rgba(176, 154, 255, 0.1); border-color: rgba(176, 154, 255, 0.3); color: var(--violet); }

/* 5. LAYOUT --------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); position: relative; }
.section-s { padding-block: var(--section-y-s); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); display: grid; gap: 16px; }
.section-head.is-center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head .lead { max-width: 640px; }
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.is-top { align-items: start; }
.stack { display: grid; gap: var(--gap); }
.stack-s { display: grid; gap: 12px; }
.cluster { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center { justify-content: center; }
.divider { height: 1px; background: var(--line); border: 0; }

/* Backgrounds */
.bg-1 { background: var(--bg-1); }
.bg-grid { position: relative; isolation: isolate; }
.bg-grid::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 100%);
}
.glow { position: relative; isolation: isolate; }
.glow::before {
  content: ""; position: absolute; inset: auto; left: 50%; top: -120px; z-index: -1;
  width: min(900px, 120vw); height: 520px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(var(--accent-rgb), 0.18) 0%, rgba(var(--accent-rgb), 0.05) 40%, transparent 70%);
  pointer-events: none; filter: blur(10px);
}
.bordered { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* 6. COMPONENTS ----------------------------------------------------------- */

/* Header / Nav */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 6, 6, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}
.site-header.is-scrolled { border-color: var(--line); background: rgba(6, 6, 6, 0.86); }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { height: 30px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--r-s);
  font-size: 15px; font-weight: 600; color: var(--fg-2);
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover, .nav-item:focus-within > .nav-link, .nav-link[aria-current="page"], .nav-link.is-active { color: var(--fg); background: rgba(255, 255, 255, 0.05); }
.nav-link .icon { width: 14px; height: 14px; opacity: 0.6; transition: transform 0.2s; }
.nav-item:hover > .nav-link .icon, .nav-item:focus-within > .nav-link .icon { transform: rotate(180deg); }
.nav-panel {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 260px; padding: 8px;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-m);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.nav-item:hover > .nav-panel, .nav-item:focus-within > .nav-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-panel.is-mega { left: 50%; transform: translate(-50%, -6px); width: min(760px, 92vw); padding: 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.nav-item:hover > .nav-panel.is-mega, .nav-item:focus-within > .nav-panel.is-mega { transform: translate(-50%, 0); }
.nav-card { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: var(--r-s); transition: background 0.15s; }
.nav-card:hover { background: rgba(255, 255, 255, 0.05); }
.nav-card .icon-box { width: 40px; height: 40px; border-radius: 12px; }
.nav-card .icon-box .icon { width: 18px; height: 18px; }
.nav-card strong { display: block; font-size: 15px; color: var(--fg); margin-bottom: 2px; }
.nav-card span { font-size: 13px; color: var(--fg-2); line-height: 1.45; }
.nav-list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-s); font-size: 14px; font-weight: 600; color: var(--fg-1); }
.nav-list a:hover { background: rgba(255, 255, 255, 0.05); color: var(--fg); }
.nav-list a[aria-current="page"] { color: var(--accent-2); background: var(--accent-soft); }
.nav-list .num { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); min-width: 20px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--r-s); border: 1px solid var(--line);
  align-items: center; justify-content: center; color: var(--fg);
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
html[data-nav-open] .nav-toggle .icon-menu { display: none; }
html[data-nav-open] .nav-toggle .icon-close { display: block; }

/* Mobile drawer */
.nav-drawer {
  display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--bg); overflow-y: auto; padding: 16px var(--gutter) 40px;
}
html[data-nav-open] .nav-drawer { display: block; }
html[data-nav-open] { overflow: hidden; }
.drawer-group { border-bottom: 1px solid var(--line); }
.drawer-group > summary, .drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; font-size: 18px; font-weight: 700; color: var(--fg); list-style: none; cursor: pointer;
}
.drawer-group > summary::-webkit-details-marker { display: none; }
.drawer-group > summary .icon { transition: transform 0.2s; color: var(--fg-2); }
.drawer-group[open] > summary .icon { transform: rotate(180deg); }
.drawer-sub { display: grid; gap: 2px; padding: 0 0 12px; }
.drawer-sub a { display: flex; gap: 12px; align-items: center; padding: 11px 8px; border-radius: var(--r-s); color: var(--fg-1); font-weight: 500; }
.drawer-sub a:hover { background: rgba(255, 255, 255, 0.05); }
.drawer-sub a .icon { color: var(--accent-2); }
.drawer-cta { margin-top: 24px; display: grid; gap: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: var(--r-s);
  font-size: 15px; font-weight: 700; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; transition: transform 0.15s var(--ease), background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.btn .icon { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent-btn); color: #fff; box-shadow: 0 10px 30px -10px rgba(var(--accent-rgb), 0.6); }
.btn-primary:hover { background: var(--accent-2); color: #04110a; box-shadow: 0 14px 40px -10px rgba(var(--accent-rgb), 0.7); transform: translateY(-1px); }
.btn-secondary { background: rgba(255, 255, 255, 0.04); color: var(--fg); border-color: var(--line-2); }
.btn-secondary:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.08); transform: translateY(-1px); }
.btn-ghost { color: var(--fg-1); padding-inline: 12px; }
.btn-ghost:hover { color: var(--accent-2); }
.btn-lg { padding: 18px 30px; font-size: 16px; border-radius: 14px; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.nav-actions .btn-sm { min-height: 44px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent-2); }
.link-arrow .icon { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Cards */
.card {
  position: relative; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: clamp(22px, 2.6vw, 32px); box-shadow: var(--shadow-card);
  transition: border-color 0.25s, transform 0.3s var(--ease), background 0.25s;
}
.card-hover:hover { border-color: var(--line-2); transform: translateY(-3px); background: var(--bg-2); }
.card-accent { border-color: var(--accent-line); background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.06), transparent 60%), var(--bg-1); }
.card-glass { background: rgba(255, 255, 255, 0.025); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.card > .icon-box { margin-bottom: 18px; }
.card h3, .card h4 { margin-bottom: 10px; }
.card p { color: var(--fg-2); font-size: 15px; line-height: 1.6; }
.card .link-arrow { margin-top: 18px; font-size: 14px; }
.card-pad-s { padding: 20px; }
.card-list { display: grid; gap: 10px; margin-top: 16px; }
.card-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--fg-1); }
.card-list li .icon { color: var(--accent-2); margin-top: 3px; width: 16px; height: 16px; }
.card-list li > :not(.icon) { flex: 1; min-width: 0; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); }
.bento > * { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
.bento .span-6 { grid-column: span 6; }

/* Pills / badges / tags */
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; color: var(--fg-1);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2);
}
.pill .icon { width: 14px; height: 14px; color: var(--accent-2); }
.pill-accent { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-2); }
.pill-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.2); }
.tag { display: inline-flex; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--bg-3); color: var(--fg-2); border: 1px solid var(--line); }
.tag-accent { background: var(--accent-soft); color: var(--accent-2); border-color: var(--accent-line); }
.tag-danger { background: rgba(240, 101, 101, 0.1); color: var(--danger); border-color: rgba(240, 101, 101, 0.3); }
.tag-warn { background: rgba(245, 176, 65, 0.1); color: var(--warn); border-color: rgba(245, 176, 65, 0.3); }
.tag-info { background: rgba(106, 168, 255, 0.1); color: var(--info); border-color: rgba(106, 168, 255, 0.3); }
.tag-violet { background: rgba(176, 154, 255, 0.1); color: var(--violet); border-color: rgba(176, 154, 255, 0.3); }

/* Hero */
.hero { position: relative; padding-block: clamp(56px, 8vw, 110px) clamp(40px, 6vw, 80px); overflow: clip; }
.hero-inner { display: grid; gap: 24px; max-width: 900px; }
.hero.is-center .hero-inner { margin-inline: auto; text-align: center; justify-items: center; }
.hero h1 { max-width: 20ch; }
.hero.is-center h1 { max-width: 28ch; }
/* Hero a due colonne: testo + visual (mock) */
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-split .hero-inner { max-width: none; }
.hero-split .hero-visual { margin-top: 0; min-width: 0; }
.hero .lead { max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero.is-center .hero-actions { justify-content: center; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--fg-2); }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .icon { width: 14px; height: 14px; color: var(--accent-2); }
.hero-visual { margin-top: clamp(40px, 6vw, 72px); }

/* Stats */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.stat-row.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-row.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { background: var(--bg-1); padding: clamp(20px, 2.4vw, 30px) clamp(18px, 2vw, 28px); display: grid; gap: 6px; }
.stat-value { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.03em; color: var(--fg); line-height: 1; }
.stat-value em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--accent-2); }
.stat-label { font-size: 14px; color: var(--fg-2); line-height: 1.45; }

/* Steps / process */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); counter-reset: step; }
.step { position: relative; padding: 24px 22px; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-l); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-2); font-weight: 800; font-size: 14px; margin-bottom: 16px; font-family: var(--font-mono); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--fg-2); }
.step ul { margin-top: 14px; display: grid; gap: 6px; }
.step li { font-size: 13px; color: var(--fg-1); display: flex; gap: 8px; }
.step li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); margin-top: 8px; flex: none; }

/* Timeline (vertical steps, narrow layouts) */
.timeline { display: grid; gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(to bottom, var(--accent-line), var(--line)); }
.timeline-item { display: grid; grid-template-columns: 40px 1fr; gap: 20px; padding-block: 18px; }
.timeline-item .step-num { margin: 0; }
.timeline-item h3 { font-size: 19px; margin-bottom: 6px; }
.timeline-item p { color: var(--fg-2); font-size: 15px; }

/* Feature rows (alternating text + visual) */
.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); align-items: center; padding-block: clamp(32px, 5vw, 64px); }
.feature:nth-child(even) > .feature-text { order: 2; }
.feature-text { display: grid; gap: 16px; }
.feature-text h3 { font-size: clamp(24px, 2.8vw, 34px); }
.feature-text p { color: var(--fg-2); }

/* Browser / device mock */
.browser { background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-glow); }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.browser-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--line-2); }
.browser-dot.r { background: #ff5f57; border-color: transparent; }
.browser-dot.y { background: #febc2e; border-color: transparent; }
.browser-dot.g { background: #28c840; border-color: transparent; }
.browser-url { margin-left: 10px; flex: 1; font-size: 12px; color: var(--fg-3); font-family: var(--font-mono); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-body { padding: clamp(14px, 2vw, 22px); }

/* KPI tiles (inside mocks) */
.kpi { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 6px; }
.kpi-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.kpi-value { font-size: clamp(20px, 2vw, 26px); font-weight: 700; color: var(--fg); letter-spacing: -0.02em; line-height: 1; }
.kpi-delta { font-size: 12px; font-weight: 600; color: var(--accent-2); display: inline-flex; gap: 4px; align-items: center; }
.kpi-delta.is-down { color: var(--danger); }
.kpi-delta.is-flat { color: var(--fg-3); }
.kpi-delta .icon { width: 12px; height: 12px; }

/* Grafici CSS nei mock: barre (--h) e meter (--w) */
.bars { display: flex; align-items: flex-end; gap: 8px; height: 112px; }
.bar { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.bar i { display: block; width: 100%; height: var(--h, 40%); border-radius: 4px 4px 0 0; background: rgba(var(--accent-rgb), 0.32); }
.bar.is-hi i { background: var(--accent-2); }
.bar span { font-size: 10px; color: var(--fg-3); white-space: nowrap; }
.bar.is-hi span { color: var(--accent-2); font-weight: 700; }
.meter { height: 4px; border-radius: 2px; background: var(--bg-3); overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--w, 50%); border-radius: 2px; background: var(--c, var(--accent-2)); }

/* Tabella dati (mock e documentazione) */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; border: 1px solid var(--line); }
.data-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 13px; }
.data-table th, .data-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table th { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); background: var(--bg-2); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td { color: var(--fg-1); }
.data-table td b { color: var(--fg); }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.data-table tr.is-hi td { background: rgba(var(--accent-rgb), 0.06); color: var(--fg); }

/* Chat bubbles (AI Data Bot) */
.chat { display: grid; gap: 8px; }
.msg { max-width: 92%; padding: 10px 14px; border-radius: 14px; font-size: 13px; line-height: 1.5; }
.msg.is-user { justify-self: end; background: var(--bg-3); border: 1px solid var(--line-2); color: var(--fg-1); border-bottom-right-radius: 4px; }
.msg.is-bot { justify-self: start; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--fg); border-bottom-left-radius: 4px; }
.msg b { color: var(--accent-2); }
.chat-meta { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; color: var(--fg-3); }

/* Logo marquee */
.logo-strip { padding-block: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.logo-strip .kicker { text-align: center; margin-bottom: 22px; }
.marquee { display: flex; gap: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; flex: none; gap: 12px; padding-right: 12px; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.logo-item { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--bg-1); font-size: 13px; font-weight: 600; color: var(--fg-2); white-space: nowrap; }
.logo-item img { width: 18px; height: 18px; filter: brightness(0) invert(1); opacity: 0.8; }
.logo-item img.is-color { filter: none; opacity: 1; border-radius: 4px; }
.logo-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* FAQ (native details) */
.faq { display: grid; gap: 10px; max-width: var(--container-narrow); margin-inline: auto; }
.faq-item { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; transition: border-color 0.2s; }
.faq-item[open] { border-color: var(--accent-line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 17px; color: var(--fg); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--accent-2); transition: transform 0.25s var(--ease); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-body { padding: 0 22px 22px; color: var(--fg-2); font-size: 15px; line-height: 1.7; }
.faq-body p + p { margin-top: 10px; }

/* CTA banner */
.cta-banner {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(44px, 6vw, 80px) clamp(22px, 4vw, 64px);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.08), rgba(var(--accent-rgb), 0.02)), var(--bg-1);
  border: 1px solid var(--accent-line); border-radius: var(--r-xl);
}
.cta-banner::before { content: ""; position: absolute; left: 50%; top: -40%; width: 600px; height: 400px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(var(--accent-rgb), 0.25), transparent 65%); pointer-events: none; }
.cta-banner > * { position: relative; }
.cta-banner h2 { max-width: 20ch; margin-inline: auto; margin-block: 14px 12px; }
.cta-banner .lead { max-width: 560px; margin-inline: auto; color: var(--fg-1); }
.cta-banner .hero-actions { justify-content: center; margin-top: 28px; }
.cta-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 28px; font-size: 13px; color: var(--fg-2); }
.cta-trust span { display: inline-flex; align-items: center; gap: 6px; }
.cta-trust .icon { width: 14px; height: 14px; color: var(--accent-2); }

/* Callout / problem box */
.callout { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 20px 22px; border-radius: var(--r-m); background: var(--bg-1); border: 1px solid var(--line); border-left: 3px solid var(--accent-2); }
.callout.is-danger { border-left-color: var(--danger); }
.callout.is-warn { border-left-color: var(--warn); }
.callout .icon { color: var(--accent-2); margin-top: 3px; }
.callout.is-danger .icon { color: var(--danger); }
.callout.is-warn .icon { color: var(--warn); }
.callout p { color: var(--fg-2); font-size: 15px; }

/* Comparison (before/after) */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.compare-col { padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-l); border: 1px solid var(--line); background: var(--bg-1); }
.compare-col.is-after { border-color: var(--accent-line); background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.07), transparent 70%), var(--bg-1); }
.compare-col h3 { font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 18px; }
.compare-col.is-after h3 { color: var(--accent-2); }
.compare-col li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--fg-1); }
.compare-col li .icon { flex: none; margin-top: 3px; width: 16px; height: 16px; color: var(--danger); }
.compare-col.is-after li .icon { color: var(--accent-2); }

/* Prose (blog, legal) */
.prose { max-width: var(--container-narrow); margin-inline: auto; font-size: 17px; line-height: 1.75; color: var(--fg-1); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 2em; }
.prose h3 { font-size: clamp(20px, 2.2vw, 24px); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 0.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--accent-2); }
.prose a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(var(--accent-rgb), 0.4); }
.prose blockquote { border-left: 3px solid var(--accent-2); padding: 6px 0 6px 20px; color: var(--fg-2); font-family: var(--font-serif); font-style: italic; font-size: 1.2em; }
.prose code { font-family: var(--font-mono); font-size: 0.9em; background: var(--bg-3); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line); }
.prose pre { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px 20px; overflow-x: auto; font-size: 14px; }
.prose pre code { background: none; border: 0; padding: 0; }
.prose img { border-radius: var(--r-m); border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--fg); font-weight: 700; }
.prose hr { border: 0; height: 1px; background: var(--line); }
.prose mark { background: var(--warn); color: var(--bg); padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.prose .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-m); }
.prose .table-wrap table { min-width: 560px; }
.prose .table-wrap th, .prose .table-wrap td { white-space: normal; }
.prose.is-legal { font-size: 16px; }
.prose.is-legal h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 1.8em; }
.prose.is-legal h3 { font-size: 19px; margin-top: 1.4em; }

/* Post cards */
.post-card { display: grid; gap: 12px; padding: clamp(22px, 2.6vw, 30px); background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-l); transition: border-color 0.2s, transform 0.3s var(--ease); }
.post-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; color: var(--fg-3); }
.post-card h3 { font-size: 21px; }
.post-card h3 a { color: inherit; transition: color 0.15s; }
.post-card:hover h3 a { color: var(--accent-2); }
.post-card p { color: var(--fg-2); font-size: 15px; }

/* Team */
.founder { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.founder-photo { aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-glow); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); }
.social-links { display: flex; gap: 10px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); color: var(--fg-2); transition: color 0.15s, border-color 0.15s, background 0.15s; }
.social-links a:hover { color: var(--fg); border-color: var(--line-2); background: rgba(255, 255, 255, 0.05); }
.social-links svg { width: 18px; height: 18px; fill: currentColor; }
.social-links svg.icon { fill: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 80px) 32px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand img { height: 28px; width: auto; }
.footer-brand p { color: var(--fg-2); font-size: 15px; max-width: 320px; }
.footer-col .footer-heading { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--fg-2); font-size: 15px; transition: color 0.15s; }
.footer-col a:hover { color: var(--fg); }
.footer-bottom { margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 13px; color: var(--fg-3); }
.footer-bottom a { color: var(--fg-3); }
.footer-bottom a:hover { color: var(--fg-1); }

/* Booking (Google Calendar) — embed inline, identico a valeriopex.com.
   L'iframe di Google non si può tematizzare: lo presentiamo come una "card" chiara dentro una cornice scura,
   con altezze tarate sui layout interni di Google (largo ≥ 900px, impilato sotto) per evitare lo scroll interno. */
.booking { display: grid; gap: 0; max-width: 980px; margin-inline: auto; border: 1px solid var(--line-2); border-radius: var(--r-xl); background: var(--bg-1); box-shadow: var(--shadow-glow); overflow: hidden; }
.booking-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.booking-head-title { display: flex; align-items: center; gap: 12px; }
.booking-head-title .avatar { width: 40px; height: 40px; border: 1px solid var(--line-2); }
.booking-head-title strong { display: block; color: var(--fg); font-size: 15px; line-height: 1.25; }
.booking-head-title small { display: block; color: var(--fg-3); font-size: 13px; }
.booking-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--fg-2); }
.booking-meta span { display: inline-flex; align-items: center; gap: 6px; }
.booking-meta .icon { width: 15px; height: 15px; color: var(--accent-2); }
.booking-frame { position: relative; background: #fff; container-type: inline-size; }
.booking-frame::before { content: "Caricamento del calendario…"; position: absolute; top: 120px; left: 0; right: 0; text-align: center; font-size: 14px; color: #6b6b6b; }
.booking-frame.is-loaded::before { content: none; }
.booking-frame iframe { position: relative; display: block; width: 100%; height: 680px; border: 0; background: transparent; color-scheme: light; }
.booking-alt { padding: 12px 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-3); text-align: center; }
.booking-alt a { color: var(--fg-1); display: inline-flex; align-items: center; gap: 4px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.booking-alt a:hover { color: var(--accent-2); }
/* Altezze misurate sul contenuto Google per larghezza dell'iframe (layout largo ≥ 600px, impilato sotto) */
@media (max-width: 640px) { .booking-frame iframe { height: 1260px; } } /* fallback senza container query */
@container (max-width: 959px) { .booking-frame iframe { height: 695px; } }
@container (max-width: 639px) { .booking-frame iframe { height: 760px; } }
@container (max-width: 599px) { .booking-frame iframe { height: 1200px; } }
@container (max-width: 479px) { .booking-frame iframe { height: 1250px; } }
@container (max-width: 379px) { .booking-frame iframe { height: 1300px; } }
@media (max-width: 600px) {
  .booking { border-radius: var(--r-l); margin-inline: calc(var(--gutter) * -0.5); }
  .booking-head { padding: 14px 16px; }
  .booking-meta { width: 100%; }
}

/* Consent banner */
.consent { position: fixed; inset: auto 0 0 0; z-index: 200; padding: 0 var(--gutter) max(16px, env(safe-area-inset-bottom)); pointer-events: none; }
.consent-box {
  pointer-events: auto; max-width: 720px; margin-inline: auto; display: grid; gap: 16px;
  padding: 20px 22px; background: rgba(13, 13, 13, 0.96); border: 1px solid var(--line-2); border-radius: var(--r-l);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(var(--accent-rgb), 0.08);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transform: translateY(24px); opacity: 0; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.consent.is-open .consent-box { transform: none; opacity: 1; }
.consent-head { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.consent-head .icon-box { width: 40px; height: 40px; border-radius: 12px; }
.consent-title { font-weight: 700; color: var(--fg); font-size: 16px; margin-bottom: 4px; }
.consent-text { font-size: 14px; color: var(--fg-2); line-height: 1.55; }
.consent-text a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.consent-prefs { display: grid; gap: 8px; padding: 12px 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-s); }
.consent-opt { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg-1); cursor: pointer; }
.consent-opt input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.consent-opt strong { color: var(--fg); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-actions .btn { padding: 12px 18px; font-size: 14px; }
@media (max-width: 600px) {
  .consent-box { padding: 16px; border-radius: var(--r-m); }
  .consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .consent-actions .btn-ghost { grid-column: 1 / -1; }
}

/* Breadcrumb */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-3); }
.breadcrumb a:hover { color: var(--fg-1); }
.breadcrumb .icon { width: 12px; height: 12px; }
.breadcrumb [aria-current] { color: var(--fg-2); }
.hero-inner > .breadcrumb { margin-bottom: -8px; }

/* Sub-navigation (cluster pages) */
.subnav { display: flex; gap: 6px; overflow-x: auto; padding: 6px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--bg-1); scrollbar-width: none; width: max-content; max-width: 100%; margin-inline: auto; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 9px 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; color: var(--fg-2); }
.subnav a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.05); }
.subnav a[aria-current="page"] { color: #04110a; background: var(--accent-2); }

/* Illustrazioni animate (.fx): immagine schematica + overlay SVG (partials/fx-figure.njk, dati in _data/figures.js) */
.fx { display: grid; gap: 14px; margin: 0; }
.fx-stage { position: relative; overflow: hidden; border-radius: var(--r-l); border: 1px solid var(--line-2); background: #0b0b0b; box-shadow: var(--shadow-card); isolation: isolate; }
.fx-stage img { display: block; width: 100%; height: auto; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.fx-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 0.8s 0.6s ease; filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), 0.55)); }
.fx-sheen { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.05) 50%, transparent 65%); transform: translateX(-100%); }
.fx-stage.is-cropped { aspect-ratio: var(--fx-aspect); }
.fx-stage.is-cropped img { height: 100%; object-fit: cover; }
.fx.in .fx-stage img { transform: scale(1); }
.fx.in .fx-overlay { opacity: 1; }
.fx.in .fx-sheen { animation: fx-sheen 7s 1.2s ease-in-out infinite; }
@keyframes fx-sheen { 0% { transform: translateX(-100%); } 35%, 100% { transform: translateX(100%); } }
.fx figcaption { font-size: 14px; line-height: 1.6; color: var(--fg-3); text-align: center; max-width: 680px; margin-inline: auto; }
.fx.is-left figcaption { text-align: left; margin-inline: 0; }
.fx-wrap { max-width: 1040px; margin: 0 auto clamp(32px, 4vw, 48px); }
.fx-wrap.is-doc { margin: clamp(20px, 3vw, 32px) 0; }
.stack > .fx { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .fx-overlay, .fx-sheen { display: none; } .fx-stage img { transform: none; } }
@media (max-width: 600px) { .fx-stage { border-radius: var(--r-m); } .fx figcaption { text-align: left; } }

/* 7. MOTION & UTILITIES --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; } .mt-6 { margin-top: 64px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; } .mb-5 { margin-bottom: 48px; }
.mx-auto { margin-inline: auto; }
.maxw-s { max-width: 560px; } .maxw-m { max-width: 720px; } .maxw-l { max-width: 900px; }
.hide-mobile { display: initial; }
.only-mobile { display: none; }
.self-start { justify-self: start; }
.hide-sm { display: initial; }

/* 8. RESPONSIVE ------------------------------------------------------------ */
@media (max-width: 1060px) {
  .nav-menu { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bento > *, .bento .span-3, .bento .span-4 { grid-column: span 3; }
  .bento .span-6 { grid-column: span 6; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .feature, .founder { grid-template-columns: 1fr; }
  .feature:nth-child(even) > .feature-text { order: 0; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare { grid-template-columns: 1fr; }
  .nav-logo img { height: 26px; }
  .hide-mobile { display: none !important; }
  .only-mobile { display: initial; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .bento > *, .bento .span-3, .bento .span-4, .bento .span-6 { grid-column: span 6; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-banner .hero-actions .btn { width: 100%; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 28px; }
  .faq-item summary { padding: 16px 18px; font-size: 16px; }
  .faq-body { padding: 0 18px 18px; }
  .card { border-radius: var(--r-m); }
  .cta-banner { border-radius: var(--r-l); }
  .hide-sm { display: none !important; }
}
@media (max-width: 1060px) {
  .hero-split { grid-template-columns: 1fr; }
}
