/* CityFlow: /esercenti (v5.19), Programma Partner.
   Pagina standalone (non la SPA): i token sono copiati da .claude/docs/design-system.md.
   Un solo accento: lime. Contenuti su superfici piene; vetro solo sulla chrome flottante (barra in alto,
   modelli sopra il telefono 3D, toast). Parole in Outfit, numeri in JetBrains Mono. Raggi: 14 bottoni e
   campi, 20 card, 28 blocchi grandi, pill solo per chip. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

:root {
  --bg: #06060A;
  --surface: #0C0C10;
  --surface-2: #12121A;
  --surface-3: #181822;
  --lime: #90F22E;
  --lime-rgb: 144, 242, 46;
  --danger: #FF3355;
  --danger-text: #FF6B85;
  --text: #EEF0FF;
  --text-2: rgba(180, 185, 220, 0.78);
  --text-3: rgba(180, 185, 220, 0.5);
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --text-on-accent: #06060A;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;
  --gutter: clamp(20px, 4.6vw, 40px);
  --wrap: 1240px;
  --top-h: 64px;
  --sec-y: clamp(80px, 11vw, 144px);
  --font-ui: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --z-top: 100;
  --z-flow: 1000;
  --z-toast: 1100;
}

html {
  background: var(--bg);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top-h) + 16px);
}
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
html.es-locked, html.es-locked body { overflow: hidden; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.es-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.es-mono { font-family: var(--font-mono); letter-spacing: -0.01em; }
.es-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.es-narrow { max-width: 860px; }
.es-a { color: var(--lime); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.es-a:hover { text-decoration-thickness: 2px; }
.es-skip {
  position: absolute; left: 12px; top: -60px; z-index: calc(var(--z-top) + 1);
  padding: 10px 16px; border-radius: var(--r-md); background: var(--lime); color: var(--text-on-accent); font-weight: 600;
}
.es-skip:focus { top: 12px; }

/* ── Bottoni ─────────────────────────────────────────────────────────── */
.es-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border-radius: var(--r-md);
  border: 1px solid transparent; background: transparent; color: var(--text);
  font: 600 16px/1 var(--font-ui); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; user-select: none;
  transition: transform 0.18s var(--ease-out), background-color 0.18s, border-color 0.18s, box-shadow 0.25s, color 0.18s;
}
.es-btn:active { transform: translateY(1px) scale(0.99); }
.es-btn:disabled { opacity: 0.55; cursor: default; transform: none; }
.es-btn--primary { background: var(--lime); color: var(--text-on-accent); }
.es-btn--primary:hover { box-shadow: 0 0 0 4px rgba(var(--lime-rgb), 0.14), 0 10px 30px -8px rgba(var(--lime-rgb), 0.45); }
.es-btn--ghost { border-color: var(--line-2); background: rgba(255, 255, 255, 0.02); }
.es-btn--ghost:hover { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.05); }
.es-btn--quiet { color: var(--text-2); }
.es-btn--quiet:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.es-btn--danger { background: var(--danger); color: #fff; }
.es-btn--google { background: #fff; color: #1f1f1f; border-color: #fff; }
.es-btn--google:hover { background: #f1f1f4; }
.es-btn--sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.es-btn--lg { min-height: 56px; padding: 0 26px; font-size: 17px; }
.es-btn--block { width: 100%; }
.es-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none;
  color: var(--lime); font: 500 15px/1.3 var(--font-ui); cursor: pointer; text-align: left;
}
.es-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.es-icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  border: 0; background: transparent; color: var(--text); cursor: pointer;
}
.es-icon-btn:hover { background: rgba(255, 255, 255, 0.06); }

/* ── Barra in alto ───────────────────────────────────────────────────── */
.es-top {
  position: sticky; top: 0; z-index: var(--z-top);
  background: rgba(6, 6, 10, 0.72);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.es-top-row { display: flex; align-items: center; gap: 20px; height: var(--top-h); }
.es-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; min-height: 44px; }
.es-logo svg { color: var(--lime); }
.es-logo-name { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.es-logo-sub {
  padding: 3px 9px; border-radius: var(--r-pill); border: 1px solid rgba(var(--lime-rgb), 0.4);
  color: var(--lime); font-size: 12.5px; font-weight: 600; line-height: 1.2;
}
.es-nav { display: none; margin-left: auto; gap: 4px; }
.es-nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 10px;
  color: var(--text-2); font-size: 15px; font-weight: 500; text-decoration: none; transition: color 0.15s, background-color 0.15s;
}
.es-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.es-top-row > .es-btn { margin-left: auto; }
@media (min-width: 1080px) {
  .es-nav { display: flex; }
  .es-nav + .es-btn { margin-left: 8px; }
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.es-hero { position: relative; padding: 36px 0 72px; overflow: clip; isolation: isolate; }
.es-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 40% at 50% 0%, rgba(255, 255, 255, 0.035), transparent 70%);   /* l'alone lime è nella scena */
}
.es-hero-grid { display: grid; gap: 28px; }
.es-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--lime); font-size: 15px; font-weight: 500; }
.es-h1 {
  margin-top: 14px; font-size: clamp(40px, 10.5vw, 54px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 600;
  text-wrap: balance;
}
.es-lead { color: var(--text-2); font-size: 17px; line-height: 1.6; max-width: 36em; text-wrap: pretty; }
.es-hero-lead { margin-top: 18px; font-size: 18px; max-width: 30em; }
.es-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.es-cta-row .es-btn { flex: 1 1 auto; }
.es-hero-fine { margin-top: 18px; color: var(--text-2); font-size: 14.5px; }
.es-hero-fine span { white-space: nowrap; }                     /* va a capo sul punto, non a metà frase */

.es-hero-visual { min-width: 0; }
.es-stage { position: relative; width: 100%; max-width: 440px; margin-inline: auto; aspect-ratio: 5 / 6; }
.es-stage-poster img, .es-stage-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transition: opacity 0.7s var(--ease-soft);
}
.es-stage-poster img { object-fit: contain; }
.es-stage-canvas { opacity: 0; }
.es-stage.is-3d .es-stage-canvas { opacity: 1; }
.es-stage.is-3d .es-stage-poster img { opacity: 0; }
.es-stage-chips {
  position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); z-index: 2;
  display: inline-flex; gap: 2px; padding: 4px; border-radius: var(--r-pill);
  background: rgba(12, 12, 16, 0.72); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
}
.es-stage-chip {
  position: relative; overflow: hidden; min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--r-pill);
  background: transparent; color: var(--text-2); font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}
.es-stage-chip:hover { color: var(--text); }
.es-stage-chip[aria-pressed="true"] { background: var(--lime); color: var(--text-on-accent); }
/* il modello attivo si "carica" mentre il telefono 3D gira da solo */
.es-stage-chip::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px;
  background: rgba(6, 6, 10, 0.35); transform: scaleX(0); transform-origin: left; opacity: 0;
}
.es-stage.is-cycling .es-stage-chip[aria-pressed="true"]::after { opacity: 1; animation: es-chip-fill 4.2s linear forwards; }
@keyframes es-chip-fill { to { transform: scaleX(1); } }
.es-stage-cap { margin: 14px auto 0; max-width: 30em; min-height: 3.1em; text-align: center; color: var(--text-2); font-size: 15px; }
/* i locali negli screenshot sono inventati: detto con discrezione, sotto l'hero e sotto il telefono dei modelli */
.es-example-note { margin-top: 6px; text-align: center; color: var(--text-3); font-size: 13px; }

@media (min-width: 600px) {
  .es-h1 { font-size: clamp(48px, 7.4vw, 64px); }
  .es-cta-row .es-btn { flex: 0 0 auto; }
}
@media (min-width: 960px) {
  .es-hero { padding: 32px 0 64px; }
  .es-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; }
  .es-h1 { font-size: clamp(52px, 5vw, 70px); }
  .es-hero-lead { font-size: 19px; }
  /* stesso rapporto 5:6 (locandina e tela coincidono), più piccolo sugli schermi bassi dei portatili */
  .es-stage { max-width: max(380px, min(580px, calc((100svh - 250px) * 5 / 6))); }
  .es-stage-cap { min-height: 1.6em; }                /* qui le descrizioni stanno su una riga */
}

/* ── Sezioni ─────────────────────────────────────────────────────────── */
.es-sec { padding-block: var(--sec-y); overflow-x: clip; }   /* clip (non hidden): gli sticky interni restano sticky */
.es-sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.es-sec-head .es-lead { margin-top: 16px; }
.es-how { padding-block: clamp(64px, 8vw, 112px); }
.es-sec-head--center { margin-inline: auto; text-align: center; }
.es-sec-head--center .es-lead { margin-inline: auto; }
.es-h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
.es-fine { color: var(--text-2); font-size: 14.5px; }

/* Rete (perché esiste il programma) */
.es-mission { border-top: 1px solid var(--line); }
.es-mission-grid { display: grid; gap: 40px; }
.es-mission-head .es-lead { margin-top: 20px; font-size: 18px; }
.es-pillars { list-style: none; display: grid; }
.es-pillar { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.es-pillar:first-child { border-top: 0; padding-top: 0; }
.es-pillar-ic {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-md);
  background: rgba(var(--lime-rgb), 0.08); border: 1px solid rgba(var(--lime-rgb), 0.22); color: var(--lime);
}
.es-pillar h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.es-pillar p { margin-top: 8px; color: var(--text-2); max-width: 34em; }
@media (min-width: 960px) {
  .es-mission-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: start; }
  .es-mission-head { position: sticky; top: calc(var(--top-h) + 40px); }
}

/* Modelli: il sito vero che scorre dentro il telefono */
.es-models {
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018) 18%, rgba(255, 255, 255, 0.018) 82%, transparent);
}
.es-tabs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; width: 100%; max-width: 620px;
  margin: 0 auto 40px; padding: 5px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2);
}
.es-tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; padding: 8px 6px;
  border: 0; border-radius: 13px; background: transparent; color: var(--text-2); cursor: pointer; text-align: center;
  transition: background-color 0.2s, color 0.2s;
}
.es-tab b { font-size: 16px; font-weight: 600; color: var(--text); }
.es-tab span { font-size: 13px; line-height: 1.25; }
.es-tab:hover { background: rgba(255, 255, 255, 0.03); }
.es-tab[aria-selected="true"] { background: rgba(var(--lime-rgb), 0.1); box-shadow: inset 0 0 0 1px rgba(var(--lime-rgb), 0.5); }
.es-tab[aria-selected="true"] b { color: var(--lime); }
@media (max-width: 479px) { .es-tab span { display: none; } }

.es-models-grid { display: grid; grid-template-areas: "device" "l" "r"; gap: 0; justify-items: center; }
.es-device { grid-area: device; position: relative; display: flex; flex-direction: column; align-items: center; margin-bottom: 36px; }
.es-device::before {
  content: ''; position: absolute; z-index: -1; left: 50%; top: 45%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(var(--lime-rgb), 0.12), transparent 70%); pointer-events: none;
}
.es-device-frame {
  --sw: 250px; --sh: calc(var(--sw) * 2.1641);
  position: relative; padding: 10px; border-radius: 48px;
  background: linear-gradient(150deg, #3b3e46 0%, #16171b 30%, #0d0e11 62%, #2c2f36 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10), 0 50px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 2px #050507 inset;
}
.es-device-screen {
  position: relative; width: var(--sw); height: var(--sh); overflow: hidden; border-radius: 38px; background: #0b0b10;
  scrollbar-width: none; overscroll-behavior: contain;
}
.es-device-screen::-webkit-scrollbar { display: none; }
.es-device-shot { width: 100%; height: auto; }
.es-device.is-playing .es-device-shot { will-change: transform; }
.es-device-island {
  position: absolute; left: 50%; top: 20px; transform: translateX(-50%);
  width: 84px; height: 25px; border-radius: var(--r-pill); background: #000;
}
.es-device.is-playing .es-device-shot:not([hidden]) { animation: es-autoscroll var(--dur, 24s) ease-in-out 0.8s infinite alternate; }
/* stessa specificità della regola con `animation` (che rimette play-state a running): pausa su hover, fuori vista, bottone */
.es-device.is-playing:hover .es-device-shot:not([hidden]),
.es-device.is-playing.is-held .es-device-shot:not([hidden]),
.es-device.is-playing.is-paused .es-device-shot:not([hidden]) { animation-play-state: paused; }
.es-device-frame { cursor: pointer; }
@keyframes es-autoscroll {
  0%, 6% { transform: translateY(0); }
  94%, 100% { transform: translateY(calc(-100% + var(--sh))); }
}
.es-device-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 22px; }
.es-device-url {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); font-size: 13.5px;
}
.es-device-url .ic { color: var(--lime); }
.es-device-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font-size: 14px; font-weight: 500; cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.es-device-toggle:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.24); }
.es-device-toggle[aria-pressed="true"] { color: var(--lime); border-color: rgba(var(--lime-rgb), 0.5); }
.es-device .es-example-note { margin-top: 12px; }

.es-callouts { list-style: none; display: grid; gap: 22px; width: 100%; max-width: 440px; }
.es-callouts--l { grid-area: l; }
.es-callouts--r { grid-area: r; margin-top: 22px; }
.es-callouts li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.es-callouts .ic {
  box-sizing: content-box; width: 22px; height: 22px; padding: 10px; border-radius: var(--r-md);
  background: var(--surface-2); border: 1px solid var(--line-2); color: var(--lime);
}
.es-callouts b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.es-callouts span { display: block; margin-top: 4px; color: var(--text-2); font-size: 15px; }
.es-models-note { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 36px; color: var(--text-2); font-size: 15px; text-align: center; }
.es-models-note .ic { color: var(--lime); }
@media (min-width: 960px) {
  .es-models-grid { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "l device r"; gap: 56px; align-items: center; }
  .es-device { margin-bottom: 0; }
  .es-device-frame { --sw: 286px; }
  .es-callouts { gap: 44px; }
  .es-callouts--r { margin-top: 0; }
  .es-callouts--l li { grid-template-columns: minmax(0, 1fr) 44px; text-align: right; }
  .es-callouts--l .ic { order: 2; }
}

/* Tutto da un'app: bento con ritmo, superfici piene */
.es-bento { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.es-tile {
  position: relative; overflow: hidden; min-width: 0; padding: 26px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color 0.25s;
}
.es-tile:hover { border-color: var(--line-2); }
.es-tile > .ic, .es-tile-body > .ic { color: var(--lime); }
.es-tile h3 { margin-top: 16px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.es-tile p { margin-top: 8px; color: var(--text-2); font-size: 15.5px; max-width: 30em; }
.es-soon { padding: 3px 10px; border-radius: var(--r-pill); border: 1px solid rgba(var(--lime-rgb), 0.45); color: var(--lime); font-size: 12.5px; font-weight: 600; letter-spacing: 0; }
.es-tile--site { padding-bottom: 0; display: grid; gap: 22px; background: linear-gradient(160deg, rgba(var(--lime-rgb), 0.07), transparent 45%), var(--surface); }
.es-tile-shot {
  justify-self: center; width: min(62%, 250px); height: 230px; overflow: hidden;
  border-radius: 30px 30px 0 0; padding: 8px 8px 0; background: linear-gradient(150deg, #3b3e46, #111216 40%, #2a2d33);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.es-tile-shot img { width: 100%; height: auto; border-radius: 23px 23px 0 0; }
.es-tile-body { display: flex; flex-direction: column; align-items: flex-start; }
.es-tile .es-tile-url {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 8px 14px; max-width: 100%;
  border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--bg); color: var(--text-2); font-size: 13px;
}
.es-tile-url .ic { color: var(--lime); }
.es-tile-url .es-mono { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.es-kinds { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.es-kinds li { padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--text-2); font-size: 13.5px; }
.es-tile-big { display: block; font-size: 64px; line-height: 0.9; font-weight: 500; letter-spacing: -0.06em; color: var(--lime); }
.es-tile--offers h3 { margin-top: 18px; }
.es-bars { display: flex; align-items: flex-end; gap: 5px; height: 64px; }
.es-bars i { flex: 1; min-width: 0; border-radius: 3px; background: rgba(255, 255, 255, 0.09); }
.es-bars i:nth-child(n+8) { background: rgba(var(--lime-rgb), 0.55); }
.es-bars i:last-child { background: var(--lime); }
.es-bars i:nth-child(1) { height: 30%; } .es-bars i:nth-child(2) { height: 42%; } .es-bars i:nth-child(3) { height: 26%; }
.es-bars i:nth-child(4) { height: 48%; } .es-bars i:nth-child(5) { height: 70%; } .es-bars i:nth-child(6) { height: 88%; }
.es-bars i:nth-child(7) { height: 54%; } .es-bars i:nth-child(8) { height: 36%; } .es-bars i:nth-child(9) { height: 50%; }
.es-bars i:nth-child(10) { height: 40%; } .es-bars i:nth-child(11) { height: 62%; } .es-bars i:nth-child(12) { height: 92%; }
.es-bars i:nth-child(13) { height: 100%; } .es-bars i:nth-child(14) { height: 58%; }
.es-tile--stats h3 { margin-top: 20px; }
@media (min-width: 640px) {
  .es-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .es-tile--site, .es-tile--stats { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .es-bento { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
  .es-tile { padding: 32px; }
  .es-tile--site { grid-column: 1 / span 7; grid-row: span 2; grid-template-columns: minmax(0, 1fr) 250px; align-items: start; padding-bottom: 0; }
  .es-tile--site .es-tile-body { padding-bottom: 32px; align-self: stretch; }
  .es-tile--site .es-tile-url { margin-top: auto; }
  .es-tile-shot { align-self: end; width: 250px; height: 380px; margin-top: 24px; }
  .es-tile--page, .es-tile--events { grid-column: span 5; }
  .es-tile--offers { grid-column: span 4; }
  .es-tile--reviews { grid-column: span 3; }
  .es-tile--stats { grid-column: span 5; }
}

/* Come funziona: tre passi su una linea */
.es-steps { list-style: none; display: grid; gap: 0; }
.es-step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; padding-bottom: 32px; }
.es-step::before { content: ''; position: absolute; left: 21.5px; top: 48px; bottom: 4px; width: 1px; background: var(--line-2); }
.es-step:last-child { padding-bottom: 0; }
.es-step:last-child::before { display: none; }
.es-step-n {
  grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(var(--lime-rgb), 0.55); color: var(--lime); font-size: 14px; background: var(--bg);
}
.es-step h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 44px; }
.es-step p { color: var(--text-2); max-width: 26em; }
@media (min-width: 860px) {
  .es-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .es-step { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; }
  .es-step::before { left: 60px; right: -20px; top: 22px; bottom: auto; width: auto; height: 1px; }
  .es-step-n { grid-row: auto; margin-bottom: 22px; }
  .es-step h3 { line-height: 1.25; }
  .es-step p { margin-top: 8px; }
}

/* Il programma Partner: un accordo su due colonne */
.es-deal { display: grid; border-radius: var(--r-xl); border: 1px solid var(--line-2); overflow: hidden; background: var(--surface); }
.es-deal-col { padding: 28px 24px; min-width: 0; }
.es-deal-col--ask { background: rgba(var(--lime-rgb), 0.045); border-top: 1px solid var(--line-2); }
.es-deal-title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; }
.es-deal-list { list-style: none; display: grid; }
.es-deal-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 12px 0; color: var(--text-2); }
.es-deal-list li + li { border-top: 1px solid var(--line); }
.es-deal-list .ic { margin-top: 2px; color: var(--lime); }
.es-deal-list b { color: var(--text); font-weight: 600; }
.es-deal-list--give span { color: var(--text); }
.es-req {
  display: grid; gap: 4px; margin-top: 18px; padding: 16px 18px; border-radius: var(--r-md);
  background: var(--bg); border: 1px solid rgba(var(--lime-rgb), 0.3); color: var(--text);
}
.es-req b { color: var(--lime); font-size: 14px; font-weight: 600; }
.es-deal-why { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; max-width: 52em; color: var(--text-2); }
.es-deal-why .ic { color: var(--lime); margin-top: 3px; }
.es-deal-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 36px; }
@media (max-width: 599px) { .es-deal-cta .es-btn { width: 100%; } }
@media (min-width: 860px) {
  .es-deal { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .es-deal-col { padding: 40px; }
  .es-deal-col--ask { border-top: 0; border-left: 1px solid var(--line-2); }
}

/* Domande */
.es-faq-sec { border-top: 1px solid var(--line); }
.es-faq-grid { display: grid; gap: 28px; }
.es-faq-head .es-lead { margin-top: 16px; }
.es-faq details { border-bottom: 1px solid var(--line); }
.es-faq details:first-child { border-top: 1px solid var(--line); }
.es-faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 0; cursor: pointer; font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
}
.es-faq summary::-webkit-details-marker { display: none; }
.es-faq summary .ic { color: var(--text-2); transition: transform 0.25s var(--ease-out), color 0.2s; }
.es-faq summary:hover .ic { color: var(--lime); }
.es-faq details[open] summary .ic { transform: rotate(45deg); color: var(--lime); }
.es-faq-a { padding: 0 44px 22px 0; color: var(--text-2); max-width: 44em; }
@media (min-width: 960px) {
  .es-faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 80px; align-items: start; }
  .es-faq-head { position: sticky; top: calc(var(--top-h) + 40px); }
}

/* Contatti */
.es-contact-links { display: grid; gap: 12px; }
.es-contact-link {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  min-height: 84px; padding: 18px 20px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line-2); color: var(--text); text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.es-contact-link:hover { border-color: rgba(var(--lime-rgb), 0.5); background: rgba(var(--lime-rgb), 0.04); }
.es-contact-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-md); background: rgba(var(--lime-rgb), 0.1); color: var(--lime); }
.es-contact-txt { display: flex; flex-direction: column; min-width: 0; }
.es-contact-txt b { font-size: 17px; font-weight: 600; }
.es-contact-txt span { color: var(--text-2); font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.es-contact-go { color: var(--text-2); transition: transform 0.2s var(--ease-out), color 0.2s; }
.es-contact-link:hover .es-contact-go { color: var(--lime); transform: translateX(3px); }
.es-contact-missing { color: var(--text-2); }
@media (min-width: 860px) { .es-contact-links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Condizioni (chiuse, aperte da #condizioni) */
.es-terms { padding-top: 0; }
.es-terms-box { border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface); }
.es-terms-box summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 72px; padding: 18px 22px; cursor: pointer;
}
.es-terms-box summary::-webkit-details-marker { display: none; }
.es-terms-box summary .ic { color: var(--text-2); transition: transform 0.25s var(--ease-out); }
.es-terms-box[open] summary .ic { transform: rotate(45deg); color: var(--lime); }
.es-terms-sum { display: flex; flex-direction: column; gap: 2px; }
.es-terms-h { font-size: 18px; font-weight: 600; }
.es-terms-v { color: var(--text-2); font-size: 14.5px; }
.es-terms-box .es-terms-list { padding: 4px 22px 24px; }
.es-terms-list { list-style: none; counter-reset: t; display: grid; gap: 14px; color: var(--text-2); font-size: 15px; }
.es-terms-list li { counter-increment: t; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px; }
.es-terms-list li::before { content: counter(t, decimal-leading-zero); font-family: var(--font-mono); font-size: 13px; color: var(--lime); padding-top: 2px; }

/* Piede */
.es-foot { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px)); color: var(--text-2); font-size: 14px; }
.es-foot-row { display: flex; flex-direction: column; gap: 10px; }
.es-foot-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.es-foot-links a { color: var(--text-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.es-foot-links a:hover { color: var(--lime); }
@media (min-width: 760px) { .es-foot-row { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Comparsa allo scorrimento: solo CSS (scroll-driven), niente JS, niente contenuti nascosti se non supportato */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    [data-reveal] {
      animation: es-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
    @keyframes es-reveal { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  }
  .es-hero-copy > * { animation: es-rise 0.8s var(--ease-soft) both; }
  .es-hero-copy > :nth-child(2) { animation-delay: 0.05s; }
  .es-hero-copy > :nth-child(3) { animation-delay: 0.1s; }
  .es-hero-copy > :nth-child(4) { animation-delay: 0.15s; }
  .es-hero-copy > :nth-child(5) { animation-delay: 0.2s; }
  @keyframes es-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .es-device-shot { animation: none !important; }
  .es-device-screen { overflow-y: auto; }          /* il sito si scorre a mano */
  .es-device-toggle { display: none; }              /* niente scorre da solo: niente da mettere in pausa */
}

/* ── Stato della richiesta ───────────────────────────────────────────── */
.es-status { padding-top: 24px; }
.es-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 22px; }
.es-status-card { max-width: 760px; border-color: rgba(var(--lime-rgb), 0.35); }
.es-status-kicker { font-size: 14px; color: var(--text-2); }
.es-status-title { margin-top: 2px; font-size: 26px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; overflow-wrap: anywhere; }
.es-status-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  padding: 5px 12px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600;
  border: 1px solid var(--line-2); color: var(--text-2);
}
.es-status-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.es-status-badge.is-live { color: var(--lime); border-color: rgba(var(--lime-rgb), 0.5); background: rgba(var(--lime-rgb), 0.08); }
.es-status-badge.is-ok { color: var(--lime); border-color: var(--lime); background: rgba(var(--lime-rgb), 0.12); }
.es-status-badge.is-closed { color: var(--text-2); }
.es-status-badge.is-bad { color: var(--danger-text); border-color: rgba(255, 51, 85, 0.45); }
.es-status-lead { margin-top: 14px; color: var(--text); font-size: 16px; max-width: 40em; }
.es-status-meta { margin-top: 6px; font-size: 14px; color: var(--text-2); }
.es-reason {
  margin-top: 14px; padding: 12px 14px; border-radius: var(--r-md);
  background: var(--surface-2); border-left: 2px solid var(--text-3); color: var(--text); white-space: pre-line;
}
.es-reason b { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 2px; }
.es-timeline { list-style: none; margin-top: 18px; display: grid; }
.es-timeline li { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: baseline; gap: 10px; padding: 7px 0; }
.es-timeline li::before { content: ''; position: absolute; left: 5px; top: 22px; bottom: -8px; width: 1px; background: var(--line-2); }
.es-timeline li:last-child::before { display: none; }
.es-tl-dot { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--text-3); align-self: center; }
.es-timeline li.is-done .es-tl-dot { background: var(--lime); border-color: var(--lime); }
.es-timeline li.is-next { color: var(--text-2); }
.es-tl-label { font-weight: 500; }
.es-tl-time { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); white-space: nowrap; }
.es-summary { margin-top: 16px; border-top: 1px solid var(--line); }
.es-summary summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer; font-weight: 600; color: var(--text-2); }
.es-summary summary::-webkit-details-marker { display: none; }
.es-summary summary .ic { transition: transform 0.2s var(--ease-out); }
.es-summary[open] summary .ic { transform: rotate(90deg); }
.es-status-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.es-status-actions .es-btn { flex: 1 1 auto; }
.es-confirm { margin-top: 16px; padding: 16px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid rgba(255, 51, 85, 0.35); }
.es-confirm p { margin-bottom: 12px; }
.es-confirm-row { display: flex; flex-wrap: wrap; gap: 10px; }
.es-confirm-row .es-btn { flex: 1 1 140px; }
.es-edit { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.es-edit-title { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; }
.es-status-extra { margin-top: 14px; font-size: 15px; color: var(--text-2); }
.es-status-extra a { color: var(--lime); }
.es-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 15px; color: var(--text-2); }
.es-note .ic { color: var(--lime); margin-top: 2px; }

/* Riepilogo (modulo e stato) */
.es-sum { display: grid; }
.es-sum-group { padding: 12px 0; border-bottom: 1px solid var(--line); }
.es-sum-group:last-child { border-bottom: 0; }
.es-sum-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.es-sum-head h3 { font-size: 15px; font-weight: 600; }
.es-sum-head .es-link { font-size: 14px; }
.es-sum-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding: 3px 0; font-size: 15px; }
.es-sum-row dt { color: var(--text-2); }
.es-sum-row dd { color: var(--text); overflow-wrap: anywhere; white-space: pre-line; }

/* ── Richiesta: foglio a tutto schermo sul telefono, dialogo al centro sul computer ── */
.es-flow { position: fixed; inset: 0; z-index: var(--z-flow); display: flex; justify-content: center; align-items: stretch; }
.es-flow-scrim { position: absolute; inset: 0; background: rgba(3, 3, 6, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.es-flow-panel {
  position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; background: var(--bg);
  animation: es-sheet-in 0.36s var(--ease-soft) both;
}
@supports (height: 100dvh) { .es-flow-panel { height: 100dvh; } }
@keyframes es-sheet-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.es-flow-head {
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px;
  padding: calc(env(safe-area-inset-top, 0px) + 8px) 10px 6px;
}
.es-flow-count { text-align: center; font-size: 14px; color: var(--text-2); }
.es-progress { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 4px var(--gutter) 12px; border-bottom: 1px solid var(--line); }
.es-progress li { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.es-progress i { display: block; height: 3px; border-radius: 2px; background: var(--line-2); transition: background-color 0.3s; }
.es-progress span { font-size: 12.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.3s; }
.es-progress li.is-done i { background: rgba(var(--lime-rgb), 0.55); }
.es-progress li.is-done span { color: var(--text-2); }
.es-progress li.is-now i { background: var(--lime); }
.es-progress li.is-now span { color: var(--text); font-weight: 600; }
.es-flow-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 26px var(--gutter) 32px; }
.es-flow-foot { display: flex; gap: 10px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--bg); }
.es-flow-foot > .es-btn--primary { flex: 1; }
@media (min-width: 720px) {
  .es-flow { align-items: center; padding: 24px; }
  .es-flow-panel {
    max-width: 620px; height: min(840px, calc(100vh - 48px)); border-radius: var(--r-xl);
    border: 1px solid var(--line-2); background: var(--surface); overflow: hidden;
    box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.8);
  }
  @supports (height: 100dvh) { .es-flow-panel { height: min(840px, calc(100dvh - 48px)); } }
  .es-flow-head { padding: 12px 14px 6px; }
  .es-progress { padding: 4px 32px 14px; }
  .es-flow-body { padding: 28px 32px 32px; }
  .es-flow-foot { padding: 14px 32px 16px; background: var(--surface); }
}
.es-foot-note { display: flex; align-items: center; gap: 8px; justify-content: center; min-height: 44px; width: 100%; font-size: 14px; color: var(--text-2); }

.es-step-title { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; outline: none; }
.es-step-sub { margin-top: 8px; margin-bottom: 24px; color: var(--text-2); font-size: 16px; }
.es-block-title { margin: 28px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.es-flash { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; padding: 12px 14px; border-radius: var(--r-md); background: rgba(var(--lime-rgb), 0.08); border: 1px solid rgba(var(--lime-rgb), 0.35); font-size: 15px; }
.es-flash .ic { color: var(--lime); margin-top: 2px; }
.es-form-err {
  margin-top: 16px; padding: 12px 14px; border-radius: var(--r-md);
  background: rgba(255, 51, 85, 0.1); border: 1px solid rgba(255, 51, 85, 0.4); color: var(--text); font-size: 15px;
}
.es-form-err .es-link { display: flex; margin-top: 4px; }

.es-field { margin-bottom: 18px; border: 0; min-width: 0; }
.es-row2 { display: grid; gap: 0 12px; }
@media (min-width: 480px) { .es-row2 { grid-template-columns: 1fr 1fr; } }
.es-label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; color: var(--text); }
.es-opt { font-weight: 400; color: var(--text-2); }
.es-input {
  display: block; width: 100%; min-height: 52px; padding: 13px 15px;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r-md);
  color: var(--text); font: 400 16px/1.35 var(--font-ui);
  -webkit-appearance: none; appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.es-input::placeholder { color: rgba(180, 185, 220, 0.55); }
.es-input:hover { border-color: rgba(255, 255, 255, 0.2); }
.es-input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(var(--lime-rgb), 0.18); }
.es-input[aria-invalid="true"], .es-input[aria-invalid="true"]:focus { border-color: var(--danger); }
.es-input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(255, 51, 85, 0.18); }
textarea.es-input { min-height: 120px; resize: vertical; line-height: 1.5; }
select.es-input {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23B4B9DC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 9.5l5.5 5.5 5.5-5.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
select.es-input option { background: var(--surface-2); color: var(--text); }
.es-msg { margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--text-2); }
.es-msg:empty { display: none; }
.es-msg.is-err { color: var(--danger-text); }
.es-msg.is-ok { color: var(--lime); }
.es-counter { display: block; margin-top: 6px; text-align: right; font-size: 13px; color: var(--text-2); }
.es-search { position: relative; }
.es-search .ic { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-2); pointer-events: none; }
.es-search .es-input { padding-left: 46px; }
.es-search input::-webkit-search-cancel-button { -webkit-appearance: none; }

.es-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.es-chip-opt { position: relative; display: inline-flex; }
.es-chip-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.es-chip-opt span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px;
  border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--surface-2);
  color: var(--text-2); font-size: 15px; font-weight: 500; transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.es-chip-opt input:checked + span { background: rgba(var(--lime-rgb), 0.12); border-color: rgba(var(--lime-rgb), 0.7); color: var(--text); }
.es-chip-opt input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }

.es-check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0; cursor: pointer; font-size: 15px; color: var(--text-2); }
.es-check input {
  -webkit-appearance: none; appearance: none; flex: 0 0 24px; width: 24px; height: 24px; margin-top: -1px;
  border-radius: 7px; border: 1.5px solid rgba(255, 255, 255, 0.24); background: var(--surface-2);
  display: grid; place-content: center; cursor: pointer;
}
.es-check input:checked { background: var(--lime); border-color: var(--lime); }
.es-check input:checked::after {
  content: ''; width: 11px; height: 6px; border-left: 2px solid var(--bg); border-bottom: 2px solid var(--bg);
  transform: translateY(-1px) rotate(-45deg);
}
.es-check input[aria-invalid="true"] { border-color: var(--danger); }
.es-check span { color: var(--text); }
.es-check a { color: var(--lime); }

.es-switch-row {
  display: flex; align-items: center; gap: 14px; padding: 16px; cursor: pointer;
  border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--surface-2);
}
.es-switch-row input {
  -webkit-appearance: none; appearance: none; position: relative; flex: 0 0 50px; width: 50px; height: 30px;
  border-radius: var(--r-pill); background: var(--surface-3); border: 1px solid var(--line-2); cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.es-switch-row input::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--text-2); transition: transform 0.2s var(--ease-out), background-color 0.2s;
}
.es-switch-row input:checked { background: rgba(var(--lime-rgb), 0.25); border-color: rgba(var(--lime-rgb), 0.65); }
.es-switch-row input:checked::after { transform: translateX(20px); background: var(--lime); }
.es-switch-text { display: flex; flex-direction: column; gap: 2px; }
.es-switch-text b { font-weight: 600; font-size: 16px; }
.es-switch-text span { font-size: 14px; color: var(--text-2); }
.es-field--gap { margin-top: 20px; }
.es-acks { margin-top: 14px; }

.es-or { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; color: var(--text-2); font-size: 14px; }
.es-or::before, .es-or::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.es-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }
.es-seg button { min-height: 44px; border: 0; border-radius: 11px; background: transparent; color: var(--text-2); font: 600 15px/1 var(--font-ui); cursor: pointer; }
.es-seg button[aria-selected="true"] { background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }

.es-account { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line-2); }
.es-avatar { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--lime-rgb), 0.14); color: var(--lime); font-weight: 700; font-size: 18px; }
.es-account-name { font-weight: 600; font-size: 17px; overflow-wrap: anywhere; }
.es-account-mail { color: var(--text-2); font-size: 14px; overflow-wrap: anywhere; }

.es-results-list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 4px; }
.es-results-list li { min-width: 0; }
.es-result {
  width: 100%; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md);
  color: var(--text); text-align: left; cursor: pointer;
}
.es-result:hover { border-color: rgba(var(--lime-rgb), 0.45); }
.es-result.is-off { cursor: not-allowed; opacity: 0.62; }
.es-result.is-off:hover { border-color: var(--line); }
.es-result .ic { color: var(--text-2); }
.es-result-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.es-result-name { font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.es-result-sub { font-size: 14px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.es-badge { flex: 0 0 auto; padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--text-2); font-size: 12px; font-weight: 600; }
.es-hint { font-size: 14px; color: var(--text-2); padding: 6px 0; }
.es-noresults { padding: 18px 16px; border-radius: var(--r-md); border: 1px dashed var(--line-2); }
.es-noresults p:first-child { font-weight: 300; font-size: 19px; }
.es-noresults p + p { color: var(--text-2); margin-top: 4px; }
.es-noresults .es-btn { margin-top: 12px; }
.es-picked { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-md); background: rgba(var(--lime-rgb), 0.07); border: 1px solid rgba(var(--lime-rgb), 0.5); }
.es-picked > .ic { color: var(--lime); }
.es-picked-body { flex: 1; min-width: 0; }
.es-picked-name { font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.es-picked-sub { font-size: 14px; color: var(--text-2); }
.es-after-list { margin-top: 10px; }

.es-terms-inline { margin: 4px 0 8px; padding: 14px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }
.es-terms-inline .es-terms-list { font-size: 14px; gap: 10px; }
.es-sum-card { margin-top: 26px; padding: 4px 16px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }

/* ── Toast ─────────────────────────────────────────────────────────── */
.es-toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  z-index: var(--z-toast); width: max-content; max-width: calc(100vw - 32px);
  padding: 12px 18px; border-radius: var(--r-md);
  background: rgba(12, 12, 16, 0.9); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(var(--lime-rgb), 0.35); color: var(--text); font-size: 15px; text-align: center;
}
.es-toast.is-err { border-color: rgba(255, 51, 85, 0.5); }
