/* ============================================================
   LocatioCloud — Sito di presentazione
   Sistema visivo derivato dal logo v5 (Ink + Terracotta)
   ============================================================ */

:root {
  --ink: #0E1116;
  --ink-soft: #1B1F26;
  --muted: #5A5F66;
  --muted-2: #8A8F96;
  --line: #E8E4DD;
  --line-strong: #D8D3CA;
  --white: #FFFFFF;
  --bone: #F5F1EA;
  --surface: #F8F6F2;
  --terra: #B5532A;
  --terra-deep: #9C3A1A;
  --terra-tint: #F7ECE5;
  --green: #2F7D52;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 64px);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--terra); color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terra);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px; background: var(--terra);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; margin: 0; }

.section { padding-block: clamp(64px, 9vw, 130px); }
.section-head { max-width: 720px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 52px); }
.section-head p { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); margin: 20px 0 0; max-width: 60ch; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-weight: 500; font-size: 15px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--terra); color: #fff; }
.btn-primary:hover { background: var(--terra-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bone); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-outline-light:hover { border-color: #fff; }
.btn .bi { font-size: 15px; }

/* ---------- Mark ---------- */
.mark { display: block; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .wordmark {
  font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -0.02em;
}
.brand .wordmark .thin { font-weight: 400; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-links a { font-size: 14.5px; color: var(--muted); transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 18px; font-size: 14px; }
.nav-burger { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 78% 18%, rgba(181,83,42,.07), transparent 70%),
    radial-gradient(50% 40% at 10% 0%, rgba(14,17,22,.035), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 70px); letter-spacing: -0.035em; }
.hero h1 .accent { color: var(--terra); }
.hero-lede { font-size: clamp(17px, 1.8vw, 21px); color: var(--muted); margin: 26px 0 34px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 26px; font-size: 13.5px; color: var(--muted); }
.hero-note .bi { color: var(--green); font-size: 16px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--white); border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 999px; margin-bottom: 26px;
  white-space: nowrap;
}
.hero-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* trust row */
.trust { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); padding-top: 28px; display: flex; flex-wrap: wrap; gap: clamp(24px,5vw,64px); align-items: center; }
.trust .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2); }
.trust-stats { display: flex; flex-wrap: wrap; gap: clamp(24px,4vw,52px); }
.trust-stat .n { font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: -.02em; }
.trust-stat .n span { color: var(--terra); }
.trust-stat .t { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ---------- Product mockup ---------- */
.window {
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(14,17,22,.28), 0 12px 28px -18px rgba(14,17,22,.16);
  overflow: hidden;
}
.win-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.win-url {
  flex: 1; margin-left: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--muted);
  background: var(--surface); border-radius: 6px; padding: 6px 12px; text-align: center;
}
.win-body { display: grid; grid-template-columns: 168px 1fr; min-height: 420px; }
.win-side { background: var(--ink); color: #fff; padding: 18px 14px; }
.win-side .s-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; }
.win-side .s-brand .wm { font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.win-side .s-brand .wm .thin { color: rgba(255,255,255,.5); font-weight: 400; }
.s-group-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.35); margin: 16px 6px 8px; }
.s-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 12.5px; color: rgba(255,255,255,.7); }
.s-item .bi { font-size: 14px; }
.s-item.active { background: var(--terra); color: #fff; }
.win-main { padding: 22px 24px; background: #fff; }
.wm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.wm-head h3 { font-size: 19px; }
.wm-head .sub { font-size: 12px; color: var(--muted); font-family: var(--font-mono); letter-spacing: .04em; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.stat-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; }
.stat-card .k { font-size: 11px; color: var(--muted); }
.stat-card .v { font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: -.02em; margin-top: 6px; }
.stat-card .v.terra { color: var(--terra); }
.stat-card .v.green { color: var(--green); }
.list-card { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.lc-row { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.lc-row:last-child { border-bottom: 0; }
.lc-row .ico { width: 30px; height: 30px; border-radius: 8px; background: var(--terra-tint); color: var(--terra); display: grid; place-items: center; font-size: 14px; flex: none; }
.lc-row .addr { flex: 1; min-width: 0; }
.lc-row .addr .a1 { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-row .addr .a2 { color: var(--muted); font-size: 11px; }
.badge { font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; flex: none; }
.badge.locato { background: var(--terra); color: #fff; }
.badge.libero { background: var(--ink); color: #fff; }
.badge.scad { background: #FBEDE6; color: var(--terra-deep); }

/* floating chips on mockup */
.float-chip {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 14px; box-shadow: 0 20px 40px -20px rgba(14,17,22,.3);
  display: flex; align-items: center; gap: 11px; font-size: 12.5px;
}
.float-chip .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: 15px; flex: none; }
.float-chip .t1 { font-weight: 600; font-family: var(--font-display); }
.float-chip .t2 { color: var(--muted); font-size: 11px; }
.float-chip.one { top: -22px; left: -26px; }
.float-chip.two { bottom: -20px; right: -22px; }

/* ============================================================
   LOGOS / VALUE
   ============================================================ */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-top: 56px; }
.value-cell { background: #fff; padding: 30px 26px; }
.value-cell .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--terra-tint); color: var(--terra); display: grid; place-items: center; font-size: 21px; margin-bottom: 18px; }
.value-cell h3 { font-size: 18px; margin-bottom: 9px; }
.value-cell p { font-size: 14px; color: var(--muted); margin: 0; }

/* ============================================================
   FEATURES
   ============================================================ */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.feat-card {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  background: #fff; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.feat-card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 24px 48px -32px rgba(14,17,22,.25); }
.feat-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 21px; margin-bottom: 20px; }
.feat-card h3 { font-size: 19px; margin-bottom: 11px; }
.feat-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.feat-card li { font-size: 13.5px; color: var(--muted); padding-left: 20px; position: relative; }
.feat-card li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); }

/* ============================================================
   PORTAL (split)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.split.surface { background: var(--surface); border-radius: var(--r-xl); padding: clamp(36px, 5vw, 72px); border: 1px solid var(--line); }
.split h2 { font-size: clamp(28px, 3.6vw, 44px); }
.dual-list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 26px; }
.dual-list .col-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--terra); margin-bottom: 14px; }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.check-list .bi { color: var(--green); font-size: 16px; flex: none; margin-top: 1px; }

/* portal mock */
.portal-mock { display: flex; flex-direction: column; gap: 14px; }
.pm-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; background: #fff; box-shadow: 0 16px 34px -28px rgba(14,17,22,.2); }
.pm-card .h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pm-card .h .t { font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.pm-line { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; padding: 8px 0; border-top: 1px solid var(--line); }
.pm-line:first-of-type { border-top: 0; }
.pm-line .muted { color: var(--muted); }

/* ============================================================
   SECURITY (dark)
   ============================================================ */
.dark { background: var(--ink); color: #fff; }
.dark .section-head p { color: rgba(255,255,255,.62); }
.dark .eyebrow { color: #E0834F; }
.dark .eyebrow::before { background: #E0834F; }
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); overflow: hidden; margin-top: 52px; }
.sec-cell { background: var(--ink); padding: 30px 26px; }
.sec-cell .ic { color: #E0834F; font-size: 24px; margin-bottom: 16px; }
.sec-cell h3 { font-size: 17px; margin-bottom: 9px; color: #fff; }
.sec-cell p { font-size: 13.5px; color: rgba(255,255,255,.6); margin: 0; }

/* ============================================================
   PRICING
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; align-items: stretch; }
.price-card { border: 1px solid var(--line); border-radius: var(--r-xl); padding: 34px 30px; background: #fff; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--terra); box-shadow: 0 30px 60px -36px rgba(181,83,42,.4); position: relative; }
.price-card.featured::after { content: "Più scelto"; position: absolute; top: -13px; left: 30px; background: var(--terra); color: #fff; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.price-card .tier { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--terra); }
.price-card .for { font-size: 13.5px; color: var(--muted); margin-top: 10px; min-height: 38px; }
.price-card .specs { list-style: none; margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 13px; flex: 1; }
.price-card .specs li { display: flex; align-items: center; gap: 11px; font-size: 14px; }
.price-card .specs .bi { color: var(--green); font-size: 16px; flex: none; }
.price-card .specs .num { font-family: var(--font-display); font-weight: 600; }
.price-card .btn { margin-top: 28px; justify-content: center; }
.price-note { text-align: center; margin-top: 30px; font-size: 13.5px; color: var(--muted); }

/* ============================================================
   CTA + FOOTER
   ============================================================ */
.cta { text-align: center; }
.cta-card {
  background: var(--ink); border-radius: var(--r-xl); padding: clamp(48px, 7vw, 90px) var(--pad);
  position: relative; overflow: hidden;
}
.cta-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 50% 0%, rgba(181,83,42,.28), transparent 70%); }
.cta-card > * { position: relative; }
.cta-card h2 { color: #fff; font-size: clamp(30px, 4.4vw, 54px); }
.cta-card p { color: rgba(255,255,255,.66); font-size: 18px; margin: 20px auto 36px; max-width: 50ch; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-contact { margin-top: 30px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; color: rgba(255,255,255,.6); }
.cta-contact a { color: #E0834F; }

footer { border-top: 1px solid var(--line); padding-block: 56px 40px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand { max-width: 300px; }
.foot-brand .wordmark { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 16px 0 12px; }
.foot-brand p { font-size: 13.5px; color: var(--muted); margin: 0; }
.foot-cols { display: flex; gap: clamp(36px, 6vw, 80px); flex-wrap: wrap; }
.foot-col h4 { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; font-weight: 500; }
.foot-col a { display: block; font-size: 14px; color: var(--muted); padding: 5px 0; }
.foot-col a:hover { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted-2); font-family: var(--font-mono); letter-spacing: .04em; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .split { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-burger { display: block; margin-left: auto; }
  .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 560px) {
  .value-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .sec-grid { grid-template-columns: 1fr; }
  .dual-list { grid-template-columns: 1fr; }
  .win-side { display: none; }
  .win-body { grid-template-columns: 1fr; }
  .float-chip { display: none; }
}

/* ============================================================
   WAITLIST / SIGNUP
   ============================================================ */
.signup-form { display: flex; gap: 10px; max-width: 480px; margin-top: 30px; flex-wrap: wrap; }
.signup-form input[type="email"] {
  flex: 1; min-width: 220px; padding: 15px 20px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-family: var(--font-body); font-size: 15px; background: #fff; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.signup-form input[type="email"]::placeholder { color: var(--muted-2); }
.signup-form input[type="email"]:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 4px color-mix(in srgb, var(--terra) 14%, transparent); }
.signup-form input[type="email"].invalid { border-color: #C2452C; box-shadow: 0 0 0 4px rgba(194,69,44,.12); }
.signup-form .btn { flex: none; }
.signup-form.hide { display: none; }

.signup-micro { display: inline-flex; align-items: center; gap: 8px; margin-top: 15px; font-size: 13px; color: var(--muted); }
.signup-micro .bi { color: var(--green); font-size: 15px; }

.incentive { display: flex; align-items: center; gap: 11px; margin-top: 18px; font-size: 14px; color: var(--ink-soft); }
.incentive .bi { color: var(--terra); font-size: 19px; flex: none; }

.signup-success {
  display: none; align-items: center; gap: 12px; margin-top: 30px;
  padding: 16px 22px; border-radius: 16px; max-width: 480px;
  background: #E7F1EC; color: #235C3C; font-size: 14.5px; border: 1px solid #CFE6D9;
}
.signup-success.show { display: flex; }
.signup-success .bi { font-size: 20px; color: var(--green); flex: none; }

/* Campi aggiuntivi del form iscrizione (nome, telefono, messaggio) */
.signup-form input[type="text"],
.signup-form input[type="tel"],
.signup-form textarea {
  flex: 1; min-width: 220px; padding: 15px 20px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-family: var(--font-body); font-size: 15px; background: #fff; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.signup-form textarea { border-radius: 18px; resize: vertical; min-height: 86px; line-height: 1.5; }
.signup-form input[type="text"]::placeholder,
.signup-form input[type="tel"]::placeholder,
.signup-form textarea::placeholder { color: var(--muted-2); }
.signup-form input[type="text"]:focus,
.signup-form input[type="tel"]:focus,
.signup-form textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 4px color-mix(in srgb, var(--terra) 14%, transparent); }
.signup-form input.invalid { border-color: #C2452C; box-shadow: 0 0 0 4px rgba(194,69,44,.12); }
.signup-form button[disabled] { opacity: .6; cursor: progress; }

/* Variante "completa": campi impilati in colonna (sezione Iscriviti) */
.signup-form-full { flex-direction: column; align-items: stretch; max-width: 520px; }
.signup-form-full input,
.signup-form-full textarea { width: 100%; min-width: 0; }
.signup-form-full .btn { align-self: stretch; justify-content: center; }

/* Errore d'invio: mostrato solo se la richiesta fallisce davvero */
.signup-error {
  display: none; align-items: center; gap: 12px; margin-top: 18px;
  padding: 14px 22px; border-radius: 16px; max-width: 520px;
  background: #FBEAE6; color: #8A2C18; font-size: 14.5px; border: 1px solid #F1CFC6;
}
.signup-error.show { display: flex; }
.signup-error .bi { font-size: 20px; color: #C2452C; flex: none; }

/* Hero — centered (preview off) */
.hero.centered .hero-inner { grid-template-columns: 1fr; text-align: center; }
.hero.centered .hero-copy { max-width: 720px; margin-inline: auto; }
.hero.centered .hero-actions,
.hero.centered .signup-form { justify-content: center; }
.hero.centered .signup-form,
.hero.centered .signup-micro,
.hero.centered .signup-success,
.hero.centered .incentive { margin-inline: auto; }
.hero.centered .incentive { justify-content: center; }

/* Hero — dark background tweak */
.hero.hero-dark { background: var(--ink); }
.hero.hero-dark::before {
  background:
    radial-gradient(60% 50% at 78% 18%, color-mix(in srgb, var(--terra) 26%, transparent), transparent 70%),
    radial-gradient(50% 40% at 10% 0%, rgba(255,255,255,.05), transparent 70%);
}
.hero.hero-dark h1 { color: #fff; }
.hero.hero-dark .hero-lede { color: rgba(255,255,255,.72); }
.hero.hero-dark .hero-pill { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: #fff; }
.hero.hero-dark .signup-form input[type="email"] { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); color: #fff; }
.hero.hero-dark .signup-form input[type="email"]::placeholder { color: rgba(255,255,255,.5); }
.hero.hero-dark .signup-micro,
.hero.hero-dark .incentive { color: rgba(255,255,255,.66); }
.hero.hero-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.hero.hero-dark .btn-ghost:hover { border-color: #fff; }
.hero.hero-dark .trust { border-top-color: rgba(255,255,255,.12); }
.hero.hero-dark .trust .label { color: rgba(255,255,255,.45); }
.hero.hero-dark .trust-stat .n { color: #fff; }
.hero.hero-dark .trust-stat .t { color: rgba(255,255,255,.6); }

/* Tweak visibility helper */
[data-tw-hidden="true"] { display: none !important; }

/* Tweaks root host */
#tweaks-root { position: fixed; z-index: 90; }

/* ============================================================
   BETA TAG + FREE-BETA HIGHLIGHT
   ============================================================ */
.beta-tag {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--terra); border: 1px solid var(--terra);
  border-radius: 6px; padding: 3px 6px; line-height: 1; align-self: center;
}
.beta-tag.on-dark { color: #fff; border-color: rgba(255,255,255,.45); }

.hero-pill.free {
  background: var(--terra-tint); border-color: transparent; color: var(--terra-deep);
}
.hero-pill.free .bi { color: var(--terra); font-size: 14px; }
.hero.hero-dark .hero-pill.free { background: color-mix(in srgb, var(--terra) 22%, transparent); color: #fff; }
.hero.hero-dark .hero-pill.free .bi { color: #fff; }

.free-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; font-family: var(--font-mono); letter-spacing: .04em; color: rgba(255,255,255,.7); }
.free-note .bi { color: #E0834F; font-size: 15px; }


