.beta-landing {
  --landing-bg: #070a14;
  --landing-bg-elevated: #0c1020;
  --landing-surface: rgba(17, 24, 42, 0.88);
  --landing-surface-strong: #18223a;
  --landing-border: #33405e;
  --landing-border-soft: rgba(51, 64, 94, 0.66);
  --landing-text: #f8f7fb;
  --landing-text-secondary: #bcc2d2;
  --landing-text-muted: #848c9f;
  --landing-brand: #ff5a43;
  --landing-brand-secondary: #ff6a32;
  --landing-violet: #955cff;
  --landing-action-start: #d10075;
  --landing-action-middle: #d8364c;
  --landing-action-end: #c6480f;
  color-scheme: dark;
  min-height: 100svh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 8%, rgba(149, 92, 255, 0.18), transparent 27rem),
    radial-gradient(circle at 88% 26%, rgba(255, 90, 67, 0.18), transparent 30rem),
    linear-gradient(155deg, #05070e 0%, var(--landing-bg) 48%, #0c1020 100%);
  color: var(--landing-text);
}

/* The beta landing is deliberately dark-only. Existing visitors may still
   have the old public-site light preference in localStorage, so override the
   global light-theme body rule instead of inheriting that saved preference. */
html[data-theme="light"] body.beta-landing {
  color-scheme: dark;
  background:
    radial-gradient(circle at 10% 8%, rgba(149, 92, 255, 0.18), transparent 27rem),
    radial-gradient(circle at 88% 26%, rgba(255, 90, 67, 0.18), transparent 30rem),
    linear-gradient(155deg, #05070e 0%, var(--landing-bg) 48%, #0c1020 100%);
  color: var(--landing-text);
}

.beta-landing::before {
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, black, transparent 78%);
}

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

.landing-shell {
  display: flex;
  flex-direction: column;
  width: min(1120px, calc(100% - 40px));
  min-height: 100svh;
  margin: 0 auto;
}

.beta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 16px;
}

.beta-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--landing-text);
}

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

.beta-brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: #fff;
  color: #160d16;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 14px 38px rgba(255, 90, 67, 0.2);
}

.beta-brand-name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.beta-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--landing-border-soft);
  border-radius: 999px;
  background: rgba(17, 24, 42, 0.62);
  color: var(--landing-text-secondary);
  font-size: 12px;
  font-weight: 750;
  backdrop-filter: blur(18px);
}

.beta-status > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--landing-brand);
  box-shadow: 0 0 0 5px rgba(255, 90, 67, 0.12);
}

.beta-main {
  display: grid;
  align-content: center;
  flex: 1;
  gap: 30px;
  padding: 28px 0 32px;
}

.beta-hero {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--landing-brand-secondary);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.beta-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--landing-text);
  font-size: clamp(44px, 6.2vw, 76px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.98;
  text-wrap: balance;
}

.beta-lead {
  max-width: 670px;
  margin: 22px auto 0;
  color: var(--landing-text-secondary);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  text-wrap: balance;
}

.beta-lead strong {
  color: var(--landing-text);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(920px, 100%);
  margin: 0 auto;
}

.platform-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 350px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--landing-border-soft);
  border-radius: 28px;
  background: var(--landing-surface);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(24px);
}

.platform-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  content: "";
  background: linear-gradient(
    90deg,
    var(--landing-action-start),
    var(--landing-action-middle),
    var(--landing-action-end)
  );
}

.platform-card-secondary::before {
  opacity: 0.44;
}

.platform-card-primary {
  border-color: rgba(255, 90, 67, 0.42);
  background:
    radial-gradient(circle at 95% 0%, rgba(255, 90, 67, 0.13), transparent 16rem),
    var(--landing-surface);
}

.platform-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.platform-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 90, 67, 0.32);
  border-radius: 15px;
  background: rgba(255, 90, 67, 0.1);
  color: #ff7966;
}

.platform-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.availability-pill {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 90, 67, 0.12);
  color: #ff8a79;
  font-size: 11px;
  font-weight: 800;
}

.availability-pill-muted {
  background: rgba(149, 92, 255, 0.12);
  color: #b99aff;
}

.platform-label {
  margin: 0 0 4px;
  color: var(--landing-text-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-card h2 {
  margin: 0 0 10px;
  color: var(--landing-text);
  font-size: clamp(27px, 3vw, 34px);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.platform-card > p:not(.platform-label, .platform-note) {
  margin: 0 0 22px;
  color: var(--landing-text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.platform-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 54px;
  margin-top: auto;
  padding: 14px 17px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 850;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.platform-action:hover {
  color: inherit;
  transform: translateY(-2px);
}

.platform-action-primary {
  background: linear-gradient(
    90deg,
    var(--landing-action-start),
    var(--landing-action-middle),
    var(--landing-action-end)
  );
  color: #fff;
  box-shadow: 0 15px 36px rgba(216, 54, 76, 0.26);
}

.platform-action-primary:hover {
  color: #fff;
  box-shadow: 0 18px 42px rgba(216, 54, 76, 0.34);
}

.platform-action-secondary {
  border: 1px solid var(--landing-border);
  background: var(--landing-surface-strong);
  color: var(--landing-text);
}

.platform-action-secondary:hover {
  border-color: rgba(255, 90, 67, 0.62);
  color: var(--landing-text);
}

.platform-note {
  margin: 12px 0 0;
  color: var(--landing-text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.beta-trust-line {
  margin: -8px auto 0;
  color: var(--landing-text-muted);
  font-size: 12px;
  text-align: center;
}

.beta-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 25px;
  border-top: 1px solid var(--landing-border-soft);
  color: var(--landing-text-muted);
  font-size: 11px;
}

.beta-footer p {
  margin: 0;
}

.beta-footer nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.beta-footer a {
  color: var(--landing-text-secondary);
}

.beta-footer a:hover {
  color: #ff7966;
}

@media (max-width: 760px) {
  .landing-shell {
    width: min(100% - 24px, 620px);
  }

  .beta-header {
    padding-top: 18px;
  }

  .beta-main {
    align-content: start;
    gap: 24px;
    padding-top: 36px;
  }

  .beta-hero h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .beta-lead {
    margin-top: 18px;
    font-size: 16px;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .platform-card {
    min-height: 0;
    padding: 22px;
    border-radius: 24px;
  }

  .platform-card > p:not(.platform-label, .platform-note) {
    margin-bottom: 20px;
  }

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

  .beta-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 400px) {
  .beta-status {
    padding-inline: 9px;
    font-size: 10px;
  }

  .beta-brand-name {
    display: none;
  }

  .beta-main {
    padding-top: 24px;
  }

  .platform-card {
    padding: 19px;
  }

  .platform-action {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .platform-action {
    transition: none;
  }
}
