:root {
  --bg: #050303;
  --bg-2: #0a0506;
  --panel: rgba(16, 15, 15, 0.9);
  --panel-strong: rgba(24, 19, 18, 0.9);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(244, 226, 142, 0.34);
  --text: #fff8e7;
  --muted: #b9afa1;
  --soft: #7f766c;
  --gold: #f4e28e;
  --gold-2: #c99b38;
  --red: #d0202a;
  --red-deep: #57070c;
  --green: #72e1b8;
  --amber: #f4b38e;
  --blue: #8bb9ff;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.58);
  --radius: 8px;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  overflow-x: hidden;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(208, 32, 42, 0.22), transparent 28rem),
    radial-gradient(circle at 82% 15%, rgba(244, 226, 142, 0.13), transparent 23rem),
    linear-gradient(145deg, #020202 0%, #0a0405 42%, #050303 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    linear-gradient(100deg, transparent 0%, rgba(244, 226, 142, 0.055) 38%, transparent 54%),
    linear-gradient(160deg, transparent 0%, rgba(208, 32, 42, 0.12) 44%, transparent 68%);
  transform: translateX(-10%);
  animation: field-drift 16s ease-in-out infinite alternate;
  will-change: transform;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle at 24% 28%, rgba(244, 226, 142, 0.16) 0 1px, transparent 1.5px),
    radial-gradient(circle at 75% 70%, rgba(255, 255, 255, 0.09) 0 1px, transparent 1.5px);
  background-size: 92px 92px, 134px 134px;
  opacity: 0.55;
}

button {
  font: inherit;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

[hidden] {
  display: none !important;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  contain: paint;
}

.beam {
  position: absolute;
  width: 44vw;
  height: 130vh;
  top: -24vh;
  opacity: 0.32;
  filter: blur(10px);
  transform-origin: center;
  will-change: transform;
}

.beam-one {
  left: -10vw;
  background: linear-gradient(90deg, transparent, rgba(208, 32, 42, 0.24), rgba(244, 226, 142, 0.1), transparent);
  transform: rotate(26deg);
  animation: beam-slide 14s ease-in-out infinite alternate;
}

.beam-two {
  right: -18vw;
  background: linear-gradient(90deg, transparent, rgba(244, 226, 142, 0.1), rgba(208, 32, 42, 0.2), transparent);
  transform: rotate(-31deg);
  animation: beam-slide 18s ease-in-out infinite alternate-reverse;
}

.particle-field,
.grid-field {
  position: absolute;
  inset: 0;
}

.particle-field {
  background:
    radial-gradient(circle at 12% 32%, rgba(244, 226, 142, 0.2) 0 1px, transparent 1.5px),
    radial-gradient(circle at 58% 18%, rgba(255, 255, 255, 0.11) 0 1px, transparent 1.6px),
    radial-gradient(circle at 78% 68%, rgba(208, 32, 42, 0.24) 0 1px, transparent 1.6px);
  background-size: 116px 116px, 148px 148px, 104px 104px;
  animation: particles 22s linear infinite;
  will-change: transform;
}

.grid-field {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(244, 226, 142, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 226, 142, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 74%, transparent);
}

.shell {
  width: calc(100vw - 32px);
  max-width: var(--content);
  min-height: 100vh;
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 0 max(20px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
  min-height: 48px;
  min-width: 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  min-width: 0;
  text-decoration: none;
}

.brand-symbol-shell {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 226, 142, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4), inset 0 0 22px rgba(244, 226, 142, 0.08);
}

.brand-symbol {
  width: 22px;
  height: 23px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(244, 226, 142, 0.18));
}

.brand-logo {
  width: 94px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 16px rgba(244, 226, 142, 0.1));
}

.system-chip {
  min-height: 34px;
  max-width: 48vw;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(244, 226, 142, 0.18);
  border-radius: 999px;
  background: rgba(8, 7, 7, 0.7);
  color: var(--muted);
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.legal-nav {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.legal-nav a,
.legal-links a,
.legal-card a,
.legal-footer a {
  color: var(--gold);
  text-decoration: none;
}

.legal-nav a:hover,
.legal-links a:hover,
.legal-card a:hover,
.legal-footer a:hover {
  text-decoration: underline;
}

.system-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(244, 226, 142, 0.9);
}

.hero-card {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    radial-gradient(circle at 18% 8%, rgba(208, 32, 42, 0.2), transparent 21rem),
    radial-gradient(circle at 88% 16%, rgba(244, 226, 142, 0.09), transparent 20rem),
    var(--panel);
  box-shadow: var(--shadow);
}

.hero-card::before,
.hero-card::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.hero-card::before {
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(100deg, transparent 0%, rgba(244, 226, 142, 0.08) 42%, transparent 57%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 18%);
  opacity: 0.82;
}

.hero-card::after {
  left: 18px;
  right: 18px;
  top: 0;
  z-index: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 226, 142, 0.74), transparent);
}

.hero-composition,
.status-rail,
.next-section,
.cta-panel {
  position: relative;
  z-index: 1;
}

.hero-composition {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  min-width: 0;
}

.emblem-stage {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 220px;
  display: grid;
  place-items: center;
  isolation: isolate;
  contain: layout paint;
}

.emblem-stage::before {
  position: absolute;
  width: min(78vw, 320px);
  aspect-ratio: 1;
  content: "";
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(244, 226, 142, 0.16), transparent 58%),
    radial-gradient(circle, rgba(208, 32, 42, 0.18), transparent 72%);
  opacity: 0.82;
  filter: blur(3px);
}

.emblem-orbit {
  position: absolute;
  width: min(70vw, 292px);
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid rgba(244, 226, 142, 0.18);
}

.orbit-one {
  transform: rotate(12deg) scaleX(0.94);
  opacity: 0.72;
}

.orbit-two {
  border-color: rgba(208, 32, 42, 0.26);
  transform: rotate(-18deg) scaleX(0.72);
  opacity: 0.58;
}

.emblem-core {
  position: relative;
  width: min(56vw, 210px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 226, 142, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(244, 226, 142, 0.12), rgba(208, 32, 42, 0.1)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.18));
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.55),
    inset 0 0 52px rgba(244, 226, 142, 0.08),
    inset 0 -20px 44px rgba(0, 0, 0, 0.26);
}

.emblem-core::before {
  position: absolute;
  inset: 12px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.emblem-symbol {
  width: 44%;
  opacity: 0.78;
  filter: drop-shadow(0 0 24px rgba(244, 226, 142, 0.22));
}

.state-mark {
  position: absolute;
  right: 13px;
  bottom: 13px;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(6, 5, 5, 0.72);
  box-shadow: 0 0 26px rgba(244, 226, 142, 0.16);
}

.mark-ring,
.mark-success,
.mark-cancel,
.mark-processing,
.mark-portal,
.mark-default {
  fill: none;
  stroke: var(--gold);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mark-ring {
  opacity: 0.28;
}

.mark-success,
.mark-cancel,
.mark-processing,
.mark-portal,
.mark-default {
  display: none;
}

body[data-state="success"] .mark-success,
body[data-state="cancel"] .mark-cancel,
body[data-state="processing"] .mark-processing,
body[data-state="portal"] .mark-portal,
body[data-state="default"] .mark-default,
body[data-state="unknown"] .mark-default {
  display: block;
}

body[data-state="success"] .mark-success,
body[data-state="success"] .mark-ring {
  stroke: var(--green);
}

body[data-state="cancel"] .mark-cancel,
body[data-state="cancel"] .mark-ring {
  stroke: var(--amber);
}

body[data-state="processing"] .mark-processing,
body[data-state="processing"] .mark-ring {
  stroke: var(--blue);
}

body[data-state="processing"] .mark-processing {
  animation: spin-mark 1.6s linear infinite;
  transform-origin: 48px 48px;
}

body[data-state="portal"] .mark-portal,
body[data-state="portal"] .mark-ring {
  stroke: var(--gold);
}

body[data-state="unknown"] .mark-default,
body[data-state="unknown"] .mark-ring {
  stroke: var(--soft);
}

.activation-readout {
  position: absolute;
  right: 4px;
  bottom: 2px;
  width: min(44vw, 154px);
  padding: 10px 12px;
  border: 1px solid rgba(244, 226, 142, 0.18);
  border-radius: var(--radius);
  background: rgba(5, 4, 4, 0.78);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

.activation-readout span {
  display: block;
  color: var(--soft);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.activation-readout strong {
  display: block;
  margin-top: 1px;
  color: var(--gold);
  font-size: 0.86rem;
}

.copy-stage {
  align-self: center;
  min-width: 0;
  width: 100%;
}

.kicker,
.section-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

h2,
p {
  overflow-wrap: anywhere;
}

h1,
.return-title {
  max-width: min(780px, 100%);
  margin: 0;
  color: var(--text);
  font-size: clamp(2.12rem, 10.5vw, 5.25rem);
  line-height: 0.95;
  font-weight: 860;
  hyphens: none;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.return-title {
  margin-block: 0;
}

.primary-message {
  max-width: min(640px, 100%);
  margin: 18px 0 0;
  color: #fff3d1;
  font-size: clamp(1.08rem, 3.7vw, 1.46rem);
  font-weight: 720;
}

.secondary-message {
  max-width: min(650px, 100%);
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.confidence-note,
.session-note {
  max-width: min(650px, 100%);
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(244, 226, 142, 0.075);
  color: #eadfbd;
  font-size: 0.9rem;
}

.session-note {
  margin-top: 8px;
  border-left-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
}

.status-rail {
  margin: 0 24px;
  padding: 16px 0 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.rail-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.rail-item {
  position: relative;
  min-height: 42px;
  padding-left: 34px;
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.rail-item::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 16px;
  content: "";
  border: 1px solid rgba(244, 226, 142, 0.36);
  border-radius: 999px;
  background: rgba(8, 7, 7, 0.9);
  transform: translateY(-50%);
  box-shadow: 0 0 0 6px rgba(244, 226, 142, 0.035);
}

.rail-item::after {
  position: absolute;
  left: 7px;
  top: calc(50% + 15px);
  width: 1px;
  height: calc(100% - 8px);
  content: "";
  background: linear-gradient(to bottom, rgba(244, 226, 142, 0.35), transparent);
}

.rail-item:last-child::after {
  display: none;
}

.rail-item.is-done {
  color: #fff4d2;
}

.rail-item.is-done::before {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 26px rgba(114, 225, 184, 0.48);
}

.rail-item.is-active {
  color: #fff4d2;
}

.rail-item.is-active::before {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 22px rgba(244, 226, 142, 0.52);
}

.next-section {
  padding: 22px 24px 0;
}

.section-heading {
  display: grid;
  gap: 2px;
  margin-bottom: 12px;
}

.section-heading h2 {
  margin: 0;
  color: #fff4da;
  font-size: 1.03rem;
}

.steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  min-height: 44px;
  padding: 10px 12px 10px 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.95rem;
}

.steps li::before {
  position: absolute;
  left: 8px;
  top: 9px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  counter-increment: step;
  content: counter(step);
  border: 1px solid rgba(244, 226, 142, 0.25);
  border-radius: var(--radius);
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.045);
}

.cta-panel {
  padding: 22px 24px 24px;
}

.button-row {
  display: grid;
  gap: 10px;
}

.button {
  min-height: 48px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 820;
  color: var(--text);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  border-color: rgba(244, 226, 142, 0.34);
}

.button:active {
  box-shadow: none;
}

.button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.button-primary {
  color: #17110b;
  background:
    linear-gradient(135deg, #fff1a8, #f4e28e 42%, #c99b38);
  box-shadow: 0 16px 38px rgba(244, 226, 142, 0.22);
}

.button-primary:hover {
  box-shadow: 0 20px 48px rgba(244, 226, 142, 0.32);
}

.button-secondary {
  border-color: rgba(244, 226, 142, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.button-tertiary {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
}

.helper-copy,
.button-feedback,
.noscript-copy {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.button-feedback {
  min-height: 1.35em;
  color: var(--gold);
}

.noscript-copy {
  color: var(--amber);
}

.footer-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 2px;
  color: var(--soft);
  font-size: 0.76rem;
}

.footer-note span:first-child {
  color: var(--gold);
  font-weight: 800;
}

/* Marketing landing */

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: #17110b;
  background: var(--gold);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

body[data-mode="marketing"]::before {
  animation: none;
  opacity: 0.65;
}

.marketing-view {
  min-height: 100vh;
}

.section-wrap,
.site-header-inner {
  width: min(calc(100% - 40px), 1180px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 3, 3, 0.94);
}

.site-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav {
  display: none;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.primary-nav a,
.site-footer a {
  text-decoration: none;
}

.primary-nav a:hover,
.site-footer a:hover {
  color: var(--gold);
}

.nav-cta {
  min-height: 42px;
  margin-left: auto;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 226, 142, 0.35);
  border-radius: var(--radius);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.marketing-hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marketing-hero::after {
  position: absolute;
  right: -15%;
  bottom: -45%;
  width: min(760px, 80vw);
  aspect-ratio: 1;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208, 32, 42, 0.16), transparent 68%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  padding-block: 76px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.marketing-view h1,
.marketing-view h2,
.marketing-view h3 {
  margin-top: 0;
  color: var(--text);
  text-wrap: balance;
}

.marketing-view h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 9.5vw, 6.2rem);
  font-weight: 850;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.marketing-view h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 6.8vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.marketing-view h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.marketing-view p {
  overflow-wrap: normal;
}

.hero-lead {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
}

.principle {
  margin: 28px 0 0;
  color: #fff3cf;
  font-size: clamp(1.06rem, 2.6vw, 1.45rem);
}

.principle strong {
  color: var(--gold);
}

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

.marketing-button {
  min-height: 50px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 820;
  text-decoration: none;
}

.button-gold {
  color: #17110b;
  background: linear-gradient(135deg, #fff1a8, #f4e28e 48%, #c99b38);
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
}

.hero-system {
  align-self: end;
  border: 1px solid rgba(244, 226, 142, 0.2);
  border-radius: var(--radius);
  background: rgba(10, 7, 7, 0.76);
}

.system-brand {
  min-height: 158px;
  padding: 26px;
  display: flex;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: #fff3d1;
  font-size: 1.15rem;
  font-weight: 750;
}

.system-brand img {
  width: 62px;
  filter: drop-shadow(0 0 22px rgba(244, 226, 142, 0.2));
}

.system-list,
.capability-list,
.inline-features {
  margin: 0;
  padding: 0;
  list-style: none;
}

.system-list li {
  min-height: 52px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted);
}

.system-list li:last-child {
  border-bottom: 0;
}

.system-list span {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
}

.marketing-section {
  padding-block: clamp(76px, 10vw, 138px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-intro {
  max-width: 850px;
  margin-bottom: 48px;
}

.section-intro.narrow {
  max-width: 720px;
}

.section-intro > p:last-child,
.audience-copy > p,
.download-layout > div > p:last-child {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.06rem;
}

.problem-grid {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.problem-grid article {
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.problem-grid article > span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 850;
}

.problem-grid h3 {
  margin-top: 18px;
}

.problem-grid p,
.process-list p {
  margin: 0;
  color: var(--muted);
}

.process-section,
.client-section,
.faq-section {
  background: rgba(255, 255, 255, 0.015);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.process-list li {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.process-number {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 850;
}

.process-list h3 {
  margin-bottom: 5px;
}

.audience-layout,
.client-layout,
.download-layout,
.faq-layout {
  display: grid;
  gap: 48px;
}

.audience-copy .marketing-button {
  margin-top: 18px;
}

.quiet-note {
  margin-top: 16px;
  color: var(--soft) !important;
  font-size: 0.82rem !important;
}

.capability-list {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.capability-list li {
  min-height: 58px;
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #f4ead4;
}

.capability-list span {
  color: var(--soft);
  font-size: 0.7rem;
}

.access-flow {
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid rgba(244, 226, 142, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(244, 226, 142, 0.06), rgba(208, 32, 42, 0.05));
}

.access-flow h3 {
  margin-bottom: 22px;
  font-size: 1.18rem;
}

.access-flow ol {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.access-flow li {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: #f4ead4;
}

.access-flow li span {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 850;
}

.pricing-section {
  background: linear-gradient(180deg, rgba(244, 226, 142, 0.025), rgba(255, 255, 255, 0.01));
}

.pricing-grid {
  display: grid;
  gap: 16px;
}

.pricing-card {
  min-width: 0;
  padding: clamp(24px, 4vw, 34px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(10, 7, 7, 0.76);
}

.pricing-card.featured-plan {
  border-color: rgba(244, 226, 142, 0.42);
  background: linear-gradient(145deg, rgba(244, 226, 142, 0.09), rgba(10, 7, 7, 0.82));
}

.plan-label {
  margin: 0;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.public-plan-price {
  margin: 22px 0 6px;
  color: var(--text);
  font-size: clamp(1.75rem, 5vw, 2.45rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.035em;
}

.public-plan-capacity {
  margin: 0 0 30px;
  color: var(--muted);
  font-weight: 700;
}

.pricing-card .marketing-button {
  width: 100%;
  margin-top: auto;
}

.mission-section {
  background:
    radial-gradient(circle at 85% 50%, rgba(208, 32, 42, 0.12), transparent 28rem),
    rgba(255, 255, 255, 0.012);
}

.identity-intro {
  max-width: 820px;
  margin-bottom: 38px;
}

.identity-intro > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
}

.identity-grid {
  display: grid;
  gap: 14px;
}

.identity-card {
  padding: 24px;
  border: 1px solid rgba(244, 226, 142, 0.16);
  border-radius: 14px;
  background: rgba(9, 6, 6, 0.6);
}

.identity-card h3 {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 1.05rem;
}

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

.client-symbol {
  min-height: 260px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(208, 32, 42, 0.25);
  border-radius: var(--radius);
  background: radial-gradient(circle, rgba(208, 32, 42, 0.15), transparent 65%);
}

.client-symbol img {
  width: 92px;
  filter: drop-shadow(0 0 28px rgba(244, 226, 142, 0.2));
}

.inline-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.inline-features li {
  padding: 8px 11px;
  border: 1px solid rgba(244, 226, 142, 0.18);
  border-radius: 999px;
  color: #e8ddc7;
  font-size: 0.82rem;
}

.coach-remains {
  margin-top: 24px;
  padding-left: 15px;
  border-left: 2px solid var(--gold);
  color: #fff3d1 !important;
  font-weight: 700;
}

.download-section {
  background: linear-gradient(120deg, rgba(208, 32, 42, 0.12), rgba(244, 226, 142, 0.04));
}

.store-links {
  display: grid;
  gap: 12px;
}

.store-link {
  min-height: 68px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius);
  background: #090909;
  text-decoration: none;
}

.store-link:hover {
  border-color: rgba(244, 226, 142, 0.48);
}

.store-mark {
  width: 32px;
  color: var(--gold);
  font-size: 1.5rem;
  text-align: center;
}

.play-mark {
  font-size: 1.15rem;
}

.store-link small,
.store-link strong {
  display: block;
}

.store-link small {
  color: var(--muted);
  font-size: 0.67rem;
}

.store-link strong {
  color: #fff;
  font-size: 1.12rem;
}

.faq-list {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-list details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.faq-list summary {
  min-height: 64px;
  padding: 19px 34px 19px 0;
  position: relative;
  cursor: pointer;
  color: #fff3d1;
  font-weight: 760;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  right: 4px;
  content: "+";
  color: var(--gold);
  font-size: 1.2rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 720px;
  margin: -4px 0 22px;
  color: var(--muted);
}

.site-footer {
  padding-block: 38px max(38px, env(safe-area-inset-bottom));
}

.footer-layout {
  display: grid;
  gap: 20px;
  color: var(--soft);
  font-size: 0.8rem;
}

.footer-layout p {
  margin: 0;
}

.footer-layout nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.footer-layout nav a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}

.legal-shell {
  width: calc(100vw - 32px);
  max-width: 920px;
  min-height: 100vh;
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 0 max(20px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.legal-header {
  justify-content: space-between;
}

.legal-card {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(9, 7, 7, 0.84);
  box-shadow: var(--shadow);
}

.legal-card h1,
.legal-card h2,
.legal-card p {
  max-width: 760px;
}

.legal-card h1 {
  margin: 0 0 18px;
  color: #fff4da;
  font-size: clamp(2rem, 7vw, 4.4rem);
  line-height: 0.95;
}

.legal-card h2 {
  margin: 30px 0 10px;
  color: #fff4da;
  font-size: 1.05rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  display: grid;
  gap: 10px;
  max-width: 800px;
  margin: 14px 0 0;
  padding-left: 22px;
}

.legal-note {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.9rem;
}

body[data-state="success"] {
  --line-strong: rgba(114, 225, 184, 0.36);
}

body[data-state="success"] .system-dot {
  background: var(--green);
  box-shadow: 0 0 18px rgba(114, 225, 184, 0.8);
}

body[data-state="cancel"] .system-dot {
  background: var(--amber);
  box-shadow: 0 0 18px rgba(244, 179, 142, 0.8);
}

body[data-state="processing"] .system-dot {
  background: var(--blue);
  box-shadow: 0 0 18px rgba(139, 185, 255, 0.8);
}

body[data-state="unknown"] .system-dot {
  background: var(--soft);
  box-shadow: 0 0 18px rgba(185, 175, 161, 0.4);
}

@media (min-width: 720px) {
  .section-wrap,
  .site-header-inner {
    width: min(calc(100% - 72px), 1180px);
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
    align-items: end;
    padding-block: 100px;
  }

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

  .problem-grid article {
    padding: 30px;
  }

  .problem-grid article:nth-child(odd) {
    padding-left: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .audience-layout,
  .client-layout,
  .download-layout,
  .faq-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(56px, 8vw, 118px);
  }

  .audience-layout .access-flow {
    grid-column: 1 / -1;
  }

  .access-flow ol {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
  }

  .access-flow li {
    display: grid;
    gap: 8px;
    align-content: start;
  }

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

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

  .footer-layout {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .footer-layout p {
    text-align: center;
  }

  .shell {
    gap: 22px;
    padding-top: max(24px, env(safe-area-inset-top));
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }

  .hero-composition {
    grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
    align-items: center;
    min-height: 438px;
    padding: 38px;
  }

  .emblem-stage {
    min-height: 380px;
  }

  .activation-readout {
    right: 20px;
    bottom: 26px;
  }

  .status-rail,
  .next-section,
  .cta-panel {
    margin-left: 38px;
    margin-right: 38px;
  }

  .status-rail {
    padding-top: 18px;
  }

  .rail-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rail-item {
    min-height: 72px;
    padding: 38px 12px 0 0;
    align-items: flex-start;
  }

  .rail-item::before {
    left: 0;
    top: 13px;
    transform: none;
  }

  .rail-item::after {
    left: 24px;
    top: 20px;
    width: calc(100% - 34px);
    height: 1px;
    background: linear-gradient(to right, rgba(244, 226, 142, 0.35), transparent);
  }

  .next-section {
    padding: 26px 0 0;
  }

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

  .steps li {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 96px;
  }

  .cta-panel {
    padding: 26px 0 36px;
  }

  .button-row {
    grid-template-columns: minmax(190px, 0.8fr) minmax(168px, 0.7fr) minmax(170px, 0.68fr);
    align-items: center;
  }

  .footer-note {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1060px) {
  .primary-nav {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
  }

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

  .problem-grid article,
  .problem-grid article:nth-child(odd) {
    padding: 34px 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .problem-grid article:first-child {
    padding-left: 0;
  }

  .problem-grid article:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .process-list li {
    grid-template-columns: 70px minmax(220px, 0.72fr) minmax(280px, 1fr);
    align-items: baseline;
    gap: 24px;
  }

  .process-list li div {
    display: contents;
  }

  .hero-composition {
    padding: 46px 48px;
  }

  .brand-logo {
    width: 112px;
  }
}

@media (max-width: 380px) {
  .section-wrap,
  .site-header-inner {
    width: min(calc(100% - 24px), 1180px);
  }

  .nav-cta {
    padding-inline: 11px;
    font-size: 0.72rem;
  }

  .site-header .brand-symbol-shell {
    display: none;
  }

  .site-header .brand-logo {
    width: 82px;
  }

  .marketing-view h1 {
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  .shell {
    width: calc(100vw - 22px);
  }

  .hero-composition,
  .next-section,
  .cta-panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .status-rail {
    margin-left: 16px;
    margin-right: 16px;
  }

  .system-chip {
    max-width: 42vw;
  }

  h1,
  .return-title {
    font-size: clamp(1.92rem, 9.5vw, 2.35rem);
    line-height: 0.98;
  }
}

@media (max-width: 520px) {
  h1,
  .return-title {
    font-size: clamp(2rem, 9.5vw, 2.55rem);
    line-height: 0.98;
  }
}

@media (max-width: 380px) {
  h1,
  .return-title {
    font-size: clamp(1.92rem, 9.5vw, 2.35rem);
  }
}

@media (max-width: 720px) {
  body::before,
  .beam-one,
  .beam-two,
  .particle-field {
    animation: none;
  }

  .beam {
    opacity: 0.24;
    filter: blur(8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@keyframes field-drift {
  from {
    transform: translateX(-10%) translateY(-2%);
  }
  to {
    transform: translateX(8%) translateY(2%);
  }
}

@keyframes beam-slide {
  from {
    translate: -4vw 0;
  }
  to {
    translate: 4vw 3vh;
  }
}

@keyframes particles {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(36px, -48px, 0);
  }
}

@keyframes spin-mark {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Product-led marketing. Kept separate from the billing-return surface. */
/* The fixed field is decorative; all content stays in its original document flow. */
.marketing-view { position: relative; isolation: isolate; }
.marketing-view > main, .marketing-view > .site-footer { position: relative; z-index: 1; }
.marketing-view > .ambient-flow {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  contain: strict;
}
.marketing-view > .ambient-flow[data-ready] { display: block; }

.marketing-view {
  --product-line: rgba(244, 226, 142, 0.19);
  --product-muted: #bfb5a7;
}

.marketing-view .marketing-section { padding-block: clamp(72px, 8vw, 116px); }
.marketing-view .section-wrap { max-width: 1180px; }
.marketing-view .eyebrow { font-size: 0.78rem; letter-spacing: 0.12em; }
.marketing-view .quiet-note { color: var(--product-muted) !important; font-size: 0.875rem !important; }
.marketing-view h1 { font-size: clamp(2.65rem, 5.05vw, 4.65rem); line-height: 1.04; letter-spacing: -0.047em; }
.marketing-view h2 { font-size: clamp(2.2rem, 4.3vw, 3.8rem); line-height: 1.08; }
.marketing-view h2 span { color: var(--gold); }
.marketing-view .hero-layout { grid-template-columns: minmax(0, 1fr); align-items: center; gap: 56px; padding-block: 56px 64px; }
.marketing-view .hero-copy { max-width: 680px; }
.marketing-view .hero-lead { max-width: 600px; font-size: clamp(1.05rem, 1.45vw, 1.18rem); line-height: 1.7; }
.marketing-view .principle { font-size: 1.08rem; }
.eyebrow-rule { display: inline-block; width: 26px; height: 1px; margin-right: 6px; background: var(--gold-2); vertical-align: middle; }
.marketing-view .marketing-button { gap: 10px; font-size: 0.95rem; text-align: center; cursor: pointer; transition: border-color 160ms ease, box-shadow 160ms ease; }
.marketing-view .button-gold:hover { box-shadow: 0 4px 30px rgba(201, 155, 56, 0.18); }
.marketing-view .button-outline:hover { border-color: var(--gold-2); }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-block: 12px; color: var(--gold); font-weight: 650; text-underline-offset: 5px; }
.hero-demo-link { margin-top: 18px; font-size: 0.9rem; }

.hero-product, .product-proof, .judgment-proof { min-width: 0; margin: 0; }
.hero-product { width: min(100%, 350px); justify-self: center; }
.product-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; color: #dacbae; font-size: 0.8rem; font-weight: 650; }
.product-label > span:not(.product-marker) { color: var(--product-muted); white-space: nowrap; font-weight: 450; }
.hero-product .product-label { justify-content: center; }
.product-marker { width: 6px; height: 6px; border: 1px solid var(--gold); border-radius: 50%; }
.product-frame { padding: 8px; border: 1px solid rgba(244, 226, 142, 0.3); border-radius: 22px; background: linear-gradient(145deg, #292118, #0b0908 40%, #201818); box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(244, 226, 142, 0.025); }
.product-frame img, .product-frame video { display: block; width: 100%; height: auto; aspect-ratio: 6 / 13; object-fit: contain; background: #000; }
.product-frame video:focus-visible { outline-offset: 2px; }
.hero-product-frame { box-shadow: 0 30px 85px #0009, 32px 12px 110px rgba(87, 7, 12, 0.26), 0 0 0 4px rgba(244, 226, 142, 0.025); }
.hero-product figcaption { display: grid; gap: 3px; margin-top: 20px; text-align: center; font-size: 0.85rem; color: var(--product-muted); }
.hero-product figcaption strong { font-weight: 650; color: #e9dcc3; }

.problem-layout { display: grid; gap: 28px; }
.problem-layout .section-intro { margin-bottom: 0; }
.problem-copy > p { margin-top: 0; color: var(--product-muted); font-size: 1.08rem; line-height: 1.75; }
.value-list { padding: 0; margin: 24px 0 0; list-style: none; }
.value-list li { padding: 16px 0 16px 20px; border-top: 1px solid var(--line); position: relative; }
.value-list li::before { content: ""; position: absolute; left: 0; top: 25px; width: 5px; height: 5px; background: var(--gold-2); }
.marketing-view .process-section { background: linear-gradient(180deg, #100c0b99, #06040433); }
.workflow-track { display: grid; padding: 0; margin: 48px 0 0; list-style: none; }
.workflow-track li { position: relative; padding: 0 0 34px 64px; }
.workflow-track li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 43px; bottom: 0; width: 1px; background: linear-gradient(var(--gold-2), var(--product-line)); }
.workflow-number { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--product-line); border-radius: 50%; color: var(--gold); font-size: 0.85rem; background: #110d09; }
.workflow-track h3 { padding-top: 9px; }
.workflow-track p { margin: 8px 0 0; color: var(--product-muted); line-height: 1.65; }

.product-chapter { position: relative; border-block: 1px solid #ffffff0b; }
.coach-chapter { background: radial-gradient(ellipse at 90% 45%, #b77a1910, transparent 55%); }
.proof-layout, .judgment-layout { display: grid; align-items: center; gap: 48px; }
.proof-copy > p:not(.eyebrow):not(.quiet-note), .judgment-copy > p:not(.eyebrow):not(.judgment-principle) { max-width: 520px; color: var(--product-muted); font-size: 1.1rem; line-height: 1.75; }
.product-proof { width: min(100%, 380px); justify-self: center; }
.proof-details { margin: 32px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.proof-details li { padding: 19px 0; display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 20px; border-bottom: 1px solid var(--line); }
.proof-details li > span { color: var(--gold); font-weight: 650; }
.proof-details p { margin: 0; color: var(--product-muted); }
.media-actions { min-height: 66px; margin-top: 18px; }
.media-play { width: 100%; }
.product-proof figcaption, .judgment-proof figcaption { margin-top: 10px; color: var(--product-muted); font-size: 0.875rem; line-height: 1.65; }
.synthetic-note { display: block; margin-top: 10px; color: var(--product-muted); font-size: 0.8rem; }
.media-status { color: var(--gold); font-size: 0.875rem; line-height: 1.6; margin: 8px 0; }
.judgment-section { background: linear-gradient(120deg, #1c0b0d99, #080605); }
.judgment-proof { width: min(100%, 330px); justify-self: center; }
.secondary-frame img { aspect-ratio: 720 / 1246; }
.judgment-principle { margin: 30px 0 0; padding-left: 20px; border-left: 2px solid var(--gold-2); color: #eddfbf; font-size: 1.12rem; }
.client-chapter { background: radial-gradient(ellipse at 8% 50%, #57070c26, transparent 55%); }
.client-outcomes { list-style: none; padding: 0; margin: 30px 0 24px; }
.client-outcomes li { margin-bottom: 20px; color: var(--product-muted); }
.client-outcomes strong { display: block; margin-bottom: 3px; color: #f4ead4; font-weight: 650; }

.marketing-view .complete-demo-section { padding-block: 40px 80px; }
.complete-demo-panel { display: grid; align-items: center; gap: 30px; padding: clamp(26px, 5vw, 64px); border: 1px solid var(--product-line); border-radius: 18px; background: radial-gradient(ellipse at 100% 0, #57070c55, transparent 65%), linear-gradient(120deg, #20190fbb, #0c0708); }
.complete-demo-panel h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
.complete-demo-panel p:not(.eyebrow):not(.demo-sequence) { max-width: 540px; color: var(--product-muted); }
.demo-sequence { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 26px 0 0; color: #e9dab7; font-size: 0.875rem; }
.demo-sequence span { color: var(--gold-2); }
.complete-demo-action > .marketing-button { width: 100%; }
.complete-demo-action > p { text-align: center; }
.marketing-view .pricing-card { border-radius: 14px; padding: 28px; }
.marketing-view .public-plan-price { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; }
.marketing-view .identity-intro { margin-inline: auto; text-align: center; }
.marketing-view .identity-intro > p:last-child { margin-inline: auto; }
.final-cta-section { background: radial-gradient(ellipse at 50% 0, #57070c35, transparent 65%); border-block: 1px solid var(--line); }
.final-cta-copy { max-width: 850px; margin: 0 auto 56px; text-align: center; }
.final-cta-copy > p:not(.eyebrow) { color: var(--product-muted); font-size: 1.3rem; }
.final-cta-copy .hero-actions { justify-content: center; }
.marketing-view .access-flow { background: #ffffff03; border-color: var(--line); border-radius: 12px; }
.marketing-view .access-flow li span { font-size: 0.85rem; }
.marketing-view .footer-layout { color: var(--product-muted); }

/* Navigation remains usable without JavaScript; enhancement collapses it on narrow screens. */
.marketing-view .site-header-inner { flex-wrap: wrap; gap: 16px; padding-block: 14px; }
.marketing-view .primary-nav { order: 4; display: flex; flex-wrap: wrap; width: 100%; gap: 8px 22px; margin: 0; font-size: 0.875rem; }
.marketing-view .primary-nav a { padding-block: 10px; }
.marketing-view .nav-cta { margin-left: auto; font-size: 0.875rem; }
.nav-toggle { margin-left: auto; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: transparent; cursor: pointer; font-size: 0.875rem; }
.site-header[data-nav-enhanced] .nav-cta { margin-left: 0; }
.site-header[data-nav-enhanced] .primary-nav { display: none; }
.site-header[data-menu-open="true"] .primary-nav { display: flex; }

/* Native dialog supplies modality, focus containment and Escape behavior. */
.marketing-view .product-demo-dialog { width: min(900px, calc(100vw - 24px)); max-height: calc(100svh - 24px); margin: auto; padding: 20px; border: 1px solid var(--product-line); border-radius: 16px; color: var(--text); background: #0d0909; box-shadow: 0 28px 100px #000c; }
.product-demo-dialog::backdrop { background: #000d; }
.demo-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.demo-dialog-header .eyebrow { margin-bottom: 6px; }
.marketing-view .demo-dialog-header h2 { margin: 0; font-size: clamp(1.15rem, 3vw, 1.5rem); }
.demo-close { flex-shrink: 0; padding: 10px 14px; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #201811; color: var(--text); cursor: pointer; }
.demo-close span { margin-left: 10px; }
.product-demo-dialog video { display: block; width: auto; height: min(70svh, 720px); max-width: 100%; max-height: calc(100svh - 240px); margin-inline: auto; aspect-ratio: 6 / 13; object-fit: contain; background: #000; }
.demo-dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.demo-dialog-footer .synthetic-note { margin: 0; }
body.marketing-demo-open { overflow-y: hidden; }

@media (min-width: 900px) {
  .marketing-view .hero-layout { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr); gap: 64px; }
  .hero-product { width: min(100%, 320px); }
  .problem-layout { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .proof-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 108px); }
  .client-proof-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .client-proof-layout .proof-copy { grid-column: 2; grid-row: 1; }
  .client-proof-layout .product-proof { grid-column: 1; grid-row: 1; }
  .judgment-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 80px; }
  .complete-demo-panel { grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.9fr); gap: 44px; }
}

@media (min-width: 768px) {
  .identity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-track { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .workflow-track li { padding: 66px 8px 0 0; }
  .workflow-track li:not(:last-child)::after { left: 44px; right: -24px; top: 21px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--gold-2), var(--product-line)); }
}

@media (min-width: 1120px) {
  .marketing-view .site-header-inner { flex-wrap: nowrap; gap: 26px; padding-block: 0; }
  .marketing-view .primary-nav, .site-header[data-nav-enhanced] .primary-nav { order: initial; display: flex; flex-wrap: nowrap; width: auto; margin-left: auto; gap: 20px; font-size: 0.84rem; }
  .marketing-view .nav-cta { margin-left: 0; }
  .nav-toggle { display: none; }
}

@media (max-width: 899px) {
  .hero-product { width: min(100%, 380px); }
  .proof-copy, .judgment-copy { max-width: 640px; }
  .marketing-view .hero-layout { gap: 44px; }
  .marketing-view .download-layout, .marketing-view .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .marketing-view .footer-layout { grid-template-columns: 1fr; }
  .marketing-view .footer-layout p { text-align: left; }
}

@media (max-width: 719px) {
  .marketing-view .section-wrap, .marketing-view .site-header-inner { width: calc(100% - 40px); }
  .marketing-view .hero-actions { flex-direction: column; align-items: stretch; }
  .marketing-view .hero-layout { padding-top: 40px; }
  .marketing-view .hero-product { width: 100%; max-width: 380px; }
  .marketing-view .site-header .brand-symbol-shell { display: none; }
  .marketing-view .site-header .brand-logo { width: 88px; }
  .marketing-view .site-header-inner { gap: 10px; }
  .marketing-view .nav-cta { padding-inline: 12px; font-size: 0.8rem; }
  .product-frame { padding: 6px; border-radius: 18px; }
  .proof-details li { grid-template-columns: 75px minmax(0, 1fr); gap: 14px; }
  .complete-demo-panel { padding: 28px 20px; }
  .marketing-view .public-plan-price { font-size: 2rem; }
  .marketing-view .product-demo-dialog { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .marketing-view *, .marketing-view *::before, .marketing-view *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
