: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;
  grid-template-columns: 1fr auto;
  gap: 12px 16px;
  align-items: end;
}

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

.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: 6px 6px 18px;
}

.brand-logo-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 278px;
  height: 278px;
  border-radius: 62px;
  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);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 34px rgba(0, 0, 0, 0.28);
}

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

.brand-logo {
  width: 272px;
  height: 272px;
  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: 20px 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.nav-home-link {
  color: #16120b;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-strong) 100%);
  border-color: rgba(216, 164, 76, 0.42);
  box-shadow: 0 10px 20px rgba(216, 164, 76, 0.16);
}

.topbar-nav a.nav-home-link:hover {
  color: #16120b;
  border-color: rgba(216, 164, 76, 0.55);
  background: linear-gradient(135deg, #e3b464 0%, #f2c978 100%);
}

.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: 1.14fr 0.86fr;
  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: 12ch;
}

.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;
}

.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: 10px;
  border-radius: 32px;
  border: 1px solid rgba(98, 198, 255, 0.12);
  pointer-events: none;
}

.brand-stage-logo {
  width: 220px;
  height: 220px;
  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: 48rem;
}

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

.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 {
  display: grid;
  gap: 8px;
  justify-items: end;
}

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

.portal-hero-badge strong {
  font-size: 1.3rem;
}

.mini-brand-stage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 132px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 30% 24%, rgba(98, 198, 255, 0.2), transparent 44%),
    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: 126px;
  height: 126px;
  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-live-grid,
.portal-live-results-grid {
  display: grid;
  gap: 18px;
}

.portal-live-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 18px;
}

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

.portal-live-card {
  display: grid;
  gap: 14px;
}

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

.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;
}

.footer-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 10px;
}

.footer-contact-links a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}

.footer-contact-links a:hover,
.footer-contact-links a:focus-visible {
  text-decoration: underline;
}

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

.mobile-layout {
  display: grid;
  gap: 28px;
}

.mobile-hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 28px;
}

.mobile-hero-copy,
.mobile-runtime-card,
.mobile-side-card,
.phone-shell,
.endpoint-card {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  animation: fadeUp 620ms ease both;
}

.mobile-runtime-card,
.mobile-side-card,
.endpoint-card {
  padding: 28px;
}

.command-strip {
  display: flex;
  align-items: center;
  min-height: 56px;
  margin: 18px 0 16px;
  padding: 0 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(14, 22, 33, 0.96), rgba(8, 13, 21, 0.96));
  border: 1px solid rgba(98, 198, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.command-strip code,
.endpoint-card code {
  color: var(--cyan);
  font-family: "Consolas", "Cascadia Code", monospace;
  font-size: 0.95rem;
}

.mobile-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.mobile-mini-stat {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(12, 19, 28, 0.86), rgba(8, 13, 21, 0.78));
  border: 1px solid rgba(132, 158, 189, 0.14);
}

.mobile-mini-stat span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.mobile-mini-stat strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.35;
}

.mobile-preview-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(360px, 1fr);
  gap: 24px;
  align-items: start;
}

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

.phone-shell {
  padding: 14px;
  border-color: rgba(216, 164, 76, 0.2);
  background:
    radial-gradient(circle at top center, rgba(98, 198, 255, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(16, 24, 35, 0.98), rgba(9, 14, 22, 0.98));
  box-shadow:
    0 32px 70px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.phone-shell::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--radius-xl) - 8px);
  border: 1px solid rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.phone-notch {
  width: 34%;
  height: 24px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(5, 9, 14, 0.96), rgba(12, 18, 26, 0.92));
  border: 1px solid rgba(132, 158, 189, 0.08);
}

.phone-screen {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(216, 164, 76, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(12, 18, 27, 0.98), rgba(8, 13, 20, 0.98));
  border: 1px solid rgba(132, 158, 189, 0.12);
}

.mobile-app-brand-header {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(98, 198, 255, 0.16), transparent 34%),
    radial-gradient(circle at right center, rgba(216, 164, 76, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(18, 29, 42, 0.98), rgba(10, 16, 25, 0.98));
  border: 1px solid rgba(216, 164, 76, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 32px rgba(0, 0, 0, 0.2);
}

.mobile-app-brand-header::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 12px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(98, 198, 255, 0.14), transparent 68%);
  pointer-events: none;
}

.mobile-app-brand-lockup {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.mobile-app-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  padding: 2px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 28%, rgba(98, 198, 255, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(23, 35, 49, 0.98), rgba(11, 18, 28, 0.98));
  border: 1px solid rgba(216, 164, 76, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 28px rgba(0, 0, 0, 0.26);
}

.mobile-app-brand-icon {
  width: 122px;
  height: 122px;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.28));
}

.mobile-app-brand-copy {
  display: grid;
  gap: 4px;
  padding-top: 4px;
}

.mobile-app-brand-copy h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.mobile-app-brand-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.mobile-app-brand-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(216, 164, 76, 0.14);
  border: 1px solid rgba(216, 164, 76, 0.24);
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.phone-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.phone-quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(132, 158, 189, 0.12);
  color: var(--text);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.phone-quick-link:hover {
  transform: translateY(-1px);
  border-color: rgba(216, 164, 76, 0.24);
  background: rgba(216, 164, 76, 0.12);
  color: var(--gold-strong);
}

.phone-topbar,
.phone-section-head,
.result-card-top,
.result-line-header,
.inline-actions,
.api-bar,
.bonus-line,
.snapshot-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.phone-topbar h3,
.phone-section-card h4,
.endpoint-card h3 {
  margin: 0;
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
}

.phone-section-card {
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(16, 24, 36, 0.94), rgba(10, 16, 25, 0.94));
  border: 1px solid rgba(132, 158, 189, 0.14);
}

.api-bar {
  flex-wrap: wrap;
}

.api-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.api-pill-live,
.status-inline-success {
  background: rgba(45, 196, 138, 0.12);
  border-color: rgba(45, 196, 138, 0.22);
  color: #83e5bc;
}

.api-pill-loading,
.status-inline-info {
  background: rgba(98, 198, 255, 0.12);
  border-color: rgba(98, 198, 255, 0.22);
  color: #7fd0ff;
}

.api-pill-offline,
.status-inline-error {
  background: rgba(231, 112, 100, 0.12);
  border-color: rgba(231, 112, 100, 0.2);
  color: #ff9f92;
}

.api-pill-warning,
.status-inline-warning {
  background: rgba(216, 164, 76, 0.12);
  border-color: rgba(216, 164, 76, 0.22);
  color: #f3c36f;
}

.status-inline {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  width: fit-content;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(132, 158, 189, 0.08);
  border: 1px solid rgba(132, 158, 189, 0.12);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.mobile-form,
.toggle-grid,
.results-stack,
.result-line-stack {
  display: grid;
  gap: 12px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field span,
.field-note {
  color: var(--muted);
}

.field span {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.field-note {
  font-size: 0.78rem;
  line-height: 1.45;
}

.mobile-input,
.mobile-select,
.mobile-textarea {
  width: 100%;
  border: 1px solid rgba(132, 158, 189, 0.16);
  border-radius: 15px;
  background: rgba(7, 12, 20, 0.88);
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.mobile-input,
.mobile-select {
  min-height: 46px;
  padding: 0 14px;
}

.mobile-textarea {
  min-height: 92px;
  padding: 12px 14px;
  resize: vertical;
}

.mobile-input:focus,
.mobile-select:focus,
.mobile-textarea:focus {
  outline: none;
  border-color: rgba(98, 198, 255, 0.3);
  box-shadow: 0 0 0 3px rgba(98, 198, 255, 0.08);
}

.toggle-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 16px;
  background: rgba(98, 198, 255, 0.06);
  border: 1px solid rgba(98, 198, 255, 0.14);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.toggle-chip input {
  accent-color: var(--gold);
}

.microcopy {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.action-link {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.action-link:disabled {
  color: rgba(165, 180, 199, 0.45);
  cursor: not-allowed;
  transform: none;
}

.phone-result-card,
.result-line-card {
  border-radius: 20px;
  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);
}

.phone-result-card {
  padding: 16px;
}

.result-line-card {
  padding: 14px;
}

.result-line-header strong,
.result-card-top h4 {
  font-size: 1rem;
}

.result-copy,
.summary-pre {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.summary-pre {
  white-space: normal;
}

.number-chip-row,
.result-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.number-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(98, 198, 255, 0.14);
  border: 1px solid rgba(98, 198, 255, 0.22);
  color: var(--text);
  font-weight: 800;
  font-size: 0.94rem;
}

.number-chip-bonus {
  background: rgba(216, 164, 76, 0.14);
  border-color: rgba(216, 164, 76, 0.24);
  color: var(--gold-strong);
}

.bonus-line {
  align-items: flex-start;
  flex-wrap: wrap;
}

.bonus-line span {
  min-width: fit-content;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  padding-top: 10px;
}

.metric-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  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.8rem;
  font-weight: 700;
}

.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.score-guide-card {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(10, 17, 27, 0.58);
  border: 1px solid rgba(132, 158, 189, 0.1);
}

.score-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.score-guide-pill {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(132, 158, 189, 0.1);
}

.score-guide-copy {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.score-green {
  background: rgba(45, 196, 138, 0.12);
  border-color: rgba(45, 196, 138, 0.22);
  color: #83e5bc;
}

.score-yellow {
  background: rgba(216, 164, 76, 0.14);
  border-color: rgba(216, 164, 76, 0.24);
  color: #f3c36f;
}

.score-red {
  background: rgba(231, 112, 100, 0.12);
  border-color: rgba(231, 112, 100, 0.2);
  color: #ff9f92;
}

.score-neutral {
  background: rgba(132, 158, 189, 0.12);
  border-color: rgba(132, 158, 189, 0.16);
  color: var(--muted);
}

.empty-state {
  padding: 20px;
  border-radius: 18px;
  border: 1px dashed rgba(132, 158, 189, 0.18);
  color: var(--muted);
  text-align: center;
  line-height: 1.55;
}

.endpoint-grid,
.mobile-rollout-grid {
  display: grid;
  gap: 18px;
}

.endpoint-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
}

.mobile-shell-mode body::before,
.mobile-shell-mode .site-background,
.mobile-shell-mode .topbar,
.mobile-shell-mode .mobile-hero,
.mobile-shell-mode #api-guide,
.mobile-shell-mode .site-footer,
.mobile-shell-mode .mobile-preview-aside,
.mobile-shell-mode .mobile-live-section > .section-heading,
.mobile-shell-mode .phone-notch {
  display: none;
}

.mobile-shell-mode .site-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.mobile-shell-mode .mobile-layout {
  gap: 0;
}

.mobile-shell-mode .mobile-live-section {
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.mobile-shell-mode .mobile-preview-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.mobile-shell-mode .phone-shell {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.mobile-shell-mode .phone-shell::after {
  display: none;
}

.mobile-shell-mode .phone-screen {
  min-height: 100vh;
  gap: 16px;
  padding:
    calc(env(safe-area-inset-top, 0px) + 18px)
    16px
    calc(env(safe-area-inset-bottom, 0px) + 28px);
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at top right, rgba(216, 164, 76, 0.1), transparent 26%),
    radial-gradient(circle at left top, rgba(98, 198, 255, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(12, 18, 27, 1), rgba(7, 12, 19, 1));
}

.mobile-shell-mode .mobile-app-brand-header {
  border-radius: 28px;
}

.mobile-shell-mode .phone-topbar {
  padding: 2px 2px 0;
}

.mobile-shell-mode .phone-section-card {
  border-radius: 24px;
}

.mobile-shell-mode .phone-result-card,
.mobile-shell-mode .result-line-card {
  border-radius: 22px;
}

.mobile-shell-mode .score-guide-card {
  border-radius: 20px;
}

.mobile-native-shell #connect-card,
.mobile-native-shell .phone-quick-link-connect {
  display: none;
}

@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,
  .endpoint-grid,
  .mobile-rollout-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

  .portal-hero-badge {
    justify-items: start;
  }

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

  .phone-shell {
    order: -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: 4px 4px 14px;
  }

  .brand-logo-shell {
    width: 150px;
    height: 150px;
  }

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

  .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;
  }

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

  .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: 184px;
    height: 184px;
  }

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

  .mobile-preview-aside {
    display: none;
  }

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

  .phone-topbar,
  .phone-section-head,
  .result-card-top,
  .result-line-header,
  .phone-quick-nav,
  .inline-actions,
  .api-bar,
  .bonus-line,
  .snapshot-link-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-app-brand-lockup {
    grid-template-columns: 1fr;
  }

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