:root {
  --landing-primary: #4342e1;
  --landing-primary-tint: #6f60eb;
  --landing-primary-shade: #4c3dcb;
  --landing-text: #1a1a2e;
  --landing-text-muted: #64748b;
  --landing-bg: #f0f2f5;
  --landing-surface: #ffffff;
  --landing-border: rgba(26, 26, 46, 0.08);
  --landing-shadow: 0 8px 32px rgba(26, 26, 46, 0.08);
  --landing-radius: 16px;
  --landing-max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--landing-text);
  background: var(--landing-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--landing-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.landing-container {
  width: min(100% - 2rem, var(--landing-max-width));
  margin-inline: auto;
}

/* Header */
.landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--landing-border);
}

.landing-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.625rem;
  padding: 0.75rem 0;
  padding-top: max(0.75rem, env(safe-area-inset-top, 0px));
}

.landing-header__brand {
  display: flex;
  align-items: center;
  margin-right: auto;
  flex-shrink: 0;
}

.landing-header__logo {
  height: 36px;
  width: auto;
  display: block;
}

.landing-header__cta-bar {
  display: none;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.landing-header__toggle {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: var(--landing-bg);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.landing-header__toggle-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 100%;
}

.landing-header__toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: var(--landing-text);
  transition: transform 0.25s ease, opacity 0.2s ease, width 0.2s ease;
}

.landing-header__panel {
  display: contents;
}

.landing-header__nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.landing-header__link--mobile-only {
  display: none;
}

.landing-header__nav-actions {
  display: contents;
}

.landing-header__backdrop {
  display: none;
}

.landing-header__link {
  padding: 0.5rem 0.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--landing-text);
  text-decoration: none;
}

.landing-header__link:hover {
  color: var(--landing-primary);
  text-decoration: none;
}

.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.landing-btn:hover {
  text-decoration: none;
}

.landing-btn--primary {
  color: #fff;
  background: var(--landing-primary);
  box-shadow: 0 4px 16px rgba(67, 66, 225, 0.35);
}

.landing-btn--primary:hover {
  background: var(--landing-primary-shade);
  transform: translateY(-1px);
}

.landing-btn--ghost {
  color: var(--landing-text);
  background: transparent;
  border: 1px solid var(--landing-border);
}

.landing-btn--ghost:hover {
  background: var(--landing-bg);
}

.landing-btn--large {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

/* Hero */
.landing-hero {
  padding: 4rem 0 5rem;
  text-align: center;
}

.landing-hero__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.landing-hero__badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--landing-primary);
  background: rgba(67, 66, 225, 0.1);
  border-radius: 999px;
}

.landing-hero__badge--free {
  color: #fff;
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.35);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.landing-hero__badge--launch {
  color: #fff;
  background: linear-gradient(135deg, var(--landing-primary) 0%, var(--landing-primary-tint) 100%);
  box-shadow: 0 4px 16px rgba(67, 66, 225, 0.35);
}

.landing-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.landing-hero__subtitle {
  margin: 0 auto 2rem;
  max-width: 36rem;
  font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
  color: var(--landing-text-muted);
}

.landing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

/* Lista anteprima / waiting list */
.landing-section--preview {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.08) 0%, var(--landing-surface) 45%, var(--landing-bg) 100%);
}

.landing-waitlist {
  margin: 0 auto;
  padding: 1.5rem;
  background: var(--landing-surface);
  border: 1px solid rgba(67, 66, 225, 0.15);
  border-radius: var(--landing-radius);
  box-shadow: var(--landing-shadow);
}

.landing-waitlist--cta-only {
  text-align: center;
}

.landing-waitlist__row {
  margin-bottom: 0.875rem;
}

.landing-waitlist__row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.landing-waitlist__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.landing-waitlist__field--grow {
  width: 100%;
}

.landing-waitlist__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--landing-text-muted);
}

.landing-waitlist input {
  width: 100%;
  padding: 0.65rem 0.875rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--landing-text);
  background: var(--landing-bg);
  border: 1px solid var(--landing-border);
  border-radius: 10px;
}

.landing-waitlist input:focus {
  outline: none;
  border-color: var(--landing-primary);
  box-shadow: 0 0 0 3px rgba(67, 66, 225, 0.15);
}

.landing-waitlist__submit {
  width: 100%;
  margin-top: 0.5rem;
}

.landing-waitlist__hint {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  text-align: center;
  color: var(--landing-text-muted);
}

.landing-waitlist-msg {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  text-align: center;
  border-radius: 10px;
}

.landing-waitlist-msg--success {
  color: #166534;
  background: rgba(34, 197, 94, 0.12);
}

.landing-waitlist-msg--error {
  color: #991b1b;
  background: rgba(239, 68, 68, 0.1);
}

.landing-waitlist-msg--info {
  color: var(--landing-text-muted);
  background: var(--landing-bg);
}

.landing-launch-banner a {
  font-weight: 600;
  text-decoration: underline;
}

.landing-launch-banner a:hover {
  color: var(--landing-primary-shade);
}

/* Live feed — richieste link (dark block) */
.landing-section--feed {
  --feed-bg: #0c0c12;
  --feed-surface: #16161f;
  --feed-surface-elevated: #1e1e2a;
  --feed-border: rgba(255, 255, 255, 0.08);
  --feed-text: #f1f5f9;
  --feed-text-muted: #94a3b8;
  --feed-accent: #8b87ff;
  --feed-accent-soft: rgba(139, 135, 255, 0.35);
  --feed-message: #c4b5fd;

  position: relative;
  padding: 4.5rem 0;
  background: var(--feed-bg);
  overflow: hidden;
}

.landing-section--feed::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(67, 66, 225, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 80%, rgba(34, 197, 94, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.landing-section--feed .landing-container {
  position: relative;
  z-index: 1;
}

.landing-section--feed .landing-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--feed-accent);
}

.landing-section--feed .landing-section__eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
  animation: landing-feed-live-pulse 1.8s ease-in-out infinite;
}

.landing-section--feed .landing-section__title {
  color: var(--feed-text);
}

.landing-section--feed .landing-section__subtitle {
  color: var(--feed-text-muted);
}

.landing-feed {
  position: relative;
  max-width: 36rem;
  margin: 0 auto;
}

.landing-feed__glow {
  position: absolute;
  inset: -25% -15%;
  background: radial-gradient(
    ellipse at 50% 50%,
    var(--feed-accent-soft) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.landing-feed__stage {
  position: relative;
  z-index: 1;
  min-height: 12rem;
  perspective: 900px;
}

.landing-feed__card {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  padding: 1.125rem 1.25rem;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid var(--feed-border);
  border-radius: var(--landing-radius);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(139, 135, 255, 0.08) inset;
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s ease;
}

.landing-feed__card--visible,
.landing-feed__card--enter.landing-feed__card--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(139, 135, 255, 0.15) inset;
}

.landing-feed__card--leave {
  opacity: 0;
  transform: translateY(-14px) scale(0.98);
  transition-duration: 0.35s;
}

.landing-feed__card--placeholder {
  opacity: 0.5;
  animation: landing-feed-pulse 1.4s ease-in-out infinite;
}

.landing-feed__card-media {
  flex-shrink: 0;
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 12px;
  overflow: hidden;
  background: var(--feed-surface-elevated);
  border: 1px solid var(--feed-border);
}

.landing-feed__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-feed__card-media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--feed-accent);
  background: linear-gradient(135deg, rgba(139, 135, 255, 0.2) 0%, rgba(67, 66, 225, 0.08) 100%);
}

.landing-feed__card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.landing-feed__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.landing-feed__platform {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--feed-accent);
}

.landing-feed__time {
  font-size: 0.75rem;
  color: var(--feed-text-muted);
}

.landing-feed__user {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--feed-text);
}

.landing-feed__user strong {
  font-weight: 600;
  color: #fff;
}

.landing-feed__message {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--feed-message);
  line-height: 1.3;
}

.landing-feed__title {
  margin: 0.15rem 0 0;
  font-size: 0.8125rem;
  color: var(--feed-text-muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.landing-feed__card-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.landing-feed__card-link:hover,
.landing-feed__card-link:focus-visible {
  border-color: rgba(139, 135, 255, 0.45);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(139, 135, 255, 0.25) inset;
}

.landing-feed__card-link:focus-visible {
  outline: 2px solid var(--feed-accent);
  outline-offset: 3px;
}

.landing-feed__cta {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--feed-accent);
  letter-spacing: 0.02em;
}

.landing-live-archive-link {
  margin: 1.25rem 0 0;
  text-align: center;
}

.landing-live-archive-link a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--feed-accent);
  text-decoration: none;
}

.landing-live-archive-link a:hover {
  text-decoration: underline;
}

.landing-feed__skeleton {
  display: block;
  height: 0.75rem;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
  background-size: 200% 100%;
  animation: landing-feed-shimmer 1.2s linear infinite;
}

.landing-feed__skeleton--short {
  width: 55%;
  margin-top: 0.5rem;
}

.landing-feed__status {
  position: relative;
  z-index: 1;
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--feed-text-muted);
}

.landing-feed--empty .landing-feed__stage,
.landing-feed--error .landing-feed__stage {
  min-height: auto;
  padding: 1.5rem;
  text-align: center;
  color: var(--feed-text-muted);
  background: var(--feed-surface);
  border: 1px solid var(--feed-border);
  border-radius: var(--landing-radius);
}

@keyframes landing-feed-live-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

@keyframes landing-feed-pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes landing-feed-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Features */
.landing-section {
  padding: 4rem 0;
}

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

.landing-section__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
}

.landing-section__subtitle {
  margin: 0 auto 2.5rem;
  max-width: 36rem;
  text-align: center;
  color: var(--landing-text-muted);
}

.landing-section--launch .landing-section__subtitle {
  margin-bottom: 1.5rem;
}

.landing-section--launch {
  background: linear-gradient(180deg, rgba(67, 66, 225, 0.06) 0%, var(--landing-bg) 100%);
}

.landing-section__eyebrow {
  margin: 0 0 0.5rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--landing-primary);
}

.landing-launch-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  max-width: 36rem;
  margin: 0 auto 2rem;
  padding: 1rem 1.25rem;
  text-align: center;
  color: var(--landing-text);
  background: var(--landing-surface);
  border: 1px solid rgba(67, 66, 225, 0.2);
  border-radius: var(--landing-radius);
  box-shadow: var(--landing-shadow);
}

.landing-launch-banner strong {
  font-size: 1rem;
  color: var(--landing-primary);
}

.landing-launch-banner span {
  font-size: 0.875rem;
  color: var(--landing-text-muted);
}

.landing-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.landing-feature {
  padding: 1.5rem;
  background: var(--landing-surface);
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius);
  box-shadow: var(--landing-shadow);
}

.landing-section--alt .landing-feature {
  background: var(--landing-bg);
}

.landing-feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  background: rgba(67, 66, 225, 0.1);
  border-radius: 12px;
}

.landing-feature__title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.landing-feature__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--landing-text-muted);
}

/* Screenshots */
.landing-screenshots {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.landing-screenshot-figure {
  margin: 0;
}

.landing-screenshot-figure picture,
.landing-screenshot-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.landing-screenshot-figure img {
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius);
  box-shadow: var(--landing-shadow);
  background: var(--landing-surface);
}

.landing-screenshot-figure figcaption {
  margin-top: 0.875rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--landing-text-muted);
  text-align: center;
}

.landing-screenshot-figure--featured img {
  box-shadow: 0 16px 48px rgba(26, 26, 46, 0.12);
}

.landing-screenshot-figure--narrow {
  max-width: 28rem;
  margin-inline: auto;
}

/* Pricing */
.landing-pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(5.25rem, 6.75rem)) minmax(18rem, 26rem);
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  max-width: 36rem;
  margin-inline: auto;
}

.landing-plan {
  position: relative;
  width: 100%;
  padding: 2rem;
  background: var(--landing-surface);
  border: 1px solid var(--landing-border);
  border-radius: calc(var(--landing-radius) + 4px);
  box-shadow: var(--landing-shadow);
  text-align: center;
}

.landing-plan--teaser {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0.75rem 0.5rem;
  opacity: 0.38;
  border-style: dashed;
  box-shadow: none;
}

.landing-plan--teaser .landing-plan__badge {
  margin-bottom: 0.375rem;
  padding: 0.125rem 0.5rem;
  font-size: 0.625rem;
  color: var(--landing-text-muted);
  background: var(--landing-bg);
}

.landing-plan--teaser .landing-plan__price {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.2;
  color: var(--landing-text-muted);
}

.landing-plan--teaser .landing-plan__price span {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.625rem;
  font-weight: 600;
}

.landing-plan--launch {
  z-index: 1;
  border-color: rgba(67, 66, 225, 0.35);
  box-shadow: 0 12px 40px rgba(67, 66, 225, 0.18);
}

.landing-plan__ribbon {
  position: absolute;
  top: 1rem;
  right: -0.5rem;
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--landing-primary-shade) 0%, var(--landing-primary) 100%);
  border-radius: 999px 0 0 999px;
  box-shadow: 0 4px 12px rgba(67, 66, 225, 0.4);
}

.landing-plan__launch-label {
  margin: 0 0 0.375rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--landing-primary);
}

.landing-plan__badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--landing-primary);
  background: rgba(67, 66, 225, 0.1);
  border-radius: 999px;
}

.landing-plan__price {
  margin: 0 0 0.25rem;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.landing-plan__price span {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--landing-text-muted);
}

.landing-plan__original {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--landing-text-muted);
}

.landing-plan__original s {
  color: var(--landing-text);
  font-weight: 600;
}

.landing-plan__features {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  text-align: left;
}

.landing-plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--landing-border);
}

.landing-plan__features li:last-child {
  border-bottom: none;
}

.landing-plan__features li::before {
  content: '✓';
  flex-shrink: 0;
  color: var(--landing-primary);
  font-weight: 700;
}

.landing-plan__note {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--landing-text-muted);
}

/* Footer */
.landing-container--narrow {
  width: min(100% - 2rem, 42rem);
}

/* FAQ */
.landing-faq {
  margin: 0;
}

.landing-faq__item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--landing-border);
}

.landing-faq__item:first-child {
  padding-top: 0;
}

.landing-faq__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.landing-faq dt {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--landing-text);
}

.landing-faq dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--landing-text-muted);
}

.landing-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--landing-border);
  background: var(--landing-surface);
}

.landing-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.landing-footer__copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--landing-text-muted);
}

.landing-footer__copy a {
  font-weight: 600;
  color: var(--landing-primary);
  text-decoration: none;
}

.landing-footer__copy a:hover {
  text-decoration: underline;
}

.landing-footer__links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.875rem;
}

/* Legal pages (privacy, terms) */
.landing-legal {
  padding: 2.5rem 0 4rem;
}

.landing-legal__inner {
  max-width: 46rem;
  background: var(--landing-surface);
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--landing-shadow);
}

.landing-legal h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.2;
}

.landing-legal__meta {
  margin: 0 0 1.75rem;
  font-size: 0.875rem;
  color: var(--landing-text-muted);
}

.landing-legal h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
}

.landing-legal h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
}

.landing-legal p,
.landing-legal li {
  color: var(--landing-text);
}

.landing-legal ul {
  padding-left: 1.25rem;
}

.landing-legal code {
  font-size: 0.85em;
  word-break: break-all;
}

.landing-legal__table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}

.landing-legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
}

.landing-legal__table th,
.landing-legal__table td {
  border: 1px solid var(--landing-border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.landing-legal__table th {
  background: rgba(67, 66, 225, 0.06);
  font-weight: 600;
}

@media (max-width: 900px) {
  .landing-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .landing-pricing {
    grid-template-columns: 1fr;
    max-width: 24rem;
  }

  .landing-plan--teaser {
    display: none;
  }
}

@media (max-width: 640px) {
  .landing-header__inner {
    gap: 0.5rem;
    padding-bottom: 0.625rem;
  }

  .landing-header__logo {
    height: 30px;
  }

  .landing-header__cta-bar {
    display: inline-flex;
  }

  .landing-header__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .landing-header__panel {
    display: block;
    position: fixed;
    top: calc(3.25rem + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    z-index: 101;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.25s ease,
      visibility 0.25s ease;
    background: var(--landing-surface);
    border-bottom: 1px solid var(--landing-border);
    box-shadow: 0 12px 32px rgba(26, 26, 46, 0.12);
  }

  .landing-header--open .landing-header__panel {
    max-height: min(85vh, 520px);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .landing-header__nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1.25rem;
  }

  .landing-header__link {
    display: block;
    padding: 0.875rem 0.25rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--landing-border);
  }

  .landing-header__link:last-of-type {
    border-bottom: none;
  }

  .landing-header__link--mobile-only {
    display: block;
  }

  .landing-header__nav-actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--landing-border);
  }

  .landing-btn--block {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem;
  }

  .landing-header__nav-actions .landing-btn--primary {
    display: none;
  }

  .landing-header__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(12, 12, 18, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .landing-header__backdrop:not([hidden]) {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .landing-header--open .landing-header__toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .landing-header--open .landing-header__toggle-line:nth-child(2) {
    opacity: 0;
    width: 0;
  }

  .landing-header--open .landing-header__toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  body.landing-nav-open {
    overflow: hidden;
  }

  .landing-features {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    padding: 2.5rem 0 3.5rem;
  }

  .landing-section {
    padding: 2.5rem 0;
  }

  .landing-waitlist__row--2 {
    grid-template-columns: 1fr;
  }
}
