/*
 * IamCarla — public landing (dark, editorial, immersive).
 *
 * Scope: everything is prefixed with body.page-public-landing / .landing-root,
 * so this file never leaks into the app shell. Loaded only by index_landing.html.
 *
 * Structure
 *   1. Tokens + shell resets
 *   2. Topbar (base.html markup) — fixed, blurred on scroll
 *   3. Primitives: container, buttons, reveal, headings
 *   4. Hero
 *   5. Ticker
 *   6. How it works (chat demo)
 *   7. Features bento
 *   8. Controllo (paper section)
 *   9. Proactive timeline
 *  10. Integrations
 *  11. FAQ
 *  12. Final CTA
 *  13. Footer (site_footer.html partial, landing variant)
 *  14. Custom cursor (kept as-is)
 *  15. Motion preferences
 */

/* ═══════════════════════════════════════════════════════════════════════
   1. TOKENS + SHELL
   ═══════════════════════════════════════════════════════════════════════ */
body.page-public-landing {
  /* Pearl surfaces, deep-green ink text — same family as the app shell */
  --lp-bg: #f2f4f1;
  --lp-bg-rgb: 242, 244, 241;
  --lp-surface: #ffffff;
  --lp-surface-2: #f2f4f0;
  --lp-ink: #0f2a1f;
  --lp-ink-rgb: 15, 42, 31;
  --lp-ink-2: #1a2b23;
  --lp-ink-soft: #3a4c43;
  --lp-paper: #f4f6f2;
  --lp-paper-rgb: 244, 246, 242;
  --lp-text: var(--lp-ink);
  --lp-text-2: #4b5c53;
  --lp-muted: #7a8981;
  --lp-line: rgba(16, 28, 23, 0.09);
  --lp-line-strong: rgba(16, 28, 23, 0.18);
  --lp-green: var(--brand-green);
  --lp-green-rgb: var(--brand-green-rgb);
  --lp-green-bright: var(--brand-green);
  --lp-green-deep: var(--brand-green-strong);
  --lp-green-hover: var(--brand-green-hover);
  --lp-brass: #047857;
  --lp-brass-rgb: 4, 120, 87;
  --lp-wa: #25d366;
  /* Unread noise in the hero desk only; green means handled */
  --lp-signal: #e5484d;
  --lp-green-ink: var(--brand-green-ink);

  --lp-font-display: 'Bricolage Grotesque', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --lp-font-body: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --lp-radius-lg: 28px;
  --lp-radius: 20px;
  --lp-radius-sm: 12px;
  --lp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lp-container: 1320px;
  --lp-gutter: clamp(20px, 5vw, 72px);
  --lp-section: clamp(88px, 12vw, 168px);
  --lp-nav-h: 72px;

  background: var(--lp-bg) !important;
  color: var(--lp-text);
  font-family: var(--lp-font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

html:has(body.page-public-landing) {
  background: #f2f4f1;
  scroll-behavior: smooth;
}

body.page-public-landing .app-content,
body.page-public-landing .app-wrapper {
  background: var(--lp-bg) !important;
}

body.page-public-landing .app-content-container {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-public-landing .sidebar-toggle-btn,
body.page-public-landing .site-footer {
  display: none !important;
}

.landing-root,
.landing-root *,
.landing-root *::before,
.landing-root *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.landing-root {
  position: relative;
  font-family: var(--lp-font-body);
  color: var(--lp-text);
  line-height: 1.55;
  letter-spacing: -0.005em;
  isolation: isolate;
}

.landing-root img {
  max-width: 100%;
  height: auto;
  display: block;
}

.landing-root a {
  text-decoration: none;
}

.landing-root a:not(.btn-lp):not(.hero-lp-scroll) {
  color: inherit;
}

.landing-root ul,
.landing-root ol {
  list-style: none;
}

.landing-root :focus-visible {
  outline: 2px solid var(--lp-green-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Film grain over everything (static SVG turbulence, no repaint cost) */
.landing-grain {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

/* Scroll progress (injected by landing.js) */
.landing-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: var(--pct, 0%);
  background: linear-gradient(90deg, var(--lp-green), var(--lp-green-deep));
  z-index: 1001;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* ═══════════════════════════════════════════════════════════════════════
   2. TOPBAR — base.html .topbar-modern, restyled for the dark landing
   ═══════════════════════════════════════════════════════════════════════ */
body.page-public-landing .topbar-modern {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--lp-nav-h);
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--lp-gutter);
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  font-family: var(--lp-font-body);
  transition: background 0.45s var(--lp-ease), border-color 0.45s var(--lp-ease);
}

body.page-public-landing .topbar-modern::before {
  /* Soft top vignette so the transparent nav still reads over bright hero areas */
  content: '';
  position: absolute;
  inset: 0 0 -40px;
  background: linear-gradient(to bottom, rgba(var(--lp-bg-rgb), 0.85), rgba(var(--lp-bg-rgb), 0));
  pointer-events: none;
  z-index: -1;
  opacity: 1;
  transition: opacity 0.45s var(--lp-ease);
}

body.page-public-landing .topbar-modern.scrolled {
  background: rgba(var(--lp-bg-rgb), 0.66);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--lp-line);
}

body.page-public-landing .topbar-modern.scrolled::before {
  opacity: 0;
}

body.page-public-landing .topbar-brand {
  justify-self: start;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

body.page-public-landing .topbar-brand .navbar-brand {
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}

body.page-public-landing .topbar-brand .brand-carla {
  color: var(--lp-ink);
  font-weight: 800;
}

body.page-public-landing .topbar-brand .brand-ai {
  color: var(--lp-green-deep);
  font-weight: 800;
}

body.page-public-landing .landing-nav-links {
  justify-self: center;
  display: flex;
  gap: clamp(18px, 2.6vw, 34px);
}

.landing-nav-link {
  position: relative;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--lp-text-2);
  letter-spacing: 0.01em;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.landing-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--lp-green-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--lp-ease);
}

.landing-nav-link:hover,
.landing-nav-link.active {
  color: var(--lp-ink);
}

.landing-nav-link:hover::after,
.landing-nav-link.active::after {
  transform: scaleX(1);
}

body.page-public-landing .topbar-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

body.page-public-landing .topbar-social {
  display: flex;
  gap: 6px;
  margin-right: 6px;
}

body.page-public-landing .topbar-social-link {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--lp-line);
  background: transparent;
  color: var(--lp-text-2);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--lp-ease);
}

body.page-public-landing .topbar-social-link:hover {
  border-color: var(--lp-line-strong);
  color: var(--lp-ink);
  background: rgba(var(--lp-ink-rgb), 0.05);
  transform: translateY(-1px);
}

body.page-public-landing .topbar-modern .btn {
  font-family: var(--lp-font-body);
  font-weight: 600;
  font-size: 0.84rem;
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  line-height: 1.2;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.3s var(--lp-ease), box-shadow 0.3s ease;
}

body.page-public-landing .topbar-modern .btn-outline-secondary {
  color: var(--lp-ink);
  border: 1px solid var(--lp-line-strong);
  background: transparent;
}

body.page-public-landing .topbar-modern .btn-outline-secondary:hover {
  background: rgba(var(--lp-ink-rgb), 0.05);
  border-color: rgba(var(--lp-ink-rgb), 0.3);
  color: var(--lp-ink);
}

body.page-public-landing .topbar-modern .btn-emerald {
  background: var(--lp-ink);
  color: #ffffff;
  border: 1px solid var(--lp-ink);
  box-shadow: 0 0 0 0 rgba(var(--lp-green-rgb), 0);
}

body.page-public-landing .topbar-modern .btn-emerald:hover {
  background: var(--lp-green);
  border-color: var(--lp-green);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px rgba(var(--lp-green-rgb), 0.6);
}

body.page-public-landing .topbar-modern .btn-emerald .bi {
  font-size: 1.15em;
  line-height: 0;
}

/* Fixed social column — phones only */
.landing-pwa-social-fixed {
  position: fixed;
  right: 14px;
  bottom: 18px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.landing-pwa-social-link {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--lp-line-strong);
  color: var(--lp-ink);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.landing-pwa-social-link i {
  font-size: 1rem;
  line-height: 0;
}

/* Mobile section strip under the topbar (Bootstrap d-lg-none hides it from 992px) */
@media (max-width: 991.98px) {
  body.page-public-landing .landing-mobile-section-nav {
    display: flex !important;
    top: var(--lp-nav-h);
  }
}

.landing-mobile-section-nav {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(var(--lp-bg-rgb), 0.72);
  border-bottom: 1px solid var(--lp-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.landing-mobile-section-nav-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.landing-mobile-section-nav-inner::-webkit-scrollbar {
  display: none;
}

.landing-mobile-section-pill {
  flex: 0 0 auto;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--lp-text-2);
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--lp-line);
  background: rgba(var(--lp-ink-rgb), 0.04);
}

.landing-mobile-section-pill:active {
  color: #ffffff;
  background: var(--lp-green);
  border-color: var(--lp-green);
}

@media (min-width: 992px) {
  body.page-public-landing .landing-mobile-section-nav,
  body.page-public-landing .landing-pwa-social-fixed {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  body.page-public-landing {
    --lp-nav-h: 64px;
  }

  body.page-public-landing .topbar-modern {
    display: grid !important;
    grid-template-columns: auto 1fr;
    height: var(--lp-nav-h) !important;
    min-height: 0;
    padding: max(0px, env(safe-area-inset-top, 0px)) 16px 0 !important;
    background: rgba(var(--lp-bg-rgb), 0.66);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border-bottom-color: var(--lp-line);
  }

  body.page-public-landing .topbar-modern::before {
    display: none;
  }

  body.page-public-landing .landing-nav-links {
    display: none !important;
  }

  body.page-public-landing .topbar-actions {
    justify-content: flex-end;
    gap: 8px;
  }

  body.page-public-landing .topbar-landing-cta-stack {
    display: flex;
  }

  body.page-public-landing .topbar-modern .btn {
    padding: 0.42rem 0.85rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   3. PRIMITIVES
   ═══════════════════════════════════════════════════════════════════════ */
.lp-container {
  width: 100%;
  max-width: var(--lp-container);
  margin: 0 auto;
  padding: 0 var(--lp-gutter);
}

.lp-section {
  position: relative;
  padding: var(--lp-section) 0;
  scroll-margin-top: calc(var(--lp-nav-h) + 16px);
}

.lp-section + .lp-section {
  border-top: 1px solid var(--lp-line);
}

.lp-h2 {
  font-family: var(--lp-font-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 4.8vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--lp-ink);
  text-wrap: balance;
  max-width: 14ch;
}

.lp-h2 em {
  font-style: italic;
  color: var(--lp-ink-soft);
}

.lp-lead {
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  color: var(--lp-text-2);
  max-width: 52ch;
  text-wrap: pretty;
}

.lp-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px 64px;
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 88px);
}

.lp-section-head .lp-lead {
  justify-self: start;
  padding-bottom: 6px;
}

/* Buttons */
.btn-lp {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-family: var(--lp-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  will-change: transform;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.4s ease;
}

.btn-lp svg {
  flex: none;
  transition: transform 0.35s var(--lp-ease);
}

.btn-lp:hover svg {
  transform: translateX(4px);
}

.landing-root .btn-lp--primary {
  background: var(--lp-green);
  color: #ffffff;
  border-color: var(--lp-green);
  box-shadow: 0 0 0 0 rgba(var(--lp-green-rgb), 0), 0 18px 40px -18px rgba(var(--lp-green-rgb), 0.55);
}

.landing-root .btn-lp--primary:hover {
  background: var(--lp-green-hover);
  border-color: var(--lp-green-hover);
  box-shadow: 0 0 0 6px rgba(var(--lp-green-rgb), 0.12), 0 24px 50px -16px rgba(var(--lp-green-rgb), 0.7);
}

.landing-root .btn-lp--ghost {
  background: transparent;
  color: var(--lp-ink);
  border-color: var(--lp-line-strong);
}

.landing-root .btn-lp--ghost:hover {
  background: rgba(var(--lp-ink-rgb), 0.04);
  border-color: rgba(var(--lp-ink-rgb), 0.32);
}

.landing-root .btn-lp--ink {
  background: var(--lp-ink);
  color: #ffffff;
  border-color: var(--lp-ink);
  box-shadow: 0 18px 40px -20px rgba(var(--lp-ink-rgb), 0.5);
}

.landing-root .btn-lp--ink:hover {
  background: var(--lp-green);
  border-color: var(--lp-green);
}

/* Magnetic wrapper — JS moves the inner button toward the pointer */
[data-magnetic] {
  display: inline-block;
}

[data-magnetic] > .btn-lp {
  transition: transform 0.55s var(--lp-ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.4s ease;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--lp-ease),
    transform 0.9s var(--lp-ease);
  transition-delay: calc(var(--stagger-index, 0) * 90ms);
}

.reveal--left {
  transform: translateX(-28px);
}

.reveal--scale {
  transform: translateY(18px) scale(0.97);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Particle burst (landing.js) */
.particle-burst-target {
  position: relative;
  overflow: visible;
}

.landing-particle {
  position: absolute;
  border-radius: 50%;
  width: var(--particle-size, 6px);
  height: var(--particle-size, 6px);
  left: var(--particle-left, 0px);
  top: var(--particle-top, 0px);
  background: hsl(var(--particle-hue, 150), 70%, 60%);
  pointer-events: none;
  z-index: 999;
  animation: particleFly var(--particle-duration, 0.6s) ease-out forwards;
}

@keyframes particleFly {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(var(--px), var(--py)) scale(0);
    opacity: 0;
  }
}

/* Glass card base (bento, integrations, chips) with pointer-tracked border glow */
.lp-card {
  position: relative;
  border-radius: var(--lp-radius);
  background: linear-gradient(160deg, #ffffff, #fbfcfa 60%, #ffffff);
  border: 1px solid var(--lp-line);
  box-shadow: 0 1px 2px rgba(var(--lp-ink-rgb), 0.04), 0 16px 40px -28px rgba(var(--lp-ink-rgb), 0.2);
  overflow: hidden;
  transition: transform 0.6s var(--lp-ease), border-color 0.4s ease, box-shadow 0.5s ease;
}

.lp-card::before {
  /* border glow — only the 1px ring is visible thanks to the mask composite */
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx, -200px) var(--my, -200px), rgba(var(--lp-green-rgb), 0.85), rgba(var(--lp-brass-rgb), 0.3) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.lp-card::after {
  /* inner glare */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, -200px) var(--my, -200px), rgba(var(--lp-green-rgb), 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.lp-card:hover {
  border-color: rgba(var(--lp-ink-rgb), 0.14);
  box-shadow: 0 1px 2px rgba(var(--lp-ink-rgb), 0.04), 0 32px 64px -32px rgba(var(--lp-ink-rgb), 0.28);
}

.lp-card:hover::before,
.lp-card:hover::after {
  opacity: 1;
}

.lp-card > * {
  position: relative;
  z-index: 3;
}

/* customer-layout-optimization.css sets h2-h5 / p / li / span line-heights with
   !important; display type needs its own tight leading back. */
.landing-root .lp-h2,
.landing-root .chores-lp h3,
.landing-root .reach-lp-list h3 {
  line-height: 1 !important;
}

.landing-root .problem-lp-close {
  line-height: 1.12 !important;
}

.landing-root .final-lp-title {
  line-height: 0.92 !important;
}

.landing-root .desk-chip-body span {
  line-height: 1.25 !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   4. HERO — the problem first, then the desk Carla sorts
   ═══════════════════════════════════════════════════════════════════════ */
.hero-lp {
  position: relative;
  padding: calc(var(--lp-nav-h) + clamp(40px, 7vw, 104px)) 0 clamp(72px, 9vw, 128px);
}

.hero-lp-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.hero-lp-tagline {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--lp-green-deep);
  margin-bottom: 22px;
}

.hero-lp-title {
  font-family: var(--lp-font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5.6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--lp-ink);
  max-width: 13ch;
  text-wrap: balance;
}

.hero-lp-sub {
  margin-top: 28px;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.6;
  color: var(--lp-text-2);
  max-width: 46ch;
  text-wrap: pretty;
}

.hero-lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-lp-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 28px;
  font-size: 0.88rem;
  color: var(--lp-muted);
}

.hero-lp-proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-lp-proof li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lp-green);
}

/* The desk: eight notifications piled up; .is-sorted lines them up, handled */
.desk {
  --slot: 62px;
  position: relative;
  padding: 22px 22px 20px;
  border-radius: 28px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  box-shadow: 0 1px 2px rgba(var(--lp-ink-rgb), 0.05), 0 40px 80px -40px rgba(var(--lp-ink-rgb), 0.35);
}

.desk-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.desk-when {
  font-size: 0.86rem;
  color: var(--lp-muted);
}

.desk-count {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.desk-count-todo {
  color: var(--lp-signal);
}

.desk-count-todo b {
  font-family: var(--lp-font-display);
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
}

.desk-count-done {
  display: none;
  color: var(--lp-green-deep);
}

.desk.is-sorted .desk-count-todo {
  display: none;
}

.desk.is-sorted .desk-count-done {
  display: inline;
}

.desk-list {
  position: relative;
  height: calc(var(--slot) * 8 - 8px);
}

.desk-chip {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 1;
  width: 72%;
  height: calc(var(--slot) - 8px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px 0 10px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--lp-line-strong);
  box-shadow: 0 10px 24px -14px rgba(var(--lp-ink-rgb), 0.35);
  transform: rotate(var(--r));
  transition:
    left 0.75s var(--lp-ease),
    top 0.75s var(--lp-ease),
    width 0.75s var(--lp-ease),
    transform 0.75s var(--lp-ease),
    box-shadow 0.5s ease,
    border-color 0.5s ease;
  transition-delay: calc(var(--i) * 70ms);
}

.desk.is-sorted .desk-chip {
  left: 0;
  top: calc(var(--i) * var(--slot));
  width: 100%;
  transform: none;
  border-color: var(--lp-line);
  box-shadow: none;
}

.desk-chip-icon {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--lp-surface-2);
  color: var(--lp-ink-soft);
}

.desk-chip-icon svg {
  width: 19px;
  height: 19px;
}

.desk-chip-body {
  flex: 1;
  min-width: 0;
  display: grid;
  line-height: 1.25;
}

.desk-chip-src {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--lp-muted);
}

.desk-chip-msg,
.desk-chip-done {
  grid-area: 2 / 1;
  font-size: 0.9rem;
  color: var(--lp-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.35s ease;
  transition-delay: calc(var(--i) * 70ms + 0.4s);
}

.desk-chip-done {
  opacity: 0;
  color: var(--lp-green-ink);
  font-weight: 600;
}

.desk.is-sorted .desk-chip-msg {
  opacity: 0;
}

.desk.is-sorted .desk-chip-done {
  opacity: 1;
}

.desk-chip-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lp-signal);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  transition: transform 0.35s var(--lp-ease);
  transition-delay: calc(var(--i) * 70ms + 0.35s);
}

.desk.is-sorted .desk-chip-badge {
  transform: scale(0);
}

.desk-chip-check {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--lp-green);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.3s ease, transform 0.4s var(--lp-ease);
  transition-delay: calc(var(--i) * 70ms + 0.45s);
}

.desk.is-sorted .desk-chip-check {
  opacity: 1;
  transform: none;
}

.desk-toggle {
  margin-top: 16px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--lp-ink);
  background: var(--lp-ink);
  color: #ffffff;
  font: 600 0.95rem/1 var(--lp-font-body);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.desk-toggle:hover {
  background: var(--lp-green-deep);
  border-color: var(--lp-green-deep);
}

.desk-toggle-reset {
  display: none;
}

.desk.is-sorted .desk-toggle {
  background: transparent;
  color: var(--lp-ink);
  border-color: var(--lp-line-strong);
}

.desk.is-sorted .desk-toggle-sort {
  display: none;
}

.desk.is-sorted .desk-toggle-reset {
  display: inline;
}

/* ═══════════════════════════════════════════════════════════════════════
   5. PROBLEMA — one morning, two lanes
   ═══════════════════════════════════════════════════════════════════════ */
.morning-lp-lanes,
.morning-lp-list li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 24px;
}

.morning-lp-lanes {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--lp-ink);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--lp-muted);
}

.morning-lp-lanes span:first-child {
  grid-column: 2;
}

.morning-lp-list li {
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--lp-line);
}

.morning-lp-list time {
  font-family: var(--lp-font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--lp-ink);
}

.morning-lp-work {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--lp-ink);
}

.morning-lp-admin {
  position: relative;
  padding-left: 20px;
  font-size: 1.05rem;
  color: var(--lp-ink-soft);
}

.morning-lp-admin::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lp-signal);
}

.problem-lp-close {
  margin-top: clamp(48px, 6vw, 80px);
  max-width: 28ch;
  font-family: var(--lp-font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--lp-ink);
  text-wrap: balance;
}

/* ═══════════════════════════════════════════════════════════════════════
   6. HOW IT WORKS — three steps beside the chat thread
   ═══════════════════════════════════════════════════════════════════════ */
.how-lp-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.how-lp-steps,
.setup-lp-steps {
  counter-reset: lp-step;
}

.how-lp-steps li {
  counter-increment: lp-step;
  position: relative;
  padding: 0 0 36px 64px;
}

.how-lp-steps li + li {
  padding-top: 36px;
  border-top: 1px solid var(--lp-line);
}

.how-lp-steps li::before,
.setup-lp-steps li::before {
  content: counter(lp-step);
  font-family: var(--lp-font-display);
  font-weight: 800;
  color: var(--lp-green);
  line-height: 1;
}

.how-lp-steps li::before {
  position: absolute;
  left: 0;
  font-size: 2.4rem;
}

.how-lp-steps h3,
.setup-lp-steps h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--lp-ink);
  margin-bottom: 8px;
}

.how-lp-steps p,
.setup-lp-steps p {
  color: var(--lp-text-2);
  max-width: 44ch;
}

.chat-lp {
  position: sticky;
  top: calc(var(--lp-nav-h) + 24px);
}

/* ═══════════════════════════════════════════════════════════════════════
   6b. SEMPRE — Carla on the phone; the modes mirror the real setting
   ═══════════════════════════════════════════════════════════════════════ */
.reach-lp-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.reach-lp-modes {
  padding: 24px;
  border-radius: 24px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  box-shadow: 0 30px 60px -40px rgba(var(--lp-ink-rgb), 0.35);
}

.reach-lp-modes-label {
  font-weight: 700;
  color: var(--lp-ink);
  margin-bottom: 14px;
}

.reach-lp-modes ul {
  display: grid;
  gap: 8px;
}

.reach-lp-modes li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--lp-line);
  color: var(--lp-ink-soft);
}

.reach-lp-modes li::before {
  content: '';
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--lp-line-strong);
}

.reach-lp-modes li.is-on {
  border-color: var(--lp-green);
  background: rgba(var(--lp-green-rgb), 0.06);
  color: var(--lp-ink);
  font-weight: 600;
}

.reach-lp-modes li.is-on::before {
  border: 5px solid var(--lp-green);
}

.reach-lp-modes-note {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--lp-muted);
}

.reach-lp-list li {
  padding: 26px 0;
  border-top: 1px solid var(--lp-line);
}

.reach-lp-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.reach-lp-list h3 {
  font-family: var(--lp-font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
  color: var(--lp-ink);
  margin-bottom: 8px;
}

.reach-lp-list p {
  font-size: 1.05rem;
  color: var(--lp-text-2);
  max-width: 50ch;
}

/* ═══════════════════════════════════════════════════════════════════════
   7. FEATURES — chores, as verbs
   ═══════════════════════════════════════════════════════════════════════ */
.chores-lp li {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 16px 48px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--lp-line);
}

.chores-lp li:last-child {
  border-bottom: 1px solid var(--lp-line);
}

.chores-lp h3 {
  font-family: var(--lp-font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--lp-ink);
  transition: color 0.3s ease;
}

.chores-lp li:hover h3 {
  color: var(--lp-green-deep);
}

.chores-lp p {
  font-size: 1.05rem;
  color: var(--lp-text-2);
  max-width: 52ch;
}

.chores-lp-foot {
  margin-top: 24px;
  font-size: 0.92rem;
  color: var(--lp-muted);
}

/* ═══════════════════════════════════════════════════════════════════════
   10. INTEGRAZIONI — setup in one call, then the channels
   ═══════════════════════════════════════════════════════════════════════ */
.setup-lp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  border-top: 2px solid var(--lp-ink);
  padding-top: 32px;
}

.setup-lp-steps li {
  counter-increment: lp-step;
}

.setup-lp-steps li::before {
  display: block;
  font-size: 3.2rem;
  margin-bottom: 18px;
}

.int-lp-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 32px;
  margin-top: clamp(56px, 7vw, 96px);
}

.int-lp-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 4px 12px;
  padding: 18px 0;
  border-top: 1px solid var(--lp-line);
}

.int-lp-logo {
  grid-row: span 2;
  color: var(--lp-ink-soft);
  padding-top: 2px;
}

.int-lp-logo svg {
  width: 22px;
  height: 22px;
}

.int-lp-list strong {
  font-weight: 700;
  color: var(--lp-ink);
}

.int-lp-list span:last-child {
  font-size: 0.88rem;
  color: var(--lp-text-2);
}

/* ═══════════════════════════════════════════════════════════════════════
   12. FINAL CTA
   ═══════════════════════════════════════════════════════════════════════ */
.final-lp {
  padding: var(--lp-section) 0;
  border-top: 1px solid var(--lp-line);
}

.final-lp-title {
  font-family: var(--lp-font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8.4vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: var(--lp-ink);
  max-width: 11ch;
  margin-bottom: 28px;
}

.final-lp-actions {
  margin-top: 36px;
}

/* Chat demo */
.chat-lp {
  position: sticky;
  top: calc(var(--lp-nav-h) + 40px);
  border-radius: var(--lp-radius-lg);
  padding: 22px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(var(--lp-green-rgb), 0.1), transparent 55%),
    var(--lp-surface);
  border: 1px solid var(--lp-line);
  box-shadow: 0 1px 2px rgba(var(--lp-ink-rgb), 0.04), 0 40px 90px -40px rgba(var(--lp-ink-rgb), 0.3);
}

.chat-lp-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--lp-line);
}

.chat-lp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--lp-line-strong);
  flex: none;
}

.chat-lp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 20%;
}

.chat-lp-head strong {
  display: block;
  font-size: 0.95rem;
  color: var(--lp-ink);
}

.chat-lp-head span {
  display: block;
  font-size: 0.78rem;
  color: var(--lp-green-deep);
}

.chat-lp-head-wa {
  margin-left: auto;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(37, 211, 102, 0.15);
  color: var(--lp-wa);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chat-lp-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-lp-msg {
  max-width: 82%;
  padding: 12px 15px;
  border-radius: 18px;
  font-size: 0.93rem;
  line-height: 1.45;
  color: var(--lp-ink);
}

.chat-lp-msg--in {
  align-self: flex-start;
  background: rgba(var(--lp-ink-rgb), 0.07);
  border: 1px solid var(--lp-line);
  border-bottom-left-radius: 6px;
}

.chat-lp-msg--out {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(var(--lp-green-rgb), 0.16), rgba(var(--lp-green-rgb), 0.08));
  border: 1px solid rgba(var(--lp-green-rgb), 0.3);
  border-bottom-right-radius: 6px;
}

.chat-lp-msg time {
  display: block;
  margin-top: 4px;
  font-size: 0.7rem;
  color: var(--lp-muted);
  text-align: right;
}

.chat-lp-sys {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--lp-brass-rgb), 0.4);
  background: rgba(var(--lp-brass-rgb), 0.08);
  color: var(--lp-brass);
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 6px;
}

.chat-lp-sys svg {
  flex: none;
}

.chat-lp-typing {
  align-self: flex-end;
  display: inline-flex;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 18px;
  border-bottom-right-radius: 6px;
  background: rgba(var(--lp-green-rgb), 0.14);
}

.chat-lp-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lp-green-bright);
  animation: typingDot 1.2s ease-in-out infinite;
}

.chat-lp-typing i:nth-child(2) { animation-delay: 0.15s; }
.chat-lp-typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════════════
   8. CONTROLLO — inverted paper section
   ═══════════════════════════════════════════════════════════════════════ */
.controllo-lp {
  background: var(--lp-ink);
  color: var(--lp-paper);
  border-top: 0 !important;
}

.controllo-lp::before,
.controllo-lp::after {
  /* curved seams into the dark sections above and below */
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--lp-bg);
}

.controllo-lp::before {
  top: -1px;
  border-radius: 0 0 40px 40px;
}

.controllo-lp::after {
  bottom: -1px;
  border-radius: 40px 40px 0 0;
}

.controllo-lp-layout {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.controllo-lp .lp-h2 {
  color: var(--lp-paper);
  font-size: clamp(3rem, 6.6vw, 6.6rem);
  max-width: 11ch;
}

.controllo-lp .lp-h2 em {
  color: #c2d0c6;
}

.controllo-lp .lp-lead {
  color: #b3c3b8;
  margin-top: 24px;
}

.controllo-lp-list {
  margin-top: 28px;
  display: grid;
  gap: 12px;
  max-width: 48ch;
}

.controllo-lp-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 1rem;
  color: var(--lp-paper);
  font-weight: 500;
}

.controllo-lp-list li svg {
  flex: none;
  margin-top: 3px;
  color: #3fe0a0;
}

/* Approval card (interactive) */
.approve-lp {
  position: relative;
  border-radius: var(--lp-radius-lg);
  padding: 26px;
  background: var(--lp-surface);
  color: var(--lp-ink);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.6);
}

.approve-lp-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.approve-lp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--lp-line-strong);
  flex: none;
}

.approve-lp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 20%;
}

.approve-lp-head strong {
  display: block;
  font-size: 0.95rem;
}

.approve-lp-head span {
  display: block;
  font-size: 0.78rem;
  color: var(--lp-muted);
}

.approve-lp-ask {
  font-size: 1.02rem;
  color: var(--lp-ink);
  margin-bottom: 14px;
}

.approve-lp-preview {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--lp-surface-2);
  border: 1px solid var(--lp-line);
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--lp-text-2);
  margin-bottom: 18px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.approve-lp.is-editing .approve-lp-preview {
  border-color: var(--lp-brass);
  background: rgba(var(--lp-brass-rgb), 0.08);
  outline: none;
}

.approve-lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.approve-lp-btn {
  font-family: var(--lp-font-body);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--lp-line-strong);
  background: transparent;
  color: var(--lp-ink);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.3s var(--lp-ease);
}

.approve-lp-btn:hover {
  background: rgba(var(--lp-ink-rgb), 0.05);
  transform: translateY(-1px);
}

.approve-lp-btn--go {
  background: var(--lp-green);
  border-color: var(--lp-green);
  color: #ffffff;
}

.approve-lp-btn--go:hover {
  background: var(--lp-green-hover);
  border-color: var(--lp-green-hover);
}

.approve-lp-done {
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: inherit;
  background: var(--lp-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.approve-lp.is-sent .approve-lp-done {
  opacity: 1;
  pointer-events: auto;
}

.approve-lp-done-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(var(--lp-green-rgb), 0.5);
  background: rgba(var(--lp-green-rgb), 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lp-green-deep);
}

.approve-lp.is-sent .approve-lp-done-ring {
  animation: ringPop 0.7s var(--lp-ease);
}

@keyframes ringPop {
  0% { transform: scale(0.5); }
  60% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.approve-lp-done strong {
  font-family: var(--lp-font-display);
  font-weight: 700;
  font-size: 1.8rem;
}

.approve-lp-done span {
  color: var(--lp-text-2);
  font-size: 0.9rem;
}

.approve-lp-done button {
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════════════════
   9. PROACTIVE — one working day, as a timeline
   ═══════════════════════════════════════════════════════════════════════ */
.day-lp {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  position: relative;
  margin-top: 8px;
}

.day-lp::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 16px;
  height: 1px;
  background: linear-gradient(90deg, var(--lp-line-strong), var(--lp-line), transparent);
}

.day-lp-item {
  position: relative;
  padding: 44px 28px 0 0;
}

.day-lp-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--lp-surface);
  border: 1px solid var(--lp-green);
  box-shadow: 0 0 0 4px rgba(var(--lp-green-rgb), 0.12);
}

.day-lp-time {
  display: block;
  font-family: var(--lp-font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--lp-ink);
  margin-bottom: 14px;
}

.day-lp-time small {
  display: block;
  font-family: var(--lp-font-body);
  font-size: 0.78rem;
  color: var(--lp-brass);
  font-weight: 600;
  margin-top: 6px;
}

.day-lp-item h3 {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--lp-ink);
  margin-bottom: 8px;
}

.day-lp-item p {
  font-size: 0.93rem;
  color: var(--lp-text-2);
  max-width: 30ch;
}

/* ═══════════════════════════════════════════════════════════════════════
   11. FAQ
   ═══════════════════════════════════════════════════════════════════════ */
.faq-lp-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.faq-lp-intro {
  position: sticky;
  top: calc(var(--lp-nav-h) + 40px);
}

.faq-lp-intro .lp-lead {
  margin-top: 20px;
}

.faq-item-premium {
  border-top: 1px solid var(--lp-line);
}

.faq-item-premium:last-child {
  border-bottom: 1px solid var(--lp-line);
}

.faq-question-premium {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--lp-font-body);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--lp-ink);
  cursor: pointer;
  transition: color 0.25s ease;
}

.faq-question-premium:hover {
  color: var(--lp-green-deep);
}

.faq-icon-premium {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--lp-line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lp-ink);
  transition: transform 0.45s var(--lp-ease), background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.faq-icon-premium svg {
  width: 14px;
  height: 14px;
}

.faq-item-premium.open .faq-icon-premium {
  transform: rotate(135deg);
  background: var(--lp-green);
  border-color: var(--lp-green);
  color: #ffffff;
}

.faq-answer-premium {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--lp-ease);
}

.faq-answer-inner {
  padding: 0 64px 26px 0;
  color: var(--lp-text-2);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 62ch;
}

/* ═══════════════════════════════════════════════════════════════════════
   13. FOOTER — giant wordmark + shared partial (landing variant)
   ═══════════════════════════════════════════════════════════════════════ */
.footer-lp-mark {
  position: relative;
  overflow: hidden;
  padding: 0 var(--lp-gutter);
  border-top: 1px solid var(--lp-line);
  line-height: 0.82;
  user-select: none;
}

.footer-lp-mark span {
  display: block;
  font-size: clamp(5rem, 18.6vw, 21rem);
  letter-spacing: -0.05em;
  color: var(--lp-ink);
  padding-top: 0.12em;
  margin-bottom: -0.16em;
  transform: translateY(24%);
  transition: transform 1.4s var(--lp-ease);
  white-space: nowrap;
}

.footer-lp-mark.visible span {
  transform: translateY(0);
}

.footer-lp-mark b {
  font-family: var(--lp-font-body);
  font-weight: 800;
}

.footer-lp-mark i {
  font-family: var(--lp-font-display);
  font-style: normal;
  font-weight: 800;
  color: var(--lp-green);
}

.footer-premium {
  position: relative;
  padding: clamp(40px, 5vw, 72px) 0 calc(28px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--lp-line);
  background: var(--lp-bg);
  color: var(--lp-text-2);
  font-size: 0.9rem;
}

.footer-premium .container-premium {
  width: 100%;
  max-width: var(--lp-container);
  margin: 0 auto;
  padding: 0 var(--lp-gutter);
}

.footer-premium-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--lp-line);
}

.footer-logo {
  display: inline-block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lp-ink);
  margin-bottom: 12px;
}

.footer-logo-accent {
  color: var(--lp-green-deep);
}

.footer-tagline {
  color: var(--lp-text-2);
  max-width: 30ch;
  margin-bottom: 20px;
}

.footer-powered {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lp-muted);
  font-size: 0.78rem;
}

.footer-powered img {
  height: 26px;
  width: auto;
  opacity: 0.85;
}

.footer-col-title {
  font-family: var(--lp-font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--lp-ink);
  margin-bottom: 16px;
}

.footer-links-col ul {
  display: grid;
  gap: 10px;
}

.footer-links-col a,
.footer-premium .footer-cookie-btn {
  font-family: var(--lp-font-body);
  font-size: 0.9rem;
  color: var(--lp-text-2);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: color 0.25s ease;
}

.footer-links-col a:hover,
.footer-premium .footer-cookie-btn:hover {
  color: var(--lp-green-deep);
}

.footer-bottom-premium {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--lp-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lp-text-2);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.3s var(--lp-ease);
}

.footer-social-link:hover {
  color: var(--lp-ink);
  border-color: var(--lp-line-strong);
  transform: translateY(-2px);
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--lp-muted);
}

/* ═══════════════════════════════════════════════════════════════════════
   14. CUSTOM CURSOR (kept from the previous landing — do not restyle)
   ═══════════════════════════════════════════════════════════════════════ */
.custom-cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--lp-green-bright);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease, opacity 0.3s ease, background 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease;
  opacity: 0;
  left: var(--cursor-x, -100px);
  top: var(--cursor-y, -100px);
}

.custom-cursor.is-visible {
  opacity: 0.85;
}

.custom-cursor.is-hovering {
  transform: scale(2.2) rotate(45deg);
  border-color: transparent;
  background: rgba(var(--brand-green-rgb), 0.15);
  backdrop-filter: blur(4px);
}

.cursor-trail {
  width: 8px;
  height: 8px;
  background: var(--lp-green-bright);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  filter: blur(2px);
  left: var(--trail-x, -100px);
  top: var(--trail-y, -100px);
  transition: opacity 0.3s ease;
}

.cursor-trail.is-visible {
  opacity: 0.5;
}

.cursor-orb {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-green);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: opacity 0.3s ease;
  opacity: 0;
  left: var(--orb-x, -100px);
  top: var(--orb-y, -100px);
}

.cursor-orb.is-visible {
  opacity: 1;
}

[data-tilt] {
  position: relative;
}

.tilt-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: screen;
  z-index: 4;
}

.tilt-sheen.is-visible {
  opacity: 1;
}

@media (pointer: fine) {
  .custom-cursor,
  .cursor-trail {
    opacity: 0.6;
  }

  .landing-premium {
    cursor: none;
  }

  .landing-premium a,
  .landing-premium button {
    cursor: none;
  }

  .landing-premium a:hover ~ .custom-cursor,
  .landing-premium button:hover ~ .custom-cursor {
    transform: scale(1.5);
  }

  body.page-public-landing .topbar-modern a,
  body.page-public-landing .topbar-modern button {
    cursor: pointer;
  }

  body.page-public-landing .faq-premium,
  body.page-public-landing .faq-premium * {
    cursor: auto;
  }

  body.page-public-landing .faq-premium a,
  body.page-public-landing .faq-premium button {
    cursor: pointer;
  }

  body.page-public-landing .footer-premium,
  body.page-public-landing .footer-premium * {
    cursor: auto;
  }

  body.page-public-landing .footer-premium a,
  body.page-public-landing .footer-premium button {
    cursor: pointer;
  }
}

@media (pointer: coarse), (max-width: 991.98px) {
  .custom-cursor,
  .cursor-trail,
  .cursor-orb {
    display: none;
  }

  .landing-premium,
  .landing-premium a,
  .landing-premium button {
    cursor: auto;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .int-lp-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .day-lp {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 12px;
  }

  .day-lp::before {
    display: none;
  }

  .day-lp-item {
    padding-top: 36px;
  }

  .day-lp-item::after {
    content: '';
    position: absolute;
    left: 20px;
    right: 28px;
    top: 16px;
    height: 1px;
    background: var(--lp-line-strong);
  }
}

@media (max-width: 991.98px) {
  body.page-public-landing {
    --lp-section: clamp(72px, 12vw, 120px);
  }

  .hero-lp-inner,
  .lp-section-head,
  .how-lp-layout,
  .reach-lp-layout,
  .controllo-lp-layout,
  .faq-lp-layout {
    grid-template-columns: 1fr;
  }

  .lp-section-head {
    gap: 20px;
  }

  /* clear the topbar plus the mobile section strip under it */
  .hero-lp {
    padding-top: calc(var(--lp-nav-h) + 96px);
  }

  .desk {
    max-width: 560px;
  }

  .chat-lp,
  .faq-lp-intro {
    position: static;
  }

  .controllo-lp .lp-h2 {
    max-width: 12ch;
  }

  .footer-premium-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-lp-actions .btn-lp,
  .final-lp-actions .btn-lp {
    width: 100%;
    justify-content: center;
  }

  .desk {
    padding: 16px 14px;
    border-radius: 22px;
  }

  .desk-head {
    flex-direction: column;
    gap: 4px;
  }

  .desk-chip {
    width: 86%;
    left: calc(var(--x) * 0.45);
  }

  .desk-chip-msg,
  .desk-chip-done {
    font-size: 0.82rem;
  }

  .morning-lp-lanes {
    display: none;
  }

  .morning-lp-list li {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 6px 16px;
  }

  .morning-lp-admin {
    grid-column: 2;
  }

  .morning-lp-list time {
    font-size: 1.3rem;
  }

  .chores-lp li,
  .setup-lp-steps,
  .int-lp-list,
  .day-lp {
    grid-template-columns: 1fr;
  }

  .faq-question-premium {
    font-size: 1rem;
    padding: 20px 0;
  }

  .faq-answer-inner {
    padding-right: 0;
  }

  .footer-premium-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom-premium {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   15. MOTION PREFERENCES
   ═══════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html:has(body.page-public-landing) {
    scroll-behavior: auto;
  }

  .landing-root *,
  .landing-root *::before,
  .landing-root *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .footer-lp-mark span {
    transform: none;
  }
}

/* Collega Carla all'AI (sezione #collega-ai) */
.ai-lp-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}
.ai-lp-list li {
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--text);
  font-size: inherit;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
}

/* Prezzi (sezione #prezzi): the interval toggle is pure CSS */
.prezzi-lp-radio { position: absolute; opacity: 0; pointer-events: none; }
.prezzi-lp-toggle { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 1.5rem; }
.prezzi-lp-toggle label { border: 1px solid currentColor; border-radius: 999px; cursor: pointer; padding: 0.4rem 1.1rem; }
#prezzi-month:checked ~ .prezzi-lp-toggle label[for="prezzi-month"],
#prezzi-year:checked ~ .prezzi-lp-toggle label[for="prezzi-year"] { background: var(--text); color: var(--bg); }
.prezzi-lp-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
/* The cards are white surfaces on the sage page (a 1px outline on the same colour read as empty boxes). */
.prezzi-lp-grid { align-items: stretch; }
.prezzi-lp-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem 1.75rem;
  background: var(--lp-surface);
  border: 1px solid var(--lp-line-strong);
  border-radius: var(--lp-radius);
  box-shadow: 0 18px 40px -24px rgba(var(--lp-ink-rgb), 0.35);
  color: var(--lp-ink);
}
.prezzi-lp-card[data-featured] {
  border: 2px solid var(--lp-green);
  box-shadow: 0 24px 50px -22px rgba(var(--lp-green-rgb), 0.55);
}
.landing-root .prezzi-lp-card h3 { margin: 0; font-family: var(--lp-font-display); font-size: 1.5rem; font-weight: 700; line-height: 1.2 !important; }
.landing-root .prezzi-lp-price { margin: 0; color: var(--lp-ink-soft); line-height: 1.3 !important; }
.landing-root .prezzi-lp-price strong { font-family: var(--lp-font-display); font-size: 2.5rem; font-weight: 800; color: var(--lp-ink); line-height: 1.1 !important; }
.prezzi-lp-price em { display: block; margin-top: 0.25rem; font-style: normal; font-weight: 600; color: var(--lp-green-deep); }
.prezzi-lp-trial {
  align-self: flex-start;
  margin: 0;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(var(--lp-green-rgb), 0.14);
  color: var(--lp-green-ink);
  font-size: 0.875rem;
  font-weight: 600;
}
.prezzi-lp-list { margin: 0.5rem 0 0; padding: 0.9rem 0 0; list-style: none; border-top: 1px solid var(--lp-line); display: grid; gap: 0.5rem; }
.prezzi-lp-list li { position: relative; padding-left: 1.6rem; color: var(--lp-ink-soft); }
.prezzi-lp-list li::before {
  content: '';
  position: absolute;
  left: 0.15rem;
  top: 0.35em;
  width: 0.9rem;
  height: 0.5rem;
  border-left: 2.5px solid var(--lp-green-deep);
  border-bottom: 2.5px solid var(--lp-green-deep);
  transform: rotate(-45deg);
}
.prezzi-lp-list li strong { color: var(--lp-ink); }
.landing-root .prezzi-lp-tagline { margin: -0.35rem 0 0.25rem; color: var(--lp-ink-soft); line-height: 1.4 !important; }
.pkg-feature { display: block; }
.pkg-feature strong { display: block; font-weight: 600; }
.landing-root .pkg-feature-detail { display: block; color: var(--lp-muted); font-size: 0.875rem; line-height: 1.4 !important; }
.prezzi-lp-list { gap: 0.8rem; }
#prezzi .final-lp-actions { margin-top: 2rem; }
.prezzi-lp-year { display: none; }
#prezzi-year:checked ~ .prezzi-lp-grid .prezzi-lp-year { display: block; }
#prezzi-year:checked ~ .prezzi-lp-grid .prezzi-lp-month { display: none; }

/* ── La tua AI (#collega-ai): the connector as the lead story, with a Claude conversation mock ── */
.lp-kicker { margin: 0 0 14px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lp-green-deep); }
.ctx-lp-layout { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ctx-lp .lp-lead, .agz .lp-lead { margin-top: 20px; }
.ctx-lp-list { margin: 24px 0 0; display: grid; gap: 10px; max-width: 52ch; }
.ctx-lp-list li { position: relative; padding-left: 26px; color: var(--lp-text); font-weight: 500; }
.ctx-lp-list li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 12px; height: 12px; border-radius: 50%; background: var(--lp-green); box-shadow: 0 0 0 4px rgba(var(--lp-green-rgb), 0.15); }
.ai-lp-list--start { justify-content: flex-start; margin: 28px 0 0; }
.ai-lp-list li span { margin-left: 6px; font-size: 0.75rem; font-weight: 600; color: var(--lp-muted); }
.ai-lp-list li.is-live { border-color: var(--lp-green-deep); background: rgba(var(--lp-green-rgb), 0.08); }
.ai-lp-list li.is-live span { color: var(--lp-green-deep); }
.ctx-lp-howto { margin: 20px 0 0; max-width: 56ch; font-size: 0.92rem; color: var(--lp-text-2); }
.ctx-lp-howto code, .agz-note code, .agz-card code { padding: 2px 8px; border-radius: 6px; background: var(--lp-surface-2); color: var(--lp-ink); font-size: 0.88em; word-break: break-all; }
.ctx-lp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.ctx-lp .chat-lp { margin: 0; border-radius: var(--lp-radius-lg); background: var(--lp-surface); border: 1px solid var(--lp-line); box-shadow: 0 40px 90px -50px rgba(var(--lp-ink-rgb), 0.45); overflow: hidden; }
.ctx-lp .chat-lp-bar { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--lp-line); font-size: 0.9rem; }
.ctx-lp .chat-lp-dot { width: 10px; height: 10px; border-radius: 50%; background: #d97757; }
.ctx-lp .chat-lp-conn { margin-left: auto; font-size: 0.78rem; font-weight: 600; color: var(--lp-green-deep); }
.ctx-lp .chat-lp-thread { display: grid; gap: 10px; padding: 22px 20px; }
.ctx-lp .chat-lp-msg { margin: 0; max-width: 92%; padding: 12px 16px; border-radius: 16px; background: var(--lp-surface-2); color: var(--lp-ink); font-size: 0.95rem; line-height: 1.5; }
.ctx-lp .chat-lp-msg--me { justify-self: end; background: var(--lp-ink); color: var(--lp-paper); border-bottom-right-radius: 4px; }
.ctx-lp .chat-lp-tool { margin: 0; justify-self: start; padding: 6px 12px; border: 1px dashed var(--lp-line-strong); border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: var(--lp-text-2); }
.ctx-lp .chat-lp figcaption { padding: 0 20px 18px; font-size: 0.78rem; color: var(--lp-muted); }

/* ── /agenzie: the technical page for agencies ── */
.agz { background: var(--lp-bg); }
.agz-hero { padding: calc(var(--lp-nav-h) + clamp(32px, 6vw, 88px)) 0 clamp(40px, 6vw, 72px); }
.agz-title { font-family: var(--lp-font-display); font-weight: 800; font-size: clamp(2.8rem, 6.4vw, 6rem); line-height: 0.98; letter-spacing: -0.04em; color: var(--lp-ink); max-width: 16ch; margin: 0; text-wrap: balance; }
.agz-title em, .agz .final-lp h2 em { font-style: normal; color: var(--lp-ink-soft); }
.agz-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 48px 0 0; }
.agz-stats li { display: flex; flex-direction: column; gap: 4px; padding: 20px; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); background: var(--lp-surface); }
.agz-stats strong { font-family: var(--lp-font-display); font-weight: 800; font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1; color: var(--lp-green-deep); }
.agz-stats span { font-size: 0.9rem; color: var(--lp-text-2); }
.agz-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.agz-card { padding: 24px; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); background: var(--lp-surface); }
.agz-card h3 { margin: 0 0 8px; font-size: 1.1rem; font-weight: 700; color: var(--lp-ink); }
.agz-card p { margin: 10px 0 0; color: var(--lp-text-2); line-height: 1.55; }
.agz-card h3 + p { margin-top: 0; }
.agz-grid--roles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.agz-list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; margin-top: 32px; }
.agz-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.agz-chips li { padding: 10px 20px; border: 1px solid var(--lp-line-strong); border-radius: 999px; font-weight: 600; color: var(--lp-ink); background: var(--lp-surface); }
.agz-note { margin: 24px 0 0; color: var(--lp-text-2); }
.agz-dark { background: var(--lp-ink); color: var(--lp-paper); border-top: 0 !important; }
.agz-dark .lp-h2, .agz-dark .ctx-lp-list li { color: var(--lp-paper); }
.agz-dark .lp-h2 em { color: #c2d0c6; }
.agz-dark .lp-lead { color: #b3c3b8; }
.agz-dark .lp-kicker { color: #3fe0a0; }
.agz-code { padding: 24px; border-radius: var(--lp-radius-lg); background: #0a1410; border: 1px solid rgba(255, 255, 255, 0.08); }
.agz-code p { margin: 0 0 8px; font-size: 0.85rem; color: #b3c3b8; }
.agz-code pre { margin: 0 0 20px; padding: 14px 16px; border-radius: var(--lp-radius-sm); background: rgba(255, 255, 255, 0.05); overflow-x: auto; }
.agz-code pre:last-child { margin-bottom: 0; }
.agz-code code { color: #3fe0a0; font-size: 0.88rem; white-space: pre-wrap; word-break: break-all; }

@media (max-width: 991.98px) {
  .ctx-lp-layout { grid-template-columns: minmax(0, 1fr); }
  .agz-stats, .agz-grid, .agz-grid--roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agz-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .agz-stats, .agz-grid, .agz-grid--roles { grid-template-columns: minmax(0, 1fr); }
}

/* ── /agenzie rebuild (docs/features/AGENZIE_EDITORIAL_STRATEGY.md): the lead path, roles, facts ── */
.agz .hero-lp-title { max-width: 14ch; }

.path-lp {
  counter-reset: lp-step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
}

.path-lp li {
  counter-increment: lp-step;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 0 36px;
  border-top: 2px solid var(--lp-ink);
}

.path-lp li::before {
  content: counter(lp-step);
  font-family: var(--lp-font-display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--lp-green);
}

.path-lp h3 {
  font-family: var(--lp-font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  color: var(--lp-ink);
}

.path-lp p {
  color: var(--lp-text-2);
  max-width: 40ch;
}

.path-lp-who {
  align-self: flex-start;
  margin-top: auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(var(--lp-green-rgb), 0.1);
  color: var(--lp-green-ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.roles-lp {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 24px;
}

.roles-lp li {
  padding-top: 22px;
  border-top: 1px solid var(--lp-line-strong);
}

.roles-lp h3 {
  font-family: var(--lp-font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--lp-ink);
  margin-bottom: 10px;
}

.roles-lp p {
  font-size: 0.95rem;
  color: var(--lp-text-2);
}

.agz-facts {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  color: var(--lp-text-2);
}

.agz-facts strong {
  font-family: var(--lp-font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--lp-green-deep);
  margin-right: 6px;
}

.agz-skills li {
  grid-template-columns: 1fr;
}

.agz-skills code {
  font-weight: 700;
  color: var(--lp-ink);
}

.landing-root .path-lp h3,
.landing-root .roles-lp h3 {
  line-height: 1.05 !important;
}

@media (max-width: 991.98px) {
  .path-lp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roles-lp { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
}

@media (max-width: 640px) {
  .path-lp,
  .roles-lp { grid-template-columns: 1fr; }
}

/* -- "Sei cliente Horizon?" (billing/horizon_offer.py): half prices, the agency's orange and logo -- */
.pkg-horizon-bar { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; margin: 0 0 1.5rem; }
.pkg-horizon-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  border: 1.5px solid var(--agency-horizon);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--agency-horizon-ink);
  font-weight: 600;
  cursor: pointer;
}
.landing-root .pkg-horizon-logo, .pricing-page .pkg-horizon-logo { flex: 0 0 auto; height: var(--space-7, 1.75rem); width: auto; max-width: none; }
.pkg-horizon-note, .pkg-horizon-badge, .pkg-price-horizon { display: none; }
.pkg-horizon-note { margin: 0; max-width: 34rem; color: var(--agency-horizon-ink); text-align: center; }
.pkg-horizon-badge {
  align-self: flex-start;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(var(--agency-horizon-rgb), 0.14);
  color: var(--agency-horizon-ink);
  font-weight: 700;
}
#prezzi-horizon:checked ~ .pkg-horizon-bar .pkg-horizon-toggle { background: rgba(var(--agency-horizon-rgb), 0.18); }
#prezzi-horizon:checked ~ .pkg-horizon-bar .pkg-horizon-note { display: block; }
#prezzi-horizon:checked ~ .prezzi-lp-grid .pkg-horizon-badge { display: inline-flex; }
#prezzi-horizon:checked ~ .prezzi-lp-grid .pkg-price-horizon { display: inline; color: var(--agency-horizon-ink); }
#prezzi-horizon:checked ~ .prezzi-lp-grid .pkg-price-full { margin-right: 0.5rem; font-size: var(--font-size-lg); font-weight: 500; text-decoration: line-through; opacity: 0.55; }
#prezzi-horizon:checked ~ .prezzi-lp-grid .pkg-saving { display: none; }
#prezzi-horizon:checked ~ .prezzi-lp-grid .prezzi-lp-card { border-color: var(--agency-horizon); }
