:root {
  --bg: #0a1118;
  --bg-soft: #101822;
  --panel: rgba(14, 22, 33, 0.84);
  --panel-strong: rgba(18, 28, 40, 0.96);
  --line: rgba(132, 158, 189, 0.16);
  --text: #f4f0e8;
  --muted: #a5b4c7;
  --gold: #d8a44c;
  --gold-strong: #efbb63;
  --cyan: #62c6ff;
  --cyan-soft: rgba(98, 198, 255, 0.1);
  --green: #2dc48a;
  --danger-soft: rgba(231, 112, 100, 0.1);
  --shadow: 0 24px 68px rgba(0, 0, 0, 0.34);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1240px;
  --heading-font: "Cambria", "Trebuchet MS", sans-serif;
  --body-font: "Aptos", "Segoe UI", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(98, 198, 255, 0.12), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(216, 164, 76, 0.16), transparent 24%),
    linear-gradient(180deg, #0a1118 0%, #0f1823 52%, #091019 100%);
  font-family: var(--body-font);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.015) 50%, transparent 100%);
  pointer-events: none;
  opacity: 0.55;
}

.site-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.site-background::before,
.site-background::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.site-background::before {
  background:
    radial-gradient(circle at 14% 82%, rgba(98, 198, 255, 0.14), transparent 24%),
    radial-gradient(circle at 86% 22%, rgba(98, 198, 255, 0.16), transparent 23%),
    radial-gradient(circle at 82% 76%, rgba(216, 164, 76, 0.15), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(98, 198, 255, 0.07), transparent 18%);
  opacity: 0.86;
}

.site-background::after {
  background:
    linear-gradient(180deg, rgba(10, 17, 24, 0.58) 0%, rgba(10, 17, 24, 0.16) 8%, transparent 22%, transparent 84%, rgba(10, 17, 24, 0.2) 100%),
    radial-gradient(circle at 50% 0%, rgba(98, 198, 255, 0.04), transparent 26%);
  opacity: 1;
}

.bg-burst {
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  opacity: 0.88;
}

.bg-burst-left {
  left: -6rem;
  top: -2rem;
  width: 22rem;
  height: calc(100% + 4rem);
  background-image: url("assets/lotto-side-column.svg");
  transform: scaleX(-1);
  filter: brightness(1.08) saturate(1.08);
  opacity: 0.94;
  -webkit-mask-image: linear-gradient(270deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 58%, rgba(0, 0, 0, 0.72) 74%, rgba(0, 0, 0, 0.28) 88%, transparent 100%);
  mask-image: linear-gradient(270deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 58%, rgba(0, 0, 0, 0.72) 74%, rgba(0, 0, 0, 0.28) 88%, transparent 100%);
}

.bg-burst-right {
  right: -6rem;
  top: -2rem;
  width: 22rem;
  height: calc(100% + 4rem);
  background-image: url("assets/lotto-side-column.svg");
  filter: brightness(1.04) saturate(1.08);
  opacity: 0.92;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 58%, rgba(0, 0, 0, 0.72) 74%, rgba(0, 0, 0, 0.28) 88%, transparent 100%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 58%, rgba(0, 0, 0, 0.72) 74%, rgba(0, 0, 0, 0.28) 88%, transparent 100%);
}

.bg-burst-bottom {
  left: 50%;
  bottom: -4rem;
  width: min(72rem, 78vw);
  height: 16rem;
  transform: translateX(-50%);
  background-image: url("assets/lotto-footer-cluster.svg");
  background-position: center bottom;
  opacity: 0.5;
  filter: brightness(0.96) saturate(1.04);
  -webkit-mask-image: radial-gradient(ellipse at 50% 72%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.9) 36%, rgba(0, 0, 0, 0.46) 58%, transparent 82%);
  mask-image: radial-gradient(ellipse at 50% 72%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.9) 36%, rgba(0, 0, 0, 0.46) 58%, transparent 82%);
}

.site-shell {
  position: relative;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 42px;
}

.topbar,
.hero-copy,
.preview-window,
.section,
.portal-hero,
.legal-banner,
.pricing-card,
.feature-card,
.workflow-card,
.proof-card,
.platform-card,
.download-card,
.portal-card,
.summary-card,
.faq-card,
.legal-card,
.cta-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.topbar,
.hero-copy,
.preview-window,
.section,
.portal-hero,
.legal-banner,
.pricing-card,
.feature-card,
.workflow-card,
.proof-card,
.platform-card,
.download-card,
.portal-card,
.summary-card,
.legal-card,
.cta-panel {
  border-radius: var(--radius-xl);
}

.topbar,
.hero-copy,
.preview-window,
.section,
.portal-hero,
.legal-banner,
.pricing-card,
.feature-card,
.workflow-card,
.proof-card,
.platform-card,
.download-card,
.portal-card,
.summary-card,
.faq-card,
.legal-card,
.cta-panel {
  animation: fadeUp 620ms ease both;
}

.topbar {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 20px;
  padding: 26px 28px;
  margin-bottom: 28px;
  background:
    linear-gradient(90deg, rgba(15, 24, 36, 0.98), rgba(11, 18, 28, 0.94)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 60%);
}

.topbar::before,
.section::before,
.hero-copy::before,
.preview-window::before,
.portal-hero::before,
.legal-banner::before,
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(216, 164, 76, 0.22), rgba(98, 198, 255, 0.14), transparent 78%);
  pointer-events: none;
}

.masthead-row {
  display: grid;
  grid-template-columns: minmax(540px, 1.3fr) minmax(280px, 0.72fr);
  gap: 28px;
  align-items: stretch;
}

.brand-lockup {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.masthead-aside {
  display: grid;
  gap: 14px;
  align-content: stretch;
}

.masthead-card {
  position: relative;
  overflow: hidden;
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18, 28, 40, 0.92), rgba(10, 16, 25, 0.92));
  border: 1px solid rgba(132, 158, 189, 0.14);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.masthead-card h3 {
  margin: 0 0 8px;
  font-family: var(--heading-font);
  font-size: 1.35rem;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.masthead-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.masthead-card::after,
.proof-card::after,
.feature-card::after,
.workflow-card::after,
.platform-card::after,
.download-card::after,
.summary-card::after,
.portal-card::after,
.legal-card::after,
.pricing-card::after {
  content: "";
  position: absolute;
  inset: auto -16% -30% auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(98, 198, 255, 0.12), transparent 66%);
  pointer-events: none;
}

.masthead-card:hover,
.proof-card:hover,
.feature-card:hover,
.workflow-card:hover,
.platform-card:hover,
.download-card:hover,
.summary-card:hover,
.portal-card:hover,
.legal-card:hover,
.pricing-card:hover,
.faq-card:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 164, 76, 0.2);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.24);
}

.masthead-card-highlight {
  background:
    radial-gradient(circle at top right, rgba(98, 198, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(22, 34, 48, 0.96), rgba(11, 18, 28, 0.96));
  border-color: rgba(216, 164, 76, 0.18);
}

.masthead-card-inline {
  display: grid;
  gap: 14px;
}

.masthead-mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.masthead-mini-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(98, 198, 255, 0.08);
  border: 1px solid rgba(98, 198, 255, 0.16);
  color: var(--cyan);
  font-size: 0.86rem;
  font-weight: 700;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  justify-items: center;
  align-content: start;
  width: fit-content;
  padding: 10px 10px 24px;
}

.brand-logo-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 278px;
  height: 278px;
  border-radius: 62px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 28%, rgba(98, 198, 255, 0.18), transparent 46%),
    url("/assets/lw-primary-logo-20260511-v36.png?v=2026.05.20.seo1") center / 82% auto no-repeat,
    linear-gradient(180deg, rgba(21, 32, 46, 0.96), rgba(11, 18, 28, 0.96));
  border: 1px solid rgba(216, 164, 76, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 34px rgba(0, 0, 0, 0.28);
}

.brand-logo-shell::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  border-radius: 48px;
  background: url("/assets/lw-primary-logo-20260511-v36.png?v=2026.05.20.seo1") center / contain no-repeat;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.34));
  pointer-events: none;
}

.brand-logo-shell::after {
  content: "";
  position: absolute;
  inset: 20px;
  z-index: 3;
  border-radius: 46px;
  border: 1px solid rgba(98, 198, 255, 0.14);
  pointer-events: none;
}

.brand-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: 238px;
  height: 238px;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.36));
}

.brand-copy {
  display: grid;
  gap: 14px;
  align-content: center;
  max-width: 28rem;
}

.brand-powered {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  justify-self: center;
  margin: 30px auto 0;
  padding: 12px 18px 12px 20px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(216, 164, 76, 0.16), rgba(98, 198, 255, 0.14)),
    rgba(98, 198, 255, 0.08);
  border: 1px solid rgba(216, 164, 76, 0.26);
  color: #7fd0ff;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 24px rgba(0, 0, 0, 0.2);
}

.brand-powered::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  box-shadow: 0 0 12px rgba(98, 198, 255, 0.34);
}

.brand-lockup h1,
.section-heading h2,
.hero h2,
.portal-hero h2,
.legal-banner h2,
.cta-panel h2,
.preview-window h3,
.feature-card h3,
.workflow-card h3,
.pricing-card h3,
.download-card h3,
.platform-card h3,
.portal-card h3,
.summary-card h3,
.legal-card h3,
.proof-card h3 {
  margin: 0;
  font-family: var(--heading-font);
  letter-spacing: -0.03em;
}

.brand-lockup h1 {
  font-size: clamp(2.6rem, 3.5vw, 4rem);
  line-height: 0.96;
  text-wrap: balance;
}

.brand-copy .eyebrow {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.24em;
}

.topbar-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  gap: 14px 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(132, 158, 189, 0.12);
}

.topbar-nav a,
.text-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.topbar-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(132, 158, 189, 0.06);
  font-size: 1rem;
  white-space: nowrap;
  backdrop-filter: blur(12px);
}

.topbar-nav a:hover {
  border-color: rgba(216, 164, 76, 0.18);
  background: rgba(98, 198, 255, 0.06);
}

.topbar-nav a:hover,
.text-link:hover {
  color: var(--gold-strong);
  transform: translateY(-1px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
}

.eyebrow.accent {
  color: var(--gold);
}

.hero,
.portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 300px);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 34px;
}

.hero-copy,
.portal-hero,
.legal-banner {
  position: relative;
  overflow: hidden;
  padding: 34px;
}

.hero h2,
.portal-hero h2,
.legal-banner h2 {
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  line-height: 1;
  max-width: min(100%, 980px);
}

.legal-banner h2 {
  max-width: 100%;
}

.portal-hero > div:first-child {
  min-width: 0;
}

.hero-text,
.section-heading p,
.feature-card p,
.workflow-card p,
.pricing-copy,
.download-meta,
.platform-card p,
.proof-card p,
.portal-hero p,
.portal-card p,
.summary-card p,
.faq-card p,
.legal-card p,
.cta-panel p,
.preview-window p,
.legal-note {
  color: var(--muted);
  line-height: 1.6;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 2px;
}

.hero-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(132, 158, 189, 0.12);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
}

.button-gold {
  color: #16120b;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-strong) 100%);
  box-shadow: 0 12px 24px rgba(216, 164, 76, 0.18);
}

.button-ghost {
  color: var(--text);
  background: rgba(98, 198, 255, 0.08);
  border: 1px solid rgba(98, 198, 255, 0.24);
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.92rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.generator-action-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  background:
    radial-gradient(circle at 88% 18%, rgba(98, 198, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(18, 32, 46, 0.98), rgba(10, 16, 25, 0.96));
  border-color: rgba(216, 164, 76, 0.24);
}

.generator-action-card h3 {
  max-width: 46rem;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.generator-action-card p {
  max-width: 68rem;
}

.generator-action-card::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -52px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 164, 76, 0.18), transparent 64%);
  pointer-events: none;
}

.generator-action-card .cta-row,
.generator-action-card .action-detail-list {
  position: relative;
  z-index: 1;
}

.generator-action-card .button {
  min-width: 190px;
}

.action-detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.action-detail-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #d9ecff;
  background: rgba(98, 198, 255, 0.09);
  border: 1px solid rgba(98, 198, 255, 0.2);
  font-size: 0.86rem;
  font-weight: 800;
}

.action-detail-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(216, 164, 76, 0.42);
}

.metric-row,
.proof-grid,
.feature-grid,
.workflow-grid,
.pricing-grid,
.platform-grid,
.download-grid,
.portal-grid,
.portal-summary,
.faq-grid,
.legal-grid {
  display: grid;
  gap: 18px;
}

.metric-row {
  grid-template-columns: repeat(3, 1fr);
}

.metric-card,
.preview-stat {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(10, 16, 25, 0.72), rgba(7, 12, 20, 0.5));
  border: 1px solid rgba(132, 158, 189, 0.16);
}

.metric-value {
  display: block;
  color: var(--gold);
  font-size: 1.75rem;
  font-weight: 800;
}

.metric-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.preview-window {
  padding: 20px;
}

.hero-preview {
  display: grid;
  gap: 18px;
}

.brand-stage {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 28px 24px 24px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 30%, rgba(98, 198, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(20, 31, 45, 0.95), rgba(10, 16, 25, 0.95));
  border: 1px solid rgba(216, 164, 76, 0.18);
  box-shadow: var(--shadow);
}

.brand-stage-orbit {
  position: absolute;
  top: -54px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(98, 198, 255, 0.18), rgba(98, 198, 255, 0.02) 56%, transparent 70%);
  filter: blur(2px);
  pointer-events: none;
}

.brand-stage-shell {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 230px;
  height: 230px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 34% 28%, rgba(98, 198, 255, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(24, 37, 53, 0.98), rgba(12, 19, 28, 0.98));
  border: 1px solid rgba(216, 164, 76, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 40px rgba(0, 0, 0, 0.34);
}

.brand-stage-shell::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 32px;
  border: 1px solid rgba(98, 198, 255, 0.12);
  pointer-events: none;
}

.brand-stage-logo {
  width: 176px;
  height: 176px;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.34));
}

.brand-stage-copy {
  position: relative;
  z-index: 1;
  text-align: center;
}

.brand-stage-copy h3 {
  margin-bottom: 10px;
}

.preview-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.preview-toolbar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.preview-body {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 14px;
}

.preview-column {
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(16, 24, 36, 0.92), rgba(12, 18, 28, 0.92));
  border: 1px solid rgba(99, 123, 151, 0.16);
}

.preview-column-secondary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preview-pill,
.stacked-tags span,
.detail-list li::marker,
.step-list li::marker {
  color: var(--gold);
}

.preview-pill {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(98, 198, 255, 0.1);
  border: 1px solid rgba(98, 198, 255, 0.22);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.preview-list,
.detail-list,
.step-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.preview-note,
.muted-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  position: relative;
  overflow: hidden;
  padding: 28px;
  margin-bottom: 28px;
}

.section-heading {
  margin-bottom: 22px;
  max-width: min(100%, 70rem);
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
}

.section-heading p {
  max-width: 88ch;
}

.proof-grid {
  grid-template-columns: repeat(4, 1fr);
}

.proof-card,
.feature-card,
.workflow-card,
.platform-card,
.download-card,
.summary-card,
.portal-card,
.legal-card,
.pricing-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(18, 28, 40, 0.94), rgba(11, 17, 25, 0.94));
  border: 1px solid rgba(132, 158, 189, 0.14);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.workflow-grid {
  grid-template-columns: repeat(4, 1fr);
}

.workflow-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: var(--cyan-soft);
  color: var(--cyan);
  font-weight: 800;
  font-size: 1.1rem;
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
}

.pricing-card {
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border-color: rgba(216, 164, 76, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.28);
}

.pricing-headline {
  color: var(--cyan);
  font-weight: 700;
  margin: 12px 0;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 16px 0 10px;
}

.price-main {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
}

.price-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.price-subnote {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.92rem;
  font-weight: 700;
}

.pricing-audience {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 700;
}

.pricing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(132, 158, 189, 0.12);
}

.pricing-launch-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(216, 164, 76, 0.1);
  border: 1px solid rgba(216, 164, 76, 0.18);
  color: var(--gold-strong);
  font-size: 0.86rem;
  font-weight: 800;
}

.platform-grid {
  grid-template-columns: repeat(3, 1fr);
}

.platform-card .eyebrow {
  color: var(--green);
}

.download-grid {
  grid-template-columns: repeat(4, 1fr);
}

.download-grid.compact {
  grid-template-columns: repeat(2, 1fr);
}

.download-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

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

.faq-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  border: 1px solid rgba(132, 158, 189, 0.14);
  background: linear-gradient(180deg, rgba(18, 28, 40, 0.94), rgba(11, 17, 25, 0.94));
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.faq-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-card summary::after {
  content: "+";
  color: var(--gold-strong);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-card[open] summary::after {
  content: "-";
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card p {
  margin: 14px 0 0;
}

.portal-layout,
.legal-layout {
  display: grid;
  gap: 26px;
}

.portal-hero,
.legal-banner {
  align-items: center;
}

.portal-hero-badge {
  position: relative;
  display: grid;
  gap: 12px;
  justify-self: end;
  justify-items: center;
  align-self: end;
  width: min(100%, 280px);
  min-height: 292px;
  margin-bottom: 4px;
  padding: 22px;
  text-align: center;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 20%, rgba(98, 198, 255, 0.16), transparent 46%),
    linear-gradient(180deg, rgba(18, 30, 44, 0.74), rgba(9, 15, 24, 0.58));
  border: 1px solid rgba(132, 158, 189, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 60px rgba(0, 0, 0, 0.22);
}

.portal-hero-badge span {
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.portal-hero-badge strong {
  font-size: clamp(1.22rem, 1.8vw, 1.55rem);
}

.mini-brand-stage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(150px, 16vw, 188px);
  height: clamp(150px, 16vw, 188px);
  border-radius: 38px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 24%, rgba(98, 198, 255, 0.2), transparent 44%),
    url("/assets/lw-primary-logo-20260511-v36.png?v=2026.05.20.seo1") center / 84% auto no-repeat,
    linear-gradient(180deg, rgba(24, 37, 53, 0.96), rgba(11, 18, 28, 0.96));
  border: 1px solid rgba(216, 164, 76, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 34px rgba(0, 0, 0, 0.28);
}

.mini-brand-logo {
  width: 88%;
  height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.32));
}

.portal-summary {
  grid-template-columns: repeat(4, 1fr);
}

.summary-card h3 {
  margin-bottom: 10px;
}

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

.portal-card-highlight {
  background: linear-gradient(180deg, rgba(18, 32, 46, 0.95), rgba(10, 16, 25, 0.95));
}

.responsible-play-card {
  background: linear-gradient(180deg, rgba(18, 32, 46, 0.96), rgba(10, 16, 25, 0.96));
  border-color: rgba(216, 164, 76, 0.24);
}

.responsible-play-card h3 {
  margin-bottom: 10px;
}

.responsible-play-card a {
  color: var(--gold-strong);
  font-weight: 800;
}

.portal-big-text {
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--text);
}

.upgrade-grid {
  display: grid;
  gap: 12px;
}

.upgrade-card {
  padding: 16px;
  border-radius: 16px;
  background: rgba(10, 16, 25, 0.62);
  border: 1px solid rgba(132, 158, 189, 0.14);
}

.upgrade-card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.upgrade-card p {
  margin: 4px 0;
}

.wide-card {
  grid-column: span 2;
}

.stacked-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.stacked-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(216, 164, 76, 0.08);
  border: 1px solid rgba(216, 164, 76, 0.16);
  font-size: 0.82rem;
  font-weight: 700;
}

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

.legal-card {
  min-height: 100%;
}

.legal-note {
  margin-top: 18px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  padding: 20px 8px 0;
  color: var(--muted);
}

.brand-logo-fallback,
.mini-brand-logo-fallback,
.mobile-app-brand-icon-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-family: var(--heading-font);
  font-weight: 900;
  letter-spacing: -0.08em;
  background:
    radial-gradient(circle at 35% 25%, rgba(98, 198, 255, 0.32), transparent 42%),
    linear-gradient(145deg, rgba(16, 27, 40, 0.98), rgba(5, 11, 17, 0.98));
  border: 1px solid rgba(216, 164, 76, 0.22);
}

.brand-logo-fallback {
  border-radius: 48px;
  font-size: 4.8rem;
  text-shadow: 0 16px 32px rgba(0, 0, 0, 0.36);
}

.brand-logo-shell .brand-logo-fallback,
.mini-brand-stage .mini-brand-logo-fallback,
.mobile-app-brand-mark .mobile-app-brand-icon-fallback {
  display: none;
  width: 100%;
  height: 100%;
}

.brand-logo-shell.logo-missing .brand-logo-fallback,
.mini-brand-stage.logo-missing .mini-brand-logo-fallback,
.mobile-app-brand-mark.logo-missing .mobile-app-brand-icon-fallback {
  display: inline-flex;
  color: var(--gold);
  overflow: hidden;
  text-indent: 0;
  background:
    radial-gradient(circle at 35% 25%, rgba(98, 198, 255, 0.24), transparent 42%),
    url("/assets/lw-primary-logo-20260511-v36.png?v=2026.05.20.seo1") center / 86% auto no-repeat,
    linear-gradient(145deg, rgba(16, 27, 40, 0.98), rgba(5, 11, 17, 0.98));
}

.mini-brand-logo-fallback {
  border-radius: 28px;
  font-size: 2.6rem;
}

body.mobile-page {
  overflow-x: hidden;
}

.android-download-layout {
  display: none;
}

html.android-download-mode .mobile-layout {
  display: none;
}

html.android-download-mode .android-download-layout {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100svh;
  width: min(100% - 28px, 520px);
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 0 max(92px, env(safe-area-inset-bottom));
  place-items: center;
}

.android-download-panel {
  display: grid;
  gap: 16px;
  width: 100%;
  padding: 24px;
  text-align: center;
  background:
    radial-gradient(circle at 70% 15%, rgba(98, 198, 255, 0.13), transparent 34%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.android-download-logo {
  display: inline-grid;
  width: 150px;
  height: 150px;
  margin: 0 auto 4px;
  place-items: center;
  border-radius: 34px;
  background:
    radial-gradient(circle at 32% 26%, rgba(98, 198, 255, 0.2), transparent 46%),
    linear-gradient(180deg, rgba(21, 32, 46, 0.96), rgba(11, 18, 28, 0.96));
  border: 1px solid rgba(216, 164, 76, 0.24);
  overflow: hidden;
}

.android-download-logo img {
  width: 136px;
  height: 136px;
  object-fit: contain;
}

.android-download-panel h1 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(2.3rem, 11vw, 3.7rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.android-download-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.android-download-actions {
  justify-content: center;
}

.mobile-layout {
  position: relative;
  width: min(100% - 20px, 520px);
  margin: 0 auto;
  padding: max(12px, env(safe-area-inset-top)) 0 max(88px, env(safe-area-inset-bottom));
}

.phone-shell,
.phone-screen {
  width: 100%;
}

.phone-screen {
  display: grid;
  gap: 16px;
}

.mobile-app-brand-header,
.phone-section-card,
.mobile-result-card,
.phone-help-item {
  background:
    radial-gradient(circle at 85% 20%, rgba(98, 198, 255, 0.1), transparent 32%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.mobile-app-brand-header,
.phone-section-card {
  padding: 18px;
  overflow: hidden;
}

.mobile-app-brand-lockup {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.mobile-app-brand-aside {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.mobile-app-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 28%, rgba(98, 198, 255, 0.18), transparent 46%),
    linear-gradient(180deg, rgba(21, 32, 46, 0.96), rgba(11, 18, 28, 0.96));
  border: 1px solid rgba(216, 164, 76, 0.24);
}

.mobile-app-brand-icon {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.mobile-app-brand-icon-fallback {
  border-radius: 20px;
  font-size: 1.7rem;
}

.phone-quick-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 126px;
}

.phone-quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(98, 198, 255, 0.08);
  border: 1px solid rgba(98, 198, 255, 0.18);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.mobile-app-brand-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.mobile-app-brand-copy h1 {
  margin: 0;
  max-width: 10ch;
  font-family: var(--heading-font);
  font-size: clamp(2.35rem, 12vw, 3.8rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.mobile-app-hero-copy,
.summary-pre,
.result-copy,
.field-note,
.microcopy,
.phone-help-item p {
  color: var(--muted);
  line-height: 1.55;
}

.mobile-app-hero-copy,
.summary-pre,
.result-copy,
.field-note,
.microcopy {
  margin: 0;
}

.result-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.result-card-top h4,
.phone-help-item strong {
  margin: 0;
  color: var(--text);
  font-family: var(--heading-font);
  font-size: 1.18rem;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.status-inline,
.api-pill,
.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.status-inline,
.score-neutral {
  color: var(--muted);
  background: rgba(132, 158, 189, 0.08);
  border: 1px solid rgba(132, 158, 189, 0.16);
}

.status-inline-success,
.api-pill-success,
.score-green {
  color: #baf8dc;
  background: rgba(45, 196, 138, 0.13);
  border: 1px solid rgba(45, 196, 138, 0.28);
}

.status-inline-warning,
.api-pill-warning,
.score-yellow {
  color: #ffe2a9;
  background: rgba(216, 164, 76, 0.14);
  border: 1px solid rgba(216, 164, 76, 0.3);
}

.status-inline-info,
.api-pill-loading {
  color: #a7ddff;
  background: rgba(98, 198, 255, 0.1);
  border: 1px solid rgba(98, 198, 255, 0.22);
}

.mobile-page .field,
.mobile-form,
.result-stack,
.phone-help-grid {
  display: grid;
  gap: 10px;
}

.mobile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mobile-page .field span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.mobile-input,
.mobile-select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--text);
  background: rgba(5, 11, 17, 0.74);
  border: 1px solid rgba(132, 158, 189, 0.18);
  border-radius: 12px;
  font: inherit;
}

.mobile-select option {
  color: #0a1118;
}

.mobile-dev-field,
.mobile-dev-note {
  display: none;
}

.toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 36px;
  padding: 0 12px;
  color: var(--muted);
  background: rgba(132, 158, 189, 0.08);
  border: 1px solid rgba(132, 158, 189, 0.16);
  border-radius: 999px;
  font-weight: 700;
}

.mobile-result-card,
.phone-help-item,
.empty-state {
  padding: 14px;
}

.number-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 8px;
}

.number-line span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #120f08;
  background: linear-gradient(135deg, #f7d084, var(--gold));
  font-weight: 900;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
}

.empty-state {
  color: var(--muted);
  text-align: center;
  background: rgba(132, 158, 189, 0.06);
  border: 1px dashed rgba(132, 158, 189, 0.16);
  border-radius: 18px;
}

.phone-help-links {
  margin-top: 12px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .masthead-row {
    grid-template-columns: 1fr;
  }

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

  .proof-grid,
  .feature-grid,
  .workflow-grid,
  .pricing-grid,
  .platform-grid,
  .download-grid,
  .portal-summary,
  .legal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1080px) {
  .hero,
  .portal-hero,
  .portal-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .preview-body,
  .metric-row,
  .cta-panel {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .portal-hero-badge {
    justify-items: center;
    justify-self: stretch;
    width: 100%;
    min-height: 300px;
    margin-bottom: 0;
  }

  .wide-card {
    grid-column: span 1;
  }
}

@media (max-width: 740px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 12px;
  }

  .topbar,
  .cta-panel,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-lockup {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .brand-mark {
    padding: 8px 8px 18px;
  }

  .brand-logo-shell {
    width: 132px;
    height: 132px;
    border-radius: 34px;
  }

  .brand-logo-shell::after {
    inset: 8px;
    border-radius: 26px;
  }

  .brand-logo {
    width: 136px;
    height: 136px;
  }

  .portal-hero-badge {
    padding: 22px;
  }

  .mini-brand-stage {
    width: 168px;
    height: 168px;
    border-radius: 40px;
  }

  .brand-powered {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
  }

  .topbar-nav {
    width: 100%;
    justify-content: center;
    gap: 12px;
  }

  .hero-chip-row {
    gap: 8px;
  }

  .hero-chip-row span {
    font-size: 0.84rem;
  }

  .hero-copy,
  .portal-hero,
  .legal-banner,
  .section {
    padding: 22px;
  }

  .hero h2,
  .portal-hero h2,
  .legal-banner h2 {
    max-width: none;
  }

  .brand-stage-shell {
    width: 196px;
    height: 196px;
  }

  .brand-stage-logo {
    width: 152px;
    height: 152px;
  }

  .proof-grid,
  .feature-grid,
  .workflow-grid,
  .pricing-grid,
  .platform-grid,
  .download-grid,
  .portal-summary,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .download-grid.compact {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    align-items: flex-start;
  }

  .mobile-layout {
    width: min(100% - 16px, 520px);
    padding-bottom: max(92px, env(safe-area-inset-bottom));
  }

  .mobile-app-brand-lockup {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }

  .mobile-app-brand-aside {
    justify-items: center;
    gap: 10px;
    width: 100%;
  }

  .phone-quick-nav {
    max-width: none;
    justify-content: center;
  }

  .phone-section-card {
    padding: 16px;
    border-radius: 22px;
  }

  .mobile-app-brand-header {
    padding: 10px 12px 12px;
    border-radius: 22px;
  }

  .mobile-app-brand-mark {
    width: 104px;
    height: 104px;
    border-radius: 24px;
  }

  .mobile-app-brand-icon {
    width: 108px;
    height: 108px;
  }

  .mobile-app-brand-header {
    text-align: center;
  }

  .mobile-app-brand-copy {
    justify-items: center;
    text-align: center;
  }

  .mobile-app-brand-copy h1 {
    margin-inline: auto;
  }

  .mobile-app-brand-copy .inline-actions,
  #connect-card .inline-actions {
    justify-content: center;
    width: 100%;
  }

  #connect-card {
    text-align: center;
  }

  #connect-card .result-card-top {
    align-items: center;
  }

  .mobile-form-grid,
  .result-card-top {
    grid-template-columns: 1fr;
  }

  .result-card-top {
    flex-direction: column;
  }

  .button-mobile-primary,
  .button-mobile-inline {
    width: 100%;
  }

  body.mobile-page .bg-burst-left,
  body.mobile-page .bg-burst-right,
  body.mobile-page .bg-burst-bottom {
    display: none;
  }

  .android-download-layout {
    width: min(100% - 20px, 520px);
  }

  .android-download-panel {
    padding: 20px;
  }

  .android-download-logo {
    width: 132px;
    height: 132px;
    border-radius: 30px;
  }

  .android-download-logo img {
    width: 120px;
    height: 120px;
  }

  .android-download-actions .button {
    width: 100%;
  }
}

/* Final desktop hero layout: keep headings broad, readable, and away from skinny columns. */
@media (min-width: 1081px) {
  .legal-banner {
    display: block;
    min-height: 300px;
    padding: 44px 46px;
  }

  .legal-banner h2,
  .portal-hero h2 {
    width: 100%;
    font-size: clamp(1.95rem, 2.55vw, 2.95rem);
    line-height: 1.08;
    text-wrap: normal;
  }

  .legal-banner h2 {
    max-width: 1120px !important;
  }

  .legal-banner p {
    max-width: 100ch;
  }

  .portal-hero {
    display: block;
    min-height: 430px;
    padding: 44px 330px 44px 46px;
  }

  .portal-hero > div:first-child {
    max-width: none !important;
    min-width: 0;
  }

  .portal-hero h2 {
    max-width: 780px !important;
  }

  .portal-hero > div:first-child > p {
    max-width: 76ch;
  }

  .portal-hero-badge {
    position: absolute;
    right: 42px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 230px;
    min-height: 250px;
    margin: 0;
  }
}

@media (min-width: 1081px) and (max-width: 1220px) {
  .portal-hero {
    padding-right: 280px;
  }

  .portal-hero-badge {
    right: 30px;
    width: 210px;
  }
}



