/* ========================================================================
   VOTIX — v4 landing
   Palette: cream/ivory bg, rounded containers, green accents,
   Inter 900 + Instrument Serif italic for display.
   Mobile-first, Figma-accurate admin shot in hero.
   ======================================================================== */

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

:root {
  --bg: #F5F3EE;
  --bg-2: #FFFCF7;
  --card: #FFFFFF;
  --ink: #0A0A0B;
  --ink-2: #1F2937;
  --muted: #6B7280;
  --muted-2: #9CA3AF;
  --line: #E8E4DA;
  --line-2: #EEEAE0;

  --green-50:  #ECFDF5;
  --green-100: #D1FAE5;
  --green-200: #A7F3D0;
  --green-300: #6EE7B7;
  --green-400: #34D399;
  --green-500: #10B981;
  --green-600: #059669;
  --green-700: #047857;
  --green-900: #064E3B;

  --tuologo-a: #6366F1;
  --tuologo-b: #8B5CF6;

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 44px;
  --radius-2xl: 56px;

  --shadow-sm: 0 2px 8px rgba(10,10,11,0.06);
  --shadow-md: 0 12px 30px -10px rgba(10,10,11,0.14);
  --shadow-lg: 0 30px 60px -20px rgba(10,10,11,0.2);

  --f-display: "Inter", system-ui, -apple-system, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;

  --container: 1200px;
}

*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (max-width: 900px) { [id] { scroll-margin-top: 10px; } }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

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

/* ========================================================================
   BUTTONS
   ======================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display);
  font-weight: 700; letter-spacing: -0.01em;
  line-height: 1; white-space: nowrap;
  cursor: pointer; border: 0;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn-pill { border-radius: 999px; }
.btn-sm  { padding: 11px 18px; font-size: 14px; }
.btn-xl  { padding: 18px 30px; font-size: 16px; }

.btn-primary {
  background: var(--ink); color: #fff;
  box-shadow: 0 6px 18px -4px rgba(10,10,11,0.35), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px -6px rgba(10,10,11,0.45); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-1px); }

.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(10,10,11,0.12);
}
.btn-ghost:hover { background: rgba(10,10,11,0.04); }

.btn-dark-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(10,10,11,0.2);
}
.btn-dark-ghost:hover { background: rgba(10,10,11,0.06); }

/* ========================================================================
   HEADER — classic top (always visible at top) + floating pill on scroll
   ======================================================================== */
.header-top {
  position: relative; z-index: 40;
  padding: 22px 0 10px;
}
.header-top-inner {
  display: flex; align-items: center; gap: 24px;
}
.header-top .logo img { height: 32px; width: auto; }
.header-top .nav-links {
  display: flex; gap: 28px; margin-left: auto;
}
.header-top .nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
}
.header-top .nav-links a:hover { color: var(--ink); }
.header-top .header-cta { margin-left: 4px; }

/* Floating pill header (on scroll) */
.site-header {
  position: fixed; top: 14px; left: 0; right: 0;
  z-index: 60; pointer-events: none;
  padding: 0 16px;
  transform: translateY(-20px); opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}
body.scrolled .site-header { transform: translateY(0); opacity: 1; pointer-events: auto; }

.header-pill {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 28px;
  padding: 10px 14px 10px 24px;
  background: rgba(255,252,247,0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(10,10,11,0.08);
  border-radius: 999px;
  box-shadow: 0 18px 40px -18px rgba(10,10,11,0.25);
}
.header-pill .logo img { height: 26px; width: auto; }
.header-pill .nav-links {
  display: flex; gap: 22px; margin-left: auto;
}
.header-pill .nav-links a {
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
}

/* Mobile nav toggle — hidden on desktop */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 0; background: transparent;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  margin-left: auto;
  cursor: pointer;
  position: relative;
  z-index: 102;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================================================
   HERO — rounded shell filling first viewport, with Figma-accurate
   admin shot (based on node 3441:10042 in the Fondo/Filament 3 file)
   ======================================================================== */
.hero-shell {
  padding: 6px 14px 0;
  position: relative;
}
.hero-rounded {
  position: relative;
  background: var(--bg-2);
  border-radius: var(--radius-2xl);
  padding: clamp(72px, 9vh, 120px) 24px 0;
  overflow: hidden;
  border: 1px solid var(--line-2);
  min-height: calc(100vh - 84px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(167, 243, 208, 0.28), transparent 60%),
    radial-gradient(ellipse 40% 30% at 12% 88%, rgba(110, 231, 183, 0.18), transparent 70%),
    radial-gradient(ellipse 40% 30% at 88% 86%, rgba(52, 211, 153, 0.12), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(10,10,11,0.06) 1px, transparent 1.4px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 0%, transparent 75%);
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 1060px;
}

.hero-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(46px, 7.6vw, 108px);
  line-height: 0.93;
  letter-spacing: -0.038em;
  margin: 0 auto 22px;
  max-width: 16ch;
  color: var(--ink);
}
.hero-title em {
  font-family: var(--f-serif);
  font-style: italic; font-weight: 400;
  letter-spacing: -0.005em;
  background: linear-gradient(92deg, var(--green-700) 10%, var(--green-400) 90%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: 0.04em;
}

.hero-lede {
  font-size: clamp(16px, 1.35vw, 19.5px);
  color: var(--muted);
  max-width: 56ch; margin: 0 auto 34px;
  line-height: 1.6;
}
.hero-lede .d-br { display: inline; }

.hero-cta {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vh, 72px);
}

/* ---------- Floating key-point cards (inspired by Ispirazione/Hero) ---------- */
.hero-fx {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1800px;
  pointer-events: none;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(14px, 2vw, 40px);
}
.fx-col {
  display: flex;
  flex-direction: column;
  gap: 26px;
  pointer-events: auto;
}
.fx-col-right { align-items: flex-end; }
.fx-col { will-change: transform; }

.fx {
  background: #FFFFFF;
  border: 1px solid rgba(10,10,11,0.06);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow:
    0 1px 0 rgba(10,10,11,0.02),
    0 18px 40px -14px rgba(10,10,11,0.18),
    0 8px 18px -10px rgba(6,95,70,0.12);
  font-family: var(--f-display);
  transform: rotate(var(--rot, 0deg));
  animation: fxFloat var(--fx-dur, 7s) ease-in-out infinite;
  animation-delay: var(--fx-delay, 0s);
  will-change: transform;
}
.fx:hover { animation-play-state: paused; }

@keyframes fxFloat {
  0%, 100% {
    transform: translateY(0) rotate(var(--rot, 0deg));
  }
  50% {
    transform: translateY(-4px) rotate(calc(var(--rot, 0deg) + 0.5deg));
  }
}
@media (prefers-reduced-motion: reduce) {
  .fx { animation: none; }
}

/* Phone voter — left column, top */
.fx-phone {
  --rot: -6deg;
  --fx-dur: 5.4s;
  --fx-delay: 0s;
  width: 172px;
  padding: 14px 14px 16px;
}
.fx-phone-top {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
}
.fx-phone-eyebrow {
  font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 700; color: var(--muted);
  margin-bottom: 8px;
}
.fx-phone-opt {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  background: #FAFAF7;
  border: 1px solid #F1F0EC;
  border-radius: 10px;
  font-size: 11px; font-weight: 700;
  color: #374151;
  margin-bottom: 5px;
}
.fx-phone-opt.on {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
  box-shadow: 0 4px 10px -4px rgba(4,120,87,0.6);
}
.fx-radio {
  width: 12px; height: 12px; border-radius: 999px;
  border: 1.5px solid #D4D4D8;
  flex-shrink: 0; position: relative;
}
.fx-phone-opt.on .fx-radio {
  background: #fff; border-color: #fff;
}
.fx-phone-opt.on .fx-radio::after {
  content: ""; position: absolute; inset: 3px;
  background: var(--green-700); border-radius: 999px;
}
.fx-phone-btn {
  margin-top: 8px;
  padding: 9px;
  background: var(--ink); color: #fff;
  border-radius: 10px;
  font-size: 11px; font-weight: 800;
  text-align: center;
  letter-spacing: -0.005em;
}

/* Live results chip — right column, top */
.fx-live {
  --rot: 5deg;
  --fx-dur: 5.8s;
  --fx-delay: -0.6s;
  width: 172px;
  background: #0A0A0B;
  color: #fff;
  border-color: rgba(255,255,255,0.08);
}
.fx-live-head {
  display: flex; align-items: center; gap: 7px;
  font-size: 9px; font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--green-400);
  margin-bottom: 11px;
}
.fx-live-head strong {
  margin-left: auto;
  font-size: 10px; color: #fff;
  letter-spacing: -0.005em;
  text-transform: none;
}
.fx-live-dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--green-400);
  box-shadow: 0 0 0 3px rgba(52,211,153,0.25);
  animation: fxpulse 1.6s ease-in-out infinite;
}
@keyframes fxpulse {
  0%,100% { opacity: 1; }
  50% { opacity: .45; }
}
.fx-live-row {
  display: grid; grid-template-columns: 16px 1fr 22px;
  gap: 8px; align-items: center;
  font-size: 10px; font-weight: 700;
  margin-bottom: 5px;
}
.fx-live-row:last-child { margin-bottom: 0; }
.fx-live-row span { color: #A1A1AA; }
.fx-live-row b { text-align: right; color: #fff; font-weight: 800; }
.fx-live-bar { height: 5px; background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden; }
.fx-live-bar i {
  display: block; height: 100%;
  background: var(--green-400);
  border-radius: 999px;
}
.fx-live-bar i.mid  { background: #71717A; }
.fx-live-bar i.soft { background: #3F3F46; }

/* Timer — left column, bottom */
.fx-timer {
  --rot: -4deg;
  --fx-dur: 6s;
  --fx-delay: -1.3s;
  width: 150px;
  background: #FEF3C7;
  border-color: rgba(120,53,15,0.08);
  text-align: center;
  margin-left: 24px;
}
.fx-timer-label {
  font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 800; color: #78350F;
  opacity: 0.7;
  margin-bottom: 6px;
}
.fx-timer-num {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 38px;
  line-height: 1;
  color: #78350F;
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.fx-timer-bar {
  height: 5px;
  background: rgba(120,53,15,0.14);
  border-radius: 999px; overflow: hidden;
}
.fx-timer-bar i {
  display: block; height: 100%; width: 62%;
  background: #B45309;
  border-radius: 999px;
}

/* Verbale PDF — right column, bottom */
.fx-verbale {
  --rot: 7deg;
  --fx-dur: 5.6s;
  --fx-delay: -1.9s;
  width: 168px;
  padding: 13px 15px 14px;
  margin-right: 24px;
}

/* Quorum counter — left column, middle */
.fx-quorum {
  --rot: -3deg;
  --fx-dur: 6.5s;
  --fx-delay: -2.5s;
  width: 158px;
  text-align: center;
  padding: 13px 15px 14px;
}
.fx-quorum-label {
  font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 800; color: var(--muted);
  margin-bottom: 4px;
}
.fx-quorum-num {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 34px;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 9px;
  letter-spacing: -0.015em;
}
.fx-quorum-num small {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
  font-style: italic;
}
.fx-quorum-bar {
  height: 5px;
  background: #E4E4E7;
  border-radius: 999px; overflow: hidden;
  margin-bottom: 9px;
}
.fx-quorum-bar i {
  display: block; height: 100%; width: 93.5%;
  background: linear-gradient(92deg, var(--green-400), var(--green-700));
  border-radius: 999px;
}
.fx-quorum-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px 3px 7px;
  background: var(--green-50);
  color: var(--green-700);
  border-radius: 999px;
  font-size: 9px; font-weight: 800;
  letter-spacing: 0.02em;
}
.fx-quorum-dot {
  width: 5px; height: 5px; border-radius: 999px;
  background: var(--green-700);
  box-shadow: 0 0 0 2px rgba(6,95,70,0.18);
}

/* Email invite — right column, middle */
.fx-email {
  --rot: 4deg;
  --fx-dur: 6.2s;
  --fx-delay: -3.3s;
  width: 172px;
  padding: 12px 14px 14px;
}
.fx-email-from {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 9px;
  border-bottom: 1px solid #F1F0EC;
  margin-bottom: 9px;
}
.fx-email-avatar {
  width: 22px; height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-400), var(--green-700));
  color: #fff;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 900;
  flex-shrink: 0;
}
.fx-email-meta {
  display: flex; flex-direction: column;
  min-width: 0; line-height: 1.15;
}
.fx-email-meta strong {
  font-size: 10.5px; font-weight: 800;
  color: var(--ink);
}
.fx-email-meta small {
  font-size: 8.5px;
  color: var(--muted);
  font-weight: 500;
}
.fx-email-subj {
  font-size: 10.5px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.005em;
  margin-bottom: 9px;
  line-height: 1.3;
}
.fx-email-code-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 10px;
  background: var(--green-50);
  border-radius: 9px;
}
.fx-email-code-label {
  font-size: 8.5px;
  text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 800; color: var(--green-700);
}
.fx-email-code {
  font-family: var(--f-display);
  font-size: 16px; font-weight: 900;
  color: var(--green-700);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.fx-verbale-head {
  display: flex; align-items: center; gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid #F1F0EC;
  margin-bottom: 10px;
  font-size: 10px; font-weight: 700;
  color: var(--muted);
}
.fx-verbale-title {
  display: block;
  font-size: 13px; font-weight: 900;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 10px;
}
.fx-verbale-seal {
  display: flex; align-items: center; gap: 7px;
  font-size: 10px; font-weight: 700;
  color: var(--green-700);
}
.fx-check {
  width: 16px; height: 16px; border-radius: 999px;
  background: var(--green-50);
  position: relative;
  flex-shrink: 0;
}
.fx-check::after {
  content: "";
  position: absolute;
  left: 5px; top: 3px;
  width: 4px; height: 8px;
  border-right: 2px solid var(--green-700);
  border-bottom: 2px solid var(--green-700);
  transform: rotate(45deg);
}

/* Hide all decorative cards below the breakpoint where the admin shot
   would overlap them — keeps mobile clean. */
@media (max-width: 1180px) {
  .hero-fx { display: none; }
}

/* ---------- Hero mobile shot (phone + mini admin) ---------- */
.hero-mobile-shot { display: none; }

@media (max-width: 900px) {
  .hero-mobile-shot {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    padding: 0 12px;
    margin-bottom: -40px;
    position: relative; z-index: 2;
  }
  .hero-shot-wrap { display: none; }
}

.hm-phone {
  width: 220px;
  flex-shrink: 0;
  background: #0A0A0B;
  border-radius: 36px;
  padding: 9px;
  box-shadow:
    0 20px 60px -15px rgba(10,10,11,0.35),
    inset 0 0 0 1.5px rgba(255,255,255,0.08);
}
.hm-phone-screen {
  background: linear-gradient(135deg, #15803D, #16A34A);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}
.hm-island {
  position: absolute;
  top: 7px; left: 50%;
  transform: translateX(-50%);
  width: 66px; height: 20px;
  background: #0A0A0B;
  border-radius: 20px;
  z-index: 5;
}
.hm-phone-top {
  background: linear-gradient(135deg, #15803D, #16A34A);
  color: #fff;
  padding: 38px 14px 12px;
}
.hm-phone-body {
  background: #fff;
  border-radius: 0 0 28px 28px;
  padding: 10px 12px 14px;
}
.hm-phone-logo {
  display: flex; align-items: center; gap: 5px;
  font-size: 9.5px; font-weight: 800;
  margin-bottom: 10px; opacity: 0.8;
}
.hm-phone-q {
  font-size: 9px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  opacity: 0.7; margin-bottom: 2px;
}
.hm-phone-title {
  font-size: 13px; font-weight: 800; line-height: 1.25;
}
.hm-opt {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 11px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 12px; font-weight: 600; color: var(--ink);
  margin-bottom: 6px;
}
.hm-opt--on {
  border-color: var(--green-600);
  background: var(--green-50);
  color: var(--green-700);
}
.hm-radio {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid var(--line); flex-shrink: 0;
}
.hm-opt--on .hm-radio {
  border-color: var(--green-600);
  background: var(--green-600);
  box-shadow: inset 0 0 0 2.5px #fff;
}
.hm-send {
  display: block; width: 100%; margin-top: 6px;
  padding: 10px; background: var(--ink); color: #fff;
  font-size: 12px; font-weight: 800;
  border: none; border-radius: 10px; text-align: center;
}

/* Mini admin panel (mobile hero) */
.hm-admin {
  flex: 1;
  max-width: 155px;
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 30px -8px rgba(10,10,11,0.15);
}
.hm-admin-bar {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 9px; font-weight: 800; color: var(--ink);
}
.hm-admin-tabs {
  display: flex; border-bottom: 1px solid var(--line);
}
.hm-admin-tabs span {
  flex: 1; padding: 6px 0; text-align: center;
  font-size: 8.5px; font-weight: 700; color: var(--muted);
  border-bottom: 2px solid transparent;
}
.hm-admin-tabs span.active {
  color: var(--green-700);
  border-bottom-color: var(--green-700);
}
.hm-admin-body { padding: 8px 10px 10px; }
.hm-admin-live {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 8px; font-weight: 800; color: #EF4444;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.hm-live-dot {
  width: 5px; height: 5px; border-radius: 50%; background: #EF4444;
  animation: hmLivePulse 1.5s ease infinite;
}
@keyframes hmLivePulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.hm-admin-stats {
  display: flex; gap: 6px; margin-bottom: 8px;
}
.hm-stat {
  flex: 1; background: var(--bg);
  border-radius: 8px; padding: 6px; text-align: center;
}
.hm-stat strong {
  display: block; font-size: 14px; font-weight: 900;
  color: var(--green-700); letter-spacing: -0.02em;
}
.hm-stat span {
  font-size: 8px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.hm-admin-title {
  font-size: 10px; font-weight: 800; margin-bottom: 6px; color: var(--ink);
}
.hm-bar-row {
  display: flex; align-items: center; gap: 5px;
  font-size: 9px; font-weight: 600; color: var(--ink-2);
  margin-bottom: 3px;
}
.hm-bar-row span:first-child { width: 12px; color: var(--muted); }
.hm-bar-track {
  flex: 1; height: 5px; background: var(--line);
  border-radius: 99px; overflow: hidden;
}
.hm-bar-track i {
  display: block; height: 100%; border-radius: 99px;
  background: var(--green-600);
}
.hm-bar-row b { font-size: 9px; min-width: 18px; text-align: right; }

/* ---------- Hero admin shot (Figma-accurate) ---------- */
.hero-shot-wrap {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(0px, 2vw, 36px);
  margin-bottom: -72px;
}
@media (max-width: 1600px) {
  .hero-rounded { min-height: auto; }
  .hero-shot-wrap {
    --scale: calc((100vw - 450px) / 1180px);
    transform: scale(var(--scale));
    transform-origin: top center;
    margin-bottom: calc(64vw - 1205px);
  }
}
@media (max-width: 1180px) {
  .hero-shot-wrap {
    transform: none;
    margin-bottom: -72px;
  }
}

.admin-shot {
  background: #FFFFFF;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow:
    0 2px 0 rgba(10,10,11,0.02),
    0 40px 80px -30px rgba(10,10,11,0.28),
    0 18px 40px -20px rgba(6,95,70,0.15);
  overflow: hidden;
  font-family: var(--f-display);
  color: #18181B;
  aspect-ratio: 1440 / 1000;
  width: 100%;
  display: flex;
  flex-direction: column;
  transform: translateY(0);
}

/* Top bar */
.as-topbar {
  flex: 0 0 56px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px;
  background: #FFFFFF;
  border-bottom: 1px solid #F1F0EC;
}
.as-brand { display: flex; align-items: center; gap: 10px; }
.as-brand strong {
  font-size: 16px; font-weight: 800; letter-spacing: -0.01em;
  background: linear-gradient(92deg, var(--tuologo-a), var(--tuologo-b));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.as-profile {
  width: 34px; height: 34px; border-radius: 999px;
  background: linear-gradient(135deg, #E0E7FF, #C7D2FE);
  color: #4338CA;
  font-size: 12px; font-weight: 800;
  display: grid; place-items: center;
}

/* Body = rail + main */
.as-body {
  flex: 1;
  display: grid;
  grid-template-columns: 86px 1fr;
  min-height: 0;
}

/* Icon rail (left nav) */
.as-rail {
  background: #FAFAF7;
  border-right: 1px solid #F1F0EC;
  padding: 16px 10px;
  display: flex; flex-direction: column; gap: 4px;
}
.as-rail-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 6px 10px;
  border-radius: 12px;
  color: #9CA3AF;
  font-size: 10px; font-weight: 600;
}
.as-rail-item svg { stroke: currentColor; }
.as-rail-item.active {
  background: #ECFDF5;
  color: var(--green-700);
}

/* Main content area */
.as-main {
  padding: 22px 26px 0;
  display: flex; flex-direction: column;
  min-width: 0; min-height: 0;
  overflow: hidden;
}
.as-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600;
  color: #9CA3AF;
  margin-bottom: 6px;
}
.as-breadcrumb svg { color: #D4D4D8; }
.as-breadcrumb span:last-child { color: #52525B; }
.as-title {
  font-size: 24px; font-weight: 800; letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: #0A0A0B;
}

.as-grid {
  display: grid;
  grid-template-columns: 184px 1fr;
  gap: 22px;
  flex: 1;
  min-height: 0;
  padding-bottom: 22px;
}

/* Secondary sidebar */
.as-sub {
  display: flex; flex-direction: column; gap: 2px;
}
.as-sub-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px; font-weight: 600;
  color: #6B7280;
}
.as-sub-item svg { stroke: currentColor; opacity: 0.7; flex-shrink: 0; }
.as-sub-item.active {
  background: #F4F4F5;
  color: #0A0A0B;
}
.as-sub-item.active svg { opacity: 1; }
.as-count {
  margin-left: auto;
  padding: 2px 8px;
  background: #E4E4E7;
  color: #52525B;
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
}
.as-sub-item.active .as-count {
  background: var(--ink); color: #fff;
}

/* Table card */
.as-card {
  background: #FFFFFF;
  border: 1px solid #F1F0EC;
  border-radius: 14px;
  display: flex; flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.as-card-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #F4F4F0;
}
.as-search {
  flex: 1;
  display: flex; align-items: center; gap: 9px;
  padding: 9px 13px;
  background: #FAFAFA;
  border: 1px solid #F1F0EC;
  border-radius: 10px;
  font-size: 12.5px;
  color: #9CA3AF;
}
.as-search svg { color: #9CA3AF; flex-shrink: 0; }
.as-add {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px;
  background: var(--green-700);
  color: #fff;
  border: 0; border-radius: 10px;
  font-size: 12.5px; font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 14px -6px rgba(4,120,87,0.5);
}

.as-table-scroll {
  flex: 1; min-height: 0;
  overflow: hidden;
}
.as-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  table-layout: fixed;
}
.as-table thead th {
  text-align: left;
  padding: 10px 12px;
  background: #FAFAF7;
  border-bottom: 1px solid #F1F0EC;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9CA3AF;
  white-space: nowrap;
}
.as-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid #F5F5F0;
  vertical-align: middle;
  color: #374151;
}
.as-table tbody tr:last-child td { border-bottom: 0; }
.as-table tbody tr:hover td { background: #FAFAF7; }

/* Column widths (from Figma measurements) */
.as-table .t-chk   { width: 40px; }
.as-table .t-name  { width: 24%; }
.as-table .t-email { width: 28%; }
.as-table .t-state { width: 72px; text-align: center; }
.as-table .t-deleg { width: 18%; }
.as-table .t-code  { width: 70px; }
.as-table .t-act   { width: 34px; }
.as-table td.t-state { text-align: center; }

/* Questions table column widths */
.as-table.as-table-q { table-layout: fixed; }
.as-table-q .t-num    { width: 44px; color: #9CA3AF; font-weight: 700; }
.as-table-q .t-qtitle { width: auto; }
.as-table-q .t-qtype  { width: 130px; }
.as-table-q .t-qstate { width: 124px; }

/* Checkbox */
.cb {
  display: inline-block;
  width: 15px; height: 15px;
  border: 1.5px solid #D4D4D8;
  border-radius: 4px;
  background: #fff;
  vertical-align: middle;
}
.cb.on {
  background: var(--ink);
  border-color: var(--ink);
  position: relative;
}
.cb.on::after {
  content: "";
  position: absolute;
  left: 3px; top: 0px;
  width: 5px; height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

/* Person cell */
.person strong {
  display: block;
  font-size: 13px; font-weight: 700;
  color: #0A0A0B;
  letter-spacing: -0.005em;
}
.person small {
  font-size: 10.5px;
  color: #9CA3AF;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.as-table .email {
  color: #6B7280;
  font-size: 12px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* State icon */
.state-ico {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 999px;
}
.state-ico.ico-ok {
  background: #ECFDF5;
  color: var(--green-700);
}
.state-ico.ico-ok::before {
  content: "";
  display: block;
  width: 4px; height: 8px;
  border-right: 2px solid var(--green-700);
  border-bottom: 2px solid var(--green-700);
  transform: rotate(45deg) translate(-1px, -1px);
}
.state-ico.ico-deleg {
  background: #FEF3C7;
}
.state-ico.ico-deleg::before {
  content: "";
  display: block;
  width: 10px; height: 10px;
  border: 2px solid #B45309;
  border-radius: 999px;
}
.state-ico.badge span {
  position: absolute;
  top: -5px; right: -10px;
  background: var(--ink);
  color: #fff;
  font-size: 9px; font-weight: 800;
  padding: 2px 5px;
  border-radius: 999px;
  line-height: 1;
  min-width: 16px;
  text-align: center;
}

/* Delegato cell */
.td-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 999px;
  background: #F4F4F5;
  border: 0;
  color: #A1A1AA;
  font-size: 15px; font-weight: 600;
  line-height: 1;
  cursor: pointer;
}
.deleg-to {
  font-size: 11.5px;
  color: #374151;
  line-height: 1.25;
}
.deleg-to small {
  display: block;
  font-size: 9.5px;
  color: #9CA3AF;
  letter-spacing: 0.02em;
}

/* Tab / panel visibility inside the admin mockup */
.as-panels {
  min-width: 0; min-height: 0;
  display: flex; flex-direction: column;
}
.as-panel {
  flex: 1;
  min-width: 0; min-height: 0;
  display: flex; flex-direction: column;
}
.as-panel[hidden] { display: none; }

/* Only the three tab buttons are interactive — everything else is decorative */
.admin-shot { pointer-events: none; }
.admin-shot .as-sub-item { pointer-events: auto; cursor: pointer; }

/* Sub-tab button reset (was <a>, now <button>) */
.as-sub-item {
  background: transparent;
  border: 0;
  font-family: inherit;
  text-align: left;
  width: 100%;
  transition: background .15s ease, color .15s ease;
}
.as-sub-item:hover {
  background: #FAFAF7;
  color: #0A0A0B;
}
.as-sub-item:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 2px;
}

/* Static add button (shown in mockup, not interactive) */
.as-add-static { cursor: default; }

/* ================= INFO PANEL ================= */
.as-info-card {
  background: #FFFFFF;
  border: 1px solid #F1F0EC;
  border-radius: 14px;
  padding: 22px 24px 24px;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 0;
  overflow: hidden;
}
.as-info-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #F4F4F0;
}
.as-info-head h3 {
  font-size: 15px; font-weight: 800;
  letter-spacing: -0.01em;
  color: #0A0A0B;
  margin: 0 0 3px;
}
.as-info-head p {
  font-size: 11.5px;
  color: #9CA3AF;
  margin: 0;
  font-weight: 500;
}
.as-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px 5px 9px;
  border-radius: 999px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.as-badge-amber {
  background: #FEF3C7;
  color: #B45309;
}
.as-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  display: inline-block;
}
.as-dot-amber {
  background: #D97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.18);
}
.as-dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 36px;
  margin: 0;
}
.as-dl-row {
  display: flex; flex-direction: column; gap: 4px;
  min-width: 0;
}
.as-dl-row.full { grid-column: 1 / -1; }
.as-dl dt {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9CA3AF;
}
.as-dl dd {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #18181B;
  line-height: 1.4;
}
.as-dl dd small {
  font-size: 10px;
  font-weight: 600;
  color: #9CA3AF;
  margin-left: 2px;
}
.as-dl-row.full dd {
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  line-height: 1.55;
}

/* ================= DOMANDE PANEL ================= */
.as-table-q .q-num {
  font-size: 11.5px;
  font-weight: 700;
  color: #9CA3AF;
  letter-spacing: 0.02em;
}
.q-type {
  display: inline-block;
  padding: 4px 9px;
  background: #F4F4F5;
  color: #52525B;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.q-state {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.q-state-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  display: inline-block;
  flex-shrink: 0;
}
.q-state-done {
  background: #ECFDF5;
  color: var(--green-700);
}
.q-state-done .q-state-dot { background: var(--green-700); }
.q-state-live {
  background: #FEF3C7;
  color: #B45309;
}
.q-state-live .q-state-dot {
  background: #D97706;
  animation: qPulse 1.8s ease-in-out infinite;
}
@keyframes qPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.35); }
  50%      { box-shadow: 0 0 0 5px rgba(217, 119, 6, 0); }
}
.q-state-pending {
  background: #F4F4F5;
  color: #9CA3AF;
}
.q-state-pending .q-state-dot { background: #D4D4D8; }
.as-table-q tr.q-active td {
  background: #FFFBEB;
}
.as-table-q tr.q-active:hover td {
  background: #FEF3C7;
}

/* Code pill */
.code-pill {
  display: inline-block;
  padding: 4px 10px;
  background: #F4F4F5;
  border-radius: 6px;
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: #18181B;
  letter-spacing: 0.03em;
}

/* Send icon (action) */
.ico-send {
  display: inline-block;
  width: 18px; height: 18px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='m22 2-7 20-4-9-9-4z'/><path d='M22 2 11 13'/></svg>") center/contain no-repeat;
  cursor: pointer;
}
.act { text-align: right; }

/* ========================================================================
   TRUST STRIP
   ======================================================================== */
.trust-strip {
  padding: 72px 0 40px;
}
.trust-marquee {
  display: flex;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.trust-bar {
  list-style: none;
  margin: 0;
  padding: 18px 34px;
  background: rgba(255, 252, 247, 0.9);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(10, 10, 11, 0.08);
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(10, 10, 11, 0.02),
    0 18px 40px -18px rgba(10, 10, 11, 0.22);
  display: flex;
  align-items: center;
  gap: 36px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.trust-ico {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--green-700);
}
.trust-item--dup { display: none; }

/* ========================================================================
   SECTION primitives
   ======================================================================== */
.section { padding: 100px 0; }

.section-head {
  margin: 0 auto 60px;
  max-width: 820px;
}
.section-head.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center;
  padding: 8px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.eyebrow span { display: block; }

.section-head h2 {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(34px, 4.8vw, 66px);
  line-height: 0.98; letter-spacing: -0.03em;
  margin: 0 0 18px;
  color: var(--ink);
}
.section-head h2 em {
  font-family: var(--f-serif);
  font-style: italic; font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--green-700);
}
.section-head .lede {
  font-size: 17px; color: var(--muted);
  max-width: 58ch; margin: 0 auto; line-height: 1.55;
}

/* ========================================================================
   SOLUTIONS — big admin mockup
   ======================================================================== */
/* ========================================================================
   PRODUCT SECTION — unified steps + features
   ======================================================================== */
.product-section {
  background: var(--bg);
  padding-top: 140px;
}

/* Process steps — horizontal timeline */
.process-steps {
  list-style: none;
  margin: 0 auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 960px;
  position: relative;
  counter-reset: step;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 20px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: var(--line);
}
.ps {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 12px;
}
.ps-node {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--green-400);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  transition: background .2s ease, border-color .2s ease;
}
.ps:hover .ps-node {
  background: var(--green-700);
  border-color: var(--green-700);
}
.ps:hover .ps-num { color: #fff; }
.ps-num {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--green-700);
  transition: color .2s ease;
}
.ps-content h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.ps-content p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* Divider between steps and feature cards */
.product-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 64px auto 48px;
  max-width: 820px;
}
.product-divider::before,
.product-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.product-divider-label {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
  overflow: hidden;
  min-height: 460px;
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feat-mock {
  position: relative;
  flex: 1;
  display: grid; place-items: center;
  min-height: 240px;
  padding: 20px 0 28px;
}
.feat-text h3 {
  margin: 0 0 8px;
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
}
.feat-text p {
  margin: 0; font-size: 15px; color: var(--muted); line-height: 1.55;
}

/* Feat 1 — Voter card (compact mobile mockup) */
.voter-card {
  width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px -6px rgba(10,10,11,0.12);
}
.vc-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.vc-head strong {
  font-size: 10px; font-weight: 800; color: var(--ink);
}
.vc-badge {
  margin-left: auto;
  font-size: 9px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--bg);
  padding: 3px 8px;
  border-radius: 999px;
}
.vc-body { padding: 16px 16px 18px; }
.vc-question {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.vc-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.vc-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
}
.vc-opt--on {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
}
.vc-radio {
  width: 16px; height: 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  flex-shrink: 0;
  position: relative;
}
.vc-opt--on .vc-radio {
  background: #fff;
  border-color: #fff;
}
.vc-opt--on .vc-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--green-700);
  border-radius: 999px;
}
.vc-submit {
  width: 100%;
  padding: 12px;
  border: 0;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* Feat 2 — Mini projector */
.mini-projector {
  width: 100%;
  max-width: 360px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.mp-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  background: var(--ink); color: #fff;
}
.mp-brand { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; }
.mp-top .live {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 9px; font-weight: 800;
  color: var(--green-400);
}
.mp-top .live .d {
  width: 5px; height: 5px; border-radius: 999px; background: var(--green-400);
}
.mp-body { padding: 16px 18px 20px; }
.mp-eyebrow { font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; }
.mp-question { font-size: 14px; font-weight: 900; letter-spacing: -0.01em; margin: 4px 0 14px; }
.mp-row {
  display: grid; grid-template-columns: 70px 1fr 30px;
  gap: 10px; align-items: center;
  font-size: 10px; margin-bottom: 6px;
}
.mp-row span { color: var(--muted); font-weight: 700; }
.mp-row b { text-align: right; font-weight: 800; }
.mp-bar { height: 7px; background: #EEEAE0; border-radius: 999px; overflow: hidden; }
.mp-bar i { display: block; height: 100%; background: var(--green-700); border-radius: 999px; }
.mp-bar i.mid { background: var(--muted); }
.mp-bar i.soft { background: var(--muted-2); }

/* Feat 3 — Control panel */
.control-panel {
  width: 100%;
  max-width: 320px;
  background: var(--ink);
  border-radius: 20px;
  padding: 20px;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.cp-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 16px;
}
.cp-head strong { font-size: 12px; font-weight: 800; }
.cp-dot {
  width: 8px; height: 8px; border-radius: 999px; background: var(--green-400);
  margin-left: auto;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.cp-q {
  font-size: 11px; color: #A3A3A3; font-weight: 600; margin-bottom: 10px;
}
.cp-timer {
  padding: 16px;
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  margin-bottom: 14px;
  text-align: center;
}
.cp-timer-num {
  font-size: 34px; font-weight: 900; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.cp-timer-bar {
  height: 5px; background: rgba(255,255,255,0.12); border-radius: 999px; overflow: hidden;
}
.cp-timer-bar i {
  display: block; height: 100%; background: var(--green-400); border-radius: 999px;
}
.cp-actions { display: flex; gap: 8px; }
.cp-btn {
  flex: 1; padding: 10px; border: 0; border-radius: 10px;
  font-size: 11px; font-weight: 800; cursor: pointer;
}
.cp-btn-stop { background: #FCA5A5; color: #7F1D1D; }
.cp-btn-next { background: var(--green-400); color: var(--green-900); }

/* Feat 4 — Report */
.report-mock {
  width: 100%; max-width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transform: rotate(-2deg);
}
.rm-head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: #F9F7F2;
  border-bottom: 1px solid var(--line);
  font-size: 11px; font-weight: 700;
  color: var(--muted-2);
}
.rm-head strong { font-size: 10px; color: var(--muted); font-weight: 600; }
.rm-body { padding: 18px 18px 20px; }
.rm-title { font-size: 13px; font-weight: 900; letter-spacing: -0.01em; }
.rm-sub { font-size: 10px; color: var(--muted); margin-top: 2px; }
.rm-line {
  height: 1px; background: var(--line);
  margin: 14px 0 10px;
}
.rm-row {
  display: flex; justify-content: space-between;
  font-size: 11px; padding: 4px 0;
}
.rm-row span { color: var(--ink-2); }
.rm-row b { color: var(--green-700); font-weight: 800; }
.rm-row b.pending { color: #D97706; }
.rm-row.muted span, .rm-row.muted b { color: var(--muted-2); }
.rm-seal {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; color: var(--green-700);
  margin-top: 6px;
}

/* ---------- Feature 5 — White-label showcase ---------- */
.wl-showcase {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.wl-screen {
  width: 170px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px -6px rgba(10,10,11,0.12);
  background: #fff;
}
.wl-screen--b {
  margin-top: 22px;
}
.wl-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
}
.wl-logo-dot {
  width: 14px; height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
}
.wl-bar strong {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.wl-body {
  padding: 10px 12px 14px;
}
.wl-q {
  font-size: 10px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
}
.wl-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.wl-row span {
  font-size: 9px;
  font-weight: 600;
  color: var(--muted);
  width: 28px;
  flex-shrink: 0;
}
.wl-row i {
  height: 6px;
  border-radius: 999px;
  display: block;
}

/* ---------- Feature 6 — Custom / Su misura ---------- */
.custom-mock {
  width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px -6px rgba(10,10,11,0.10);
}
.custom-base {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.custom-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}
.custom-chk {
  width: 16px; height: 16px;
  border-radius: 4px;
  border: 1.5px solid var(--line);
  flex-shrink: 0;
  position: relative;
}
.custom-chk.on {
  background: var(--green-50);
  border-color: var(--green-400);
}
.custom-chk.on::after {
  content: "";
  position: absolute;
  left: 4px; top: 2px;
  width: 4px; height: 7px;
  border-right: 1.5px solid var(--green-700);
  border-bottom: 1.5px solid var(--green-700);
  transform: rotate(45deg);
}
.custom-extra {
  border-top: 1px dashed var(--line);
  padding: 12px 18px 16px;
  background: linear-gradient(180deg, var(--green-50) 0%, #fff 100%);
}
.custom-extra-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-700);
  margin-bottom: 10px;
}
.custom-row--new {
  color: var(--ink);
  font-weight: 700;
}
.custom-chk.accent {
  background: var(--green-700);
  border-color: var(--green-700);
}
.custom-chk.accent::after {
  border-color: #fff;
}

/* ---------- Feature 7 — Wide card (remote + streaming) ---------- */
.feat-wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  min-height: 380px;
  background: linear-gradient(135deg, #0A0A0B 0%, #18181B 100%);
  color: #fff;
  border-color: rgba(255,255,255,0.06);
}
.feat-wide:hover {
  box-shadow:
    var(--shadow-sm),
    0 24px 60px -20px rgba(10,10,11,0.5);
}
.feat-wide-text {
  flex: 1;
  min-width: 0;
}
.feat-wide-text h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 0 0 14px;
}
.feat-wide-text p {
  font-size: 15px;
  line-height: 1.6;
  color: #A1A1AA;
  margin: 0 0 24px;
}
.feat-wide-note {
  font-size: 12.5px;
  line-height: 1.5;
  color: #71717A;
  font-style: italic;
  margin: 0 0 20px;
  padding-left: 14px;
  border-left: 2px solid #3F3F46;
}
.feat-wide-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feat-wide-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #E4E4E7;
}
.feat-wide-points svg {
  color: var(--green-400);
  flex-shrink: 0;
}

/* Remote phone mockup */
.feat-wide-mock {
  flex-shrink: 0;
}
.remote-phone {
  width: 240px;
  background: #27272A;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 4px 20px -6px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.04);
}
.rp-video {
  position: relative;
  background: #18181B;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.rp-video-overlay {
  position: absolute;
  top: 8px; left: 8px; right: 8px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}
.rp-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(220, 38, 38, 0.9);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
}
.rp-live-dot {
  width: 5px; height: 5px;
  border-radius: 999px;
  background: #fff;
  animation: rpPulse 1.5s ease-in-out infinite;
}
@keyframes rpPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.rp-viewers {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  font-size: 8px;
  font-weight: 700;
  color: #A1A1AA;
}
.rp-player-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  z-index: 2;
}
.rp-play,
.rp-fullscreen {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.rp-progress {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 999px;
  overflow: hidden;
}
.rp-progress i {
  display: block;
  width: 62%;
  height: 100%;
  background: #fff;
  border-radius: 999px;
}
.rp-time {
  font-size: 7px;
  font-weight: 700;
  color: #A1A1AA;
  flex-shrink: 0;
}
.rp-video-scene {
  width: 100%; height: 100%;
}

.rp-vote {
  padding: 14px 14px 16px;
}
.rp-question {
  font-size: 12px;
  font-weight: 800;
  color: #E4E4E7;
  margin-bottom: 10px;
}
.rp-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}
.rp-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #3F3F46;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  color: #A1A1AA;
  cursor: pointer;
}
.rp-opt--on {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
}
.rp-radio {
  width: 14px; height: 14px;
  border-radius: 999px;
  border: 1.5px solid #52525B;
  flex-shrink: 0;
  position: relative;
}
.rp-opt--on .rp-radio {
  background: #fff;
  border-color: #fff;
}
.rp-opt--on .rp-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--green-700);
  border-radius: 999px;
}
.rp-submit {
  width: 100%;
  padding: 10px;
  border: 0;
  background: #fff;
  color: var(--ink);
  border-radius: 10px;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

/* ========================================================================
   HOW IT WORKS — steps
   ======================================================================== */

/* ========================================================================
   TESTIMONIALS
   ======================================================================== */
/* Case Study */
.casestudy { background: var(--bg); }

.cs-card {
  max-width: 1080px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 4px 32px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
}

.cs-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 7;
}
.cs-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.cs-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.04) 100%);
}

.cs-body {
  padding: 40px 48px 44px;
}

.cs-badge {
  display: inline-block;
  padding: 5px 14px;
  background: var(--green-50);
  color: var(--green-700);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cs-title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 6px;
}

.cs-sub {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 32px;
}

.cs-metrics {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.cs-metric {
  flex: 1;
  padding: 16px 14px;
  background: var(--bg);
  border-radius: 12px;
  text-align: center;
}

.cs-metric strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--green-700);
  line-height: 1.1;
  margin-bottom: 3px;
}
.cs-metric span {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.3;
}

.cs-quote {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-2);
  border-left: 3px solid var(--green-400);
  padding-left: 20px;
  margin: 0 0 32px;
}

.cs-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.cs-gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* ========================================================================
   FAQ
   ======================================================================== */
.faq .faq-list {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .18s ease;
}
.faq details[open] { border-color: var(--green-400); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px;
  font-size: 17px; font-weight: 700; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus {
  position: relative; width: 16px; height: 16px; flex-shrink: 0;
  margin-left: 16px;
}
.faq .plus::before, .faq .plus::after {
  content: ""; position: absolute;
  background: var(--ink);
  border-radius: 2px;
}
.faq .plus::before { left: 0; right: 0; top: 7px; height: 2px; }
.faq .plus::after  { top: 0; bottom: 0; left: 7px; width: 2px; transition: transform .25s ease; }
.faq details[open] .plus::after { transform: rotate(90deg); }
.faq p { margin: 0; padding: 0 26px 24px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ========================================================================
   MODES — Autonomo vs Chiavi in mano
   ======================================================================== */
.modes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}
.mode-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px 32px 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.mode-card--full {
  border-color: var(--green-400);
  box-shadow:
    var(--shadow-sm),
    0 0 0 1px var(--green-400),
    0 18px 40px -18px rgba(6, 95, 70, 0.15);
}
.mode-badge {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  background: var(--green-700);
  color: #fff;
  font-family: var(--f-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.mode-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-50);
  border-radius: 14px;
  margin-bottom: 20px;
  color: var(--green-700);
}
.mode-icon svg { width: 26px; height: 26px; }
.mode-card h3 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink);
}
.mode-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 20px;
}
.mode-list {
  list-style: none;
  margin: 0 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mode-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
}
.mode-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 12px; height: 12px;
  border-radius: 999px;
  background: var(--green-50);
  border: 1.5px solid var(--green-400);
}
.mode-fit {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
  line-height: 1.5;
}
.mode-cta {
  margin-top: 24px;
  align-self: stretch;
  text-align: center;
  justify-content: center;
  padding: 16px 28px;
  font-size: 15px;
}
.modes-bottom {
  text-align: center;
  margin-top: 32px;
}
.modes-bottom p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.site-footer {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  padding: 90px 0 30px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  pointer-events: none;
}

.footer-hero {
  position: relative;
  text-align: center;
  padding: 0 0 90px;
}
.footer-brand { display: flex; justify-content: center; margin-bottom: 32px; }
.footer-brand img { height: 56px; width: auto; }
.footer-headline {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(40px, 6.4vw, 86px);
  line-height: 0.96; letter-spacing: -0.035em;
  margin: 0 0 40px;
  color: #fff;
}
.footer-headline em {
  font-family: var(--f-serif);
  font-style: italic; font-weight: 400;
  background: linear-gradient(92deg, var(--green-300), var(--green-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-cta {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
  position: relative; z-index: 3;
}
.footer-cta .btn-primary {
  background: #fff; color: var(--ink);
  box-shadow: 0 12px 30px -10px rgba(255,255,255,0.3);
}
.footer-cta .btn-dark-ghost {
  background: transparent; color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.25);
}
.footer-cta .btn-dark-ghost:hover { background: rgba(255,255,255,0.08); }

/* Footer grid */
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 50px;
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative; z-index: 2;
}
.footer-about p {
  color: #A3A3A3; font-size: 14px; line-height: 1.55;
  max-width: 44ch;
}
.footer-col h4 {
  margin: 0 0 14px; font-size: 12px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #A3A3A3;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 14px; color: #E5E5E5;
  transition: color .18s ease;
}
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  margin-top: 40px; padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  position: relative; z-index: 2;
}
.footer-bottom small { color: var(--muted-2); font-size: 12.5px; }
.footer-ovpm { display: inline-flex; align-items: center; opacity: 0.5; transition: opacity 0.2s ease; }
.footer-ovpm:hover { opacity: 0.8; }
.footer-ovpm img { height: 14px; width: auto; }

/* ========================================================================
   RESPONSIVE — mobile precision
   ======================================================================== */

/* Tablet */
@media (max-width: 1080px) {
  .feature-cards { gap: 18px; }
  .as-grid { grid-template-columns: 160px 1fr; gap: 18px; }
  .cs-body { padding: 32px 36px 36px; }
  .cs-metrics { gap: 10px; }
  .cs-metric strong { font-size: 20px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
}

/* Tablet / small laptop: hero rounded shell compacts */
@media (max-width: 980px) {
  .hero-rounded {
    min-height: auto;
    padding: 72px 20px 0;
  }
}

@media (max-width: 1179px) {
  .hero-rounded { padding-left: 0; padding-right: 0; }
  .hero-shot-wrap {
    width: 100%; max-width: 100%;
    padding: 0; margin-bottom: -50px;
    overflow: hidden;
  }
  .hero-shot-wrap::before {
    content: ""; display: block;
    padding-top: calc((100vw - 28px) * 1000 / 1440);
  }
  .admin-shot {
    position: absolute; top: 0; left: 0;
    width: 1180px; max-width: none; height: auto;
    aspect-ratio: 1440 / 1000;
    border-radius: 0 0 18px 18px;
    transform-origin: top left;
    transform: scale(calc((100vw - 28px) / 1180px));
  }
}
@media (max-width: 980px) {
  .hero-shot-wrap::before { padding-top: calc((100vw - 20px) * 1000 / 1440); }
  .admin-shot { transform: scale(calc((100vw - 20px) / 1180px)); }
}

@media (max-width: 900px) {
  .hero-shot-wrap { display: none; }
}

@media (max-width: 900px) {
  /* --- Top header (in flow): hide nav/cta, show hamburger --- */
  .header-top .nav-links,
  .header-top .header-cta { display: none; }
  .header-top .nav-toggle { display: flex; }

  /* --- Sticky pill header: show compact CTA on the right + hamburger --- */
  .header-pill {
    gap: 8px;
    padding: 8px 11px 8px 18px;
  }
  .header-pill .nav-links { display: none; }
  .header-pill .header-cta {
    margin-left: auto;
    display: block;
  }
  .header-pill .header-cta .btn {
    padding: 10px 14px;
    font-size: 12.5px;
  }
  .header-pill .nav-toggle {
    display: flex;
    margin-left: 0;
    width: 36px;
    height: 36px;
  }

  /* --- Mobile menu overlay (toggled via body.nav-open) --- */
  body.nav-open { overflow: hidden; }
  body.nav-open .header-top .nav-links {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(250, 248, 241, 0.98);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 80px 24px 140px;
    margin-left: 0;
  }
  body.nav-open .header-top .nav-links a {
    font-size: 26px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.01em;
  }
  body.nav-open .header-top .header-cta {
    display: block;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 56px;
    z-index: 100;
    margin-left: 0;
  }
  body.nav-open .header-top .header-cta .btn {
    padding: 16px 32px;
    font-size: 15px;
  }

  .hero-shell { padding: 6px 10px 0; }
  .hero-rounded {
    border-radius: 36px;
    padding-top: 56px;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    min-height: auto;
  }
  .hero-title { margin-top: 0; }

  .trust-strip { padding: 56px 0 28px; }
  .trust-marquee {
    padding: 0;
    max-width: none;
    width: 100%;
    overflow: hidden;
    background: #FFFFFF;
    justify-content: flex-start;
  }
  .trust-bar {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    padding: 18px 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    width: max-content;
    max-width: none;
    animation: trustMarquee 36s linear infinite;
  }
  .trust-item {
    font-size: 14.5px;
    gap: 8px;
    padding: 0;
    margin-right: 56px;
  }
  .trust-item--dup { display: flex; }
  @keyframes trustMarquee {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
  }
  @media (prefers-reduced-motion: reduce) {
    .trust-bar { animation: none; }
  }
  .section { padding: 70px 0; }
  .product-section { padding-top: 100px; }
  .section-head { margin-bottom: 40px; }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 28px 0;
    max-width: 480px;
  }
  .process-steps::before {
    display: none;
  }
  .product-divider { margin: 48px auto 36px; }

  .feature-cards { grid-template-columns: 1fr; }
  .feat-card { min-height: auto; padding: 28px 26px; }
  .feat-wide {
    grid-column: span 1;
    flex-direction: column;
    gap: 28px;
    padding: 32px 26px;
  }
  .feat-wide-text h3 { font-size: 22px; }
  .feat-wide-mock { width: 100%; display: flex; justify-content: center; }
  .remote-phone { width: 220px; }


  .cs-photo { aspect-ratio: 16 / 9; }
  .cs-body { padding: 28px 20px 32px; }
  .cs-title { font-size: 21px; }
  .cs-metrics { flex-wrap: wrap; gap: 8px; }
  .cs-metric { flex: 1 1 45%; }
  .cs-metric strong { font-size: 20px; }
  .cs-quote { font-size: 17px; }
  .cs-gallery { grid-template-columns: 1fr; gap: 10px; }

  .modes-grid { grid-template-columns: 1fr; max-width: 440px; gap: 28px; }
  .mode-card { padding: 32px 24px 28px; }

  .site-footer {
    border-radius: 36px 36px 0 0;
    padding: 70px 0 30px;
  }
  .footer-hero { padding: 0 0 60px; }
  .footer-brand img { height: 44px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-about { grid-column: span 2; }
}

@media (max-width: 620px) {
  .container { padding: 0 18px; }

  .header-top { padding: 16px 0 6px; }
  .header-top .logo img { height: 28px; }

  .hero-shell { padding: 4px 6px 0; }
  .hero-rounded {
    border-radius: 28px;
    padding-top: 44px;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }
  .hero-title { font-size: clamp(38px, 10.2vw, 54px); }
  .hero-lede { font-size: 15px; margin-bottom: 26px; }
  .hero-lede .d-br { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 280px; margin: 0 auto 32px; }
  .hero-cta .btn { justify-content: center; width: 100%; }

  .trust-bar {
    padding: 16px 0;
    gap: 0;
  }
  .trust-item {
    font-size: 13.5px;
    margin-right: 44px;
  }
  .trust-ico { width: 20px; height: 20px; }

  .eyebrow { font-size: 10px; padding: 6px 14px; }
  .section-head h2 { font-size: clamp(30px, 8.5vw, 42px); }
  .section-head .lede { font-size: 15px; }
  .product-section { padding-top: 80px; }
  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 24px 0;
    max-width: 340px;
  }
  .ps-node { width: 36px; height: 36px; margin-bottom: 14px; }
  .ps-content h3 { font-size: 15px; }
  .ps-content p { font-size: 12.5px; }
  .product-divider { margin: 36px auto 28px; }

  .feat-card { padding: 24px 22px; }
  .feat-text h3 { font-size: 19px; }
  .feat-text p { font-size: 14px; }
  .feat-mock { min-height: 200px; padding: 10px 0 18px; }
  .voter-card { width: 240px; }
  .mini-projector { max-width: 300px; }
  .control-panel { max-width: 280px; padding: 18px; }
  .cp-timer-num { font-size: 28px; }
  .report-mock { max-width: 260px; }

  .faq .faq-list { grid-template-columns: 1fr; max-width: 600px; }
  .faq summary { padding: 18px 20px; font-size: 15.5px; }
  .faq p { padding: 0 20px 20px; font-size: 14px; }

  .site-footer { border-radius: 28px 28px 0 0; padding: 60px 0 24px; }
  .footer-hero { padding: 0 0 50px; }
  .footer-headline { font-size: clamp(34px, 10vw, 48px); }
  .footer-cta { flex-direction: column; align-items: stretch; max-width: 280px; margin: 0 auto; }
  .footer-cta .btn { justify-content: center; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer-about { grid-column: auto; }
  .footer-about p { max-width: 260px; margin: 0 auto; }

  .btn-xl { padding: 16px 26px; font-size: 15px; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 36px; }
  .section-head h2 { font-size: 28px; }
  .footer-headline { font-size: 34px; }
}
