:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-soft: #f1f3f6;
  --surface-dark: #18212f;
  --surface-dark-soft: #242f3f;
  --text: #18212f;
  --text-soft: #667085;
  --text-on-dark: #f8fafc;
  --text-on-dark-soft: #c4ccd6;

  /* Echo Papa: continuità con il rosso originale, senza richiamare una specifica organizzazione. */
  --accent: #b4232a;
  --accent-strong: #861b21;
  --accent-soft: #fee4e5;
  --accent-warm: #fff3f3;

  --border: #e4e7ec;
  --border-dark: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 10px 30px rgba(24, 33, 47, 0.08);
  --shadow-md: 0 18px 50px rgba(24, 33, 47, 0.13);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --shell: 1180px;
  --header-height: 74px;
  --transition: 180ms ease;

  /* Vertical rhythm */
  --section-y: clamp(60px, 6vw, 76px);
  --block-gap: clamp(30px, 4vw, 44px);
  --subsection-gap: clamp(44px, 5vw, 60px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(180, 35, 42, 0.30);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: inherit;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

h4 {
  margin-bottom: 0;
  font-size: 1.05rem;
}

p:last-child {
  margin-bottom: 0;
}

.section-shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.narrow {
  max-width: 820px;
}

.section {
  padding: var(--section-y) 0;
}

.section-soft {
  background: var(--surface-soft);
}

.section-dark {
  background: var(--surface-dark);
  color: var(--text-on-dark);
}

.section-dark p {
  color: var(--text-on-dark-soft);
}

.section-accent {
  background: linear-gradient(135deg, #fff1f2 0%, #fffafa 48%, #f5f6f8 100%);
}

/* Early-adopter: separate the narrative, the adoption path and the CTA. */
.section-accent > .section-shell > .section-heading {
  margin-top: var(--subsection-gap);
  margin-bottom: 30px;
}

.section-accent > .section-shell > .features-grid + .narrow {
  margin-top: 34px;
}

.section-accent > .section-shell > .narrow:first-child > p:last-child {
  margin-bottom: 0;
}

.section-heading {
  margin-bottom: var(--block-gap);
}

.eyebrow,
.card-kicker,
.flow-label,
.contact-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-dark .eyebrow,
.section-dark .card-kicker {
  color: #ff9fa4;
}

.section-punchline {
  margin-top: 34px;
  padding-left: 20px;
  border-left: 4px solid var(--accent);
  color: var(--text);
  font-size: 1.14rem;
  font-weight: 700;
}

.site-header {
  position: relative;
  z-index: 100;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px max(20px, calc((100vw - var(--shell)) / 2));
  border-bottom: 1px solid rgba(219, 226, 232, 0.85);
  background: rgba(247, 248, 251, 0.93);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: -0.03em;
}

.brand-name {
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-nav a {
  padding: 9px 11px;
  border-radius: 9px;
  color: var(--text-soft);
  font-size: 0.91rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background var(--transition),
    color var(--transition);
}

.top-nav a:hover {
  background: rgba(180, 35, 42, 0.08);
  color: var(--accent-strong);
}

.top-nav .nav-cta {
  margin-left: 5px;
  background: var(--accent);
  color: #fff;
}

.top-nav .nav-cta:hover {
  background: var(--accent-strong);
  color: #fff;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: calc(100svh - var(--header-height) - 24px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
  margin-top: 24px;
  margin-bottom: 24px;
  padding: clamp(48px, 7vw, 88px) clamp(28px, 5vw, 64px);
  border: 1px solid #f0c9cb;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffffff 0%, #fff7f7 52%, #fdebed 100%);
}

.hero-lead {
  max-width: 700px;
  margin-bottom: 16px;
  font-size: clamp(1.2rem, 2.1vw, 1.45rem);
  line-height: 1.5;
}

.hero-subcopy {
  max-width: 660px;
  color: var(--text-soft);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition);
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(180, 35, 42, 0.18);
}

.button-primary:hover {
  background: var(--accent-strong);
  color: #fff;
  box-shadow: 0 10px 26px rgba(134, 27, 33, 0.22);
}

.button-secondary {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.button-secondary:hover {
  border-color: #b8c6d1;
  background: #fbfcfd;
  color: var(--text);
}

.hero-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #dce3ea;
  box-shadow: var(--shadow-md);
}

.hero-media img {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
}

.hero-media figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 9px;
  background: rgba(15, 29, 43, 0.74);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
}

.flow-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.flow-core {
  border-color: #efc2c5;
  background: linear-gradient(180deg, #fffafa 0%, #fff0f1 100%);
}

.flow-link {
  min-width: 40px;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 1.9rem;
  font-weight: 900;
}

.flow-link .vertical {
  display: none;
}

.flow-summary {
  max-width: 820px;
  margin: 30px auto 0;
  color: var(--text-soft);
  text-align: center;
  font-weight: 650;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.use-case-card,
.feature-card,
.contact-card,
.mobile-screen-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.use-case-card {
  padding: clamp(26px, 4vw, 38px);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.metric-card {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  border: 1px solid #ead0d2;
  border-radius: var(--radius-sm);
  background: #fffafa;
  box-shadow: 0 8px 24px rgba(20, 38, 55, 0.06);
}

.metric-card strong {
  margin-bottom: 2px;
  color: var(--accent);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1;
}

.metric-card span {
  font-weight: 800;
}

.metric-card small {
  margin-top: 5px;
  color: var(--text-soft);
}

.metric-card.is-placeholder strong {
  color: #9eabb5;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 28px;
}

.feature-card p {
  color: var(--text-soft);
}

.interface-block {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
  margin-top: 0;
}

.interface-copy p {
  color: inherit;
  opacity: 0.78;
}


.screen-shot {
  margin: 0;
}

.screen-shot-desktop img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  background: var(--surface-dark-soft);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.screen-shot-desktop figcaption {
  margin-top: 12px;
  color: var(--text-on-dark-soft);
  font-size: 0.9rem;
}

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

.screen-placeholder {
  display: grid;
  place-items: center;
  gap: 5px;
  border: 1px dashed rgba(255, 255, 255, 0.38);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    repeating-linear-gradient(
      -45deg,
      transparent 0,
      transparent 18px,
      rgba(255, 255, 255, 0.025) 18px,
      rgba(255, 255, 255, 0.025) 36px
    );
  color: #d7e3ec;
  text-align: center;
}

.screen-placeholder span {
  font-weight: 800;
}

.screen-placeholder small {
  color: var(--text-on-dark-soft);
}

.screen-placeholder-desktop {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
}

.field-interface {
  margin-top: var(--subsection-gap);
}

.mobile-screens-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.mobile-screen-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px;
  border-color: var(--border-dark);
  background: var(--surface-dark-soft);
  box-shadow: none;
}

/*
 * Il mockup mobile usa come riferimento il rapporto di mobile2.png (808×1564),
 * lo screenshot più alto. Gli altri screenshot restano interi e vengono centrati
 * verticalmente nello stesso spazio. Il fondo riprende il colore della PWA.
 */
.phone-device {
  --phone-screen-bg: #111729;
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 808 / 1564;
  overflow: hidden;
  border-radius: 34px;
  background: var(--phone-screen-bg);
  box-shadow:
    0 0 0 3px #536174,
    0 18px 38px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-device::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 50%;
  width: 30%;
  height: 5px;
  border-radius: 999px;
  background: rgba(42, 55, 75, 0.9);
  transform: translateX(-50%);
  pointer-events: none;
}

.phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: inherit;
  background: var(--phone-screen-bg);
}

.screen-shot-mobile {
  width: 100%;
  height: auto;
  max-height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
  background: var(--phone-screen-bg);
}

.screen-placeholder-mobile {
  aspect-ratio: 9 / 18.5;
  border-radius: 18px;
}

.mobile-screen-card h4 {
  margin-top: 18px;
  margin-bottom: 0;
  color: var(--text-on-dark);
  text-align: center;
}

.contact-section {
  background: var(--surface);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.7fr);
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
}

.contact-copy p {
  max-width: 680px;
}

.contact-card {
  padding: clamp(28px, 4vw, 40px);
}

.contact-email-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.contact-email {
  display: block;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.copy-email {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.copy-email:hover,
.copy-email:focus-visible {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.copy-feedback {
  display: block;
  min-height: 1.5em;
  margin: -12px 0 16px;
  color: var(--accent-strong);
}

.contact-email:hover {
  color: var(--accent-strong);
}

.site-footer {
  padding: 58px 0 24px;
  background: #0b1722;
  color: var(--text-on-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1.3fr);
  gap: 56px;
  padding-bottom: 44px;
}

.brand-footer {
  color: var(--text-on-dark);
}

.brand-footer:hover {
  color: var(--text-on-dark);
}

.brand-footer .brand-mark {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--accent);
}

.footer-brand p {
  max-width: 380px;
  margin: 18px 0 8px;
  color: var(--text-on-dark-soft);
}

.footer-brand > a:not(.brand) {
  color: #d7e3ec;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  align-content: start;
}

.footer-nav a {
  color: #d7e3ec;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--border-dark);
  color: #8fa0af;
  font-size: 0.9rem;
}

.floating-actions {
  position: fixed;
  z-index: 80;
  right: max(16px, calc((100vw - var(--shell)) / 2 - 72px));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-action {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 29, 43, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--surface-dark);
  box-shadow: 0 10px 28px rgba(15, 29, 43, 0.16);
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition:
    opacity var(--transition),
    transform var(--transition),
    background var(--transition),
    color var(--transition);
}

.floating-action svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.floating-action:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: #fff;
}

.floating-action.is-hidden {
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
}

@media (max-width: 1080px) {
  .top-nav a {
    padding-inline: 8px;
    font-size: 0.85rem;
  }

  .hero {
    grid-template-columns: 1fr 0.82fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding-inline: 20px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .top-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
  }

  .top-nav.is-open {
    display: flex;
  }

  .top-nav a {
    padding: 12px;
    font-size: 0.96rem;
  }

  .top-nav .nav-cta {
    margin: 4px 0 0;
    text-align: center;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 58px;
  }

  .hero-media {
    max-width: 720px;
  }

  .hero-media img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .flow {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .flow-link {
    min-height: 36px;
  }

  .flow-link .horizontal {
    display: none;
  }

  .flow-link .vertical {
    display: inline;
  }

  .use-cases-grid,
  .interface-block,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .interface-block {
    align-items: start;
  }

  .footer-grid {
    gap: 40px;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .section-shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .section {
    padding: 56px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-accent > .section-shell > .section-heading {
    margin-top: 42px;
    margin-bottom: 26px;
  }

  .section-accent > .section-shell > .features-grid + .narrow {
    margin-top: 28px;
  }

  .hero {
    padding-block: 48px 68px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
    text-align: center;
  }

  .metrics-grid,
  .features-grid,
  .mobile-screens-grid,
  .footer-nav {
    grid-template-columns: 1fr;
  }

  .mobile-screens-grid {
    gap: 18px;
  }

  .mobile-screen-card {
    max-width: 390px;
    width: 100%;
    margin-inline: auto;
  }

  .screen-placeholder-mobile {
    aspect-ratio: 9 / 17;
  }

  .floating-actions {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  .floating-action {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Demo content disclaimer */
.demo-disclaimer {
  max-width: 820px;
  margin-top: 30px;
  padding: 18px 20px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-on-dark-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.demo-disclaimer strong {
  color: var(--text-on-dark);
}

/* Legal / privacy page */
.legal-page {
  padding: clamp(56px, 7vw, 84px) 0;
}

.legal-page h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1.02;
}

.legal-updated {
  margin-bottom: 42px;
  color: var(--text-soft);
}

.legal-content {
  max-width: 860px;
}

.legal-content h2 {
  margin-top: 44px;
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.legal-content ul {
  padding-left: 1.35rem;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-contact {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.legal-back {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .legal-page {
    padding-top: 42px;
  }

  .legal-content h2 {
    margin-top: 36px;
  }
}



/* Assistenza sanitaria a eventi landing page */
.landing-hero {
  min-height: auto;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.75fr);
}

.landing-hero h1 {
  max-width: 880px;
  font-size: clamp(2.65rem, 5vw, 4.55rem);
  line-height: 1.02;
}

.landing-proof {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid #e8c7c9;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-md);
}

.landing-proof-title {
  display: block;
  margin-bottom: 26px;
  font-size: clamp(1.5rem, 2.7vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.landing-proof-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.landing-proof-metrics > div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.landing-proof-metrics strong {
  display: block;
  color: var(--accent);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
}

.landing-proof-metrics span {
  display: block;
  margin-top: 6px;
  font-size: 0.92rem;
  font-weight: 800;
}

.landing-proof p {
  margin-bottom: 10px;
  color: var(--text-soft);
}

.landing-proof small {
  color: var(--text-soft);
}

.use-case-link {
  display: inline-flex;
  margin-top: 20px;
  font-weight: 800;
  text-decoration: none;
}

.landing-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  align-items: center;
  gap: clamp(44px, 8vw, 100px);
}

.landing-showcase-reverse {
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
}

.landing-showcase-reverse .landing-showcase-copy {
  grid-column: 2;
  grid-row: 1;
}

.landing-showcase-reverse .landing-phone-wrap {
  grid-column: 1;
  grid-row: 1;
}

.landing-showcase-copy {
  max-width: 680px;
}

.landing-showcase-copy p {
  color: var(--text-soft);
}

.landing-teaser {
  margin-top: 24px;
  padding-left: 18px;
  border-left: 3px solid var(--accent);
  font-weight: 750;
}

.landing-phone-wrap {
  width: min(100%, 390px);
  margin-inline: auto;
  text-align: center;
}

.landing-phone-wrap .phone-device {
  width: min(100%, 340px);
  margin-inline: auto;
}

.landing-caption {
  margin: 18px auto 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.section-dark .landing-caption {
  color: var(--text-on-dark-soft);
}

.landing-dashboard img {
  width: 100%;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.26);
}

.landing-dashboard figcaption {
  margin-top: 12px;
  color: var(--text-on-dark-soft);
  font-size: 0.9rem;
}

.landing-inline-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  margin-top: 42px;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
}

.landing-inline-cta h3 {
  margin-bottom: 10px;
}

.landing-inline-cta p {
  max-width: 700px;
  margin-bottom: 0;
}

.landing-experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: clamp(38px, 7vw, 84px);
}

.landing-experience-copy p {
  color: var(--text-soft);
}

.landing-early-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
  align-items: center;
  gap: clamp(40px, 8vw, 96px);
}

.landing-early-action {
  padding: 30px;
  border: 1px solid #efc2c5;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.78);
  box-shadow: var(--shadow-sm);
}

.landing-early-action > strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.faq-list {
  max-width: 900px;
  display: grid;
  gap: 14px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 800;
  list-style-position: inside;
}

.faq-list details p {
  padding: 0 22px 22px;
  margin: 0;
  color: var(--text-soft);
}

.landing-final-cta h2 {
  max-width: 760px;
}

@media (max-width: 900px) {
  .landing-hero,
  .landing-showcase,
  .landing-showcase-reverse,
  .landing-experience-grid,
  .landing-early-grid,
  .landing-inline-cta {
    grid-template-columns: 1fr;
  }

  .landing-showcase-reverse .landing-showcase-copy,
  .landing-showcase-reverse .landing-phone-wrap {
    grid-column: auto;
    grid-row: auto;
  }

  .landing-showcase-reverse .landing-showcase-copy {
    order: 1;
  }

  .landing-showcase-reverse .landing-phone-wrap {
    order: 2;
  }

  .landing-inline-cta .button {
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .landing-proof-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .landing-showcase {
    gap: 30px;
  }

  .landing-phone-wrap .phone-device {
    width: min(100%, 330px);
  }
}
