:root {
  color-scheme: dark;
  --void: #020304;
  --void-2: #06080d;
  --panel: rgba(12, 15, 22, 0.78);
  --panel-strong: rgba(9, 12, 18, 0.92);
  --ink: #f2f6fb;
  --muted: rgba(235, 243, 251, 0.68);
  --dim: rgba(235, 243, 251, 0.44);
  --line: rgba(235, 243, 251, 0.12);
  --line-strong: rgba(111, 255, 227, 0.32);
  --cyan: #27d8f4;
  --aqua: #68ffe4;
  --green: #65f3ad;
  --violet: #a98cff;
  --gold: #d9bc60;
  --danger: #ff768f;
  --font-display: "Orbitron", "Exo 2", system-ui, sans-serif;
  --font-body: "Exo 2", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1180px;
  --radius-soft: 10px;
  --radius-pill: 999px;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 22px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--void);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(39, 216, 244, 0.08), transparent 30rem),
    radial-gradient(circle at 82% 28%, rgba(169, 140, 255, 0.07), transparent 28rem),
    var(--void);
  color: var(--ink);
  font-family: var(--font-body);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 50% 35%, #000 16%, transparent 76%);
  pointer-events: none;
  content: "";
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 1050px;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  line-height: 0.96;
  text-align: center;
}

h1 span,
h2 span {
  color: var(--aqua);
}

h2 {
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.02;
}

h3 {
  font-size: 1rem;
  line-height: 1.16;
}

main {
  overflow: hidden;
}

.site-video,
.section-video,
.footer-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.webflow-landing {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid rgba(111, 255, 227, 0.18);
  isolation: isolate;
}

.webflow-landing::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 72%, rgba(255, 255, 255, 0.07), transparent 18rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.48));
  content: "";
}

.webflow-landing::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 8%, rgba(111, 255, 227, 0.16), transparent 33%),
    radial-gradient(circle at 80% 22%, rgba(169, 140, 255, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(6, 8, 13, 0), rgba(6, 8, 13, 0.48) 55%, rgba(2, 3, 4, 0.9));
  mix-blend-mode: screen;
  pointer-events: none;
  content: "";
}

.webflow-landing .site-video {
  opacity: 0.98;
  filter: brightness(1.13) saturate(1.15) contrast(1.05);
  transform: translateY(205px) scale(1.04);
  transform-origin: top center;
}

.main-logo {
  position: absolute;
  top: 152px;
  left: 50%;
  width: clamp(450px, 50vw, 715px);
  transform: translate(-50%, -50%);
}

.main-logo img,
.brand-lockup img,
.mobile-brand img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1472 / 832;
  object-fit: contain;
}

.main-logo img {
  opacity: 0.98;
  filter: drop-shadow(0 0 22px rgba(180, 210, 224, 0.18));
}

.site-nav {
  position: absolute;
  top: 352px;
  left: 50%;
  z-index: 5;
  transform: translateX(-50%);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.5vw, 22px);
  border: 1px solid rgba(235, 243, 251, 0.14);
  border-radius: var(--radius-pill);
  padding: 10px 14px;
  background: rgba(6, 9, 14, 0.68);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.desktop-nav a:not(.tr4-button) {
  transition: color 160ms ease, text-shadow 160ms ease;
}

.desktop-nav a:not(.tr4-button):hover,
.desktop-nav a[aria-current="page"] {
  color: #fff;
  text-shadow: 0 0 18px rgba(111, 255, 227, 0.34);
}

.nav-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.54);
}

.mobile-shell {
  position: fixed;
  top: 10px;
  right: 10px;
  left: 10px;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.mobile-brand {
  width: 152px;
  opacity: 0.96;
  pointer-events: auto;
}

.mobile-brand img {
  display: block;
  width: 100%;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(235, 243, 251, 0.18);
  border-radius: 8px;
  background: rgba(9, 12, 18, 0.78);
  color: var(--ink);
  pointer-events: auto;
  backdrop-filter: blur(14px);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.mobile-menu {
  position: fixed;
  top: 62px;
  right: 10px;
  left: 10px;
  z-index: 49;
  display: none;
  max-width: 390px;
  margin-left: auto;
  border: 1px solid rgba(235, 243, 251, 0.12);
  border-radius: 8px;
  padding: 8px;
  background: rgba(9, 12, 18, 0.96);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(20px);
}

body.nav-open .mobile-menu {
  display: grid;
}

.mobile-menu a {
  min-height: 44px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  padding: 0 12px;
  color: rgba(242, 246, 251, 0.8);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mobile-menu a:hover,
.mobile-menu a[aria-current="page"] {
  background: rgba(111, 255, 227, 0.09);
  color: var(--aqua);
}

.mobile-rail {
  position: absolute;
  right: 14px;
  bottom: 20px;
  left: 14px;
  z-index: 4;
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.mobile-rail a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(235, 243, 251, 0.15);
  border-radius: 8px;
  padding: 0 6px;
  background: rgba(0, 0, 0, 0.48);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.shell-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 88px;
  border-bottom: 1px solid rgba(235, 243, 251, 0.1);
  padding: 14px clamp(18px, 5vw, 70px);
  background: rgba(2, 3, 4, 0.88);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  width: clamp(180px, 20vw, 280px);
}

.section-shell,
.content-band,
.page-hero,
.member-section,
.builder-section,
.store-section,
.plain-band {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 6vw, 96px);
}

.page-hero,
.content-band,
.plain-band {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(235, 243, 251, 0.08);
  background: var(--void-2);
  isolation: isolate;
}

.page-hero {
  min-height: 430px;
  display: grid;
  place-items: center;
  text-align: center;
}

.page-hero::after,
.content-band.video-band::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 3, 4, 0.72), rgba(2, 3, 4, 0.18), rgba(2, 3, 4, 0.78)),
    linear-gradient(180deg, rgba(2, 3, 4, 0.16), rgba(2, 3, 4, 0.82));
  content: "";
}

.page-hero .section-video,
.content-band.video-band .section-video {
  opacity: 0.72;
  filter: brightness(0.94) saturate(1.18) contrast(1.04);
}

.hero-copy,
.band-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero-copy {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.eyebrow,
.section-label,
.result-kicker {
  color: rgba(39, 216, 244, 0.9);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-line {
  max-width: 900px;
  border-top: 1px solid rgba(235, 243, 251, 0.1);
  border-bottom: 1px solid rgba(235, 243, 251, 0.1);
  padding: 22px 0;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.lead,
.copy-block {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.24rem);
  line-height: 1.62;
}

.lead {
  max-width: 860px;
}

.lead strong,
.copy-block strong {
  color: var(--ink);
  font-weight: 800;
}

.lead em,
.copy-block em {
  color: var(--aqua);
  font-style: normal;
  font-weight: 800;
}

.copy-block {
  display: grid;
  gap: 22px;
  max-width: 1050px;
  margin: 26px auto 0;
  text-align: center;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  justify-content: center;
  margin-top: var(--space-1);
}

.tr4-button,
.action-button,
.ghost-button,
.text-button,
.payment-switch button,
.provider {
  -webkit-tap-highlight-color: transparent;
}

.text-button {
  justify-self: start;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tr4-button,
.action-button,
.ghost-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--radius-pill);
  padding: 0 22px;
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease, filter 160ms ease;
}

.tr4-button.primary,
.action-button {
  border: 1px solid rgba(111, 255, 227, 0.38);
  background:
    linear-gradient(135deg, rgba(223, 255, 248, 0.96), rgba(104, 255, 228, 0.94)),
    var(--aqua);
  color: #020304;
  box-shadow: 0 18px 44px rgba(104, 255, 228, 0.18);
}

.tr4-button.secondary,
.ghost-button,
.nav-button {
  border: 1px solid rgba(235, 243, 251, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(235, 243, 251, 0.03));
  color: var(--ink);
}

.tr4-button.gold {
  border-color: rgba(217, 188, 96, 0.46);
  background: linear-gradient(135deg, #f6df8a, var(--gold));
  color: #020304;
}

.tr4-button:hover,
.action-button:hover:not(:disabled),
.ghost-button:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.tr4-button.primary:hover,
.action-button:hover:not(:disabled) {
  box-shadow: 0 24px 56px rgba(104, 255, 228, 0.26);
}

.tr4-button.secondary:hover,
.ghost-button:hover:not(:disabled),
.nav-button:hover {
  border-color: rgba(111, 255, 227, 0.34);
  background: linear-gradient(180deg, rgba(111, 255, 227, 0.16), rgba(111, 255, 227, 0.07));
}

.tr4-button svg,
.action-button svg,
.ghost-button svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tr4-button:disabled,
.action-button:disabled,
.ghost-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.split-grid,
.member-section,
.builder-section,
.store-section {
  width: min(100%, var(--max));
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(340px, 1.15fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: start;
  margin: 0 auto;
}

.narrative-grid,
.route-grid,
.value-grid,
.protocol-grid,
.product-grid,
.protocol-family-grid,
.bridge-list {
  width: min(100%, var(--max));
  display: grid;
  gap: 14px;
  margin: 34px auto 0;
}

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

.protocol-family-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

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

.route-card,
.value-card,
.product-card,
.protocol-family-card,
.protocol-card,
.workflow-card,
.login-panel,
.builder-workbench,
.result-panel,
.intent-output {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 85% 12%, rgba(111, 255, 227, 0.09), transparent 30%),
    var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.route-card,
.value-card,
.product-card,
.protocol-family-card,
.protocol-card {
  position: relative;
  overflow: hidden;
  min-height: 214px;
  padding: 22px;
}

.route-card::before,
.value-card::before,
.product-card::before,
.protocol-family-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 40%, rgba(39, 216, 244, 0.08)),
    radial-gradient(circle at calc(var(--family-index, 1) * 18%) 0%, rgba(104, 255, 228, 0.11), transparent 42%);
  opacity: 0;
  transition: opacity 160ms ease;
  content: "";
}

.route-card > *,
.value-card > *,
.product-card > *,
.protocol-family-card > * {
  position: relative;
  z-index: 1;
}

.route-card:hover::before,
.value-card:hover::before,
.product-card:hover::before,
.protocol-family-card:hover::before {
  opacity: 1;
}

.route-card h3,
.value-card h3,
.product-card h3,
.protocol-family-card h3,
.protocol-card strong {
  display: block;
  margin-top: 18px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.04rem;
  text-transform: uppercase;
}

.route-card p,
.value-card p,
.product-card p,
.protocol-family-card p,
.protocol-card span,
.protocol-card small,
.muted,
.hint,
.status-line {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.46;
}

.route-card p,
.value-card p,
.product-card p,
.protocol-family-card p {
  margin-top: 14px;
}

.protocol-family-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto;
  gap: 12px;
  min-height: 390px;
}

.family-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.family-subtitle {
  margin-top: 0 !important;
  color: var(--aqua) !important;
  font-family: var(--font-mono);
  font-size: 0.74rem !important;
  font-weight: 900;
  text-transform: uppercase;
}

.claim-badge {
  border: 1px solid rgba(235, 243, 251, 0.14);
  border-radius: var(--radius-pill);
  padding: 6px 9px;
  background: rgba(235, 243, 251, 0.045);
  color: var(--muted);
}

.claim-low {
  border-color: rgba(101, 243, 173, 0.32);
  color: var(--green);
}

.claim-medium {
  border-color: rgba(217, 188, 96, 0.38);
  color: var(--gold);
}

.claim-high {
  border-color: rgba(255, 118, 143, 0.34);
  color: var(--danger);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: end;
}

.pill-list span {
  border: 1px solid rgba(111, 255, 227, 0.16);
  border-radius: var(--radius-pill);
  padding: 7px 9px;
  background: rgba(111, 255, 227, 0.06);
  color: rgba(235, 243, 251, 0.74);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pathway-engine-preview {
  width: min(100%, var(--max));
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 14px;
  margin: 34px auto 0;
}

.pathway-column {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background:
    radial-gradient(circle at 15% 0%, rgba(217, 188, 96, 0.09), transparent 34%),
    radial-gradient(circle at 90% 18%, rgba(111, 255, 227, 0.08), transparent 36%),
    var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.pathway-column h3 {
  margin-bottom: 18px;
}

.pathway-chip-grid,
.venue-route-list {
  display: grid;
  gap: 10px;
}

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

.pathway-chip-grid article,
.venue-route-list div,
.brief-line {
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 8px;
  padding: 12px;
  background: rgba(235, 243, 251, 0.035);
}

.pathway-chip-grid strong,
.venue-route-list strong,
.brief-line strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pathway-chip-grid span,
.venue-route-list span,
.brief-line span,
.pathway-chip-grid small,
.venue-route-list small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.pathway-chip-grid small,
.venue-route-list small {
  color: var(--dim);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.pathway-brief-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.pathway-brief-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.48;
}

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: var(--radius-soft);
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.detail-hero-media {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border: 1px solid rgba(235, 243, 251, 0.14);
  border-radius: 8px;
  background: rgba(6, 10, 13, 0.56);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.detail-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.06);
}

.detail-hero-tags {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.detail-hero-tags span {
  border: 1px solid rgba(235, 243, 251, 0.18);
  border-radius: var(--radius-pill);
  padding: 6px 8px;
  background: rgba(2, 3, 4, 0.72);
  color: rgba(235, 243, 251, 0.82);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.category-route-strip {
  width: min(100%, 760px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.category-route-strip article {
  min-height: 96px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  border: 1px solid rgba(111, 255, 227, 0.16);
  border-radius: 8px;
  padding: 10px;
  background:
    radial-gradient(circle at 100% 0%, rgba(111, 255, 227, 0.08), transparent 42%),
    rgba(2, 6, 8, 0.42);
}

.category-route-strip span {
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.category-route-strip strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 0.9;
}

.category-route-strip small {
  color: var(--muted);
  line-height: 1.35;
}

body[data-page="product"] .page-hero,
body[data-page="category"] .page-hero {
  min-height: 0;
  padding-top: clamp(30px, 4vw, 52px);
  padding-bottom: clamp(30px, 4vw, 52px);
}

body[data-page="product"] .hero-copy,
body[data-page="category"] .hero-copy {
  gap: 14px;
}

.vector-mark,
.provider-icon,
.mini-vector {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(111, 255, 227, 0.22);
  border-radius: 8px;
  background: rgba(111, 255, 227, 0.085);
  color: var(--green);
  transform: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.vector-mark {
  width: 52px;
  height: 52px;
}

.provider-icon,
.mini-vector {
  width: 34px;
  height: 34px;
}

.vector-mark svg,
.provider-icon svg,
.mini-vector svg {
  width: 58%;
  height: 58%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vector-cyan {
  border-color: rgba(39, 216, 244, 0.26);
  background: rgba(39, 216, 244, 0.1);
  color: #72dff5;
}

.vector-violet {
  border-color: rgba(169, 140, 255, 0.28);
  background: rgba(169, 140, 255, 0.12);
  color: var(--violet);
}

.vector-gold {
  border-color: rgba(217, 188, 96, 0.34);
  background: rgba(217, 188, 96, 0.1);
  color: var(--gold);
}

.modalities-section {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 8vw, 96px) clamp(18px, 6vw, 96px);
  border-bottom: 1px solid rgba(235, 243, 251, 0.08);
  background: #000;
  isolation: isolate;
}

.modalities-section::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 46%, rgba(39, 216, 244, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.8));
  content: "";
}

.modalities-head {
  width: min(100%, var(--max));
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: 0 auto 40px;
  text-align: center;
}

.modalities-head h2 {
  max-width: 1120px;
}

.modalities-head p:not(.eyebrow) {
  max-width: 710px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.48;
}

.modality-grid {
  width: min(100%, 1260px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
  perspective: 1200px;
}

.modality-card {
  position: relative;
  min-height: 285px;
  display: grid;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  border: 1px solid rgba(235, 243, 251, 0.14);
  border-radius: 8px;
  padding: 26px;
  background: rgba(10, 12, 16, 0.88);
  color: var(--ink);
  text-align: center;
  transform-style: preserve-3d;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.modality-card::before,
.modality-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
}

.modality-card::before {
  background:
    radial-gradient(circle at 50% 38%, rgba(230, 250, 255, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(111, 255, 227, 0.08), transparent 36%, rgba(80, 160, 255, 0.09));
  opacity: 0.66;
}

.modality-card::after {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 32%, rgba(39, 216, 244, 0.08));
  opacity: 0;
  transition: opacity 180ms ease;
}

.modality-card:hover,
.modality-card:focus-within,
.modality-card.is-open {
  border-color: rgba(111, 255, 227, 0.34);
  background: rgba(9, 12, 20, 0.94);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.44), inset 0 0 0 1px rgba(111, 255, 227, 0.05);
}

.modality-card:hover::after,
.modality-card:focus-within::after,
.modality-card.is-open::after {
  opacity: 1;
}

.prism-card::before {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.22), transparent 24%),
    conic-gradient(from 110deg, rgba(111, 255, 227, 0.16), rgba(169, 140, 255, 0.16), rgba(217, 188, 96, 0.12), rgba(111, 255, 227, 0.16));
}

.modality-card p {
  color: rgba(111, 255, 227, 0.64);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.modality-card h3 {
  margin-top: 18px;
  font-size: 1.14rem;
}

.modality-card small {
  max-width: 390px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.42;
}

.detail-card,
.modality-card.is-open {
  justify-items: start;
  text-align: left;
}

.reveal-link {
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-copy {
  max-width: 720px;
}

.section-copy p:not(.section-label) {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.62;
}

.login-panel,
.builder-workbench {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.panel-title,
.workflow-card {
  display: flex;
  gap: 12px;
  align-items: center;
}

.panel-title {
  border-bottom: 1px solid rgba(235, 243, 251, 0.09);
  padding-bottom: 14px;
}

.panel-title strong,
.workflow-card strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.8rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.panel-title span:not(.mini-vector),
.workflow-card span:not(.mini-vector) {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.onboarding-steps {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.workflow-card {
  min-height: 86px;
  padding: 15px;
}

.field-grid,
.inline-form,
.goal-list,
.provider-grid {
  display: grid;
  gap: 10px;
}

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

.inline-form {
  grid-template-columns: minmax(0, 1fr) auto;
}

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

.member-state {
  min-height: 46px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(111, 255, 227, 0.22);
  border-radius: 8px;
  padding: 11px 13px;
  background: rgba(111, 255, 227, 0.08);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.auth-form {
  display: grid;
  gap: 8px;
}

label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
}

input,
select,
.auth-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(235, 243, 251, 0.16);
  border-radius: var(--radius-soft);
  padding: 0 14px;
  background: rgba(235, 243, 251, 0.06);
  color: var(--ink);
  outline: none;
}

.auth-form textarea {
  min-height: 92px;
  padding: 13px 14px;
  resize: vertical;
}

.field-grid input,
.field-grid select {
  display: block;
  margin-top: 7px;
}

select {
  appearance: none;
  padding-right: 34px;
  background:
    linear-gradient(45deg, transparent 50%, rgba(111, 255, 227, 0.9) 50%) calc(100% - 18px) 20px / 6px 6px no-repeat,
    linear-gradient(135deg, rgba(111, 255, 227, 0.9) 50%, transparent 50%) calc(100% - 12px) 20px / 6px 6px no-repeat,
    rgba(235, 243, 251, 0.06);
}

input:focus,
select:focus,
.auth-form textarea:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(111, 255, 227, 0.1);
}

.wallet-login-form {
  border: 1px solid rgba(111, 255, 227, 0.14);
  border-radius: 8px;
  padding: 12px;
  background: rgba(111, 255, 227, 0.035);
}

.wallet-login-status {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(122, 206, 255, 0.2);
  border-radius: 8px;
  padding: 10px;
  background: rgba(122, 206, 255, 0.06);
}

.wallet-login-status strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wallet-login-status small {
  color: var(--muted);
  line-height: 1.4;
}

.wallet-login-status.ready {
  border-color: rgba(111, 255, 227, 0.26);
  background: rgba(111, 255, 227, 0.06);
}

.wallet-login-status.warn {
  border-color: rgba(245, 187, 96, 0.28);
  background: rgba(245, 187, 96, 0.06);
}

.provider {
  min-height: 118px;
  display: grid;
  align-content: start;
  gap: 9px;
  border: 1px solid rgba(235, 243, 251, 0.12);
  border-radius: 8px;
  padding: 12px;
  background: rgba(235, 243, 251, 0.04);
}

button.provider {
  color: inherit;
  text-align: left;
}

.provider.active {
  border-color: rgba(111, 255, 227, 0.48);
  background: rgba(111, 255, 227, 0.08);
}

.provider-action:hover,
.provider-action:focus-visible {
  border-color: rgba(111, 255, 227, 0.72);
  background: rgba(111, 255, 227, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.provider strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.portal-dashboard {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  margin-top: 10px;
}

.portal-dashboard-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  border: 1px solid rgba(111, 255, 227, 0.2);
  border-radius: 14px;
  padding: clamp(18px, 3vw, 28px);
  background:
    radial-gradient(circle at 10% 0%, rgba(111, 255, 227, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(3, 9, 11, 0.94), rgba(8, 16, 20, 0.78));
}

.portal-dashboard-head h3 {
  max-width: 760px;
  margin: 6px 0 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 3.1rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.portal-dashboard-head p:not(.section-label) {
  max-width: 640px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.dashboard-pill,
.security-status {
  border: 1px solid rgba(235, 243, 251, 0.15);
  border-radius: 999px;
  padding: 10px 13px;
  background: rgba(235, 243, 251, 0.045);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.security-status.live,
.dashboard-pill {
  border-color: rgba(111, 255, 227, 0.46);
  background: rgba(111, 255, 227, 0.1);
  color: var(--aqua);
}

.portal-cockpit {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 14px;
  align-items: stretch;
}

.portal-cockpit-primary,
.portal-cockpit-tile,
.guided-workflow-shell,
.portal-workbench {
  border: 1px solid rgba(235, 243, 251, 0.12);
  border-radius: 16px;
  background:
    radial-gradient(circle at 0% 0%, rgba(111, 255, 227, 0.09), transparent 34%),
    linear-gradient(145deg, rgba(235, 243, 251, 0.05), rgba(235, 243, 251, 0.018)),
    rgba(5, 8, 12, 0.82);
  box-shadow: 0 24px 78px rgba(0, 0, 0, 0.24);
}

.portal-cockpit-primary {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 260px;
  padding: clamp(18px, 3vw, 30px);
}

.portal-cockpit-primary > span,
.portal-cockpit-tile span,
.guided-workflow-shell > summary span,
.portal-workbench > summary span {
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portal-cockpit-primary strong {
  max-width: 720px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.15rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.portal-cockpit-primary p {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.portal-cockpit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portal-cockpit-actions .tr4-button,
.portal-cockpit-actions .action-button {
  min-height: 44px;
}

.portal-cockpit-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.portal-cockpit-tile {
  display: grid;
  gap: 7px;
  min-height: 80px;
  padding: 16px;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.portal-cockpit-tile strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.38rem);
  line-height: 1;
  text-transform: uppercase;
}

.portal-cockpit-tile small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.portal-cockpit-tile:hover,
.portal-cockpit-tile:focus-visible,
.portal-cockpit-tile.is-focused,
.guided-workflow-shell.is-focused,
.portal-workbench.is-focused {
  border-color: rgba(111, 255, 227, 0.42);
  background:
    radial-gradient(circle at 0% 0%, rgba(111, 255, 227, 0.14), transparent 36%),
    linear-gradient(145deg, rgba(235, 243, 251, 0.065), rgba(235, 243, 251, 0.018)),
    rgba(5, 8, 12, 0.9);
  outline: none;
}

.guided-workflow-shell,
.portal-workbench {
  overflow: hidden;
}

.guided-workflow-shell[open],
.portal-workbench[open] {
  border-color: rgba(111, 255, 227, 0.28);
}

.guided-workflow-shell > summary,
.portal-workbench > summary {
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(360px, 1.1fr) minmax(280px, 1fr);
  gap: 14px;
  align-items: center;
  padding: clamp(16px, 2.2vw, 22px);
  cursor: pointer;
  list-style: none;
}

.guided-workflow-shell > summary::-webkit-details-marker,
.portal-workbench > summary::-webkit-details-marker {
  display: none;
}

.guided-workflow-shell > summary strong,
.portal-workbench > summary strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.guided-workflow-shell > summary small,
.portal-workbench > summary small {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.guided-workflow-body,
.portal-workbench-body {
  display: grid;
  gap: 14px;
  border-top: 1px solid rgba(235, 243, 251, 0.08);
  padding: 14px;
}

.current-step-brief {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.36fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(111, 255, 227, 0.2);
  border-radius: 16px;
  padding: clamp(14px, 2vw, 20px);
  background:
    radial-gradient(circle at 0% 0%, rgba(111, 255, 227, 0.12), transparent 42%),
    linear-gradient(135deg, rgba(235, 243, 251, 0.055), rgba(235, 243, 251, 0.018)),
    rgba(3, 8, 11, 0.7);
}

.current-step-brief > div {
  display: grid;
  gap: 6px;
}

.current-step-brief span,
.current-step-brief small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.current-step-brief strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  text-transform: uppercase;
}

.current-step-state {
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 12px;
  padding: 12px;
  background: rgba(235, 243, 251, 0.035);
}

.current-step-brief .action-button {
  color: #020304;
  text-shadow: none;
}

.current-step-brief .action-button svg {
  color: #020304;
}

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

.onboarding-wizard {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(111, 255, 227, 0.22);
  border-radius: 18px;
  padding: clamp(16px, 2.4vw, 24px);
  background:
    radial-gradient(circle at 8% 0%, rgba(111, 255, 227, 0.18), transparent 36%),
    radial-gradient(circle at 100% 80%, rgba(88, 195, 255, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(4, 10, 12, 0.94), rgba(8, 15, 18, 0.78));
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.28);
}

.gateway-command {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(190px, 0.65fr);
  gap: 14px;
  align-items: stretch;
}

.gateway-command > div {
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 16px;
  padding: clamp(14px, 2.2vw, 20px);
  background:
    linear-gradient(135deg, rgba(235, 243, 251, 0.055), rgba(235, 243, 251, 0.018)),
    rgba(3, 8, 11, 0.58);
}

.gateway-command > div:first-child {
  background:
    radial-gradient(circle at 0% 0%, rgba(111, 255, 227, 0.18), transparent 40%),
    linear-gradient(135deg, rgba(235, 243, 251, 0.065), rgba(235, 243, 251, 0.018)),
    rgba(3, 8, 11, 0.68);
}

.gateway-command span,
.gateway-command small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.gateway-command > div:first-child strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 2.6rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.wizard-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: baseline;
  justify-content: space-between;
}

.wizard-status span,
.wizard-status small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wizard-status strong {
  color: var(--aqua);
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 0.9;
}

.guided-workflow-shell .wizard-status strong {
  font-size: clamp(1.55rem, 3vw, 2.7rem);
  overflow-wrap: anywhere;
}

.wizard-progress {
  overflow: hidden;
  height: 9px;
  border: 1px solid rgba(111, 255, 227, 0.2);
  border-radius: 999px;
  background: rgba(235, 243, 251, 0.05);
}

.wizard-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(111, 255, 227, 0.92), rgba(88, 195, 255, 0.78));
  box-shadow: 0 0 24px rgba(111, 255, 227, 0.34);
}

.approval-path {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(235, 243, 251, 0.12);
  border-radius: 16px;
  padding: clamp(16px, 2vw, 22px);
  background: rgba(6, 10, 13, 0.72);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.approval-path-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.8fr) auto;
  gap: 14px;
  align-items: center;
}

.approval-path-summary > div {
  display: grid;
  gap: 5px;
}

.approval-path-summary span,
.approval-timeline span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.approval-path-summary strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: 0.02em;
}

.approval-path-summary small,
.approval-timeline small,
.approval-note {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.approval-note {
  border-left: 2px solid rgba(111, 255, 227, 0.46);
  margin: 0;
  padding: 4px 0 4px 12px;
}

.approval-timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.approval-timeline button {
  display: grid;
  grid-template-rows: 18px auto 1fr;
  gap: 6px;
  min-height: 116px;
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 12px;
  padding: 10px;
  background: rgba(235, 243, 251, 0.035);
  text-align: left;
  cursor: pointer;
}

.approval-timeline button i {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(235, 243, 251, 0.24);
  border-radius: 50%;
  background: rgba(6, 10, 13, 0.64);
}

.approval-timeline button.complete {
  border-color: rgba(111, 255, 227, 0.34);
  background: rgba(111, 255, 227, 0.075);
}

.approval-timeline button.complete i {
  border-color: rgba(111, 255, 227, 0.78);
  background: var(--aqua);
  box-shadow: 0 0 18px rgba(111, 255, 227, 0.26);
}

.wizard-next {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 14px;
  padding: 14px;
  background: rgba(235, 243, 251, 0.035);
}

.wizard-next.command-surface {
  border-color: rgba(111, 255, 227, 0.24);
  background:
    linear-gradient(135deg, rgba(111, 255, 227, 0.08), rgba(235, 243, 251, 0.035)),
    rgba(6, 10, 13, 0.66);
}

.wizard-next.command-surface.pending {
  border-color: rgba(245, 187, 96, 0.3);
}

.wizard-next.command-surface.live {
  border-color: rgba(111, 255, 227, 0.36);
}

.wizard-next div {
  display: grid;
  gap: 5px;
}

.wizard-next strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wizard-next span {
  color: var(--muted);
  line-height: 1.45;
}

.wizard-next small,
.wizard-next em {
  color: var(--muted);
  font-size: 0.84rem;
  font-style: normal;
  line-height: 1.45;
}

.wizard-next em {
  color: var(--aqua);
}

.onboarding-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 9px;
}

.gateway-phase-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.gateway-phase-rail button {
  position: relative;
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 118px;
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 12px;
  padding: 16px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.016)),
    rgba(3, 7, 10, 0.72);
  color: var(--muted);
  cursor: pointer;
  text-align: left;
}

.gateway-phase-rail button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(circle at 20% 0%, rgba(111, 255, 227, 0.18), transparent 52%);
  transition: opacity 180ms ease;
}

.gateway-phase-rail button:hover,
.gateway-phase-rail button:focus-visible {
  border-color: rgba(111, 255, 227, 0.4);
  color: var(--ink);
  outline: none;
}

.gateway-phase-rail button:hover::before,
.gateway-phase-rail button:focus-visible::before {
  opacity: 1;
}

.gateway-phase-rail button.complete {
  border-color: rgba(111, 255, 227, 0.34);
  background:
    radial-gradient(circle at 25% 0%, rgba(111, 255, 227, 0.12), transparent 46%),
    rgba(111, 255, 227, 0.055);
}

.gateway-phase-rail button.pending {
  border-color: rgba(122, 206, 255, 0.36);
  background:
    radial-gradient(circle at 25% 0%, rgba(122, 206, 255, 0.13), transparent 46%),
    rgba(122, 206, 255, 0.045);
}

.gateway-phase-rail button.active {
  border-color: rgba(111, 255, 227, 0.55);
  background:
    radial-gradient(circle at 25% 0%, rgba(111, 255, 227, 0.2), transparent 48%),
    rgba(111, 255, 227, 0.08);
  box-shadow: inset 0 0 0 1px rgba(111, 255, 227, 0.08), 0 18px 42px rgba(0, 0, 0, 0.22);
}

.gateway-phase-rail button.locked,
.gateway-phase-rail button:disabled {
  border-color: rgba(235, 243, 251, 0.07);
  background: rgba(235, 243, 251, 0.018);
  color: rgba(235, 243, 251, 0.36);
  cursor: not-allowed;
  opacity: 0.62;
}

.gateway-phase-rail button.locked:hover,
.gateway-phase-rail button.locked:focus-visible,
.gateway-phase-rail button:disabled:hover,
.gateway-phase-rail button:disabled:focus-visible {
  border-color: rgba(235, 243, 251, 0.07);
  color: rgba(235, 243, 251, 0.36);
}

.gateway-phase-rail button.locked::before,
.gateway-phase-rail button:disabled::before {
  opacity: 0;
}

.gateway-phase-rail i,
.gateway-phase-rail b,
.gateway-phase-rail span,
.gateway-phase-rail small {
  position: relative;
  z-index: 1;
}

.gateway-phase-rail i {
  width: fit-content;
  border: 1px solid rgba(111, 255, 227, 0.22);
  border-radius: 999px;
  padding: 4px 7px;
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gateway-phase-rail b {
  display: none;
  color: rgba(235, 243, 251, 0.28);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 0.85;
}

.gateway-phase-rail span {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-transform: uppercase;
}

.gateway-phase-rail small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.onboarding-checklist span,
.onboarding-checklist button {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 14px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)),
    rgba(6, 10, 13, 0.72);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.onboarding-checklist button {
  width: 100%;
  cursor: pointer;
  text-align: left;
}

.onboarding-checklist button:hover,
.onboarding-checklist button:focus-visible {
  border-color: rgba(111, 255, 227, 0.42);
  color: var(--ink);
  outline: none;
}

.onboarding-checklist span.complete,
.onboarding-checklist button.complete {
  border-color: rgba(111, 255, 227, 0.34);
  background: rgba(111, 255, 227, 0.075);
  color: var(--ink);
}

.onboarding-checklist button.locked,
.onboarding-checklist button:disabled {
  color: rgba(235, 243, 251, 0.36);
}

.onboarding-checklist i {
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 900;
}

.dashboard-card {
  display: grid;
  align-content: start;
  gap: 14px;
  scroll-margin-top: 120px;
  border: 1px solid rgba(235, 243, 251, 0.12);
  border-radius: 14px;
  padding: clamp(16px, 2.4vw, 24px);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.055), transparent 45%),
    rgba(6, 10, 13, 0.82);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.dashboard-card.is-focused {
  border-color: rgba(111, 255, 227, 0.62);
  box-shadow: 0 0 0 1px rgba(111, 255, 227, 0.32), 0 34px 100px rgba(111, 255, 227, 0.12);
}

.dashboard-card-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  border-bottom: 1px solid rgba(235, 243, 251, 0.08);
  padding-bottom: 12px;
}

.dashboard-card-title strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dashboard-card-title span,
.dashboard-note,
.benefit-code small,
.entitlement-list span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.stage-card-title {
  display: grid;
  justify-content: stretch;
  gap: 6px;
}

.stage-card-title > span {
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stage-card-title small {
  max-width: 46ch;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.stage-readiness-grid,
.consent-receipt-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.stage-readiness-grid article,
.consent-receipt-strip article {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 12px;
  padding: 11px;
  background: rgba(235, 243, 251, 0.035);
}

.stage-readiness-grid article.ready,
.consent-receipt-strip article.ready {
  border-color: rgba(111, 255, 227, 0.26);
  background: rgba(111, 255, 227, 0.06);
}

.stage-readiness-grid span,
.consent-receipt-strip span,
.stage-readiness-grid small,
.consent-receipt-strip small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.stage-readiness-grid strong,
.consent-receipt-strip strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stage-field-panel,
.consent-choice-panel {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(235, 243, 251, 0.08);
  border-radius: 12px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(235, 243, 251, 0.04), rgba(235, 243, 251, 0.014)),
    rgba(2, 5, 8, 0.42);
}

.stage-route-details .route-vector-grid > div.selected {
  border-color: rgba(111, 255, 227, 0.34);
  background: rgba(111, 255, 227, 0.075);
}

.stage-privacy-note {
  margin: 0;
  border-left: 2px solid rgba(111, 255, 227, 0.36);
  padding-left: 12px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.dashboard-form {
  gap: 12px;
}

.dashboard-form label,
.totp-setup label {
  display: grid;
  gap: 7px;
}

.consent-row {
  display: flex;
  gap: 11px;
  align-items: center;
  min-height: 48px;
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(235, 243, 251, 0.035);
}

.consent-row input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--aqua);
}

.premium-consent-row {
  align-items: start;
  border-radius: 12px;
  padding: 11px;
}

.premium-consent-row input {
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
}

.premium-consent-row span {
  display: grid;
  gap: 4px;
}

.premium-consent-row strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.premium-consent-row small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.retention-select {
  display: grid;
  gap: 7px;
}

.privacy-guardian-card {
  gap: 12px;
}

.privacy-guardian-summary,
.privacy-guardian-receipt,
.privacy-export-receipt,
.privacy-receipt-timeline,
.privacy-learning-summary,
.privacy-history-list {
  display: grid;
  gap: 10px;
}

.privacy-guardian-summary,
.privacy-guardian-receipt,
.privacy-export-receipt {
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 10px;
  padding: 12px 14px;
  background: rgba(235, 243, 251, 0.03);
}

.privacy-guardian-summary span,
.privacy-guardian-receipt strong,
.privacy-export-receipt strong,
.privacy-receipt-timeline article span,
.privacy-learning-summary article strong,
.privacy-history-list article strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.privacy-guardian-summary small,
.privacy-guardian-receipt small,
.privacy-export-receipt small,
.privacy-receipt-timeline article small,
.privacy-learning-summary small,
.privacy-history-list span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.privacy-export-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.privacy-export-scope span {
  border: 1px solid rgba(111, 255, 227, 0.18);
  border-radius: var(--radius-pill);
  padding: 6px 8px;
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(111, 255, 227, 0.05);
}

.privacy-receipt-timeline article {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(235, 243, 251, 0.09);
  border-left-color: rgba(111, 255, 227, 0.38);
  border-radius: 10px;
  padding: 11px 12px;
  background: rgba(6, 10, 13, 0.66);
}

.privacy-receipt-timeline article[data-status="pending"],
.privacy-receipt-timeline article[data-status="optional"] {
  border-left-color: rgba(235, 243, 251, 0.24);
}

.privacy-receipt-timeline article[data-status="restricted"],
.privacy-receipt-timeline article[data-status="available"] {
  border-left-color: rgba(245, 187, 96, 0.48);
}

.privacy-receipt-timeline article strong {
  color: var(--aqua);
  font-size: 0.82rem;
  line-height: 1.35;
}

.privacy-receipt-timeline article em {
  color: var(--dim);
  font-size: 0.72rem;
  font-style: normal;
}

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

.privacy-learning-summary article {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(235, 243, 251, 0.03);
}

.privacy-history-list article {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(235, 243, 251, 0.09);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(6, 10, 13, 0.62);
}

.privacy-delete-form {
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(235, 243, 251, 0.08);
  padding-top: 12px;
}

.privacy-delete-form label {
  display: grid;
  gap: 7px;
}

.danger {
  color: var(--danger);
  border-color: rgba(255, 118, 143, 0.32);
}

.danger:hover,
.danger:focus-visible {
  border-color: rgba(255, 118, 143, 0.52);
  box-shadow: 0 0 0 1px rgba(255, 118, 143, 0.18);
}

.compact {
  min-height: 46px;
  padding: 0 18px;
}

.totp-setup {
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(235, 243, 251, 0.08);
  padding-top: 14px;
}

.totp-setup input[readonly] {
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.benefit-code {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(111, 255, 227, 0.32);
  border-radius: 14px;
  padding: 14px;
  background: rgba(111, 255, 227, 0.08);
}

.benefit-code span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.benefit-code strong {
  color: var(--aqua);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4vw, 2.35rem);
  letter-spacing: 0.08em;
}

.benefit-redeem {
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(235, 243, 251, 0.08);
  padding-top: 13px;
}

.benefit-redeem label {
  display: grid;
  gap: 7px;
}

.benefit-redemption {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(111, 255, 227, 0.28);
  border-radius: 12px;
  padding: 12px;
  background: rgba(111, 255, 227, 0.075);
}

.benefit-redemption strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.benefit-redemption span {
  color: var(--muted);
}

.entitlement-card {
  grid-column: 1 / -1;
}

.subscription-card {
  grid-column: 1 / -1;
}

.payment-rail-card {
  grid-column: 1 / -1;
}

.wallet-proof-card {
  grid-column: 1 / -1;
}

.wallet-route-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(111, 255, 227, 0.16);
  border-radius: 14px;
  padding: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(111, 255, 227, 0.09), transparent 34%),
    rgba(235, 243, 251, 0.032);
}

.wallet-route-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(111, 255, 227, 0.16);
  border-radius: 12px;
  padding: 11px 12px;
  background: rgba(111, 255, 227, 0.05);
}

.wallet-route-summary span {
  color: var(--aqua);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wallet-route-summary small {
  color: var(--muted);
  line-height: 1.45;
}

.wallet-route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.private-access-card {
  grid-column: 1 / -1;
}

.admin-review-card {
  grid-column: 1 / -1;
}

.private-access-status,
.private-access-review {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(235, 243, 251, 0.11);
  border-radius: 14px;
  padding: 14px;
  background:
    radial-gradient(circle at 0% 0%, rgba(111, 255, 227, 0.12), transparent 38%),
    rgba(235, 243, 251, 0.035);
}

.private-access-status.live {
  border-color: rgba(111, 255, 227, 0.38);
  background:
    radial-gradient(circle at 0% 0%, rgba(111, 255, 227, 0.2), transparent 40%),
    rgba(111, 255, 227, 0.075);
}

.private-access-status strong,
.private-access-review strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.private-access-status span,
.private-access-review span {
  color: var(--muted);
  line-height: 1.45;
}

.admin-review-list {
  display: grid;
  gap: 10px;
}

.admin-review-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-filter {
  border: 1px solid rgba(235, 243, 251, 0.13);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(235, 243, 251, 0.035);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.review-filter.active {
  border-color: rgba(111, 255, 227, 0.45);
  background: rgba(111, 255, 227, 0.11);
  color: var(--aqua);
}

.admin-review-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: stretch;
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 14px;
  padding: 13px;
  background: rgba(235, 243, 251, 0.035);
}

.admin-review-main {
  display: grid;
  align-content: start;
  gap: 6px;
}

.admin-review-row strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-review-row span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.84rem;
}

.admin-review-row small,
.admin-review-row em {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.admin-review-row em {
  max-width: 62ch;
  color: rgba(235, 243, 251, 0.78);
  font-style: normal;
}

.admin-review-actions {
  min-width: min(340px, 42vw);
  display: grid;
  gap: 8px;
  justify-content: flex-end;
}

.admin-review-actions label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-review-actions textarea {
  min-height: 76px;
  resize: vertical;
}

.admin-ops-card {
  grid-column: 1 / -1;
}

.admin-cockpit-card {
  grid-column: 1 / -1;
  border-color: rgba(111, 255, 227, 0.24);
  background:
    radial-gradient(circle at 0% 0%, rgba(111, 255, 227, 0.16), transparent 30%),
    radial-gradient(circle at 90% 8%, rgba(88, 195, 255, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(3, 8, 10, 0.94), rgba(7, 16, 19, 0.78));
}

.admin-cockpit-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.admin-metric {
  min-height: 92px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 16px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.24);
}

.admin-metric span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.admin-metric strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 0.85;
}

.admin-metric.live {
  border-color: rgba(111, 255, 227, 0.34);
}

.admin-metric.warn {
  border-color: rgba(88, 195, 255, 0.38);
  box-shadow: inset 0 0 28px rgba(88, 195, 255, 0.06);
}

.admin-posture-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.admin-operations-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.admin-operations-status article {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(111, 255, 227, 0.13);
  border-radius: 16px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.2);
}

.admin-operations-status span {
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-operations-status strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.admin-operations-status small {
  color: var(--muted);
  line-height: 1.35;
}

.admin-conversion-intelligence {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(122, 206, 255, 0.14);
  border-radius: 14px;
  padding: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(122, 206, 255, 0.09), transparent 38%),
    rgba(235, 243, 251, 0.028);
}

.admin-funnel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.admin-rate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.admin-funnel-grid article {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 11px;
  padding: 11px;
  background: rgba(2, 5, 8, 0.42);
}

.admin-funnel-grid article.live {
  border-color: rgba(111, 255, 227, 0.28);
  background: rgba(111, 255, 227, 0.055);
}

.admin-rate-grid article {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(122, 206, 255, 0.16);
  border-radius: 11px;
  padding: 11px;
  background: rgba(122, 206, 255, 0.045);
}

.admin-funnel-grid span,
.admin-rate-grid span,
.admin-event-strip span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.admin-funnel-grid strong {
  color: var(--aqua);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.6vw, 1.65rem);
  letter-spacing: 0.04em;
}

.admin-rate-grid strong {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  letter-spacing: 0.04em;
}

.admin-funnel-grid small,
.admin-rate-grid small,
.admin-event-strip small {
  color: var(--muted);
  line-height: 1.4;
}

.admin-event-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-event-strip > div {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(235, 243, 251, 0.09);
  border-radius: 11px;
  padding: 11px;
  background: rgba(235, 243, 251, 0.025);
}

.admin-event-strip b {
  display: inline-block;
  min-width: 11ch;
  margin-right: 6px;
  color: var(--ink);
}

.admin-lead-intelligence {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(111, 255, 227, 0.16);
  border-radius: 16px;
  padding: 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(111, 255, 227, 0.08), transparent 36%),
    rgba(111, 255, 227, 0.035);
}

.admin-lead-summary {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 12px;
  align-items: start;
}

.admin-lead-summary > div:first-child,
.admin-lead-counters,
.admin-lead-card {
  display: grid;
  gap: 6px;
}

.admin-lead-summary span {
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-lead-summary strong,
.admin-lead-card strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-lead-summary small,
.admin-lead-card small,
.admin-lead-card span {
  color: var(--muted);
  line-height: 1.35;
}

.admin-lead-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-lead-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  border: 1px solid rgba(235, 243, 251, 0.08);
  border-radius: 12px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.18);
}

.admin-lead-card.ready {
  border-color: rgba(111, 255, 227, 0.2);
}

.admin-lead-card.needs-route {
  border-color: rgba(245, 187, 96, 0.2);
}

.admin-notification-queue {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(245, 187, 96, 0.18);
  border-radius: 16px;
  padding: 12px;
  background: rgba(245, 187, 96, 0.055);
}

.admin-notification-queue > div:first-child {
  display: grid;
  gap: 5px;
}

.admin-notification-queue span,
.admin-notification-list article span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.admin-notification-queue > div:first-child span {
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-notification-queue strong,
.admin-notification-list article strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-notification-queue small,
.admin-notification-list article small {
  color: var(--muted);
  line-height: 1.35;
}

.admin-notification-list {
  display: grid;
  gap: 8px;
}

.admin-notification-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  align-items: center;
  border: 1px solid rgba(235, 243, 251, 0.08);
  border-radius: 12px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.18);
}

.admin-notification-list article span,
.admin-notification-list article small {
  grid-column: 1 / -1;
}

.admin-posture-grid small,
.admin-cockpit-audit small {
  border: 1px solid rgba(235, 243, 251, 0.08);
  border-radius: 14px;
  padding: 9px;
  color: var(--muted);
  line-height: 1.35;
  background: rgba(235, 243, 251, 0.025);
}

.admin-posture-grid b,
.admin-cockpit-audit b {
  margin-right: 6px;
  color: rgba(235, 243, 251, 0.84);
}

.admin-cockpit-audit {
  display: grid;
  gap: 6px;
}

.admin-cockpit-audit > span {
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-member-search {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.admin-member-list {
  display: grid;
  gap: 10px;
}

.admin-member-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: stretch;
  border: 1px solid rgba(111, 255, 227, 0.13);
  border-radius: 18px;
  padding: 14px;
  background:
    radial-gradient(circle at 12% 0%, rgba(111, 255, 227, 0.1), transparent 34%),
    rgba(235, 243, 251, 0.035);
}

.admin-member-main {
  display: grid;
  gap: 8px;
}

.admin-member-main strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-member-main span,
.admin-member-main small {
  color: var(--muted);
  line-height: 1.35;
}

.admin-member-chips,
.admin-member-contact,
.admin-member-timeline,
.admin-entitlement-strip,
.admin-entitlement-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.admin-member-chips i,
.admin-member-contact small,
.admin-member-timeline small,
.admin-entitlement-strip small {
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 999px;
  padding: 7px 9px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--muted);
  font-size: 0.69rem;
  font-style: normal;
}

.admin-member-chips i:first-child {
  border-color: rgba(111, 255, 227, 0.38);
  color: var(--aqua);
}

.admin-member-timeline b {
  margin-right: 5px;
  color: rgba(235, 243, 251, 0.78);
}

.admin-entitlement-actions {
  display: grid;
}

.admin-entitlement-action-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) repeat(4, auto);
  gap: 7px;
  align-items: center;
  border: 1px solid rgba(235, 243, 251, 0.08);
  border-radius: 14px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.admin-entitlement-action-row > span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-audit-trail {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(235, 243, 251, 0.08);
  border-radius: 16px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.18);
}

.admin-audit-trail > span {
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-audit-trail small {
  color: var(--muted);
  line-height: 1.35;
}

.admin-audit-trail b {
  margin-right: 6px;
  color: rgba(235, 243, 251, 0.82);
}

.admin-audit-filter {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(111, 255, 227, 0.12);
  border-radius: 18px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.16);
}

.admin-audit-filter form {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr)) auto auto;
  gap: 8px;
  align-items: end;
}

.admin-audit-results {
  display: grid;
  gap: 6px;
  max-height: 230px;
  overflow: auto;
}

.admin-audit-results small {
  border: 1px solid rgba(235, 243, 251, 0.08);
  border-radius: 12px;
  padding: 8px;
  color: var(--muted);
  line-height: 1.35;
  background: rgba(235, 243, 251, 0.025);
}

.admin-audit-results b {
  margin-right: 6px;
  color: rgba(235, 243, 251, 0.82);
}

.admin-member-actions {
  display: grid;
  align-content: start;
  min-width: 160px;
}

.admin-generated-code {
  border-color: rgba(111, 255, 227, 0.36);
}

.wallet-proof-summary {
  display: inline-flex;
  width: fit-content;
  align-items: baseline;
  gap: 9px;
  border: 1px solid rgba(111, 255, 227, 0.28);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(111, 255, 227, 0.07);
}

.wallet-proof-summary span {
  color: var(--aqua);
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.wallet-proof-summary small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.payment-rail-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(111, 255, 227, 0.2);
  border-radius: 14px;
  padding: 12px 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(111, 255, 227, 0.1), transparent 38%),
    rgba(111, 255, 227, 0.045);
}

.payment-rail-summary span {
  color: var(--aqua);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.payment-rail-summary small {
  color: var(--muted);
  line-height: 1.45;
}

.payment-recovery-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 220, 138, 0.28);
  border-radius: 14px;
  padding: 13px 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 220, 138, 0.12), transparent 38%),
    rgba(255, 220, 138, 0.055);
}

.payment-recovery-panel div {
  display: grid;
  gap: 5px;
}

.payment-recovery-panel span {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.payment-recovery-panel small {
  color: var(--muted);
  line-height: 1.45;
}

.payment-recovery-panel.pending {
  border-color: rgba(122, 206, 255, 0.28);
  background: rgba(122, 206, 255, 0.055);
}

.payment-blocker-panel {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(255, 220, 138, 0.3);
  border-radius: 12px;
  padding: 11px 13px;
  background: rgba(255, 220, 138, 0.06);
}

.payment-blocker-panel span {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.payment-blocker-panel small {
  color: var(--muted);
  line-height: 1.4;
}

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

.membership-step {
  display: grid;
  gap: 8px;
  min-height: 150px;
  align-content: start;
  border: 1px solid rgba(235, 243, 251, 0.11);
  border-radius: 15px;
  padding: 14px;
  background:
    linear-gradient(145deg, rgba(235, 243, 251, 0.055), rgba(235, 243, 251, 0.018)),
    rgba(5, 8, 12, 0.55);
}

.membership-step.live {
  border-color: rgba(111, 255, 227, 0.34);
  box-shadow: 0 0 34px rgba(111, 255, 227, 0.08);
}

.membership-step.pending {
  border-color: rgba(122, 206, 255, 0.32);
}

.membership-step span {
  width: fit-content;
  border: 1px solid rgba(111, 255, 227, 0.2);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.membership-step strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.membership-step small {
  color: var(--muted);
  line-height: 1.45;
}

.subscription-option {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(111, 255, 227, 0.18);
  border-radius: 14px;
  padding: 15px;
  background:
    radial-gradient(circle at 100% 0%, rgba(111, 255, 227, 0.12), transparent 36%),
    rgba(235, 243, 251, 0.035);
}

.subscription-option strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.subscription-option span,
.subscription-option small {
  color: var(--muted);
  line-height: 1.4;
}

.subscription-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.subscription-price span {
  color: var(--aqua);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.subscription-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.lifecycle-tile,
.lifecycle-summary {
  border: 1px solid rgba(235, 243, 251, 0.11);
  border-radius: 13px;
  background:
    radial-gradient(circle at 100% 0%, rgba(111, 255, 227, 0.1), transparent 42%),
    rgba(235, 243, 251, 0.035);
}

.lifecycle-tile {
  display: grid;
  gap: 7px;
  padding: 13px;
}

.lifecycle-tile span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lifecycle-tile strong {
  color: var(--aqua);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.lifecycle-tile.live {
  border-color: rgba(111, 255, 227, 0.34);
}

.lifecycle-tile.pending {
  border-color: rgba(122, 206, 255, 0.28);
}

.lifecycle-tile.warn {
  border-color: rgba(255, 220, 138, 0.32);
}

.lifecycle-tile.warn strong {
  color: var(--gold);
}

.lifecycle-summary {
  grid-column: 1 / -1;
  display: grid;
  gap: 7px;
  padding: 14px;
}

.lifecycle-summary strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lifecycle-summary span,
.lifecycle-summary small {
  color: var(--muted);
  line-height: 1.45;
}

.subscription-lifecycle-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lifecycle-receipt-panel {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(111, 255, 227, 0.24);
  border-radius: 14px;
  padding: 14px;
  background: rgba(111, 255, 227, 0.08);
}

.lifecycle-receipt-panel span {
  color: var(--ink);
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lifecycle-receipt-panel small {
  color: var(--muted);
  display: block;
  line-height: 1.45;
}

.access-link-panel {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(111, 255, 227, 0.3);
  border-radius: 14px;
  padding: 14px;
  background: rgba(111, 255, 227, 0.08);
}

.access-link-panel span {
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.access-link-panel small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.4;
}

.wallet-proof-panel {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(111, 255, 227, 0.3);
  border-radius: 14px;
  padding: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(111, 255, 227, 0.12), transparent 38%),
    rgba(111, 255, 227, 0.06);
}

.wallet-challenge-panel {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(122, 206, 255, 0.22);
  border-radius: 14px;
  padding: 13px;
  background:
    linear-gradient(145deg, rgba(122, 206, 255, 0.09), rgba(235, 243, 251, 0.025)),
    rgba(5, 8, 12, 0.68);
}

.wallet-challenge-panel span {
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wallet-challenge-panel code {
  display: block;
  max-height: 190px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.5;
}

.wallet-challenge-panel small {
  color: var(--muted);
  line-height: 1.4;
}

.wallet-proof-panel span,
.wallet-proof-list span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wallet-proof-panel strong {
  color: var(--aqua);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.85rem);
  letter-spacing: 0.04em;
}

.wallet-proof-panel small {
  color: var(--muted);
  line-height: 1.4;
}

.wallet-proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wallet-proof-list div {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 10px;
  padding: 11px;
  background: rgba(235, 243, 251, 0.035);
}

.wallet-proof-list strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.entitlement-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pathway-brief-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pathway-brief-list article {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(111, 255, 227, 0.14);
  border-radius: 14px;
  padding: 13px;
  background:
    radial-gradient(circle at 100% 0%, rgba(111, 255, 227, 0.1), transparent 38%),
    rgba(235, 243, 251, 0.035);
}

.pathway-brief-list span,
.pathway-brief-list small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  line-height: 1.35;
}

.pathway-brief-list .pathway-signal-list {
  color: rgba(111, 255, 227, 0.78);
}

.pathway-brief-list strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.entitlement-list div {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 10px;
  padding: 12px;
  background: rgba(235, 243, 251, 0.035);
}

.entitlement-list strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.entitlement-list small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

.hidden {
  display: none !important;
}

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

.protocol-card {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.protocol-card .num {
  width: fit-content;
  border: 1px solid rgba(217, 188, 96, 0.28);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(217, 188, 96, 0.08);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 900;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.check-row {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(235, 243, 251, 0.12);
  border-radius: 8px;
  padding: 9px 11px;
  background: rgba(235, 243, 251, 0.045);
  color: var(--ink);
  line-height: 1.25;
}

.check-row:has(input:checked) {
  border-color: rgba(111, 255, 227, 0.54);
  background: rgba(111, 255, 227, 0.08);
}

.check-row input {
  width: 18px;
  min-width: 18px;
  min-height: 18px;
  accent-color: var(--aqua);
}

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

.signal-group {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(235, 243, 251, 0.09);
  border-radius: 10px;
  padding: 10px;
  background:
    radial-gradient(circle at 12% 0%, rgba(111, 255, 227, 0.08), transparent 34%),
    rgba(2, 3, 4, 0.18);
}

.signal-group > span {
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.builder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.payment-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
  border: 1px solid rgba(235, 243, 251, 0.12);
  border-radius: var(--radius-pill);
  padding: 5px;
  background: rgba(235, 243, 251, 0.04);
}

.payment-switch button {
  min-height: 38px;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 0 13px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.payment-switch button.selected {
  background: linear-gradient(135deg, #f2d683, var(--gold));
  color: #020304;
}

.result-panel {
  min-height: 190px;
  padding: 18px;
}

.result-title {
  margin-top: 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.42rem, 3vw, 2rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.result-meta span,
.component-list li {
  border: 1px solid rgba(39, 216, 244, 0.22);
  border-radius: 6px;
  padding: 7px 9px;
  background: rgba(39, 216, 244, 0.075);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
}

.component-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.intent-output {
  max-height: 320px;
  overflow: auto;
  margin: 0;
  padding: 14px;
  color: #d9fff7;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.payment-ready {
  display: grid;
  gap: 12px;
}

.access-review-ready {
  display: grid;
  gap: 12px;
}

.bridge-list {
  grid-template-columns: 1fr;
}

.bridge-list div {
  display: grid;
  grid-template-columns: minmax(120px, 160px) 1fr;
  gap: 16px;
  min-height: 78px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.bridge-list strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.bridge-list span {
  color: var(--muted);
  line-height: 1.45;
}

.rail-strip {
  width: min(100%, var(--max));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 32px auto 0;
}

.rail-strip span {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(235, 243, 251, 0.12);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(235, 243, 251, 0.04);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.site-footer {
  position: relative;
  display: grid;
  gap: 40px;
  overflow: hidden;
  padding: 74px clamp(18px, 6vw, 96px) 44px;
  background: #030405;
  color: var(--dim);
  isolation: isolate;
}

body[data-page="home"] .hero-copy {
  max-width: 1040px;
}

body[data-page="home"] .page-hero {
  min-height: 500px;
}

body[data-page="home"] .cta-row {
  margin-top: 12px;
}

body[data-page="discover"] .value-grid {
  gap: 18px;
}

body[data-page="discover"] .split-grid {
  gap: clamp(34px, 6vw, 92px);
}

body[data-page="protocols"] .cta-row,
body[data-page="treatments"] .builder-actions,
body[data-page="onboarding"] .inline-form {
  margin-top: 14px;
}

body[data-page="protocols"] .protocol-grid {
  margin-top: 40px;
}

body[data-page="protocols"] .protocol-card {
  min-height: 184px;
  padding: 20px;
}

body[data-page="treatments"] .builder-workbench {
  gap: 18px;
  padding: 24px;
}

body[data-page="treatments"] .goal-list,
body[data-page="treatments"] .field-grid {
  gap: 12px;
}

body[data-page="onboarding"] .login-panel {
  gap: 18px;
  padding: 24px;
}

body[data-page="onboarding"] .panel-title {
  padding-bottom: 16px;
}

body[data-page="onboarding"] .provider-grid {
  gap: 12px;
}

.site-footer::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(3, 4, 5, 0.66), rgba(3, 4, 5, 0.95)),
    radial-gradient(circle at 50% 70%, rgba(111, 255, 227, 0.14), transparent 35%);
  content: "";
}

.site-footer .footer-video {
  opacity: 0.4;
}

.footer-top,
.footer-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(235, 243, 251, 0.1);
  padding-bottom: 38px;
}

.footer-top img {
  width: 160px;
  opacity: 0.36;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badges span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(39, 216, 244, 0.28);
  border-radius: 6px;
  padding: 0 14px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 6vw, 86px);
  border-bottom: 1px solid rgba(235, 243, 251, 0.1);
  padding-bottom: 40px;
}

.footer-grid div {
  display: grid;
  gap: 13px;
  align-content: start;
}

.footer-grid h3 {
  margin-bottom: 6px;
  color: rgba(39, 216, 244, 0.64);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.footer-grid a {
  color: rgba(235, 243, 251, 0.62);
  font-size: 1rem;
  line-height: 1.25;
}

.copyright {
  width: min(100%, var(--max));
  margin: 0 auto;
  color: rgba(235, 243, 251, 0.62);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-align: right;
}

.footer-boundary {
  width: min(100%, var(--max));
  margin: -12px auto 0;
  color: rgba(235, 243, 251, 0.72);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.45;
}

@media (max-width: 1060px) {
  .desktop-nav {
    gap: 13px;
    font-size: 0.78rem;
  }

  .tr4-button,
  .action-button,
  .ghost-button {
    min-height: 46px;
    padding: 0 16px;
  }

  .route-grid,
  .value-grid,
  .product-grid,
  .protocol-family-grid,
  .protocol-grid,
  .onboarding-checklist,
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="home"] .page-hero {
    min-height: 460px;
  }
}

@media (max-width: 860px) {
  .mobile-shell {
    display: flex;
  }

  .shell-header {
    display: none;
  }

  .webflow-landing {
    min-height: 355px;
  }

  .webflow-landing .site-video {
    opacity: 0.9;
    filter: brightness(0.9) saturate(1.12) contrast(1.03);
    transform: translateY(142px) scale(1.06);
  }

  .main-logo {
    top: 126px;
    width: 320px;
  }

  .site-nav {
    display: none;
  }

  .mobile-rail {
    display: grid;
  }

  .split-grid,
  .member-section,
  .builder-section,
  .store-section,
  .narrative-grid,
  .modality-grid,
  .pathway-engine-preview,
  .dashboard-grid,
  .onboarding-checklist,
  .entitlement-list,
  .membership-ladder,
  .subscription-options,
  .subscription-lifecycle,
  .wallet-proof-list,
  .pathway-brief-list,
  .footer-grid,
  .rail-strip {
    grid-template-columns: 1fr;
  }

  .subscription-lifecycle-actions {
    flex-direction: column;
  }

  .lifecycle-receipt-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .access-link-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .payment-rail-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .payment-recovery-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .wallet-route-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .privacy-learning-summary {
    grid-template-columns: 1fr;
  }

  .privacy-receipt-timeline article {
    padding: 10px;
  }

  .wizard-next {
    align-items: stretch;
    flex-direction: column;
  }

  .portal-dashboard-head {
    align-items: start;
    flex-direction: column;
  }

  .dashboard-card-title {
    display: grid;
  }

  .stage-readiness-grid,
  .consent-receipt-strip {
    grid-template-columns: 1fr;
  }

  .stage-field-panel,
  .consent-choice-panel {
    padding: 10px;
  }

  .admin-review-row {
    flex-direction: column;
  }

  .admin-review-actions {
    min-width: 0;
    justify-content: stretch;
  }

  .admin-member-search,
  .admin-member-row,
  .admin-lead-summary,
  .admin-lead-card-list,
  .admin-lead-card,
  .admin-funnel-grid,
  .admin-rate-grid,
  .admin-event-strip {
    grid-template-columns: 1fr;
  }

  .admin-member-row {
    display: grid;
  }

  .admin-member-actions {
    min-width: 0;
  }

  .admin-notification-list article {
    grid-template-columns: 1fr;
  }

  .admin-entitlement-action-row {
    grid-template-columns: 1fr 1fr;
  }

  .admin-entitlement-action-row > span {
    grid-column: 1 / -1;
  }

  .admin-audit-filter form {
    grid-template-columns: 1fr;
  }

  .admin-cockpit-grid,
  .admin-posture-grid,
  .admin-operations-status {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modality-card,
  .tilt-left,
  .tilt-right,
  .tilt-left:hover,
  .tilt-right:hover {
    transform: none;
  }

  .modality-card {
    min-height: 288px;
    padding-bottom: 64px;
  }

  .modality-card small {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }

  .footer-top {
    display: grid;
  }

  .copyright {
    text-align: left;
  }

  body[data-page="discover"] .value-grid,
  body[data-page="protocols"] .protocol-grid {
    gap: 12px;
  }
}

.footer-top img,
body[data-page="home"] .footer-top img,
.brand-lockup img,
.mobile-brand img,
.main-logo img {
  background: transparent !important;
  filter: none !important;
}

.vector-mark,
.provider-icon,
.mini-vector,
.contact-vector-icon {
  border-color: rgba(221, 228, 232, 0.25) !important;
  background:
    radial-gradient(circle at 15% 9%, rgba(244, 247, 248, 0.13), transparent 43%),
    linear-gradient(145deg, rgba(18, 23, 28, 0.94), rgba(3, 5, 7, 0.96)) !important;
  color: #dce4e8 !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.1) !important;
}

.modality-card:hover .vector-mark,
.modality-card:focus-within .vector-mark,
.modality-card.is-open .vector-mark,
.modality-card.is-revealed .vector-mark,
.provider:hover .provider-icon,
.provider:focus-within .provider-icon,
.contact-vector-field:focus-within .contact-vector-icon,
.contact-vector-option.selected .contact-vector-icon,
.contact-vector-option:hover .contact-vector-icon {
  border-color: rgba(238, 243, 245, 0.48) !important;
  background:
    radial-gradient(circle at 15% 9%, rgba(248, 250, 251, 0.19), transparent 44%),
    linear-gradient(145deg, rgba(24, 30, 35, 0.97), rgba(4, 6, 8, 0.98)) !important;
  color: #f0f4f6 !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36), inset 0 1px rgba(255, 255, 255, 0.15) !important;
}

@media (max-width: 560px) {
  body.gateway-immersive-focus:not(.nav-open) :is(.portal-dock, .mobile-shell) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .pathway-outcomes > div {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    overflow: visible !important;
    padding: 2px 0 0 !important;
  }

  .pathway-outcomes label {
    min-width: 0 !important;
    justify-content: center !important;
  }

  .pathway-journey-map {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    overflow: visible !important;
  }

  body.nav-open .mobile-shell,
  body.footer-in-view .mobile-shell {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-120%) !important;
  }

  body.nav-open .mobile-menu,
  body[data-page="home"].nav-open .mobile-menu,
  body:not([data-page="home"]).nav-open .mobile-menu {
    top: max(10px, env(safe-area-inset-top)) !important;
    right: max(10px, env(safe-area-inset-right)) !important;
    bottom: max(10px, env(safe-area-inset-bottom)) !important;
    left: max(10px, env(safe-area-inset-left)) !important;
    width: auto !important;
    max-width: none !important;
    max-height: none !important;
    overflow-y: auto !important;
    background: #05080c !important;
  }

  .site-footer,
  body[data-page="home"] .site-footer,
  body:not([data-page="home"]) .site-footer,
  .trust-footer {
    min-height: 0 !important;
    padding-bottom: calc(84px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 560px) {
  body.gateway-immersive-focus:not(.nav-open) :is(.portal-dock, .mobile-shell) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(calc(100% + 24px)) scale(.985) !important;
  }

  body.gateway-immersive-focus:not(.nav-open) .mobile-shell {
    transform: translateY(-120%) !important;
  }

  .pathway-outcomes > div {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    overflow: visible !important;
    padding: 2px 0 0 !important;
  }

  .pathway-outcomes label {
    min-width: 0 !important;
    justify-content: center !important;
  }

  .pathway-journey-map {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    overflow: visible !important;
  }

  body.nav-open .mobile-shell,
  body.footer-in-view .mobile-shell {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-120%) !important;
  }

  body.nav-open .mobile-menu,
  body[data-page="home"].nav-open .mobile-menu,
  body:not([data-page="home"]).nav-open .mobile-menu {
    top: max(10px, env(safe-area-inset-top)) !important;
    right: max(10px, env(safe-area-inset-right)) !important;
    bottom: max(10px, env(safe-area-inset-bottom)) !important;
    left: max(10px, env(safe-area-inset-left)) !important;
    width: auto !important;
    max-width: none !important;
    max-height: none !important;
    overflow-y: auto !important;
    background: #05080c !important;
  }

  .site-footer,
  body[data-page="home"] .site-footer,
  body:not([data-page="home"]) .site-footer,
  .trust-footer {
    min-height: 0 !important;
    padding-bottom: calc(84px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 560px) {
  body.gateway-immersive-focus:not(.nav-open) .portal-dock {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(calc(100% + 24px)) scale(.985);
  }

  .pathway-preview {
    gap: 22px;
    padding: 52px 14px 64px;
  }

  .pathway-preview-head {
    gap: 10px;
  }

  .pathway-preview-head h2 {
    max-width: 100%;
    font-size: clamp(2.18rem, 10.2vw, 3.1rem);
    line-height: .94;
    overflow-wrap: normal;
  }

  .pathway-outcomes {
    padding: 13px;
    overflow: visible;
  }

  .pathway-outcomes > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding: 2px 0 0;
  }

  .pathway-outcomes label {
    min-width: 0;
    min-height: 46px;
    justify-content: center;
    padding: 0 8px;
  }

  .pathway-outcomes span {
    gap: 7px;
    font-size: clamp(.64rem, 3vw, .76rem);
    white-space: normal;
    text-align: center;
  }

  .pathway-result {
    gap: 18px;
    padding: 22px 14px;
  }

  .pathway-result h3 {
    max-width: 100%;
    font-size: clamp(1.72rem, 7.1vw, 2.18rem);
    line-height: 1.02;
  }

  .pathway-journey-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }

  .pathway-journey-map::before {
    display: none;
  }

  .pathway-journey-map button {
    min-width: 0;
    min-height: 76px;
  }

  body.nav-open .mobile-shell,
  body.footer-in-view .mobile-shell {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-120%) !important;
  }

  body.nav-open .mobile-menu,
  body[data-page="home"].nav-open .mobile-menu,
  body:not([data-page="home"]).nav-open .mobile-menu {
    top: max(10px, env(safe-area-inset-top)) !important;
    right: max(10px, env(safe-area-inset-right)) !important;
    bottom: max(10px, env(safe-area-inset-bottom)) !important;
    left: max(10px, env(safe-area-inset-left)) !important;
    width: auto !important;
    max-width: none !important;
    max-height: none !important;
    gap: 8px;
    border-color: rgba(111, 255, 227, .2);
    border-radius: 24px;
    padding: 14px;
    overflow-y: auto;
    background: #05080c !important;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .88), 0 28px 90px rgba(0, 0, 0, .72), inset 0 1px rgba(255, 255, 255, .05);
    backdrop-filter: none;
  }

  .sheet-title {
    position: sticky;
    top: -14px;
    z-index: 3;
    min-height: 54px;
    padding: 8px 4px 10px;
    background: #05080c;
  }

  .sheet-title button {
    min-height: 40px;
    padding: 0 14px;
  }

  .mobile-nav-group {
    gap: 6px;
    padding: 8px 0 0;
  }

  .mobile-nav-group h2 {
    padding: 0 6px;
  }

  .mobile-nav-group > div {
    gap: 5px;
  }

  .mobile-menu a,
  .mobile-menu .mobile-menu-assistant {
    min-height: 44px;
    border-radius: 12px;
    padding: 0 10px;
    font-size: clamp(.62rem, 3vw, .72rem);
    letter-spacing: .035em;
  }

  .mobile-menu a[aria-current="page"] {
    background: rgba(111, 255, 227, .075);
    box-shadow: inset 0 0 0 1px rgba(111, 255, 227, .12);
  }

  .site-footer,
  body[data-page="home"] .site-footer,
  body:not([data-page="home"]) .site-footer,
  .trust-footer {
    min-height: 0 !important;
    gap: 22px !important;
    padding: 48px 20px calc(84px + env(safe-area-inset-bottom)) !important;
    overflow: hidden;
  }

  .site-footer::after {
    display: none !important;
  }

  .site-footer .footer-top,
  .trust-footer .footer-top {
    width: 100% !important;
    display: grid;
    justify-items: start;
    gap: 14px;
    margin: 0 !important;
  }

  .site-footer .footer-top img,
  .trust-footer .footer-top img {
    width: min(210px, 58vw) !important;
    height: auto !important;
    margin: 0 !important;
  }

  .site-footer .badges {
    justify-content: flex-start;
    gap: 7px;
  }

  .site-footer .badges span {
    min-height: 32px;
    padding: 0 10px;
    font-size: .58rem;
  }

  .trust-footer .footer-boundary {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 0 20px;
    color: rgba(235, 243, 251, .74);
    font-size: .96rem;
    line-height: 1.55;
  }

  .site-footer .footer-grid,
  .trust-footer .footer-grid {
    width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 16px !important;
    margin: 0 !important;
  }

  .site-footer .footer-grid div {
    align-content: start;
    gap: 4px;
  }

  .site-footer .footer-grid div:last-child {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, max-content));
    gap: 8px 14px;
  }

  .site-footer .footer-grid div:last-child h3 {
    grid-column: 1 / -1;
  }

  .site-footer .footer-grid a,
  .site-footer .footer-grid a[href="/onboarding"] {
    min-height: 36px !important;
    display: inline-flex !important;
    justify-content: flex-start;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    font-size: .88rem;
  }

  .site-footer .copyright,
  .trust-footer .copyright {
    width: 100% !important;
    margin: 0 !important;
    padding-top: 18px;
    color: rgba(235, 243, 251, .54);
    font-size: .68rem;
    line-height: 1.45;
    text-align: left;
  }
}

.desktop-nav a:not(.tr4-button),
.desktop-nav .nav-ecosystem summary {
  text-shadow: none !important;
}

.desktop-nav a:not(.tr4-button):hover,
.desktop-nav a:not(.tr4-button):focus-visible,
.desktop-nav a[aria-current="page"],
.desktop-nav .nav-ecosystem summary:hover,
.desktop-nav .nav-ecosystem summary:focus-visible,
.desktop-nav .nav-ecosystem[open] summary,
.desktop-nav .nav-ecosystem[data-current="true"] summary {
  text-shadow: none !important;
}

@media (min-width: 861px) {
  .shell-header .desktop-nav > a:not(.tr4-button),
  .shell-header .desktop-nav > .nav-ecosystem > summary {
    position: relative;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: color 160ms ease, opacity 160ms ease !important;
  }

  .shell-header .desktop-nav > a:not(.tr4-button):hover,
  .shell-header .desktop-nav > .nav-ecosystem > summary:hover {
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(246, 248, 249, 0.94) !important;
  }

  .shell-header .desktop-nav > a:not(.tr4-button):focus-visible,
  .shell-header .desktop-nav > .nav-ecosystem > summary:focus-visible {
    border-radius: 3px !important;
    outline: 1px solid rgba(231, 236, 239, 0.72);
    outline-offset: 3px;
  }

  .shell-header .desktop-nav > a[aria-current="page"] {
    background: transparent !important;
    box-shadow: none !important;
    color: #f3f5f6 !important;
  }

  .shell-header .desktop-nav > a[aria-current="page"]::after {
    position: absolute;
    right: 24%;
    bottom: 3px;
    left: 24%;
    height: 1px;
    border: 0;
    border-radius: 0;
    background: linear-gradient(90deg, transparent, rgba(233, 238, 241, 0.9), transparent);
    box-shadow: none;
    content: "" !important;
  }

  .shell-header .desktop-nav > .nav-ecosystem[data-current="true"]::after {
    position: absolute;
    right: 26%;
    bottom: 3px;
    left: 26%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(233, 238, 241, 0.9), transparent);
    content: "";
  }

  .shell-header .desktop-nav .nav-ecosystem-panel a:hover,
  .shell-header .desktop-nav .nav-ecosystem-panel a:focus-visible,
  .shell-header .desktop-nav .nav-ecosystem-panel a[aria-current="page"] {
    background: rgba(235, 240, 243, 0.055) !important;
    box-shadow: none !important;
    color: #eef2f4 !important;
    text-shadow: none !important;
  }
}

@media (max-width: 860px) {
  .portal-dock a,
  .portal-dock button {
    position: relative;
  }

  .portal-dock a[aria-current="page"],
  .portal-dock button[aria-expanded="true"] {
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #eef2f4 !important;
    text-shadow: none !important;
  }

  .portal-dock a[aria-current="page"]::after,
  .portal-dock button[aria-expanded="true"]::after {
    position: absolute;
    top: 7px;
    left: 50%;
    width: 18px;
    height: 1px;
    border: 0;
    border-radius: 0;
    background: rgba(232, 237, 240, 0.72);
    box-shadow: none;
    content: "";
    transform: translateX(-50%);
  }

  .mobile-menu a:hover,
  .mobile-menu a:focus-visible,
  .mobile-menu a[aria-current="page"] {
    background: rgba(235, 240, 243, 0.05) !important;
    box-shadow: inset 2px 0 rgba(232, 237, 240, 0.62) !important;
    color: #eef2f4 !important;
    text-shadow: none !important;
  }
}

@media (max-width: 560px) {
  .admin-cockpit-grid,
  .admin-posture-grid,
  .admin-operations-status {
    grid-template-columns: 1fr;
  }

  .section-shell,
  .content-band,
  .page-hero,
  .member-section,
  .builder-section,
  .store-section,
  .plain-band,
  .modalities-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .main-logo {
    width: 310px;
  }

  h1 {
    font-size: clamp(2.02rem, 10vw, 2.6rem);
  }

  h2 {
    font-size: clamp(1.72rem, 8vw, 2.3rem);
  }

  .hero-line {
    padding: 18px 0;
  }

  .copy-block {
    gap: 18px;
    font-size: 1rem;
  }

  .route-grid,
  .value-grid,
  .product-grid,
  .protocol-family-grid,
  .protocol-grid,
  .pathway-chip-grid,
  .field-grid,
  .goal-list,
  .provider-grid,
  .inline-form,
  .bridge-list div {
    grid-template-columns: 1fr;
  }

  .tr4-button,
  .action-button,
  .ghost-button {
    width: 100%;
    min-height: 50px;
  }

  .cta-row {
    width: 100%;
  }

  .builder-actions {
    display: grid;
    align-items: stretch;
  }

  .payment-switch {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .payment-switch button {
    min-height: 42px;
    padding: 0 6px;
  }

  .route-card,
  .value-card,
  .product-card,
  .protocol-family-card,
  .protocol-card {
    min-height: 0;
  }
}

.route-signature {
  position: absolute;
  z-index: 1;
  display: block;
  pointer-events: none;
  contain: layout paint;
  opacity: 0.92;
  filter: drop-shadow(0 24px 80px rgba(0, 0, 0, 0.58));
}

.route-signature span {
  position: absolute;
  display: block;
}

@media (min-width: 861px) {
  body[data-page="protocols"] .page-hero,
  body[data-page="treatments"] .page-hero,
  body[data-page="research"] .page-hero,
  body[data-page="smile"] .page-hero {
    align-items: flex-start;
    padding-right: clamp(420px, 41vw, 720px);
    padding-left: clamp(48px, 7vw, 132px);
  }

  body[data-page="protocols"] .hero-copy,
  body[data-page="treatments"] .hero-copy,
  body[data-page="research"] .hero-copy,
  body[data-page="smile"] .hero-copy {
    width: min(100%, 720px);
    align-items: flex-start;
    margin: 0;
    text-align: left;
    transform: none;
  }

  body[data-page="protocols"] .hero-copy h1,
  body[data-page="treatments"] .hero-copy h1,
  body[data-page="research"] .hero-copy h1,
  body[data-page="smile"] .hero-copy h1 {
    max-width: 12ch;
    text-align: left;
  }

  body[data-page="protocols"] .hero-copy .hero-line,
  body[data-page="treatments"] .hero-copy .hero-line,
  body[data-page="research"] .hero-copy .hero-line,
  body[data-page="smile"] .hero-copy .hero-line,
  body[data-page="protocols"] .hero-copy .lead,
  body[data-page="treatments"] .hero-copy .lead,
  body[data-page="research"] .hero-copy .lead,
  body[data-page="smile"] .hero-copy .lead {
    text-align: left;
  }

  body[data-page="protocols"] .hero-copy .cta-row,
  body[data-page="treatments"] .hero-copy .cta-row,
  body[data-page="research"] .hero-copy .cta-row,
  body[data-page="smile"] .hero-copy .cta-row {
    justify-content: flex-start;
  }

  body[data-page="guardian"] .page-hero {
    align-items: flex-end;
    padding-right: clamp(48px, 7vw, 132px);
    padding-left: clamp(420px, 41vw, 720px);
  }

  body[data-page="guardian"] .hero-copy {
    width: min(100%, 720px);
    align-items: flex-end;
    margin: 0;
    text-align: right;
  }

  body[data-page="guardian"] .hero-copy h1 {
    max-width: 12ch;
    text-align: right;
  }

  body[data-page="guardian"] .hero-copy .hero-line,
  body[data-page="guardian"] .hero-copy .lead {
    text-align: right;
  }

  body[data-page="guardian"] .hero-copy .cta-row {
    justify-content: flex-end;
  }

  body[data-page="protocols"] .page-hero::after,
  body[data-page="treatments"] .page-hero::after,
  body[data-page="research"] .page-hero::after,
  body[data-page="guardian"] .page-hero::after,
  body[data-page="smile"] .page-hero::after {
    background:
      linear-gradient(90deg, rgba(2, 3, 4, 0.88), rgba(2, 3, 4, 0.44) 48%, rgba(2, 3, 4, 0.72)),
      linear-gradient(180deg, rgba(2, 3, 4, 0.18), rgba(2, 3, 4, 0.58));
  }

  body[data-page="guardian"] .page-hero::after {
    background:
      linear-gradient(270deg, rgba(2, 3, 4, 0.9), rgba(2, 3, 4, 0.4) 50%, rgba(2, 3, 4, 0.74)),
      linear-gradient(180deg, rgba(2, 3, 4, 0.18), rgba(2, 3, 4, 0.58));
  }

  body[data-page="protocols"] .page-hero > .section-video,
  body[data-page="treatments"] .page-hero > .section-video,
  body[data-page="research"] .page-hero > .section-video,
  body[data-page="guardian"] .page-hero > .section-video,
  body[data-page="smile"] .page-hero > .section-video {
    opacity: 0.52;
    filter: brightness(0.72) saturate(1.2) contrast(1.14);
  }
}

.motion-toggle {
  min-width: 44px;
  min-height: 44px;
}

.footer-top img,
body[data-page="home"] .footer-top img,
.brand-lockup img,
.mobile-brand img,
.main-logo img {
  background: transparent !important;
  filter: none !important;
}

.vector-mark,
.provider-icon,
.mini-vector,
.contact-vector-icon {
  border-color: rgba(221, 228, 232, 0.25) !important;
  background:
    radial-gradient(circle at 15% 9%, rgba(244, 247, 248, 0.13), transparent 43%),
    linear-gradient(145deg, rgba(18, 23, 28, 0.94), rgba(3, 5, 7, 0.96)) !important;
  color: #dce4e8 !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.1) !important;
}

.modality-card:hover .vector-mark,
.modality-card:focus-within .vector-mark,
.modality-card.is-open .vector-mark,
.modality-card.is-revealed .vector-mark,
.provider:hover .provider-icon,
.provider:focus-within .provider-icon,
.contact-vector-field:focus-within .contact-vector-icon,
.contact-vector-option.selected .contact-vector-icon,
.contact-vector-option:hover .contact-vector-icon {
  border-color: rgba(238, 243, 245, 0.48) !important;
  background:
    radial-gradient(circle at 15% 9%, rgba(248, 250, 251, 0.19), transparent 44%),
    linear-gradient(145deg, rgba(24, 30, 35, 0.97), rgba(4, 6, 8, 0.98)) !important;
  color: #f0f4f6 !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36), inset 0 1px rgba(255, 255, 255, 0.15) !important;
}

@media (min-width: 1201px) {
  .shell-header {
    min-height: 112px;
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(34px, 3vw, 58px);
    padding: 14px max(42px, calc((100vw - 1440px) / 2));
    border-bottom-color: rgba(226, 232, 237, 0.12);
    background: rgba(2, 3, 4, 0.98);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
  }

  .shell-header .brand-lockup {
    width: clamp(286px, 21vw, 332px);
    height: 76px;
    background: transparent;
  }

  .shell-header .brand-lockup img {
    background: transparent;
    filter: contrast(1.08) brightness(1.08);
  }

  .shell-header .desktop-nav {
    min-height: 56px;
    gap: clamp(7px, 0.75vw, 13px);
    font-size: clamp(0.75rem, 0.76vw, 0.84rem);
  }
}

.main-logo,
.mobile-brand,
.brand-lockup,
.main-logo img,
.mobile-brand img,
.brand-lockup img {
  background: transparent !important;
}

.route-signature-protocols {
  top: 50%;
  right: clamp(52px, 8vw, 150px);
  width: clamp(300px, 31vw, 510px);
  aspect-ratio: 1;
  border: 1px solid rgba(111, 255, 227, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(111, 255, 227, 0.18) 0 2%, transparent 2.4%),
    repeating-radial-gradient(circle, transparent 0 16%, rgba(111, 255, 227, 0.08) 16.3% 16.6%, transparent 17% 24%);
  box-shadow: inset 0 0 90px rgba(39, 216, 244, 0.06), 0 0 100px rgba(111, 255, 227, 0.05);
  transform: translateY(-45%);
}

.route-signature-protocols::before,
.route-signature-protocols::after {
  position: absolute;
  inset: 25%;
  border: 1px solid rgba(39, 216, 244, 0.34);
  content: '';
}

.route-signature-protocols::before {
  border-radius: 28% 72% 62% 38% / 44% 36% 64% 56%;
  transform: rotate(45deg);
}

.route-signature-protocols::after {
  inset: 36%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 255, 227, 0.22), rgba(2, 3, 4, 0.25) 58%, transparent 62%);
  box-shadow: 0 0 42px rgba(111, 255, 227, 0.18);
}

.route-signature-protocols span {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(242, 246, 251, 0.82);
  border-radius: 50%;
  background: #071014;
  box-shadow: 0 0 20px rgba(111, 255, 227, 0.62);
  animation: tr4-signature-pulse 4.8s ease-in-out infinite alternate;
}

.route-signature-protocols span:nth-child(1) { top: 4%; left: 48%; }
.route-signature-protocols span:nth-child(2) { top: 24%; right: 8%; animation-delay: -0.8s; }
.route-signature-protocols span:nth-child(3) { right: 12%; bottom: 20%; animation-delay: -1.6s; }
.route-signature-protocols span:nth-child(4) { bottom: 4%; left: 47%; animation-delay: -2.4s; }
.route-signature-protocols span:nth-child(5) { bottom: 21%; left: 9%; animation-delay: -3.2s; }
.route-signature-protocols span:nth-child(6) { top: 23%; left: 8%; animation-delay: -4s; }

.route-signature-pathway {
  top: 50%;
  right: clamp(54px, 8vw, 152px);
  width: clamp(320px, 32vw, 540px);
  height: clamp(280px, 38vh, 430px);
  border: 1px solid rgba(111, 255, 227, 0.16);
  border-radius: 42% 58% 48% 52% / 52% 42% 58% 48%;
  background:
    linear-gradient(115deg, transparent 11%, rgba(111, 255, 227, 0.17) 11.3% 11.8%, transparent 12.1% 36%, rgba(39, 216, 244, 0.2) 36.3% 36.8%, transparent 37.1% 64%, rgba(169, 140, 255, 0.2) 64.3% 64.8%, transparent 65.1%),
    radial-gradient(circle at 50% 50%, rgba(39, 216, 244, 0.12), transparent 58%);
  transform: translateY(-43%) rotate(-4deg);
}

.route-signature-pathway::before {
  position: absolute;
  top: 50%;
  right: 7%;
  left: 7%;
  height: 1px;
  background: linear-gradient(90deg, rgba(111, 255, 227, 0.15), rgba(111, 255, 227, 0.7), rgba(169, 140, 255, 0.25));
  box-shadow: 0 0 22px rgba(111, 255, 227, 0.3);
  content: '';
}

.route-signature-pathway span {
  top: calc(50% - 11px);
  width: 22px;
  height: 22px;
  border: 1px solid rgba(242, 246, 251, 0.72);
  border-radius: 50%;
  background: radial-gradient(circle, var(--aqua) 0 18%, #071014 22% 100%);
  box-shadow: 0 0 26px rgba(111, 255, 227, 0.42);
}

.route-signature-pathway span:nth-child(1) { left: 8%; }
.route-signature-pathway span:nth-child(2) { left: 35%; }
.route-signature-pathway span:nth-child(3) { left: 63%; }
.route-signature-pathway span:nth-child(4) { right: 8%; }

.route-signature-research {
  top: 50%;
  right: clamp(52px, 7vw, 140px);
  width: clamp(330px, 33vw, 560px);
  height: clamp(330px, 48vh, 520px);
  border: 1px solid rgba(39, 216, 244, 0.2);
  border-radius: 26px;
  background:
    linear-gradient(rgba(39, 216, 244, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 216, 244, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 72% 26%, rgba(111, 255, 227, 0.17), transparent 34%),
    rgba(3, 9, 13, 0.34);
  background-size: 34px 34px, 34px 34px, auto, auto;
  box-shadow: inset 0 0 0 8px rgba(2, 3, 4, 0.28), inset 0 0 80px rgba(39, 216, 244, 0.07);
  transform: translateY(-44%) perspective(900px) rotateY(-8deg);
}

.route-signature-research::before {
  position: absolute;
  inset: 9%;
  border-left: 1px solid rgba(111, 255, 227, 0.36);
  border-bottom: 1px solid rgba(111, 255, 227, 0.36);
  clip-path: polygon(0 72%, 20% 53%, 38% 64%, 58% 25%, 76% 41%, 100% 8%, 100% 15%, 77% 48%, 59% 33%, 40% 72%, 21% 61%, 0 82%);
  background: linear-gradient(140deg, rgba(111, 255, 227, 0.18), rgba(169, 140, 255, 0.08));
  content: '';
}

.route-signature-research span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 18px rgba(111, 255, 227, 0.7);
  animation: tr4-signature-pulse 5.4s ease-in-out infinite alternate;
}

.route-signature-research span:nth-child(1) { left: 14%; bottom: 26%; }
.route-signature-research span:nth-child(2) { left: 31%; bottom: 42%; animation-delay: -1s; }
.route-signature-research span:nth-child(3) { left: 48%; bottom: 33%; animation-delay: -2s; }
.route-signature-research span:nth-child(4) { left: 65%; bottom: 62%; animation-delay: -3s; }
.route-signature-research span:nth-child(5) { right: 10%; top: 16%; animation-delay: -4s; }

.route-signature-guardian {
  top: 50%;
  left: clamp(60px, 9vw, 170px);
  width: clamp(310px, 31vw, 520px);
  aspect-ratio: 0.88;
  border: 1px solid rgba(217, 188, 96, 0.25);
  border-radius: 48% 48% 60% 60% / 30% 30% 70% 70%;
  background:
    radial-gradient(circle at 50% 34%, rgba(217, 188, 96, 0.16), transparent 32%),
    linear-gradient(155deg, rgba(217, 188, 96, 0.09), rgba(111, 255, 227, 0.04) 52%, rgba(2, 3, 4, 0.26));
  box-shadow: inset 0 0 0 12px rgba(2, 3, 4, 0.3), inset 0 0 90px rgba(217, 188, 96, 0.06), 0 0 80px rgba(217, 188, 96, 0.05);
  transform: translateY(-44%);
}

.route-signature-guardian::before,
.route-signature-guardian::after {
  position: absolute;
  border: 1px solid rgba(217, 188, 96, 0.27);
  border-radius: inherit;
  content: '';
}

.route-signature-guardian::before { inset: 11%; }
.route-signature-guardian::after { inset: 23%; border-color: rgba(111, 255, 227, 0.26); }

.route-signature-guardian span {
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(217, 188, 96, 0.7), transparent);
  transform-origin: 50% 100%;
}

.route-signature-guardian span:nth-child(1) { top: 12%; bottom: 18%; }
.route-signature-guardian span:nth-child(2) { top: 21%; bottom: 27%; transform: rotate(58deg); }
.route-signature-guardian span:nth-child(3) { top: 21%; bottom: 27%; transform: rotate(-58deg); }

.route-signature-smile {
  top: 50%;
  right: clamp(50px, 7vw, 140px);
  width: clamp(330px, 34vw, 570px);
  height: clamp(340px, 48vh, 520px);
  transform: translateY(-43%);
}

.route-signature-smile::before {
  position: absolute;
  top: 7%;
  bottom: 7%;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(111, 255, 227, 0.68) 18% 82%, transparent);
  box-shadow: 0 0 26px rgba(111, 255, 227, 0.24);
  content: '';
}

.route-signature-smile span {
  right: 6%;
  left: 6%;
  height: 27%;
  border: 1px solid rgba(111, 255, 227, 0.25);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(111, 255, 227, 0.38) 0 3px, transparent 3px),
    repeating-linear-gradient(180deg, rgba(242, 246, 251, 0.12) 0 1px, transparent 1px 18px),
    rgba(3, 10, 14, 0.62);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(242, 246, 251, 0.05);
}

.route-signature-smile span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 13px;
  border: 2px solid var(--aqua);
  border-radius: 50%;
  background: #061014;
  box-shadow: 0 0 22px rgba(111, 255, 227, 0.55);
  content: '';
  transform: translate(-50%, -50%);
}

.route-signature-smile span:nth-child(1) { top: 5%; transform: translateX(-7%) rotate(-2deg); }
.route-signature-smile span:nth-child(2) { top: 36%; z-index: 2; }
.route-signature-smile span:nth-child(3) { top: 67%; transform: translateX(7%) rotate(2deg); }

@keyframes tr4-signature-pulse {
  from { opacity: 0.52; transform: scale(0.84); }
  to { opacity: 1; transform: scale(1.12); }
}

@media (max-width: 1100px) and (min-width: 861px) {
  body[data-page="protocols"] .page-hero,
  body[data-page="treatments"] .page-hero,
  body[data-page="research"] .page-hero,
  body[data-page="smile"] .page-hero {
    padding-right: 43vw;
    padding-left: 42px;
  }

  body[data-page="guardian"] .page-hero {
    padding-right: 42px;
    padding-left: 43vw;
  }

  .route-signature-protocols,
  .route-signature-pathway,
  .route-signature-research,
  .route-signature-smile {
    right: 34px;
    max-width: 38vw;
  }

  .route-signature-guardian {
    left: 34px;
    max-width: 36vw;
  }
}

@media (min-width: 861px) {
  .shell-header {
    position: sticky;
    z-index: 90;
    top: 0;
    display: grid;
    min-height: 88px;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    justify-items: stretch;
    gap: clamp(18px, 2.4vw, 42px);
    overflow: visible;
    padding: 10px max(24px, calc((100vw - 1140px) / 2));
    border: 0;
    border-bottom: 1px solid rgba(226, 232, 237, 0.16);
    background:
      linear-gradient(110deg, rgba(3, 4, 6, 0.94), rgba(13, 16, 20, 0.9)),
      radial-gradient(circle at 14% 0%, rgba(226, 232, 237, 0.08), transparent 38%);
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px) saturate(115%);
  }

  .shell-header::after {
    position: absolute;
    right: clamp(24px, 4vw, 72px);
    bottom: -1px;
    left: clamp(24px, 4vw, 72px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(240, 244, 247, 0.42), transparent);
    content: "";
    pointer-events: none;
  }

  .shell-header .brand-lockup {
    position: relative;
    inset: auto;
    width: clamp(190px, 18vw, 286px);
    height: 58px;
    max-width: 100%;
    justify-self: start;
    overflow: hidden;
    margin: 0;
    transform: none;
  }

  .shell-header .brand-lockup img {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 100%;
    height: auto;
    filter: grayscale(1) contrast(1.08) brightness(1.16);
    transform: translateY(-50%);
  }

  .shell-header .desktop-nav {
    position: relative;
    inset: auto;
    display: flex;
    width: auto;
    max-width: none;
    min-width: 0;
    min-height: 52px;
    justify-self: end;
    justify-content: flex-end;
    gap: clamp(5px, 0.8vw, 14px);
    overflow: visible;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    font-size: clamp(0.7rem, 0.78vw, 0.82rem);
    backdrop-filter: none;
    transform: none;
  }

  .shell-header .desktop-nav > a:not(.tr4-button),
  .shell-header .desktop-nav > .nav-ecosystem > summary {
    height: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    line-height: 1;
  }

  .shell-header .desktop-nav > a[aria-current="page"] {
    background: rgba(230, 236, 240, 0.055);
    box-shadow: inset 0 0 0 1px rgba(230, 236, 240, 0.08);
  }

  .shell-header .desktop-nav a:not(.tr4-button),
  .shell-header .nav-ecosystem-toggle {
    min-height: 44px;
    padding-inline: clamp(5px, 0.55vw, 10px);
    color: rgba(226, 232, 237, 0.7);
    white-space: nowrap;
  }

  .shell-header .desktop-nav a:not(.tr4-button):hover,
  .shell-header .desktop-nav a:not(.tr4-button):focus-visible,
  .shell-header .desktop-nav a[aria-current="page"],
  .shell-header .nav-ecosystem-toggle:hover,
  .shell-header .nav-ecosystem-toggle:focus-visible {
    color: #f4f6f8;
  }

  .shell-header .desktop-nav .tr4-button {
    min-height: 44px;
    padding-inline: clamp(12px, 1.2vw, 20px);
    border-color: rgba(226, 232, 237, 0.22);
    background: linear-gradient(145deg, rgba(235, 240, 244, 0.12), rgba(235, 240, 244, 0.035));
    color: #f1f4f6;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  }

  .shell-header .desktop-nav .nav-divider {
    display: none;
  }
}

@media (max-width: 860px) {
  .route-signature {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .route-signature,
  .route-signature span {
    animation: none !important;
  }
}

.content-band.video-band,
.modalities-section {
  background:
    radial-gradient(circle at 16% 18%, rgba(111, 255, 227, 0.14), transparent 28rem),
    radial-gradient(circle at 82% 22%, rgba(169, 140, 255, 0.12), transparent 30rem),
    linear-gradient(135deg, rgba(4, 8, 12, 0.98), rgba(8, 11, 18, 0.92) 46%, rgba(2, 3, 4, 0.98));
}

.content-band.video-band::before,
.modalities-section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(111, 255, 227, 0.08) 42.3% 42.7%, transparent 43%),
    linear-gradient(65deg, transparent 0 58%, rgba(245, 207, 124, 0.07) 58.2% 58.6%, transparent 59%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 96px);
  content: "";
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

.shell-header {
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-height: 178px;
  padding: 30px clamp(18px, 5vw, 70px) 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(111, 255, 227, 0.07), transparent 24rem),
    linear-gradient(180deg, rgba(2, 3, 4, 0.95), rgba(2, 3, 4, 0.76));
}

.brand-lockup {
  width: clamp(300px, 34vw, 430px);
  margin: 0 auto;
  opacity: 0.98;
  filter: drop-shadow(0 0 22px rgba(180, 210, 224, 0.18));
}

.shell-header .desktop-nav {
  border-radius: var(--radius-pill);
  background: rgba(6, 9, 14, 0.62);
  box-shadow: 0 18px 62px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.mobile-shell {
  justify-content: center;
}

.mobile-brand {
  width: clamp(300px, 82vw, 430px);
  margin: 58px auto 0;
  filter: drop-shadow(0 0 20px rgba(180, 210, 224, 0.16));
}

body[data-page="home"] .mobile-brand {
  visibility: visible;
}

.nav-toggle {
  position: fixed;
  top: 10px;
  right: 10px;
  border-radius: 10px;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@media (max-width: 860px) {
  .mobile-shell {
    min-height: 154px;
    align-items: flex-start;
  }

  .mobile-menu {
    top: 62px;
  }
}

@media (max-width: 860px) {
  .mobile-shell {
    top: 0;
    right: 0;
    left: 0;
    min-height: 154px;
    background:
      radial-gradient(circle at 50% 10%, rgba(111, 255, 227, 0.07), transparent 18rem),
      linear-gradient(180deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.82) 74%, rgba(0, 0, 0, 0));
  }

  body:not([data-page="home"]) main {
    padding-top: 154px;
  }
}

body[data-page="home"] .ambient-video {
  position: fixed;
  inset: 0;
  z-index: -4;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  opacity: 0.48;
  filter: brightness(0.78) saturate(1.16) contrast(1.06);
  transform: none;
}

body[data-page="home"] .webflow-landing,
body[data-page="home"] .page-hero,
body[data-page="home"] .content-band,
body[data-page="home"] .modalities-section,
body[data-page="home"] .site-footer {
  background: rgba(2, 3, 4, 0.42);
}

body[data-page="home"] .webflow-landing {
  background:
    radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.07), transparent 18rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.52));
}

body[data-page="home"] .content-band.video-band,
body[data-page="home"] .modalities-section {
  background:
    radial-gradient(circle at 16% 18%, rgba(111, 255, 227, 0.12), transparent 28rem),
    radial-gradient(circle at 82% 22%, rgba(169, 140, 255, 0.10), transparent 30rem),
    rgba(2, 3, 4, 0.56);
}

.modality-grid {
  align-items: stretch;
  perspective: 1400px;
}

.modality-card {
  --modality-glow: rgba(111, 255, 227, 0.20);
  min-height: 320px;
  align-content: start;
  justify-items: start;
  gap: 14px;
  border-color: rgba(235, 243, 251, 0.14);
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018) 42%, rgba(255, 255, 255, 0.045)),
    rgba(7, 10, 16, 0.78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34), 0 0 48px var(--modality-glow);
  text-align: left;
  transform: none;
  backdrop-filter: blur(18px);
}

.modality-card:nth-child(1) { --modality-glow: rgba(169, 140, 255, 0.24); }
.modality-card:nth-child(2) { --modality-glow: rgba(101, 243, 173, 0.22); }
.modality-card:nth-child(3) { --modality-glow: rgba(39, 216, 244, 0.24); }
.modality-card:nth-child(4) { --modality-glow: rgba(111, 255, 227, 0.22); }
.modality-card:nth-child(5) { --modality-glow: rgba(217, 188, 96, 0.22); }
.modality-card:nth-child(6) { --modality-glow: rgba(74, 180, 245, 0.22); }

.modality-card::before {
  background:
    radial-gradient(circle at 18% 10%, var(--modality-glow), transparent 34%),
    radial-gradient(circle at 92% 92%, rgba(255, 255, 255, 0.08), transparent 34%);
  opacity: 0.84;
}

.modality-card small {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.detail-card,
.modality-card.is-open {
  justify-items: start;
  text-align: left;
}

.tilt-left,
.tilt-right {
  transform: none;
}

.tilt-left:hover,
.tilt-left:focus-within {
  transform: none;
}

.tilt-right:hover,
.tilt-right:focus-within {
  transform: none;
}

.modality-card:not(.tilt-left):not(.tilt-right):hover,
.modality-card:not(.tilt-left):not(.tilt-right):focus-within,
.modality-card.is-open:hover,
.modality-card.is-open:focus-within {
  transform: none;
}

@media (max-width: 860px) {
  body[data-page="home"] .ambient-video {
    opacity: 0.36;
  }

  .modality-card,
  .tilt-left,
  .tilt-right,
  .tilt-left:hover,
  .tilt-right:hover,
  .tilt-left:focus-within,
  .tilt-right:focus-within {
    transform: none;
  }
}

body[data-page="home"] main {
  position: relative;
  isolation: isolate;
}

body[data-page="home"] .ambient-video {
  z-index: 0;
  opacity: 0.64;
  visibility: visible;
}

body[data-page="home"] .webflow-landing,
body[data-page="home"] .page-hero,
body[data-page="home"] .content-band,
body[data-page="home"] .modalities-section,
body[data-page="home"] .site-footer {
  position: relative;
  z-index: 1;
}

body[data-page="home"] .page-hero,
body[data-page="home"] .content-band,
body[data-page="home"] .modalities-section {
  background: rgba(2, 3, 4, 0.28);
}

body[data-page="home"] .modality-card,
body[data-page="home"] .modality-card:hover,
body[data-page="home"] .modality-card:focus-within,
body[data-page="home"] .modality-card.is-open,
body[data-page="home"] .modality-card.is-open:hover,
body[data-page="home"] .modality-card.is-open:focus-within {
  transform: none;
}

body[data-page="home"] .modality-card:hover,
body[data-page="home"] .modality-card:focus-within {
  border-color: rgba(111, 255, 227, 0.34);
  box-shadow: 0 28px 88px rgba(0, 0, 0, 0.38), 0 0 56px var(--modality-glow);
}

@media (max-width: 1060px) {
  .modality-card,
  .tilt-left,
  .tilt-right,
  .tilt-left:hover,
  .tilt-right:hover,
  .tilt-left:focus-within,
  .tilt-right:focus-within,
  .modality-card:hover,
  .modality-card:focus-within,
  .modality-card.is-open,
  .modality-card.is-open:hover,
  .modality-card.is-open:focus-within {
    transform: none;
  }
}

@media (max-width: 860px) {
  .mobile-shell {
    min-height: clamp(128px, 24vw, 154px);
    padding-inline: 12px;
  }

  .mobile-brand {
    width: clamp(300px, 82vw, 430px);
    margin-top: clamp(48px, 9vw, 58px);
    opacity: 0.9;
  }

  .nav-toggle {
    top: max(14px, env(safe-area-inset-top));
    right: 12px;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(9, 12, 18, 0.72);
  }

  .mobile-menu {
    top: calc(max(14px, env(safe-area-inset-top)) + 66px);
    right: 12px;
    left: 12px;
    max-width: 420px;
  }

  body:not([data-page="home"]) main {
    padding-top: clamp(128px, 24vw, 154px);
  }

  body:not([data-page="home"]) .page-hero {
    min-height: clamp(430px, 72vh, 620px);
    padding-top: clamp(72px, 11vw, 108px);
    padding-bottom: clamp(72px, 11vw, 108px);
  }

  body:not([data-page="home"]) .page-hero .section-video {
    opacity: 0.78;
    object-position: center;
  }

  .hero-copy {
    gap: clamp(16px, 3.4vw, 22px);
  }

  .mobile-rail {
    bottom: clamp(18px, 5vw, 28px);
    gap: clamp(7px, 2vw, 12px);
  }

  .mobile-rail a {
    min-height: clamp(42px, 9vw, 56px);
    border-radius: 10px;
    font-size: clamp(0.62rem, 2vw, 0.78rem);
  }
}

@media (min-width: 561px) and (max-width: 860px) {
  .mobile-brand {
    width: clamp(360px, 58vw, 500px);
    margin-top: 44px;
  }

  body:not([data-page="home"]) main {
    padding-top: 168px;
  }

  body:not([data-page="home"]) .page-hero {
    min-height: clamp(520px, 70vh, 680px);
  }

  .main-logo {
    width: clamp(360px, 58vw, 520px);
  }

  .webflow-landing {
    min-height: clamp(390px, 52vh, 500px);
  }
}

@media (min-width: 561px) and (max-width: 860px) {
  .mobile-menu {
    left: auto;
    width: min(360px, calc(100vw - 24px));
    max-width: none;
    margin-left: 0;
    background: rgba(7, 10, 15, 0.985);
  }
}

body.nav-open .mobile-menu {
  z-index: 51;
}

body.nav-open .nav-toggle {
  z-index: 52;
}

body.nav-open .mobile-brand {
  opacity: 0.16;
}

body[data-page="home"] .webflow-landing {
  min-height: clamp(300px, 38svh, 420px);
}

body[data-page="home"] .webflow-landing .site-video {
  transform: translateY(88px) scale(1.015);
}

body[data-page="home"] .main-logo {
  top: clamp(112px, 15svh, 150px);
  width: clamp(420px, 42vw, 650px);
}

body[data-page="home"] .site-nav {
  top: clamp(238px, 30svh, 330px);
}

body[data-page="home"] .page-hero {
  min-height: calc(100svh - clamp(300px, 38svh, 420px));
  padding-top: clamp(24px, 4svh, 54px);
  padding-bottom: clamp(28px, 4svh, 64px);
}

body[data-page="home"] .hero-copy {
  gap: clamp(10px, 1.4vw, 18px);
}

body[data-page="home"] h1 {
  font-size: clamp(3.1rem, 5.8vw, 5rem);
  line-height: 0.92;
}

body[data-page="home"] .hero-line {
  padding: clamp(12px, 1.8svh, 18px) 0;
}

body[data-page="home"] .lead {
  max-width: 860px;
  font-size: clamp(0.98rem, 1.2vw, 1.14rem);
  line-height: 1.48;
}

@media (max-width: 860px) {
  .mobile-shell {
    top: max(18px, env(safe-area-inset-top));
    right: 12px;
    left: 12px;
    height: clamp(56px, 13vw, 72px);
    display: block;
    padding: 0;
  }

  .mobile-brand {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(218px, 58vw, 330px);
    margin-top: 0;
    opacity: 0.94;
    transform: translate(-50%, -50%);
  }

  .nav-toggle {
    position: absolute;
    top: 50%;
    right: 0;
    width: clamp(54px, 13vw, 66px);
    height: clamp(54px, 13vw, 66px);
    border-radius: clamp(14px, 3.4vw, 20px);
    transform: translateY(-50%);
  }

  .mobile-menu {
    top: calc(max(18px, env(safe-area-inset-top)) + clamp(66px, 15vw, 82px));
  }

  .webflow-landing {
    min-height: clamp(226px, 34svh, 330px);
  }

  .main-logo {
    top: clamp(50px, 8svh, 74px);
    width: clamp(222px, 58vw, 335px);
  }

  .mobile-rail {
    bottom: clamp(12px, 2.8svh, 22px);
  }

  body:not([data-page="home"]) main {
    padding-top: clamp(92px, 18vw, 124px);
  }

  body:not([data-page="home"]) .page-hero {
    min-height: calc(100svh - clamp(92px, 18vw, 124px));
    padding-top: clamp(34px, 7svh, 70px);
    padding-bottom: clamp(28px, 6svh, 58px);
  }

  body:not([data-page="home"]) .hero-copy {
    gap: clamp(10px, 2.5vw, 16px);
  }

  body:not([data-page="home"]) h1 {
    font-size: clamp(2.2rem, 9vw, 4.5rem);
    line-height: 0.94;
  }

  body:not([data-page="home"]) .hero-line {
    padding: clamp(10px, 2.4svh, 16px) 0;
    font-size: clamp(0.9rem, 3.2vw, 1.2rem);
  }

  body:not([data-page="home"]) .lead {
    max-width: 760px;
    font-size: clamp(0.9rem, 2.8vw, 1.08rem);
    line-height: 1.44;
  }

  body[data-page="home"] .webflow-landing {
    min-height: clamp(255px, 36svh, 360px);
  }

  body[data-page="home"] .main-logo {
    top: clamp(58px, 9svh, 82px);
    width: clamp(230px, 60vw, 340px);
  }

  body[data-page="home"] .webflow-landing .site-video {
    transform: translateY(82px) scale(1.04);
  }

  body[data-page="home"] .page-hero {
    min-height: calc(100svh - clamp(255px, 36svh, 360px));
    padding-top: clamp(28px, 5svh, 50px);
    padding-bottom: clamp(28px, 5svh, 56px);
  }

  body[data-page="home"] .hero-copy {
    gap: clamp(9px, 2.4vw, 15px);
  }

  body[data-page="home"] h1 {
    font-size: clamp(2.25rem, 10vw, 4.6rem);
  }

  body[data-page="home"] .lead {
    font-size: clamp(0.88rem, 2.6vw, 1.05rem);
    line-height: 1.44;
  }
}

@media (max-width: 560px) {
  .mobile-shell {
    top: max(16px, env(safe-area-inset-top));
    height: 58px;
  }

  .mobile-brand {
    width: clamp(210px, 61vw, 260px);
  }

  .nav-toggle {
    width: 56px;
    height: 56px;
  }

  .mobile-menu {
    top: calc(max(16px, env(safe-area-inset-top)) + 68px);
  }

  body:not([data-page="home"]) main {
    padding-top: 90px;
  }

  body:not([data-page="home"]) .page-hero {
    min-height: calc(100svh - 90px);
    padding-top: 28px;
    padding-bottom: 34px;
  }

  body:not([data-page="home"]) h1 {
    font-size: clamp(2rem, 8.5vw, 2.9rem);
  }

  body:not([data-page="home"]) .hero-line {
    padding: 10px 0;
    font-size: clamp(0.82rem, 3.4vw, 1.05rem);
  }

  body:not([data-page="home"]) .lead {
    font-size: 0.9rem;
    line-height: 1.38;
  }

  body[data-page="home"] .webflow-landing {
    min-height: clamp(255px, 36svh, 360px);
  }

  body[data-page="home"] .page-hero {
    min-height: calc(100svh - clamp(255px, 36svh, 360px));
    padding-top: 24px;
    padding-bottom: 30px;
  }

  body[data-page="home"] .main-logo {
    top: clamp(58px, 9svh, 76px);
    width: clamp(220px, 62vw, 280px);
  }

  body[data-page="home"] .mobile-rail {
    bottom: clamp(14px, 3svh, 22px);
  }

  body[data-page="home"] h1 {
    font-size: clamp(2rem, 9.6vw, 2.95rem);
  }

  body[data-page="home"] .hero-line {
    padding: 12px 0;
    font-size: clamp(0.82rem, 3.5vw, 1.1rem);
  }

  body[data-page="home"] .lead {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  body[data-page="home"] .cta-row {
    margin-top: 2px;
  }
}

@media (max-width: 860px) {
  .mobile-shell {
    top: max(14px, env(safe-area-inset-top));
    right: 14px;
    left: 14px;
    height: 44px;
  }

  .mobile-brand {
    top: clamp(92px, 13svh, 118px);
    width: clamp(235px, 64vw, 340px);
    opacity: 0.9;
  }

  .nav-toggle {
    top: 22px;
    right: 0;
    width: clamp(46px, 10vw, 54px);
    height: clamp(46px, 10vw, 54px);
    border-radius: 16px;
    background: rgba(5, 8, 12, 0.56);
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28), inset 0 0 24px rgba(255, 255, 255, 0.035);
  }

  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    width: 19px;
    height: 2px;
  }

  .nav-toggle span::before {
    top: -7px;
  }

  .nav-toggle span::after {
    top: 7px;
  }

  .mobile-menu {
    top: calc(max(14px, env(safe-area-inset-top)) + 70px);
    right: 14px;
    left: auto;
    width: min(330px, calc(100vw - 28px));
    max-width: none;
  }

  .webflow-landing {
    min-height: clamp(275px, 38svh, 390px);
  }

  .main-logo {
    top: clamp(92px, 13svh, 118px);
    width: clamp(235px, 64vw, 340px);
  }

  .mobile-rail {
    bottom: clamp(16px, 3.6svh, 26px);
  }

  body:not([data-page="home"]) main {
    padding-top: clamp(112px, 21vw, 148px);
  }

  body:not([data-page="home"]) .page-hero {
    min-height: calc(100svh - clamp(112px, 21vw, 148px));
    padding-top: clamp(46px, 8svh, 86px);
    padding-bottom: clamp(36px, 6svh, 64px);
  }

  body:not([data-page="home"]) h1 {
    font-size: clamp(2.05rem, 8vw, 4rem);
    line-height: 0.96;
    letter-spacing: -0.035em;
  }

  body:not([data-page="home"]) .hero-line {
    padding: clamp(10px, 2svh, 14px) 0;
    font-size: clamp(0.82rem, 2.8vw, 1.05rem);
    line-height: 1.2;
  }

  body:not([data-page="home"]) .lead {
    max-width: 710px;
    font-size: clamp(0.88rem, 2.45vw, 1rem);
    line-height: 1.46;
  }

  body[data-page="home"] .webflow-landing {
    min-height: clamp(300px, 39svh, 390px);
  }

  body[data-page="home"] .main-logo {
    top: clamp(96px, 13svh, 124px);
    width: clamp(240px, 65vw, 345px);
  }

  body[data-page="home"] .page-hero {
    min-height: calc(100svh - clamp(300px, 39svh, 390px));
    padding-top: clamp(22px, 4svh, 42px);
    padding-bottom: clamp(26px, 5svh, 52px);
  }
}

@media (max-width: 560px) {
  .mobile-shell {
    top: max(12px, env(safe-area-inset-top));
    right: 12px;
    left: 12px;
    height: 42px;
  }

  .mobile-brand {
    top: clamp(96px, 12svh, 112px);
    width: clamp(230px, 66vw, 286px);
  }

  .nav-toggle {
    top: 22px;
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .mobile-menu {
    top: calc(max(12px, env(safe-area-inset-top)) + 64px);
    right: 12px;
    width: min(318px, calc(100vw - 24px));
  }

  .webflow-landing {
    min-height: clamp(286px, 38svh, 340px);
  }

  .main-logo {
    top: clamp(96px, 12svh, 112px);
    width: clamp(230px, 66vw, 286px);
  }

  body:not([data-page="home"]) main {
    padding-top: 112px;
  }

  body:not([data-page="home"]) .page-hero {
    min-height: calc(100svh - 112px);
    padding-top: 34px;
    padding-bottom: 38px;
  }

  body:not([data-page="home"]) h1 {
    font-size: clamp(1.92rem, 7.9vw, 2.62rem);
    line-height: 0.98;
  }

  body:not([data-page="home"]) .hero-line {
    font-size: clamp(0.78rem, 3vw, 0.96rem);
    line-height: 1.18;
  }

  body:not([data-page="home"]) .lead {
    font-size: 0.86rem;
    line-height: 1.4;
  }

  body[data-page="home"] .webflow-landing {
    min-height: clamp(300px, 39svh, 340px);
  }

  body[data-page="home"] .page-hero {
    min-height: calc(100svh - clamp(300px, 39svh, 340px));
    padding-top: 20px;
    padding-bottom: 28px;
  }

  body[data-page="home"] .main-logo {
    top: clamp(98px, 12svh, 114px);
    width: clamp(232px, 67vw, 290px);
  }

  body[data-page="home"] h1 {
    font-size: clamp(1.9rem, 8.7vw, 2.72rem);
  }
}

@media (max-width: 560px) {
  .mobile-brand,
  .main-logo {
    width: clamp(220px, 61vw, 250px);
  }

  .nav-toggle {
    width: 46px;
    height: 46px;
  }
}

.mobile-intro-copy {
  display: none;
}

@media (max-width: 860px) {
  .nav-toggle {
    width: 58px;
    height: 32px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .nav-toggle span {
    display: none;
  }

  .nav-toggle::after {
    content: "MENU";
  }

  body[data-page="home"] .mobile-rail {
    display: none;
  }

  body[data-page="home"] .webflow-landing {
    min-height: clamp(255px, 33svh, 320px);
  }

  body[data-page="home"] .page-hero {
    min-height: calc(100svh - clamp(255px, 33svh, 320px));
    padding-top: clamp(18px, 3svh, 34px);
    padding-bottom: clamp(18px, 3svh, 34px);
  }

  body[data-page="home"] .hero-copy {
    gap: clamp(8px, 1.8vw, 12px);
  }

  body[data-page="home"] .page-hero .lead {
    display: none;
  }

  body[data-page="home"] .page-hero .cta-row .tr4-button.secondary {
    display: none;
  }

  body[data-page="home"] .mobile-intro-copy {
    position: relative;
    z-index: 1;
    display: block;
    padding: clamp(24px, 7vw, 42px) 18px clamp(32px, 8vw, 52px);
    background: rgba(2, 3, 4, 0.52);
    color: rgba(235, 243, 251, 0.74);
    font-size: clamp(0.95rem, 2.5vw, 1.08rem);
    line-height: 1.55;
    text-align: center;
  }

  body[data-page="home"] .mobile-intro-copy p {
    max-width: 660px;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .nav-toggle {
    top: 16px;
    width: 54px;
    height: 30px;
    font-size: 0.58rem;
  }

  body[data-page="home"] .webflow-landing {
    min-height: clamp(245px, 31svh, 290px);
  }

  body[data-page="home"] .page-hero {
    min-height: calc(100svh - clamp(245px, 31svh, 290px));
    padding-top: 14px;
    padding-bottom: 20px;
  }

  body[data-page="home"] .hero-copy {
    gap: 8px;
  }

  body[data-page="home"] h1 {
    font-size: clamp(1.82rem, 8.15vw, 2.48rem);
    line-height: 0.95;
  }

  body[data-page="home"] .hero-line {
    padding: 10px 0;
    font-size: clamp(0.74rem, 3vw, 0.94rem);
  }

  body[data-page="home"] .page-hero .cta-row {
    margin-top: 6px;
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .webflow-landing {
    min-height: clamp(210px, 27svh, 238px);
  }

  body[data-page="home"] .main-logo {
    top: clamp(82px, 10svh, 96px);
    width: clamp(210px, 58vw, 240px);
  }

  body[data-page="home"] .page-hero {
    min-height: calc(100svh - clamp(210px, 27svh, 238px));
    padding-top: 10px;
    padding-bottom: 18px;
  }

  body[data-page="home"] h1 {
    font-size: clamp(1.72rem, 7.6vw, 2.25rem);
    line-height: 0.96;
  }

  body[data-page="home"] .hero-line {
    max-width: 330px;
    margin-right: auto;
    margin-left: auto;
    padding: 9px 0;
  }

  body[data-page="home"] .tr4-button.primary {
    min-height: 46px;
  }
}

.portal-dock {
  display: none;
}

.sheet-title {
  display: none;
}

@media (max-width: 860px) {
  body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .nav-toggle {
    display: none;
  }

  .mobile-shell {
    pointer-events: none;
  }

  .mobile-brand {
    pointer-events: auto;
  }

  .portal-dock {
    position: fixed;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    border: 1px solid rgba(235, 243, 251, 0.12);
    border-radius: 24px;
    padding: 8px;
    background: rgba(3, 5, 8, 0.88);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48), inset 0 0 34px rgba(111, 255, 227, 0.035);
    backdrop-filter: blur(22px);
  }

  .portal-dock a,
  .portal-dock button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 17px;
    padding: 0 4px;
    background: transparent;
    color: rgba(235, 243, 251, 0.66);
    font-family: var(--font-mono);
    font-size: clamp(0.56rem, 1.8vw, 0.68rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: uppercase;
  }

  .portal-dock a[aria-current="page"],
  .portal-dock button[aria-expanded="true"] {
    background: rgba(111, 255, 227, 0.12);
    color: var(--aqua);
    box-shadow: inset 0 0 0 1px rgba(111, 255, 227, 0.2);
  }

  .mobile-menu {
    top: auto;
    right: 10px;
    bottom: calc(90px + env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
    max-width: none;
    max-height: min(68svh, 560px);
    overflow: auto;
    display: grid;
    gap: 4px;
    border-radius: 26px;
    padding: 16px;
    background: rgba(4, 7, 11, 0.96);
    box-shadow: 0 28px 100px rgba(0, 0, 0, 0.62), inset 0 0 0 1px rgba(255, 255, 255, 0.035);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.98);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.nav-open .mobile-menu {
    display: grid;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .sheet-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(235, 243, 251, 0.1);
    padding: 0 2px 12px;
    color: var(--aqua);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .sheet-title button {
    min-height: 32px;
    border: 1px solid rgba(235, 243, 251, 0.12);
    border-radius: 999px;
    padding: 0 12px;
    background: rgba(235, 243, 251, 0.04);
    color: rgba(235, 243, 251, 0.78);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .mobile-menu a {
    min-height: 50px;
    border-radius: 16px;
    padding: 0 14px;
    color: rgba(235, 243, 251, 0.72);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
  }

  .mobile-menu a[aria-current="page"] {
    background: rgba(111, 255, 227, 0.1);
    color: var(--aqua);
  }

  .site-footer {
    gap: 22px;
    padding: 40px 18px calc(112px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(3, 4, 5, 0.72), #020304);
  }

  .site-footer::after {
    background: radial-gradient(circle at 50% 0%, rgba(111, 255, 227, 0.1), transparent 36%);
  }

  .footer-top {
    display: grid;
    justify-items: center;
    gap: 14px;
    border-bottom: 0;
    padding-bottom: 0;
    text-align: center;
  }

  .footer-top img {
    width: min(250px, 68vw);
    opacity: 0.86;
  }

  .badges {
    justify-content: center;
  }

  .badges span:first-child {
    display: none;
  }

  .footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    border-top: 1px solid rgba(235, 243, 251, 0.08);
    padding-top: 18px;
  }

  .footer-grid div {
    display: contents;
  }

  .footer-grid h3 {
    display: none;
  }

  .footer-grid a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(235, 243, 251, 0.1);
    border-radius: 999px;
    padding: 0 12px;
    background: rgba(235, 243, 251, 0.035);
    color: rgba(235, 243, 251, 0.68);
    font-size: 0.78rem;
  }

  .copyright {
    max-width: 310px;
    margin: 0 auto;
    color: rgba(235, 243, 251, 0.62);
    font-size: 0.72rem;
    line-height: 1.45;
    text-align: center;
  }

  body[data-page="home"] .mobile-intro-copy {
    display: none;
  }
}

@media (min-width: 861px) {
  .site-footer {
    grid-template-columns: minmax(220px, 300px) minmax(0, 880px);
    justify-content: center;
    align-items: start;
    column-gap: clamp(44px, 4vw, 76px);
    row-gap: 24px;
  }

  .footer-top,
  .footer-grid {
    width: auto;
    margin: 0;
  }

  .footer-top {
    display: grid;
    justify-content: start;
    border-bottom: 0;
    padding-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 2vw, 32px);
    border-bottom: 0;
    padding-bottom: 0;
  }

  .copyright {
    grid-column: 2;
    width: 100%;
    margin: 0;
    text-align: left;
  }
}

@media (max-width: 860px) {
  body[data-page="home"] .mobile-shell .mobile-brand {
    display: none;
  }

  body[data-page="home"] .webflow-landing {
    background: linear-gradient(180deg, #020304, rgba(2, 3, 4, 0.9));
  }

  body[data-page="home"] .webflow-landing::after {
    background: linear-gradient(180deg, rgba(2, 3, 4, 0.12), rgba(2, 3, 4, 0.74));
  }

  body[data-page="home"] .main-logo {
    opacity: 0.92;
  }

  .site-footer {
    min-height: auto;
    gap: 16px;
    border-top: 1px solid rgba(111, 255, 227, 0.14);
    padding-top: 34px;
    background: #020304;
  }

  .site-footer::after {
    background: linear-gradient(180deg, rgba(111, 255, 227, 0.07), transparent 42%);
  }

  .footer-grid a {
    display: none;
  }

  .footer-grid a[href="/terms"],
  .footer-grid a[href="/privacy"],
  .footer-grid a[href="/onboarding"] {
    display: inline-flex;
  }

  .footer-grid {
    max-width: 330px;
    margin: 0 auto;
  }

  .footer-top img {
    width: min(220px, 58vw);
  }

  .badges span {
    min-height: 30px;
    font-size: 0.58rem;
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .webflow-landing {
    min-height: clamp(188px, 24svh, 220px);
  }

  body[data-page="home"] .main-logo {
    top: clamp(76px, 9svh, 88px);
    width: clamp(230px, 62vw, 270px);
  }

  body[data-page="home"] .page-hero {
    min-height: calc(100svh - clamp(188px, 24svh, 220px));
  }
}

@media (max-width: 860px) {
  .site-footer {
    background: #020304 !important;
  }

  .site-footer::after {
    display: none;
  }

  .site-footer .footer-video {
    display: none;
  }

  .footer-grid div:nth-child(2) a[href="/onboarding"],
  .footer-grid div:nth-child(3) a[href="/onboarding"] {
    display: none;
  }

  .footer-grid {
    border-top: 1px solid rgba(235, 243, 251, 0.08);
    border-bottom: 1px solid rgba(235, 243, 251, 0.08);
    padding-bottom: 18px;
  }
}

@media (max-width: 860px) {
  .content-band,
  .modalities-section,
  .member-section,
  .builder-section,
  .store-section {
    padding-top: clamp(42px, 10vw, 64px);
    padding-bottom: clamp(42px, 10vw, 64px);
  }

  .content-band.video-band {
    background: linear-gradient(180deg, rgba(2, 3, 4, 0.94), rgba(2, 3, 4, 0.98));
  }

  .content-band.video-band::before {
    opacity: 0.14;
  }

  .band-inner,
  .split-grid,
  .section-copy,
  .copy-block {
    text-align: left;
  }

  .content-band h2,
  .section-copy h2,
  .modalities-head h2 {
    font-size: clamp(2rem, 9vw, 3.1rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
  }

  .copy-block,
  .section-copy {
    gap: 16px;
  }

  .copy-block p,
  .section-copy p,
  .modalities-head p {
    font-size: clamp(1rem, 4.2vw, 1.18rem);
    line-height: 1.5;
    text-align: left;
  }

  .copy-block p + p {
    border-top: 1px solid rgba(235, 243, 251, 0.08);
    padding-top: 18px;
  }

  .portal-dock {
    bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .mobile-menu {
    bottom: calc(164px + env(safe-area-inset-bottom));
  }

  .site-footer {
    padding-top: 48px;
    padding-bottom: calc(180px + env(safe-area-inset-bottom));
  }

  .footer-top {
    gap: 20px;
  }

  .footer-top img {
    width: min(190px, 52vw);
  }

  .badges span {
    border-radius: 10px;
    padding: 0 12px;
  }

  .footer-grid {
    max-width: 300px;
    gap: 8px;
  }

  .footer-grid a[href="/onboarding"] {
    display: none !important;
  }

  .footer-grid a {
    min-height: 34px;
    font-size: 0.72rem;
  }

  .copyright {
    max-width: 260px;
    font-size: 0.66rem;
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .webflow-landing {
    min-height: clamp(176px, 22svh, 205px);
  }

  body[data-page="home"] .main-logo {
    top: clamp(70px, 8svh, 82px);
    width: clamp(212px, 58vw, 248px);
  }

  body[data-page="home"] .page-hero {
    min-height: calc(100svh - clamp(176px, 22svh, 205px));
    padding-top: 0;
  }

  body[data-page="home"] h1 {
    font-size: clamp(1.64rem, 7.25vw, 2.15rem);
  }

  body[data-page="home"] .tr4-button.primary {
    min-height: 44px;
  }

  .portal-dock {
    right: 12px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    left: 12px;
    min-height: 62px;
    padding: 7px;
  }

  .portal-dock a,
  .portal-dock button {
    min-height: 46px;
    font-size: 0.52rem;
  }

  .mobile-menu {
    bottom: calc(150px + env(safe-area-inset-bottom));
    max-height: min(60svh, 480px);
  }
}

@media (max-width: 860px) {
  body[data-page="home"] .content-band {
    overflow: hidden;
  }

  body[data-page="home"] .content-band.video-band {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  body[data-page="home"] .content-band.video-band::before {
    opacity: 0.08;
    transform: scale(1.18);
  }

  body[data-page="home"] .content-band.video-band .band-inner {
    gap: 14px;
  }

  body[data-page="home"] .content-band h2 {
    max-width: 12ch;
    font-size: clamp(1.62rem, 7.25vw, 2.34rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
  }

  body[data-page="home"] .section-copy h2,
  body[data-page="home"] .modalities-head h2 {
    font-size: clamp(1.72rem, 7.6vw, 2.46rem);
    line-height: 1.04;
  }

  body[data-page="home"] .copy-block p,
  body[data-page="home"] .section-copy p,
  body[data-page="home"] .modalities-head p {
    font-size: clamp(0.92rem, 3.9vw, 1.04rem);
    line-height: 1.44;
  }

  body[data-page="home"] .copy-block p + p {
    margin-top: 4px;
    padding-top: 14px;
  }

  body[data-page="home"] .store-section,
  body[data-page="home"] section[aria-labelledby="storeTitle"] {
    padding-bottom: 34px;
    background: linear-gradient(180deg, rgba(2, 3, 4, 0.96), #020304 72%);
  }

  body[data-page="home"] .bridge-list div {
    background: rgba(3, 5, 8, 0.7);
  }

  body[data-page="home"] .site-footer {
    border-top: 1px solid rgba(111, 255, 227, 0.18);
    margin-top: 0;
    padding-top: 64px;
  }

  body[data-page="home"] .footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  body[data-page="home"] .footer-grid h3 {
    display: none;
  }

  .mobile-menu {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-menu a {
    min-height: 44px;
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .content-band.video-band {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  body[data-page="home"] .content-band h2 {
    max-width: 11.5ch;
    font-size: clamp(1.42rem, 6.7vw, 2rem);
  }

  body[data-page="home"] .copy-block p,
  body[data-page="home"] .section-copy p,
  body[data-page="home"] .modalities-head p {
    font-size: 0.92rem;
  }

  .mobile-menu {
    bottom: calc(148px + env(safe-area-inset-bottom));
    max-height: min(56svh, 430px);
    padding: 14px;
  }

  .mobile-menu a {
    min-height: 42px;
    font-size: 0.74rem;
  }

  .sheet-title {
    padding-bottom: 10px;
  }

  .site-footer {
    padding-top: 60px;
  }
}

@media (max-width: 860px) {
  body[data-page="home"] main {
    position: relative;
  }

  body[data-page="home"] .webflow-landing {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 8;
    min-height: clamp(122px, 18svh, 164px);
    border-bottom: 0;
    background: linear-gradient(180deg, rgba(2, 3, 4, 0.92), rgba(2, 3, 4, 0.22) 78%, transparent);
    pointer-events: none;
  }

  body[data-page="home"] .webflow-landing::before {
    display: none;
  }

  body[data-page="home"] .webflow-landing::after {
    background: linear-gradient(180deg, rgba(2, 3, 4, 0.72), rgba(2, 3, 4, 0.18) 70%, transparent);
  }

  body[data-page="home"] .webflow-landing .site-video,
  body[data-page="home"] .mobile-rail,
  body[data-page="home"] .desktop-nav {
    display: none;
  }

  body[data-page="home"] .main-logo {
    top: clamp(62px, 8.8svh, 82px);
    width: clamp(244px, 56vw, 390px);
    opacity: 0.72;
    pointer-events: auto;
  }

  body[data-page="home"] .main-logo img {
    filter: drop-shadow(0 0 18px rgba(180, 210, 224, 0.14));
  }

  body[data-page="home"] .page-hero {
    min-height: 100svh;
    padding-top: clamp(116px, 17svh, 154px);
    padding-bottom: calc(128px + env(safe-area-inset-bottom));
    border-top: 0;
  }

  body[data-page="home"] .page-hero::before {
    opacity: 0.88;
    transform: translateY(-4svh) scale(1.05);
  }

  body[data-page="home"] .hero-copy {
    gap: clamp(10px, 2.2svh, 18px);
    max-width: min(680px, calc(100vw - 28px));
  }

  body[data-page="home"] .hero-copy .lead,
  body[data-page="home"] .hero-copy .cta-row .secondary {
    display: none;
  }

  body[data-page="home"] .eyebrow {
    font-size: clamp(0.66rem, 2.5vw, 0.82rem);
    letter-spacing: 0.08em;
  }

  body[data-page="home"] h1 {
    max-width: 11.8ch;
    margin: 0 auto;
    font-size: clamp(2rem, 8.8vw, 3.65rem);
    line-height: 0.9;
    letter-spacing: -0.055em;
  }

  body[data-page="home"] .hero-line {
    max-width: 30ch;
    font-size: clamp(0.72rem, 3vw, 1rem);
    line-height: 1.12;
    letter-spacing: 0.02em;
  }

  body[data-page="home"] .hero-copy .cta-row {
    width: min(520px, calc(100vw - 32px));
    margin-top: clamp(4px, 1.2svh, 12px);
  }

  body[data-page="home"] .hero-copy .tr4-button.primary {
    width: 100%;
    min-height: 54px;
    border-radius: 24px;
    font-size: clamp(0.72rem, 2.7vw, 0.9rem);
  }

  .portal-dock {
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    left: 18px;
    min-height: 54px;
    border-radius: 20px;
    padding: 5px;
    background: rgba(3, 5, 8, 0.78);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42), inset 0 0 24px rgba(111, 255, 227, 0.026);
  }

  .portal-dock a,
  .portal-dock button {
    min-height: 42px;
    border-radius: 15px;
    font-size: clamp(0.48rem, 1.65vw, 0.58rem);
    letter-spacing: 0.01em;
  }

  .mobile-menu {
    bottom: calc(84px + env(safe-area-inset-bottom));
    max-height: min(62svh, 470px);
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .webflow-landing {
    min-height: clamp(108px, 16svh, 138px);
  }

  body[data-page="home"] .main-logo {
    top: clamp(52px, 7.6svh, 66px);
    width: clamp(210px, 54vw, 260px);
  }

  body[data-page="home"] .page-hero {
    min-height: 100svh;
    padding-top: clamp(104px, 15svh, 128px);
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
  }

  body[data-page="home"] h1 {
    font-size: clamp(1.58rem, 8.2vw, 2.35rem);
    line-height: 0.94;
    letter-spacing: -0.05em;
  }

  body[data-page="home"] .hero-line {
    max-width: 29ch;
    font-size: clamp(0.64rem, 2.9vw, 0.78rem);
  }

  body[data-page="home"] .hero-copy .tr4-button.primary {
    min-height: 48px;
    border-radius: 22px;
  }

  .portal-dock {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    left: 16px;
    min-height: 50px;
    border-radius: 18px;
  }

  .portal-dock a,
  .portal-dock button {
    min-height: 38px;
    font-size: 0.46rem;
  }

  .mobile-menu {
    bottom: calc(76px + env(safe-area-inset-bottom));
    max-height: min(62svh, 420px);
  }
}

@media (max-width: 860px) {
  body[data-page="home"] .webflow-landing {
    min-height: 0;
    height: 0;
    overflow: visible;
    background: transparent;
    border: 0;
  }

  body[data-page="home"] .webflow-landing::after {
    display: none;
  }

  body[data-page="home"] .main-logo {
    top: clamp(58px, 8svh, 74px);
    opacity: 0.82;
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .webflow-landing {
    min-height: 0;
    height: 0;
  }

  body[data-page="home"] .main-logo {
    top: clamp(50px, 7svh, 60px);
    width: clamp(214px, 56vw, 272px);
  }

  body[data-page="home"] .page-hero {
    padding-top: clamp(96px, 14svh, 116px);
  }
}

@media (max-width: 860px) {
  body[data-page="home"] .ambient-video {
    position: fixed !important;
    inset: 0;
    z-index: 0;
    display: block !important;
    width: 100vw;
    height: 100dvh;
    min-height: 100svh;
    opacity: 0.76;
    object-fit: cover;
    object-position: var(--tr4-video-position, center center);
    transform: translateZ(0);
    filter: brightness(0.86) saturate(1.18) contrast(1.08);
  }

  body[data-page="home"] .page-hero,
  body[data-page="home"] .content-band,
  body[data-page="home"] .modalities-section {
    background: rgba(2, 3, 4, 0.18);
  }
}

@media (max-width: 860px) {
  body[data-page="home"] .main-logo,
  body[data-page="home"] .main-logo img {
    mix-blend-mode: screen;
  }

  body[data-page="home"] .main-logo img {
    opacity: 0.88;
    filter: brightness(1.18) contrast(1.04) drop-shadow(0 0 14px rgba(180, 210, 224, 0.12));
  }
}

@media (max-width: 860px) {
  body[data-page="home"] .mobile-shell {
    display: none !important;
    min-height: 0;
    height: 0;
    background: transparent;
  }
}

body[data-page="protocols"] main {
  position: relative;
  isolation: isolate;
}

body[data-page="protocols"] .page-hero .section-video {
  position: fixed !important;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100dvh;
  min-height: 100svh;
  opacity: 0.82;
  filter: brightness(0.78) saturate(1.12) contrast(1.08);
  object-fit: cover;
  object-position: var(--tr4-video-position, center center);
  transform: translateZ(0);
}

body[data-page="protocols"] .page-hero,
body[data-page="protocols"] .modalities-section,
body[data-page="protocols"] .content-band {
  position: relative;
  z-index: 1;
  background: rgba(2, 3, 4, 0.18);
}

body[data-page="protocols"] .page-hero::after,
body[data-page="protocols"] .modalities-section::before {
  background: linear-gradient(180deg, rgba(2, 3, 4, 0.14), rgba(2, 3, 4, 0.5));
}

body[data-page="protocols"] .modality-grid {
  perspective: none;
}

body[data-page="protocols"] .modality-card,
body[data-page="protocols"] .tilt-left,
body[data-page="protocols"] .tilt-right,
body[data-page="protocols"] .modality-card:hover,
body[data-page="protocols"] .modality-card:focus-within,
body[data-page="protocols"] .modality-card.is-open,
body[data-page="protocols"] .tilt-left:hover,
body[data-page="protocols"] .tilt-right:hover,
body[data-page="protocols"] .tilt-left:focus-within,
body[data-page="protocols"] .tilt-right:focus-within {
  transform: none !important;
}

body[data-page="protocols"] .modality-card {
  min-height: 330px;
  align-content: start;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02) 48%, rgba(255, 255, 255, 0.04)), rgba(7, 10, 16, 0.68);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

body[data-page="protocols"] .modality-card.is-revealed {
  border-color: rgba(111, 255, 227, 0.42);
  background: linear-gradient(145deg, rgba(111, 255, 227, 0.1), rgba(255, 255, 255, 0.03) 44%, rgba(39, 216, 244, 0.07)), rgba(7, 10, 16, 0.76);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4), 0 0 60px var(--modality-glow);
}

body[data-page="protocols"] .modality-card .vector-mark {
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

body[data-page="protocols"] .modality-card.is-revealed .vector-mark {
  border-color: rgba(111, 255, 227, 0.42);
  background: rgba(111, 255, 227, 0.12);
  box-shadow: 0 0 30px rgba(111, 255, 227, 0.2);
  color: var(--aqua);
}

body[data-page="protocols"] .modality-more {
  margin-top: 8px;
  color: rgba(235, 243, 251, 0.76);
  font-size: 0.9rem;
  line-height: 1.42;
}

body[data-page="protocols"] .reveal-link {
  border: 0;
  background: transparent;
  cursor: pointer;
}

@media (max-width: 860px) {
  body[data-page="protocols"] .page-hero .section-video {
    height: 100dvh;
    min-height: 100svh;
    opacity: 0.72;
    object-position: var(--tr4-video-position, center center);
  }

  body[data-page="protocols"] .modalities-section,
  body[data-page="protocols"] .content-band {
    background: rgba(2, 3, 4, 0.28);
  }

  body[data-page="protocols"] .modality-card {
    min-height: 280px;
  }
}

body[data-page="protocols"] .page-hero .section-video {
  opacity: 0.58;
  filter: brightness(0.62) saturate(1.04) contrast(1.12);
}

body[data-page="protocols"] .page-hero::after {
  background: linear-gradient(180deg, rgba(2, 3, 4, 0.38), rgba(2, 3, 4, 0.58) 52%, rgba(2, 3, 4, 0.66));
}

body[data-page="protocols"] .hero-copy {
  text-shadow: 0 16px 52px rgba(0, 0, 0, 0.72);
}

body[data-page="protocols"] .hero-copy h1,
body[data-page="protocols"] .hero-line {
  color: var(--ink);
}

body[data-page="protocols"] .modality-more {
  color: rgba(235, 243, 251, 0.74) !important;
  font-family: var(--font-body) !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  line-height: 1.44 !important;
  text-transform: none !important;
}

@media (max-width: 860px) {
  body[data-page="protocols"] .page-hero .section-video {
    opacity: 0.62;
    filter: brightness(0.58) saturate(1.04) contrast(1.12);
  }

  body[data-page="protocols"] .hero-copy h1,
  body[data-page="protocols"] .hero-line,
  body[data-page="protocols"] .lead {
    color: rgba(245, 249, 255, 0.94);
  }
}

body:not([data-page="home"]) main {
  position: relative;
  isolation: isolate;
}

body:not([data-page="home"]) .page-hero > .section-video {
  position: fixed !important;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100dvh;
  min-height: 100svh;
  opacity: 0.92;
  filter: brightness(1.08) saturate(1.24) contrast(1.08);
  object-fit: cover;
  object-position: var(--tr4-video-position, center center);
  transform: translateZ(0);
}

body:not([data-page="home"]) .page-hero,
body:not([data-page="home"]) .content-band,
body:not([data-page="home"]) .plain-band,
body:not([data-page="home"]) .member-section,
body:not([data-page="home"]) .builder-section,
body:not([data-page="home"]) .store-section,
body:not([data-page="home"]) .modalities-section {
  position: relative;
  z-index: 1;
  background: rgba(2, 3, 4, 0.12);
  backdrop-filter: none;
}

body:not([data-page="home"]) .page-hero::after {
  z-index: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(111, 255, 227, 0.1), transparent 34%),
    linear-gradient(90deg, rgba(2, 3, 4, 0.48), rgba(2, 3, 4, 0.06), rgba(2, 3, 4, 0.52)),
    linear-gradient(180deg, rgba(2, 3, 4, 0.08), rgba(2, 3, 4, 0.36));
}

body:not([data-page="home"]) .hero-copy,
body:not([data-page="home"]) .page-hero .brand-lockup,
body:not([data-page="home"]) .page-hero > *:not(.section-video) {
  position: relative;
  z-index: 1;
}

.hero-copy > .eyebrow,
.hero-copy > h1,
.hero-copy > .hero-line,
.hero-copy > .lead,
.hero-copy > .cta-row {
  animation: tr4-rise-in 760ms cubic-bezier(0.2, 0.86, 0.2, 1) both;
}

.hero-copy > h1 { animation-delay: 90ms; }
.hero-copy > .hero-line { animation-delay: 170ms; }
.hero-copy > .lead { animation-delay: 240ms; }
.hero-copy > .cta-row { animation-delay: 320ms; }

.hero-copy h1 {
  text-shadow: 0 18px 70px rgba(0, 0, 0, 0.72), 0 0 42px rgba(111, 255, 227, 0.08);
}

.choice-banner {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(111, 255, 227, 0.14);
  border-right: 0;
  border-left: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(111, 255, 227, 0.1), transparent 42%),
    linear-gradient(90deg, rgba(2, 3, 4, 0.96), rgba(5, 16, 20, 0.9), rgba(2, 3, 4, 0.96));
  box-shadow: inset 0 1px 0 rgba(235, 243, 251, 0.05), 0 14px 58px rgba(0, 0, 0, 0.28);
}

.choice-banner::before,
.choice-banner::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(120px, 20vw);
  pointer-events: none;
  content: "";
}

.choice-banner::before {
  left: 0;
  background: linear-gradient(90deg, rgba(2, 3, 4, 1), transparent);
}

.choice-banner::after {
  right: 0;
  background: linear-gradient(270deg, rgba(2, 3, 4, 1), transparent);
}

.choice-track {
  display: flex;
  width: max-content;
  gap: clamp(10px, 2vw, 18px);
  padding: 12px max(18px, 4vw);
  animation: tr4-choice-scroll 52s linear infinite;
  will-change: transform;
}

.choice-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 999px;
  padding: 9px 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(2, 3, 4, 0.48);
  color: rgba(235, 243, 251, 0.78);
  font-family: var(--font-mono);
  font-size: clamp(0.64rem, 1vw, 0.76rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.choice-track span::before {
  width: 6px;
  height: 6px;
  border: 1px solid rgba(111, 255, 227, 0.78);
  border-radius: 50%;
  background: rgba(111, 255, 227, 0.42);
  box-shadow: 0 0 14px rgba(111, 255, 227, 0.32);
  content: "";
}

.public-assistant {
  position: fixed;
  inset: 0;
  z-index: 78;
  display: grid;
  place-items: center;
  padding: clamp(12px, 2vw, 24px);
  pointer-events: none;
}

.public-assistant[hidden] {
  display: none;
}

body.assistant-open {
  overflow: hidden;
  touch-action: none;
}

.public-assistant-backdrop,
.public-assistant-panel {
  pointer-events: auto;
}

.public-assistant-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background:
    radial-gradient(circle at top, rgba(111, 255, 227, 0.09), transparent 26%),
    rgba(2, 4, 8, 0.78);
  backdrop-filter: blur(14px);
  opacity: 1;
}

.public-assistant-panel {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100vw - 24px));
  max-height: min(88dvh, 820px);
  display: grid;
  gap: 9px;
  overflow: hidden;
  margin: auto;
  border: 1px solid rgba(111, 255, 227, 0.18);
  border-radius: 18px;
  padding: 14px;
  background:
    radial-gradient(circle at top right, rgba(111, 255, 227, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(8, 11, 16, 0.99), rgba(4, 6, 10, 0.99));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.56), 0 0 36px rgba(111, 255, 227, 0.12);
  backdrop-filter: blur(18px);
}

.public-assistant-panel[hidden] {
  display: none;
}

.public-assistant-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.public-assistant-kicker {
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-assistant-header h3 {
  margin-top: 3px;
  font-size: 0.94rem;
  line-height: 1.15;
}

.public-assistant-header small {
  display: block;
  max-width: 560px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.public-assistant-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.public-assistant-capabilities span,
.public-assistant-meta span,
.public-assistant-meta strong {
  border: 1px solid rgba(111, 255, 227, 0.14);
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(111, 255, 227, 0.055);
  color: rgba(235, 243, 251, 0.78);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.public-assistant-close {
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(235, 243, 251, 0.12);
  border-radius: 10px;
  background: rgba(235, 243, 251, 0.04);
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1;
}

.public-assistant-close:hover,
.public-assistant-close:focus-visible {
  border-color: rgba(111, 255, 227, 0.34);
  background: rgba(111, 255, 227, 0.12);
}

.public-assistant-thread {
  display: grid;
  gap: 7px;
  max-height: min(220px, 28dvh);
  overflow: auto;
  padding: 3px 3px 3px 0;
  scroll-behavior: smooth;
}

.public-assistant-message {
  display: grid;
  gap: 4px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.public-assistant-message span {
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.public-assistant-message p {
  margin: 0;
  color: var(--ink);
}

.public-assistant-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.public-assistant-meta strong {
  border-color: rgba(88, 195, 255, 0.18);
  background: rgba(88, 195, 255, 0.07);
  color: rgba(188, 230, 255, 0.9);
}

.public-assistant-message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}

.public-assistant-action {
  min-height: 32px;
  border: 1px solid rgba(235, 243, 251, 0.12);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(235, 243, 251, 0.04);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
}

.public-assistant-action.primary {
  border-color: rgba(111, 255, 227, 0.4);
  background: linear-gradient(135deg, rgba(197, 255, 246, 0.94), rgba(111, 255, 227, 0.88));
  color: #04100f;
}

.public-assistant-action:hover,
.public-assistant-action:focus-visible {
  border-color: rgba(111, 255, 227, 0.42);
  background: rgba(111, 255, 227, 0.12);
}

.public-assistant-action.primary:hover,
.public-assistant-action.primary:focus-visible {
  background: linear-gradient(135deg, rgba(235, 255, 252, 0.98), rgba(111, 255, 227, 0.94));
}

.public-assistant-message.assistant {
  border-color: rgba(111, 255, 227, 0.14);
  background: rgba(111, 255, 227, 0.08);
}

.public-assistant-message.user {
  margin-left: 18px;
  border-color: rgba(169, 140, 255, 0.16);
  background: rgba(169, 140, 255, 0.12);
}

.public-assistant-message.typing {
  animation: tr4-assistant-prompt 1.25s ease-in-out infinite;
}

.public-assistant-quick {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.public-assistant-quick button {
  min-height: 34px;
  border: 1px solid rgba(235, 243, 251, 0.12);
  border-radius: 10px;
  padding: 7px 10px;
  background: rgba(235, 243, 251, 0.04);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

.public-assistant-quick button:hover,
.public-assistant-quick button:focus-visible {
  border-color: rgba(111, 255, 227, 0.3);
  background: rgba(111, 255, 227, 0.08);
}

.public-assistant-form {
  display: grid;
  gap: 10px;
}

.public-assistant-chat-form {
  border-top: 1px solid rgba(235, 243, 251, 0.08);
  padding-top: 10px;
}

.public-assistant-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.public-assistant-form label {
  display: grid;
  gap: 5px;
  color: var(--dim);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-assistant-form input,
.public-assistant-form textarea {
  width: 100%;
  border: 1px solid rgba(235, 243, 251, 0.12);
  border-radius: 10px;
  padding: 10px 11px;
  background: rgba(3, 6, 10, 0.78);
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.35;
}

.public-assistant-form input::placeholder,
.public-assistant-form textarea::placeholder {
  color: rgba(235, 243, 251, 0.42);
}

.public-assistant-form input:focus,
.public-assistant-form textarea:focus {
  outline: none;
  border-color: rgba(111, 255, 227, 0.4);
  box-shadow: 0 0 0 3px rgba(111, 255, 227, 0.12);
}

.public-assistant-question {
  display: grid;
}

.public-assistant-question textarea {
  min-height: 64px;
  max-height: 180px;
  resize: vertical;
}

.public-assistant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.public-assistant-actions .tr4-button {
  min-height: 38px;
  padding-inline: 12px;
  font-size: 0.74rem;
}

.public-assistant-status {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.modality-card .vector-mark,
.protocol-card .num,
.mini-vector,
.provider-icon {
  animation: none;
}

.modality-card:hover .vector-mark,
.modality-card:focus-within .vector-mark,
.modality-card.is-open .vector-mark,
.modality-card.is-revealed .vector-mark,
.protocol-card:hover .num,
.protocol-card:focus-within .num,
.provider:hover .provider-icon,
.provider:focus-within .provider-icon {
  border-color: rgba(111, 255, 227, 0.46);
  background: rgba(111, 255, 227, 0.12);
  box-shadow: 0 0 28px rgba(111, 255, 227, 0.16);
  color: var(--aqua);
}

.modality-card::before,
.protocol-card::before,
.provider::before {
  animation: tr4-card-scan 8s ease-in-out infinite alternate;
}

@keyframes tr4-choice-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes tr4-card-scan {
  from { opacity: 0.42; filter: hue-rotate(0deg); }
  to { opacity: 0.82; filter: hue-rotate(28deg); }
}

@keyframes tr4-assistant-prompt {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.36), 0 0 26px rgba(111, 255, 227, 0.08);
  }
  50% {
    transform: translateY(-4px);
    box-shadow: 0 20px 62px rgba(0, 0, 0, 0.42), 0 0 34px rgba(111, 255, 227, 0.16);
  }
}

@media (max-width: 860px) {
  body:not([data-page="home"]) .page-hero > .section-video {
    height: 100dvh;
    min-height: 100svh;
    opacity: 0.64;
    object-position: var(--tr4-video-position, center center);
  }

  .choice-track {
    gap: 10px;
    padding-block: 10px;
    animation-duration: 64s;
  }

  .public-assistant {
    padding: 10px;
    place-items: end center;
  }

  .public-assistant-panel {
    width: min(100%, 640px);
    max-height: calc(100dvh - 20px);
    gap: 8px;
    overflow-y: auto;
    border-radius: 18px 18px 0 0;
    padding: 12px;
    margin-bottom: 0;
  }

  .public-assistant-header {
    gap: 8px;
  }

  .public-assistant-header small {
    font-size: 0.68rem;
  }

  .public-assistant-capabilities {
    display: none;
  }

  .public-assistant-thread {
    max-height: min(190px, 25dvh);
  }

  .public-assistant-quick,
  .public-assistant-fields {
    grid-template-columns: 1fr;
  }

  .public-assistant-question textarea {
    min-height: 58px;
  }
}

.email-entry-heading {
  display: grid;
  gap: 5px;
}

.email-entry-heading p {
  max-width: 56ch;
  margin: 0;
  color: rgba(235, 243, 251, 0.72);
  font-size: 0.84rem;
  line-height: 1.4;
}

.secondary-profile-disclosure {
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 12px;
  background: rgba(235, 243, 251, 0.025);
}

.secondary-profile-disclosure summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 13px;
  color: rgba(235, 243, 251, 0.78);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.secondary-profile-disclosure[open] {
  border-color: rgba(111, 255, 227, 0.22);
  background: rgba(111, 255, 227, 0.04);
}

.secondary-profile-disclosure > .field-grid {
  margin: 0 12px 12px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy > .eyebrow,
  .hero-copy > h1,
  .hero-copy > .hero-line,
  .hero-copy > .lead,
  .hero-copy > .cta-row,
  .choice-track,
  .public-assistant-backdrop,
  .public-assistant-panel,
  .modality-card::before,
  .protocol-card::before,
  .provider::before {
    animation: none !important;
  }
}

@media (max-width: 560px) {
  body:not([data-page="home"]) .hero-copy h1 {
    width: 100%;
    overflow-wrap: anywhere;
  }

  body:not([data-page="home"]) .hero-copy > .cta-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    align-self: stretch;
  }

  body:not([data-page="home"]) .hero-copy > .cta-row .tr4-button {
    width: 100%;
    min-width: 0;
  }
}

.signal-showcase-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.signal-showcase-card .tr4-button {
  align-self: flex-start;
  margin-top: auto;
}

.signal-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.signal-facts span {
  border: 1px solid rgba(92, 255, 219, 0.28);
  border-radius: 999px;
  background: rgba(4, 18, 29, 0.62);
  color: rgba(225, 255, 249, 0.9);
  font: 600 0.68rem/1.2 "JetBrains Mono", monospace;
  letter-spacing: 0.05em;
  padding: 7px 10px;
}

.hero-copy > .eyebrow,
.hero-copy > h1,
.hero-copy > .hero-line,
.hero-copy > .lead,
.hero-copy > .cta-row {
  animation-duration: 520ms;
}

@keyframes tr4-rise-in {
  from {
    opacity: 1;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 560px) {
  .hero-line {
    max-width: min(100%, 340px);
    font-size: clamp(1rem, 6.4vw, 1.45rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  body:not([data-page="home"]) .hero-copy .lead {
    font-size: clamp(1rem, 4.6vw, 1.18rem);
    line-height: 1.42;
  }
}

body {
  --tr4-video-position: center center;
}

body[data-page="protocols"] {
  --tr4-video-position: center center;
}

body[data-page="home"] .ambient-video,
body:not([data-page="home"]) .page-hero > .section-video {
  position: fixed !important;
  inset: 0;
  z-index: 0;
  display: block !important;
  width: 100vw;
  height: 100dvh;
  min-height: 100svh;
  object-fit: cover;
  object-position: var(--tr4-video-position, center center);
  transform: translateZ(0);
  pointer-events: none;
  backface-visibility: hidden;
}

@supports not (height: 100dvh) {
  body[data-page="home"] .ambient-video,
  body:not([data-page="home"]) .page-hero > .section-video {
    height: 100vh;
  }
}

@media (max-width: 860px) {
  body[data-page="home"] .ambient-video,
  body:not([data-page="home"]) .page-hero > .section-video {
    inset: 0;
    width: 100vw;
    height: 100dvh;
    min-height: 100svh;
    object-position: var(--tr4-video-position, center center);
    transform: translateZ(0);
  }

  body[data-page="home"] .site-footer {
    display: grid;
    justify-items: center;
    gap: 14px;
    min-height: 0;
    border-top: 1px solid rgba(111, 255, 227, 0.12);
    padding: 28px 22px calc(84px + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 50% 0%, rgba(111, 255, 227, 0.08), transparent 34%),
      linear-gradient(180deg, #020304, #010202);
  }

  body[data-page="home"] .footer-top {
    width: min(100%, 520px);
    display: grid;
    justify-items: center;
    gap: 12px;
    border: 0;
    padding: 0;
  }

  body[data-page="home"] .footer-top img {
    width: min(150px, 40vw);
    justify-self: center;
    margin: 0 auto;
    opacity: 0.72;
    filter: drop-shadow(0 0 18px rgba(180, 210, 224, 0.08));
  }

  body[data-page="home"] .badges {
    width: 100%;
    justify-content: center;
  }

  body[data-page="home"] .badges span:first-child {
    display: none;
  }

  body[data-page="home"] .badges span {
    min-height: 30px;
    border-radius: 999px;
    padding: 0 14px;
    background: rgba(39, 216, 244, 0.045);
    color: rgba(39, 216, 244, 0.86);
    font-size: clamp(0.6rem, 2.2vw, 0.72rem);
    letter-spacing: 0.01em;
  }

  body[data-page="home"] .footer-grid {
    width: min(100%, 520px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    border-top: 1px solid rgba(235, 243, 251, 0.08);
    border-bottom: 1px solid rgba(235, 243, 251, 0.08);
    margin: 0 auto;
    padding: 12px 0;
  }

  body[data-page="home"] .footer-grid div {
    display: contents;
  }

  body[data-page="home"] .footer-grid h3,
  body[data-page="home"] .footer-grid a {
    display: none;
  }

  body[data-page="home"] .footer-grid a[href="/terms"],
  body[data-page="home"] .footer-grid a[href="/privacy"],
  body[data-page="home"] .footer-grid a[href="/onboarding"] {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(235, 243, 251, 0.1);
    border-radius: 999px;
    padding: 0 14px;
    background: rgba(235, 243, 251, 0.028);
    color: rgba(235, 243, 251, 0.62);
    font-size: clamp(0.76rem, 3.1vw, 0.9rem);
    line-height: 1;
  }

  body[data-page="home"] .copyright {
    max-width: 300px;
    color: rgba(235, 243, 251, 0.62);
    font-size: clamp(0.62rem, 2.3vw, 0.72rem);
    line-height: 1.28;
    text-align: center;
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .site-footer {
    gap: 12px;
    padding: 24px 18px calc(78px + env(safe-area-inset-bottom));
  }

  body[data-page="home"] .footer-top img {
    width: min(132px, 38vw);
  }

  body[data-page="home"] .footer-grid {
    max-width: 320px;
    gap: 8px;
  }
}

body[data-page="onboarding"] .content-band {
  padding-top: clamp(22px, 3vw, 38px);
}

body[data-page="onboarding"] .page-hero {
  min-height: clamp(210px, 30svh, 280px);
  padding-top: clamp(30px, 4vw, 54px);
  padding-bottom: clamp(28px, 4vw, 48px);
}

body[data-page="onboarding"] .hero-copy {
  gap: 12px;
}

body[data-page="onboarding"] .hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(2.55rem, 6vw, 5.6rem);
}

body[data-page="onboarding"] .hero-copy .lead {
  max-width: 56ch;
}

body[data-page="onboarding"] .member-section {
  grid-template-columns: minmax(420px, 0.92fr) minmax(560px, 1.08fr);
  gap: clamp(30px, 4vw, 58px);
  align-items: start;
}

body[data-page="onboarding"] .section-copy {
  max-width: none;
}

body[data-page="onboarding"] .section-copy h2 {
  font-size: clamp(1.85rem, 2.6vw, 2.8rem);
}

body[data-page="onboarding"] .onboarding-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

body[data-page="onboarding"] .workflow-card {
  min-height: 104px;
  border-radius: 14px;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.02)),
    rgba(7, 10, 16, 0.68);
}

body[data-page="onboarding"] .login-panel {
  gap: 14px;
  border-radius: 18px;
  padding: clamp(22px, 2.4vw, 30px);
  background:
    radial-gradient(circle at 88% 0%, rgba(111, 255, 227, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.024)),
    rgba(6, 9, 14, 0.82);
}

body[data-page="onboarding"] .panel-title {
  padding-bottom: 16px;
}

body[data-page="onboarding"] .provider-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

body[data-page="onboarding"] .provider {
  position: relative;
  min-height: 86px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  align-content: center;
  gap: 4px 14px;
  overflow: hidden;
  border-radius: 15px;
  padding: 15px 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.016)),
    rgba(2, 3, 4, 0.42);
}

body[data-page="onboarding"] .provider::after {
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(111, 255, 227, 0.075), transparent 42%);
  opacity: 0;
  transition: opacity 180ms ease;
  content: "";
}

body[data-page="onboarding"] .provider.active::after,
body[data-page="onboarding"] .provider-action:hover::after,
body[data-page="onboarding"] .provider-action:focus-visible::after {
  opacity: 1;
}

body[data-page="onboarding"] .provider-icon {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
}

body[data-page="onboarding"] .provider strong,
body[data-page="onboarding"] .provider > span:not(.provider-icon) {
  position: relative;
  z-index: 1;
}

body[data-page="onboarding"] .provider strong {
  font-size: 0.82rem;
}

body[data-page="onboarding"] .provider > span:not(.provider-icon) {
  color: rgba(235, 243, 251, 0.62);
  font-size: 0.8rem;
  line-height: 1.25;
}

@media (min-width: 1280px) {
  body[data-page="onboarding"] .member-section {
    width: min(calc(100vw - 96px), 1480px);
    gap: clamp(34px, 3vw, 64px);
    padding-right: clamp(34px, 5vw, 78px);
    padding-left: clamp(34px, 5vw, 78px);
  }

  body[data-page="onboarding"] .portal-dashboard {
    gap: clamp(18px, 1.45vw, 26px);
  }

  body[data-page="onboarding"] .portal-dashboard-head,
  body[data-page="onboarding"] .onboarding-wizard,
  body[data-page="onboarding"] .portal-cockpit,
  body[data-page="onboarding"] .guided-workflow-shell,
  body[data-page="onboarding"] .portal-workbench {
    width: 100%;
  }

  body[data-page="onboarding"] .gateway-command {
    grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.58fr);
  }

  body[data-page="onboarding"] .gateway-phase-rail {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  body[data-page="onboarding"] .public-assistant-launch {
    right: max(24px, calc((100vw - min(calc(100vw - 96px), 1480px)) / 2));
  }
}

@media (max-width: 1180px) and (min-width: 861px) {
  body[data-page="onboarding"] .member-section {
    grid-template-columns: minmax(340px, 0.9fr) minmax(470px, 1.1fr);
    gap: 28px;
  }
}

@media (max-width: 860px) {
  body[data-page="onboarding"] .member-section,
  body[data-page="onboarding"] .onboarding-steps {
    grid-template-columns: 1fr;
  }

  body[data-page="onboarding"] .mobile-brand {
    display: none;
  }

  body[data-page="onboarding"] .mobile-shell {
    justify-content: flex-end;
  }

  body[data-page="onboarding"] .login-panel {
    border-radius: 16px;
  }

  .protected-onboarding-steps .workflow-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    min-height: 0 !important;
    gap: 12px;
  }

  .protected-onboarding-steps .workflow-card span:not(.mini-vector) {
    line-height: 1.45;
  }
}

@media (min-width: 861px) {
  .shell-header {
    gap: 12px;
    min-height: clamp(118px, 13vw, 154px);
    padding: 16px clamp(18px, 5vw, 70px) 14px;
  }

  .shell-header .brand-lockup {
    width: auto;
    max-width: min(300px, 28vw);
  }

  .shell-header .brand-lockup img {
    width: auto;
    height: clamp(58px, 6vw, 82px);
    max-width: 100%;
    margin: 0 auto;
  }

  .shell-header .desktop-nav {
    min-height: 46px;
    padding: 8px 12px;
    font-size: clamp(0.7rem, 0.82vw, 0.86rem);
  }

  body:not([data-page="home"]) main {
    padding-top: 0;
  }

  body:not([data-page="home"]) .page-hero {
    min-height: min(620px, calc(100dvh - clamp(118px, 13vw, 154px)));
    padding-top: clamp(38px, 4.2vw, 66px);
    padding-bottom: clamp(38px, 4.2vw, 66px);
  }

  body:not([data-page="home"]) .hero-copy {
    gap: clamp(12px, 1.5vw, 18px);
  }

  body:not([data-page="home"]) .hero-copy h1 {
    max-width: 960px;
    font-size: clamp(2.8rem, 5.4vw, 4.9rem);
    line-height: 0.92;
  }

  body:not([data-page="home"]) .hero-line {
    max-width: 800px;
    padding: 14px 0;
    font-size: clamp(0.92rem, 1.7vw, 1.28rem);
  }

  body:not([data-page="home"]) .lead {
    max-width: 760px;
    font-size: clamp(0.95rem, 1.15vw, 1.08rem);
    line-height: 1.44;
  }

  body[data-page="research"] .page-hero,
  body[data-page="circles"] .page-hero,
  body[data-page="retreats"] .page-hero {
    min-height: min(660px, calc(100dvh - clamp(118px, 13vw, 154px)));
  }

  body[data-page="onboarding"] .page-hero {
    min-height: clamp(210px, 30svh, 280px);
  }

  body[data-page="onboarding"] .content-band {
    padding-top: clamp(20px, 2.6vw, 34px);
  }
}

@media (max-width: 860px) {
  body:not([data-page="home"]) .page-hero {
    min-height: clamp(420px, 70svh, 620px);
  }

  body[data-page="product"] .page-hero,
  body[data-page="category"] .page-hero {
    min-height: 0;
    max-height: 608px;
    overflow: clip;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  body[data-page="product"] .hero-copy {
    gap: 10px;
  }

  body[data-page="category"] .hero-copy {
    gap: 10px;
  }

  body[data-page="product"] .hero-copy h1,
  body[data-page="category"] .hero-copy h1 {
    max-width: 22ch;
    font-size: clamp(2rem, 7vw, 2.7rem);
    line-height: 0.95;
  }

  body[data-page="product"] .hero-copy .lead,
  body[data-page="category"] .hero-copy .lead {
    max-width: 30ch;
    font-size: 0.92rem;
  }

  body[data-page="product"] .detail-hero-media,
  body[data-page="category"] .detail-hero-media {
    width: min(100%, 320px);
    aspect-ratio: 16 / 7.8;
  }

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

  .category-route-strip article {
    min-height: 86px;
    padding: 9px;
  }

  body[data-page="product"] .hero-copy .brief-line:nth-of-type(2),
  body[data-page="product"] .hero-copy .cta-row a:nth-of-type(3),
  body[data-page="category"] .hero-copy .pill-list,
  body[data-page="category"] .hero-copy .cta-row a:nth-of-type(2) {
    display: none;
  }

  body[data-page="onboarding"] .page-hero {
    min-height: clamp(150px, 22svh, 210px);
    padding-top: 16px;
    padding-bottom: 16px;
  }

  body[data-page="onboarding"] .content-band {
    padding-top: 12px;
  }

  body[data-page="onboarding"] .login-panel {
    order: 1;
  }

  body[data-page="onboarding"] .section-copy {
    order: 2;
  }

  body[data-page="onboarding"] .portal-dashboard {
    order: 3;
  }
}

@media (min-width: 861px) {
  .shell-header {
    gap: 8px;
    min-height: clamp(104px, 10vw, 136px);
    padding: 12px clamp(18px, 5vw, 70px) 10px;
  }

  .shell-header .brand-lockup {
    max-width: min(260px, 24vw);
  }

  .shell-header .brand-lockup img {
    height: clamp(48px, 5vw, 68px);
  }

  .shell-header .desktop-nav {
    min-height: 42px;
    padding: 7px 10px;
    font-size: clamp(0.68rem, 0.78vw, 0.82rem);
  }

  body:not([data-page="home"]) .page-hero {
    min-height: min(560px, calc(100dvh - clamp(104px, 10vw, 136px)));
    padding-top: clamp(28px, 3.2vw, 48px);
    padding-bottom: clamp(28px, 3.2vw, 48px);
  }

  body:not([data-page="home"]) .hero-copy h1 {
    max-width: 900px;
    font-size: clamp(2.45rem, 4.8vw, 4.35rem);
  }

  body:not([data-page="home"]) .hero-line {
    max-width: 760px;
    padding: 12px 0;
    font-size: clamp(0.88rem, 1.45vw, 1.16rem);
  }

  body:not([data-page="home"]) .lead {
    max-width: 720px;
    font-size: clamp(0.92rem, 1.05vw, 1rem);
    line-height: 1.4;
  }

  body[data-page="research"] .page-hero,
  body[data-page="circles"] .page-hero,
  body[data-page="retreats"] .page-hero {
    min-height: min(600px, calc(100dvh - clamp(104px, 10vw, 136px)));
  }

  body[data-page="onboarding"] .page-hero {
    min-height: clamp(190px, 28svh, 270px);
    padding-top: clamp(20px, 2.4vw, 34px);
    padding-bottom: clamp(20px, 2.4vw, 34px);
  }

  body[data-page="onboarding"] .content-band {
    padding-top: clamp(20px, 2.2vw, 30px);
  }

  body[data-page="discover"] .page-hero {
    min-height: min(448px, calc(100dvh - clamp(104px, 10vw, 136px)));
  }

  body[data-page="discover"] .hero-copy {
    gap: clamp(9px, 1.1vw, 14px);
  }

  body[data-page="discover"] .hero-copy h1 {
    max-width: 840px;
    font-size: clamp(2.3rem, 4.35vw, 3.95rem);
  }

  body[data-page="discover"] .lead {
    max-width: 680px;
    font-size: clamp(0.9rem, 0.98vw, 0.96rem);
    line-height: 1.34;
  }

  body[data-page="discover"] .content-band:first-of-type {
    padding-top: clamp(42px, 4.8vw, 68px);
  }

  body[data-page="protocols"] .page-hero,
  body[data-page="treatments"] .page-hero {
    min-height: min(340px, calc(48dvh - clamp(28px, 3vw, 52px)));
  }

  body[data-page="protocols"] .modalities-section,
  body[data-page="treatments"] main > .content-band:nth-of-type(2) {
    padding-top: clamp(24px, 3vw, 42px);
    padding-bottom: clamp(42px, 4.8vw, 64px);
  }

  body[data-page="protocols"] .modalities-head {
    gap: 10px;
    margin-bottom: clamp(14px, 1.6vw, 22px);
  }

  body[data-page="protocols"] .modalities-head h2 {
    max-width: 900px;
    font-size: clamp(2rem, 3.8vw, 3.45rem);
    line-height: 0.94;
  }

  body[data-page="protocols"] .modalities-head p:not(.eyebrow) {
    max-width: 650px;
    font-size: 0.9rem;
    line-height: 1.3;
  }

  body[data-page="protocols"] .modality-card {
    min-height: 260px;
    padding: 22px 22px 58px;
  }

  body[data-page="treatments"] .builder-section {
    grid-template-columns: minmax(280px, 0.7fr) minmax(520px, 1.3fr);
    gap: clamp(24px, 4vw, 58px);
  }

  body[data-page="treatments"] .builder-workbench {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 14px;
    padding: 20px;
  }

  body[data-page="treatments"] .builder-workbench > div:nth-child(1) {
    grid-column: 1;
  }

  body[data-page="treatments"] .builder-workbench > div:nth-child(2) {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  body[data-page="treatments"] .goal-list {
    grid-template-columns: 1fr;
  }

  body[data-page="treatments"] .check-row {
    min-height: 42px;
    padding: 8px 10px;
  }

  body[data-page="treatments"] .result-panel {
    grid-column: 1;
    min-height: 128px;
  }

  body[data-page="treatments"] .builder-actions {
    grid-column: 1;
  }

  body[data-page="treatments"] .ghost-button,
  body[data-page="treatments"] .intent-output {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  body:not([data-page="home"]) .page-hero {
    min-height: clamp(360px, 58svh, 520px);
    padding-top: 34px;
    padding-bottom: 34px;
  }

  body[data-page="onboarding"] .page-hero {
    min-height: clamp(210px, 30svh, 280px);
    padding-top: 24px;
    padding-bottom: 24px;
  }

  body[data-page="protocols"] .page-hero,
  body[data-page="treatments"] .page-hero {
    min-height: clamp(280px, 38svh, 360px);
  }

  body[data-page="protocols"] .modalities-section,
  body[data-page="treatments"] main > .content-band:nth-of-type(2) {
    padding-top: 28px;
  }

  body[data-page="protocols"] .modalities-head {
    margin-bottom: 22px;
  }

  body[data-page="protocols"] .modality-card {
    min-height: 250px;
  }

  body[data-page="treatments"] .builder-workbench {
    order: 1;
  }

  body[data-page="treatments"] .section-copy {
    order: 2;
  }

  body[data-page="treatments"] .builder-workbench > div:nth-child(1) {
    order: 1;
  }

  body[data-page="treatments"] .builder-actions {
    order: 2;
  }

  body[data-page="treatments"] .builder-workbench > div:nth-child(2) {
    order: 3;
  }

  body[data-page="treatments"] .result-panel {
    order: 4;
    min-height: 120px;
  }

  body[data-page="treatments"] .ghost-button {
    order: 5;
  }

  body[data-page="treatments"] .intent-output {
    order: 6;
  }
}

.main-logo img,
.brand-lockup img,
.mobile-brand img {
  aspect-ratio: 1472 / 832;
  object-fit: contain;
}

@media (min-width: 861px) {
  .shell-header {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    min-height: clamp(86px, 7.8vw, 110px);
    padding: 10px clamp(18px, 5vw, 70px);
  }

  .shell-header .brand-lockup {
    width: clamp(220px, 20vw, 292px);
    max-width: 34vw;
    margin-inline: auto;
  }

  .shell-header .brand-lockup img {
    width: auto;
    height: clamp(76px, 7.2vw, 104px);
    max-width: 100%;
    max-height: none !important;
    filter: drop-shadow(0 0 18px rgba(180, 210, 224, 0.16));
  }

  .shell-header .desktop-nav {
    max-width: min(100%, 1180px);
    min-height: 34px;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: clamp(8px, 0.9vw, 12px);
    row-gap: 5px;
    padding: 5px 8px;
    font-size: clamp(0.62rem, 0.68vw, 0.76rem);
    line-height: 1.1;
  }

  .shell-header .desktop-nav .tr4-button {
    min-height: 30px;
    padding: 0 12px;
    gap: 6px;
    font-size: 0.62rem;
  }

  .shell-header .desktop-nav .nav-divider {
    height: 22px;
  }

  body:not([data-page="home"]) .page-hero {
    min-height: calc(100dvh - clamp(86px, 7.8vw, 110px));
    padding-top: clamp(54px, 7vw, 110px);
    padding-bottom: clamp(54px, 7vw, 110px);
  }

  body:not([data-page="home"]) .content-band,
  body:not([data-page="home"]) .plain-band,
  body:not([data-page="home"]) .member-section,
  body:not([data-page="home"]) .builder-section,
  body:not([data-page="home"]) .store-section,
  body:not([data-page="home"]) .modalities-section {
    min-height: 100dvh;
    display: grid;
    align-items: center;
    padding-top: clamp(86px, 8vw, 128px);
    padding-bottom: clamp(86px, 8vw, 128px);
  }

  body[data-page="onboarding"] .page-hero {
    min-height: clamp(190px, 28svh, 270px);
    padding-top: clamp(20px, 2.4vw, 34px);
    padding-bottom: clamp(20px, 2.4vw, 34px);
  }

  body[data-page="onboarding"] .content-band,
  body[data-page="onboarding"] .member-section {
    min-height: 0;
    align-items: start;
    padding-top: clamp(20px, 2.2vw, 30px);
    padding-bottom: clamp(48px, 5vw, 74px);
  }

  body[data-page="discover"] .page-hero {
    min-height: calc(100dvh - clamp(86px, 7.8vw, 110px));
  }

  body[data-page="protocols"] .page-hero,
  body[data-page="treatments"] .page-hero {
    min-height: calc(100dvh - clamp(86px, 7.8vw, 110px));
  }

  body[data-page="protocols"] .modalities-section,
  body[data-page="treatments"] main > .content-band:nth-of-type(2) {
    min-height: 100dvh;
  }

  body[data-page="home"] .main-logo {
    top: clamp(112px, 13.5svh, 150px);
    width: clamp(360px, 42vw, 640px);
  }
}

@media (min-width: 861px) and (max-height: 760px) {
  .shell-header {
    min-height: clamp(86px, 8.5vw, 108px);
    gap: 6px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .shell-header .brand-lockup {
    width: clamp(198px, 19vw, 292px);
  }

  .shell-header .desktop-nav {
    min-height: 36px;
    padding: 6px 9px;
  }
}

@media (max-width: 860px) {
  body:not([data-page="home"]) {
    --tr4-mobile-header: clamp(74px, 15vw, 92px);
  }

  body:not([data-page="home"]) .mobile-shell {
    top: max(8px, env(safe-area-inset-top));
    right: 10px;
    left: 10px;
    display: grid;
    grid-template-columns: clamp(48px, 11vw, 58px) minmax(0, 1fr) clamp(48px, 11vw, 58px);
    align-items: center;
    height: var(--tr4-mobile-header);
    min-height: 0;
    padding: 0;
    background: linear-gradient(180deg, rgba(2, 3, 4, 0.74), rgba(2, 3, 4, 0));
  }

  body:not([data-page="home"]) .mobile-brand {
    position: static;
    grid-column: 2;
    justify-self: center;
    display: block;
    width: clamp(198px, 54vw, 292px);
    margin: 0;
    opacity: 0.92;
    transform: none;
    pointer-events: auto;
  }

  body:not([data-page="home"]) .nav-toggle {
    position: static;
    grid-column: 3;
    justify-self: end;
    display: inline-grid !important;
    width: clamp(46px, 11vw, 54px);
    height: clamp(46px, 11vw, 54px);
    border-radius: clamp(14px, 3vw, 18px);
    transform: none;
  }

  body:not([data-page="home"]) .nav-toggle span {
    display: block;
  }

  body:not([data-page="home"]) .nav-toggle::after {
    content: none;
  }

  body:not([data-page="home"]) .mobile-menu {
    top: calc(max(8px, env(safe-area-inset-top)) + var(--tr4-mobile-header) + 6px);
    right: 10px;
    left: auto;
    width: min(340px, calc(100vw - 20px));
    max-width: none;
  }

  body:not([data-page="home"]) main {
    padding-top: calc(var(--tr4-mobile-header) + max(8px, env(safe-area-inset-top)));
  }

  body:not([data-page="home"]) .page-hero {
    min-height: clamp(340px, 56svh, 520px);
    padding-top: clamp(28px, 6svh, 54px);
    padding-bottom: clamp(30px, 6svh, 58px);
  }

  body[data-page="onboarding"] .page-hero {
    min-height: clamp(210px, 30svh, 280px);
    padding-top: 24px;
    padding-bottom: 24px;
  }

  body[data-page="onboarding"] .mobile-brand {
    display: block;
  }

  body[data-page="onboarding"] .mobile-shell {
    justify-content: initial;
  }

  body[data-page="onboarding"] .mobile-shell {
    grid-template-columns: clamp(48px, 11vw, 58px) minmax(0, 1fr) clamp(48px, 11vw, 58px);
    background: linear-gradient(180deg, rgba(2, 3, 4, 0.68), rgba(2, 3, 4, 0));
  }

  body[data-page="onboarding"] .mobile-brand {
    display: block !important;
  }

  body[data-page="onboarding"] .nav-toggle {
    grid-column: 3;
  }

  body[data-page="home"] .mobile-shell {
    display: none !important;
  }

  body[data-page="home"] .main-logo {
    top: clamp(50px, 7.8svh, 68px);
    width: clamp(210px, 55vw, 296px);
  }
}

@media (max-width: 560px) {
  body:not([data-page="home"]) {
    --tr4-mobile-header: clamp(68px, 18vw, 82px);
  }

  body:not([data-page="home"]) .mobile-brand {
    width: clamp(190px, 58vw, 248px);
  }

  body[data-page="onboarding"] .mobile-shell {
    grid-template-columns: minmax(0, 1fr) 42px;
  }

  body:not([data-page="home"]) .nav-toggle {
    width: 46px;
    height: 46px;
  }

  body:not([data-page="home"]) .page-hero {
    min-height: clamp(320px, 54svh, 470px);
    padding-top: 26px;
    padding-bottom: 30px;
  }

  body[data-page="onboarding"] .page-hero {
    min-height: clamp(210px, 30svh, 280px);
    padding-top: 24px;
    padding-bottom: 24px;
  }

  body[data-page="home"] .main-logo {
    top: clamp(46px, 7svh, 58px);
    width: clamp(204px, 56vw, 258px);
  }
}

@media (min-width: 861px) {
  .shell-header {
    position: relative;
    top: auto;
    display: block;
    min-height: clamp(300px, 38svh, 420px);
    overflow: hidden;
    padding: 0;
    background:
      radial-gradient(circle at 20% 8%, rgba(111, 255, 227, 0.12), transparent 33%),
      radial-gradient(circle at 80% 22%, rgba(169, 140, 255, 0.12), transparent 35%),
      linear-gradient(180deg, rgba(2, 3, 4, 0.98), rgba(2, 3, 4, 0.72));
    backdrop-filter: none;
  }

  .shell-header .brand-lockup {
    position: absolute;
    top: clamp(112px, 13.5svh, 150px);
    left: 50%;
    width: clamp(360px, 42vw, 640px);
    max-width: none;
    margin: 0;
    transform: translate(-50%, -50%);
  }

  .shell-header .brand-lockup img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 22px rgba(180, 210, 224, 0.18));
  }

  .shell-header .desktop-nav {
    position: absolute;
    top: clamp(238px, 30svh, 330px);
    left: 50%;
    z-index: 5;
    max-width: min(calc(100vw - 40px), 1180px);
    min-height: 0;
    flex-wrap: nowrap;
    justify-content: center;
    gap: clamp(14px, 1.5vw, 22px);
    border: 1px solid rgba(235, 243, 251, 0.14);
    border-radius: var(--radius-pill);
    padding: 10px 14px;
    background: rgba(6, 9, 14, 0.68);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: normal;
    transform: translateX(-50%);
    white-space: nowrap;
  }

  .shell-header .desktop-nav a:not(.tr4-button) {
    padding: initial;
  }

  .shell-header .desktop-nav a:not(.tr4-button)::after {
    content: none;
  }

  .shell-header .desktop-nav a:not(.tr4-button):hover::after,
  .shell-header .desktop-nav a[aria-current="page"]::after {
    content: none;
  }

  .shell-header .desktop-nav .tr4-button {
    min-height: 50px;
    border-radius: var(--radius-pill);
    padding: 0 22px;
    font-size: 0.72rem;
  }

  .shell-header .desktop-nav .nav-divider {
    height: 28px;
    opacity: 1;
  }

  .trust-footer {
    grid-template-columns: minmax(220px, 300px) minmax(240px, 320px) minmax(0, 720px);
    justify-content: center;
    align-items: start;
    column-gap: clamp(32px, 3vw, 48px);
    row-gap: 24px;
    border-top: 1px solid rgba(111, 255, 227, 0.16);
    padding-top: clamp(54px, 6vw, 78px);
  }

  .trust-footer .footer-top,
  .trust-footer .footer-boundary,
  .trust-footer .footer-grid,
  .trust-footer .copyright {
    width: auto;
    margin: 0;
  }

  .trust-footer .footer-boundary {
    max-width: 34ch;
  }

  .trust-footer .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 0;
    padding-bottom: 0;
  }

  .trust-footer .copyright {
    grid-column: 3;
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 1180px) {
  .gateway-phase-rail {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }

  .approval-path-summary {
    grid-template-columns: 1fr;
  }

  .approval-path-summary .tr4-button {
    justify-self: start;
  }

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

@media (max-width: 860px) {
  .current-step-brief {
    grid-template-columns: 1fr;
  }

  .current-step-brief .action-button {
    width: 100%;
  }

  .gateway-command {
    grid-template-columns: 1fr;
  }

  .gateway-phase-rail {
    grid-template-columns: 1fr;
  }

  .gateway-phase-rail button {
    min-height: auto;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .gateway-phase-rail small {
    grid-column: 1 / -1;
  }

  .approval-timeline {
    grid-template-columns: 1fr;
  }

  .approval-timeline button {
    min-height: auto;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
  }

  .approval-timeline button small {
    grid-column: 1 / -1;
  }
}

.contact-vector-field {
  position: relative;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 10px;
}

.contact-vector-field > span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-vector-field input {
  grid-column: 1 / -1;
}

.contact-vector-icon,
.category-vector svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-vector-icon {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(111, 255, 227, 0.22);
  border-radius: 9px;
  padding: 7px;
  background: rgba(111, 255, 227, 0.075);
  color: var(--aqua);
  box-shadow: 0 0 18px rgba(111, 255, 227, 0.08);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.contact-vector-field:focus-within .contact-vector-icon,
.contact-vector-option.selected .contact-vector-icon,
.contact-vector-option:hover .contact-vector-icon {
  border-color: rgba(111, 255, 227, 0.5);
  background: rgba(111, 255, 227, 0.14);
  box-shadow: 0 0 26px rgba(111, 255, 227, 0.16);
  color: #b9fff4;
  transform: translateY(-1px);
}

.contact-method-select {
  gap: 9px;
}

.contact-vector-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-vector-option {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(235, 243, 251, 0.11);
  border-radius: 999px;
  padding: 5px 11px 5px 6px;
  background: rgba(235, 243, 251, 0.035);
  color: var(--muted);
}

.contact-vector-option b {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-vector-option.selected {
  border-color: rgba(111, 255, 227, 0.34);
  background: rgba(111, 255, 227, 0.08);
  color: var(--ink);
}

.category-vector-grid,
.member-gate-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(24px, 4vw, 42px);
}

.category-vector-card {
  position: relative;
  display: grid;
  gap: 14px;
  overflow: hidden;
  border: 1px solid rgba(235, 243, 251, 0.12);
  border-radius: 8px;
  padding: clamp(18px, 2.4vw, 26px);
  background:
    radial-gradient(circle at 16% 0%, rgba(111, 255, 227, 0.1), transparent 40%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.016)),
    rgba(3, 7, 10, 0.78);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.24);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.category-vector-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 34%, rgba(111, 255, 227, 0.11) 46%, transparent 58% 100%);
  opacity: 0.46;
  transform: translateX(-72%);
  animation: tr4-vector-scan 7s ease-in-out infinite;
  content: "";
  pointer-events: none;
}

.category-vector-card:hover,
.category-vector-card:focus-within {
  border-color: rgba(111, 255, 227, 0.34);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34), 0 0 38px rgba(111, 255, 227, 0.12);
  transform: translateY(-2px);
}

.category-vector {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(111, 255, 227, 0.26);
  border-radius: 12px;
  background: rgba(111, 255, 227, 0.09);
  color: var(--aqua);
  box-shadow: 0 0 24px rgba(111, 255, 227, 0.12);
}

.category-vector-card[data-category-type="peptide"] .category-vector,
.category-vector-card:nth-child(3n) .category-vector {
  border-color: rgba(169, 140, 255, 0.28);
  background: rgba(169, 140, 255, 0.1);
  color: #c9baff;
}

.category-vector-card[data-category-type="clinical"] .category-vector,
.category-vector-card:nth-child(2n) .category-vector {
  border-color: rgba(217, 188, 96, 0.34);
  background: rgba(217, 188, 96, 0.1);
  color: var(--gold);
}

.category-vector-card h3,
.category-vector-card p,
.category-vector-card .tr4-button {
  position: relative;
  z-index: 1;
}

.category-vector-card h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.42rem);
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.category-vector-card p {
  max-width: 44ch;
  color: var(--muted);
  line-height: 1.48;
}

.category-vector-card .tr4-button {
  width: fit-content;
  min-height: 36px;
  padding-inline: 14px;
  font-size: 0.64rem;
}

.research-access-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
  align-items: center;
  margin-top: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(111, 255, 227, 0.18);
  border-radius: 8px;
  padding: clamp(20px, 3.4vw, 36px);
  background:
    radial-gradient(circle at 0% 0%, rgba(111, 255, 227, 0.12), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(169, 140, 255, 0.11), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.018)),
    rgba(3, 7, 10, 0.82);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28), inset 0 0 34px rgba(111, 255, 227, 0.035);
}

.research-access-panel .category-vector {
  width: clamp(58px, 6vw, 76px);
  height: clamp(58px, 6vw, 76px);
}

.research-access-panel h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.1vw, 1.68rem);
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.research-access-panel p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}

.research-access-panel .cta-row {
  grid-column: 1 / -1;
  justify-content: flex-start;
  margin-top: 4px;
}

.signal-filter-disclosure {
  display: block;
  padding: clamp(16px, 2.4vw, 24px);
}

.signal-filter-disclosure summary {
  cursor: pointer;
  color: var(--ink);
  font: 800 0.76rem/1.2 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-filter-disclosure form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.signal-filter-disclosure label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font: 700 0.7rem/1.25 var(--font-mono);
  letter-spacing: 0.04em;
}

@media (max-width: 720px) {
  .signal-filter-disclosure form {
    grid-template-columns: 1fr;
  }
}

.footer-top img,
body[data-page="home"] .footer-top img,
.brand-lockup,
.brand-lockup img,
.mobile-brand,
.mobile-brand img,
.main-logo,
.main-logo img {
  opacity: 1 !important;
}

.footer-top img,
body[data-page="home"] .footer-top img,
.brand-lockup img,
.mobile-brand img,
.main-logo img {
  filter: drop-shadow(0 0 22px rgba(180, 210, 224, 0.18)) !important;
}

.footer-top img {
  width: min(220px, 44vw);
}

@keyframes tr4-vector-scan {
  0%, 42% {
    transform: translateX(-72%);
  }
  74%, 100% {
    transform: translateX(72%);
  }
}

@media (max-width: 640px) {
  .contact-vector-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-vector-option {
    justify-content: center;
    padding-right: 6px;
  }

  .contact-vector-option b {
    display: none;
  }
}

.gateway-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(24px, 4vw, 42px);
}

.gateway-step-card {
  position: relative;
  display: grid;
  gap: 14px;
  overflow: hidden;
  border: 1px solid rgba(235, 243, 251, 0.12);
  border-radius: 8px;
  padding: clamp(18px, 2.4vw, 26px);
  background:
    radial-gradient(circle at 16% 0%, rgba(111, 255, 227, 0.1), transparent 40%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.016)),
    rgba(3, 7, 10, 0.78);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.24);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.gateway-step-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 34%, rgba(111, 255, 227, 0.11) 46%, transparent 58% 100%);
  opacity: 0.46;
  transform: translateX(-72%);
  animation: tr4-vector-scan 7s ease-in-out infinite;
  content: "";
  pointer-events: none;
}

.gateway-step-card:hover,
.gateway-step-card:focus-within {
  border-color: rgba(111, 255, 227, 0.34);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34), 0 0 38px rgba(111, 255, 227, 0.12);
  transform: translateY(-2px);
}

.gateway-vector {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(111, 255, 227, 0.26);
  border-radius: 12px;
  background: rgba(111, 255, 227, 0.09);
  color: var(--aqua);
  box-shadow: 0 0 24px rgba(111, 255, 227, 0.12);
}

.gateway-vector svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.gateway-step-card h3,
.gateway-step-card p,
.gateway-step-card .tr4-button {
  position: relative;
  z-index: 1;
}

.gateway-step-card h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.42rem);
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.gateway-step-card p {
  max-width: 44ch;
  color: var(--muted);
  line-height: 1.48;
}

.gateway-step-card .tr4-button {
  width: fit-content;
  min-height: 36px;
  padding-inline: 14px;
  font-size: 0.64rem;
}

body[data-page="treatments"] .page-hero {
  min-height: min(540px, calc(100dvh - clamp(128px, 12vw, 168px))) !important;
  place-items: center;
  padding-top: clamp(48px, 5vw, 78px) !important;
  padding-bottom: clamp(42px, 4.8vw, 72px) !important;
}

body[data-page="treatments"] .hero-copy {
  max-width: min(1100px, calc(100vw - 48px));
  justify-items: start;
  text-align: left;
}

body[data-page="treatments"] .hero-copy h1 {
  max-width: 930px;
  font-size: clamp(2.65rem, 5.4vw, 5.15rem);
  line-height: 0.94;
}

body[data-page="treatments"] .hero-copy .lead {
  max-width: 650px;
}

body[data-page="treatments"] .treatments-workspace {
  min-height: auto !important;
  align-items: start !important;
  padding-top: clamp(36px, 4.6vw, 68px) !important;
  padding-bottom: clamp(46px, 5.4vw, 78px) !important;
}

body[data-page="treatments"] .builder-section {
  width: min(1180px, calc(100vw - clamp(32px, 8vw, 136px)));
  grid-template-columns: 1fr !important;
  gap: clamp(20px, 3vw, 32px);
}

body[data-page="treatments"] .treatment-intake-copy {
  width: min(760px, 100%);
}

body[data-page="treatments"] .treatment-intake-copy h2 {
  max-width: 760px;
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1;
}

body[data-page="treatments"] .treatment-intake-copy p:not(.section-label) {
  max-width: 64ch;
}

body[data-page="treatments"] .builder-workbench {
  width: 100%;
  grid-template-columns: minmax(280px, 0.85fr) minmax(420px, 1.15fr) !important;
  gap: clamp(14px, 1.6vw, 22px);
  padding: clamp(18px, 2.2vw, 28px);
}

body[data-page="treatments"] .builder-workbench > div:nth-child(1) {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

body[data-page="treatments"] .builder-workbench > div:nth-child(2) {
  grid-column: 2 !important;
  grid-row: 1 / span 3 !important;
}

body[data-page="treatments"] .builder-actions {
  grid-column: 1 !important;
  grid-row: 2 !important;
  justify-content: start;
}

body[data-page="treatments"] .result-panel {
  grid-column: 1 !important;
  grid-row: 3 !important;
  min-height: 118px;
}

body[data-page="treatments"] .intent-output {
  grid-column: 1 / -1 !important;
}

body[data-page="treatments"] .treatment-gateway-band {
  min-height: auto !important;
  align-items: start !important;
  padding-top: clamp(42px, 5vw, 76px) !important;
}

@media (max-width: 960px) {
  body[data-page="treatments"] .builder-section {
    width: min(100%, calc(100vw - 28px));
  }

  body[data-page="treatments"] .builder-workbench {
    grid-template-columns: 1fr !important;
  }

  body[data-page="treatments"] .builder-workbench > div:nth-child(1),
  body[data-page="treatments"] .builder-workbench > div:nth-child(2),
  body[data-page="treatments"] .builder-actions,
  body[data-page="treatments"] .result-panel,
  body[data-page="treatments"] .intent-output {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  body[data-page="treatments"] .hero-copy {
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  body[data-page="treatments"] .page-hero {
    min-height: clamp(430px, 62svh, 560px) !important;
    padding-top: 42px !important;
  }

  body[data-page="treatments"] .hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
  }

  body[data-page="treatments"] .builder-actions {
    justify-content: stretch;
  }

  body[data-page="treatments"] .builder-actions > * {
    width: 100%;
  }
}

@media (max-width: 860px) {
  body[data-page="home"] .main-logo {
    width: clamp(198px, 31vw, 210px) !important;
  }
}

body[data-page="onboarding"] .member-section {
  grid-template-columns: minmax(300px, 0.82fr) minmax(380px, 0.95fr) !important;
  max-width: 1180px;
  margin-inline: auto;
}

.protected-onboarding-copy {
  display: grid;
  align-content: start;
  gap: clamp(16px, 2vw, 24px);
}

.protected-onboarding-steps {
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}

.protected-onboarding-steps .workflow-card {
  min-height: 82px !important;
  border-radius: 10px !important;
  padding: 14px !important;
}

.protected-pathway-teaser,
.protected-plan-panel {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(111, 255, 227, 0.18);
  border-radius: 12px;
  padding: 14px;
  background: rgba(111, 255, 227, 0.055);
}

.protected-pathway-teaser span,
.protected-plan-panel span {
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.protected-pathway-teaser strong,
.protected-plan-panel strong {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.35;
}

.protected-plan-panel small {
  color: var(--muted);
  line-height: 1.45;
}

.protected-intake-panel {
  max-width: 620px;
  border-radius: 16px !important;
}

.member-entry-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 12px;
  padding: 10px;
  background: rgba(2, 4, 8, 0.45);
}

.member-entry-actions > span {
  min-width: 0;
  color: rgba(235, 243, 251, 0.72);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.member-entry-actions .tr4-button {
  min-height: 40px;
  padding-inline: 15px;
}

.intake-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 12px;
  padding: 5px;
  background: rgba(2, 4, 8, 0.45);
}

.intake-stepper button {
  min-width: 0;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 7px 8px;
  background: transparent;
  color: rgba(235, 243, 251, 0.68);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.intake-stepper button.active,
.intake-stepper button:hover,
.intake-stepper button:focus-visible {
  border-color: rgba(111, 255, 227, 0.24);
  background: rgba(111, 255, 227, 0.1);
  color: var(--aqua);
}

.intake-step {
  display: grid;
  gap: 12px;
}

.intake-step[hidden] {
  display: none;
}

.route-vector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.route-vector-grid > div {
  display: grid;
  gap: 7px;
  align-content: start;
  min-height: 112px;
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 10px;
  padding: 12px;
  background: rgba(235, 243, 251, 0.04);
}

.route-vector-grid.compact > div {
  min-height: 88px;
}

.route-vector-grid strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.route-vector-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.wallet-proof-disclosure,
.provider-status-disclosure,
.contact-route-details {
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 12px;
  padding: 0;
  background: rgba(235, 243, 251, 0.035);
}

.wallet-proof-disclosure summary,
.provider-status-disclosure summary,
.contact-route-details summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.wallet-proof-disclosure[open],
.provider-status-disclosure[open],
.contact-route-details[open] {
  border-color: rgba(111, 255, 227, 0.22);
  background: rgba(111, 255, 227, 0.045);
}

.wallet-proof-disclosure > :not(summary),
.provider-status-disclosure > :not(summary),
.contact-route-details > :not(summary) {
  margin: 0 13px 13px;
}

.portal-focus-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

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

.portal-module {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(235, 243, 251, 0.11);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(235, 243, 251, 0.046), rgba(235, 243, 251, 0.018)),
    rgba(5, 8, 12, 0.72);
}

.portal-module[open] {
  border-color: rgba(111, 255, 227, 0.22);
  background:
    radial-gradient(circle at 0% 0%, rgba(111, 255, 227, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(235, 243, 251, 0.052), rgba(235, 243, 251, 0.018)),
    rgba(5, 8, 12, 0.82);
}

.portal-module summary {
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 10px;
  align-items: center;
  padding: 16px;
  cursor: pointer;
}

.portal-module summary span {
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-module summary strong {
  min-width: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.3;
}

.portal-module > .dashboard-card,
.portal-module > form.dashboard-card,
.portal-module > .privacy-guardian-card,
.portal-module > .subscription-card,
.portal-module > .entitlement-card,
.portal-module > .pathway-history-card {
  border: 0;
  border-top: 1px solid rgba(235, 243, 251, 0.08);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.portal-module .dashboard-card + .dashboard-card {
  border-top: 1px solid rgba(235, 243, 251, 0.1);
}

.elita-member-module {
  grid-column: 1 / -1;
}

.member-elita-card {
  gap: 16px;
}

.member-assistant-panel [data-member-assistant-content] {
  min-height: 0;
  overflow: auto;
}

.member-assistant-panel .member-elita-card {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.member-elita-thread {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
  padding: 4px;
}

.member-elita-thread article {
  max-width: min(88%, 760px);
  padding: 12px 14px;
  border: 1px solid rgba(126, 226, 255, 0.18);
  border-radius: 16px;
  background: rgba(7, 20, 35, 0.72);
}

.member-elita-thread article.user {
  justify-self: end;
  border-color: rgba(185, 130, 255, 0.28);
}

.member-elita-thread article p {
  margin: 5px 0 0;
}

.admin-grid:empty {
  display: none;
}

.public-assistant-launch {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: calc(var(--portal-dock-height, 74px) + max(14px, env(safe-area-inset-bottom)));
  z-index: 64;
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid rgba(111, 255, 227, 0.24);
  border-radius: 999px;
  padding: 8px 12px 8px 8px;
  background: rgba(4, 8, 12, 0.86);
  color: var(--ink);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.35), 0 0 24px rgba(111, 255, 227, 0.12);
  backdrop-filter: blur(12px);
}

.public-assistant-launch .mini-vector {
  width: 28px;
  height: 28px;
}

.public-assistant-launch > span:last-child {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.public-assistant-launch:hover,
.public-assistant-launch:focus-visible {
  border-color: rgba(111, 255, 227, 0.52);
  background: rgba(8, 16, 20, 0.94);
}

body.footer-in-view .portal-dock,
body.footer-in-view .public-assistant-launch {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px);
}

body:not(.tr4-runtime-ready) .portal-dock {
  opacity: 0;
  pointer-events: none;
}

body.tr4-runtime-entering .portal-dock {
  transition: none;
}

@media (max-width: 1020px) {
  body[data-page="onboarding"] .member-section,
  .portal-cockpit,
  .portal-focus-stack,
  .protected-module-grid {
    grid-template-columns: 1fr !important;
  }

  .protected-intake-panel {
    max-width: none;
  }
}

@media (max-width: 640px) {
  body[data-page="onboarding"] .member-section {
    width: min(100%, calc(100vw - 24px));
    gap: 18px !important;
  }

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

  .route-vector-grid {
    grid-template-columns: 1fr;
  }

  .route-vector-grid > div,
  .route-vector-grid.compact > div {
    min-height: 76px;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .route-vector-grid > div span {
    grid-column: 1 / -1;
  }

  .member-entry-actions {
    grid-template-columns: 1fr;
  }

  .member-entry-actions .tr4-button {
    width: 100%;
  }

  .portal-module summary {
    grid-template-columns: 1fr;
    min-height: 70px;
  }

  .portal-dashboard-head,
  .portal-cockpit-actions {
    align-items: start;
    flex-direction: column;
  }

  .portal-cockpit-primary {
    min-height: 0;
  }

  .guided-workflow-shell > summary,
  .portal-workbench > summary {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .public-assistant-launch {
    right: max(10px, env(safe-area-inset-right));
    bottom: calc(var(--portal-dock-height, 74px) + max(8px, env(safe-area-inset-bottom)));
  }

  .public-assistant-launch > span:last-child {
    display: none;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  body {
    --portal-dock-height: clamp(58px, 14vw, 68px);
    --portal-dock-gap: clamp(12px, 3.4vw, 18px);
    --floating-action-size: clamp(48px, 12vw, 56px);
    padding-bottom: calc(var(--portal-dock-height) + var(--portal-dock-gap) + env(safe-area-inset-bottom)) !important;
  }

  body:not([data-page="home"]) :is(a, button, input, select, textarea, summary, [tabindex]) {
    scroll-margin-bottom: calc(var(--portal-dock-height) + var(--portal-dock-gap) + 20px + env(safe-area-inset-bottom));
  }

  body:not([data-page="home"]) main {
    min-height: calc(100svh + var(--portal-dock-height) + var(--portal-dock-gap));
    padding-bottom: calc(var(--portal-dock-height) + var(--portal-dock-gap) + env(safe-area-inset-bottom));
  }

  body:not([data-page="home"]) .page-hero {
    min-height: clamp(312px, 48svh, 440px) !important;
    padding-top: clamp(22px, 4svh, 40px) !important;
    padding-bottom: clamp(24px, 5svh, 42px) !important;
  }

  body[data-page="onboarding"] .page-hero {
    min-height: clamp(196px, 28svh, 260px) !important;
  }

  body[data-page="protocols"] .page-hero,
  body[data-page="treatments"] .page-hero {
    min-height: clamp(300px, 46svh, 410px) !important;
  }

  body:not([data-page="home"]) .hero-copy {
    width: min(100%, calc(100vw - 28px));
    max-width: 680px;
    gap: clamp(8px, 1.9svh, 14px);
  }

  body:not([data-page="home"]) .hero-copy .eyebrow,
  body:not([data-page="home"]) .section-label,
  body:not([data-page="home"]) .modalities-head .eyebrow {
    font-size: clamp(0.64rem, 2.6vw, 0.82rem);
    letter-spacing: 0.08em;
  }

  body:not([data-page="home"]) .hero-copy h1 {
    max-width: min(12.6ch, 100%);
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(2rem, 9.4vw, 3.4rem);
    line-height: 0.96;
    letter-spacing: 0 !important;
  }

  body:not([data-page="home"]) .hero-line {
    width: min(100%, 34ch);
    margin-right: auto;
    margin-left: auto;
    padding: 8px 0;
    font-size: clamp(0.72rem, 3vw, 0.94rem);
    line-height: 1.18;
    letter-spacing: 0;
  }

  body:not([data-page="home"]) .hero-copy .lead {
    width: min(100%, 34ch);
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(0.9rem, 3.6vw, 1.06rem);
    line-height: 1.42;
    letter-spacing: 0;
  }

  body:not([data-page="home"]) .content-band,
  body:not([data-page="home"]) .modalities-section,
  body:not([data-page="home"]) .member-section,
  body:not([data-page="home"]) .builder-section {
    padding-top: clamp(38px, 9vw, 58px) !important;
    padding-bottom: clamp(46px, 11vw, 72px) !important;
  }

  body:not([data-page="home"]) .content-band h2,
  body:not([data-page="home"]) .section-copy h2,
  body:not([data-page="home"]) .modalities-head h2,
  body:not([data-page="home"]) .band-inner h2 {
    font-size: clamp(1.68rem, 7.9vw, 2.52rem);
    line-height: 1.04;
    letter-spacing: 0 !important;
  }

  body:not([data-page="home"]) .copy-block p,
  body:not([data-page="home"]) .section-copy p,
  body:not([data-page="home"]) .modalities-head p,
  body:not([data-page="home"]) .band-inner > p,
  body:not([data-page="home"]) .muted {
    font-size: clamp(0.92rem, 3.9vw, 1.08rem);
    line-height: 1.48;
    letter-spacing: 0;
  }

  body[data-page="protocols"] .modalities-section {
    padding-top: clamp(42px, 10vw, 62px) !important;
  }

  body[data-page="protocols"] .modalities-head {
    width: min(100%, calc(100vw - 32px));
    margin-right: auto;
    margin-bottom: clamp(24px, 6vw, 34px);
    margin-left: auto;
  }

  body[data-page="protocols"] .modality-grid,
  body[data-page="discover"] .value-grid,
  body[data-page="treatments"] .gateway-step-grid {
    gap: clamp(14px, 4vw, 20px);
  }

  .research-access-panel {
    grid-template-columns: 1fr;
    justify-items: start;
    width: min(100%, calc(100vw - 32px));
    margin-right: auto;
    margin-left: auto;
  }

  .research-access-panel .cta-row {
    width: 100%;
  }

  .research-access-panel .tr4-button {
    width: 100%;
  }

  .choice-banner {
    display: none !important;
  }

  .portal-dock {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    left: max(14px, env(safe-area-inset-left));
    min-height: var(--portal-dock-height);
    max-height: 76px;
    border-radius: 20px;
    padding: 6px;
  }

  .portal-dock a,
  .portal-dock button {
    min-height: calc(var(--portal-dock-height) - 14px);
    border-radius: 14px;
    overflow: hidden;
    font-size: clamp(0.48rem, 1.9vw, 0.6rem);
    letter-spacing: 0.01em;
    white-space: nowrap;
  }

  .mobile-menu {
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(var(--portal-dock-height) + var(--portal-dock-gap) + env(safe-area-inset-bottom)) !important;
    left: max(14px, env(safe-area-inset-left));
    max-height: min(52svh, 420px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: clamp(16px, 4vw, 24px);
    scrollbar-width: thin;
  }

  body:not([data-page="home"]) .mobile-menu {
    top: auto;
    width: auto;
    bottom: calc(var(--portal-dock-height) + var(--portal-dock-gap) + env(safe-area-inset-bottom)) !important;
  }

  .mobile-menu .mobile-menu-assistant {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(111, 255, 227, 0.24);
    border-radius: 16px;
    padding: 0 14px;
    background:
      radial-gradient(circle at 15% 0%, rgba(111, 255, 227, 0.12), transparent 34%),
      rgba(111, 255, 227, 0.055);
    color: var(--aqua);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .public-assistant-launch {
    display: none !important;
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(var(--portal-dock-height) + clamp(18px, 4.5vw, 26px) + env(safe-area-inset-bottom));
    width: var(--floating-action-size);
    height: var(--floating-action-size);
    min-height: 0;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
    border-radius: 18px;
    padding: 0;
  }

  .public-assistant-launch .mini-vector {
    width: clamp(28px, 7.6vw, 34px);
    height: clamp(28px, 7.6vw, 34px);
  }

  .public-assistant-launch > span:last-child {
    display: none !important;
  }

  .site-footer {
    gap: clamp(16px, 4vw, 24px);
    padding-top: clamp(48px, 10vw, 68px);
    padding-bottom: calc(var(--portal-dock-height) + var(--floating-action-size) + 132px + env(safe-area-inset-bottom)) !important;
  }

  .trust-footer .footer-top,
  .trust-footer .footer-boundary,
  .trust-footer .footer-grid,
  .trust-footer .copyright {
    width: min(100%, calc(100vw - 32px));
    max-width: 620px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (min-width: 700px) and (max-width: 860px) {
  .site-footer {
    padding-bottom: calc(var(--portal-dock-height) + var(--floating-action-size) + 220px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 560px) {
  body:not([data-page="home"]) {
    --tr4-mobile-header: clamp(64px, 17vw, 76px);
  }

  body:not([data-page="home"]) .mobile-shell {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  body:not([data-page="home"]) .mobile-brand {
    width: clamp(174px, 52vw, 224px);
  }

  body:not([data-page="home"]) .nav-toggle {
    width: 44px;
    height: 44px;
  }

  body:not([data-page="home"]) .page-hero {
    min-height: clamp(292px, 46svh, 396px) !important;
  }

  body:not([data-page="home"]) .hero-copy h1 {
    font-size: clamp(1.82rem, 8.8vw, 2.72rem);
    line-height: 0.98;
  }

  body:not([data-page="home"]) .hero-copy .lead {
    font-size: clamp(0.88rem, 3.8vw, 1rem);
  }

  body:not([data-page="home"]) .content-band h2,
  body:not([data-page="home"]) .section-copy h2,
  body:not([data-page="home"]) .modalities-head h2,
  body:not([data-page="home"]) .band-inner h2 {
    font-size: clamp(1.48rem, 7.4vw, 2.16rem);
  }

  .portal-dock {
    right: max(12px, env(safe-area-inset-right));
    left: max(12px, env(safe-area-inset-left));
  }

  .portal-dock a,
  .portal-dock button {
    font-size: clamp(0.44rem, 1.95vw, 0.54rem);
  }

  .public-assistant-launch {
    right: max(12px, env(safe-area-inset-right));
    border-radius: 16px;
  }
}

@media (max-width: 360px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  main,
  section,
  .page-hero,
  .content-band,
  .modalities-section,
  .member-section,
  .builder-section,
  .site-footer {
    max-width: 100vw;
    overflow-x: clip;
  }

  body[data-page="home"] .main-logo {
    width: clamp(176px, 66vw, 214px);
  }

  body[data-page="home"] .hero-copy,
  body:not([data-page="home"]) .hero-copy {
    width: min(100%, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
  }

  body[data-page="home"] h1,
  body:not([data-page="home"]) .hero-copy h1 {
    max-width: calc(100vw - 24px);
    font-size: clamp(1.34rem, 7.2vw, 1.58rem);
    line-height: 1.02;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  body[data-page="home"] .hero-line,
  body:not([data-page="home"]) .hero-line {
    width: min(100%, calc(100vw - 26px));
    max-width: calc(100vw - 26px);
    font-size: clamp(0.62rem, 3.8vw, 0.76rem);
    line-height: 1.22;
  }

  body[data-page="home"] .tr4-button.primary,
  body:not([data-page="home"]) .tr4-button.primary,
  body:not([data-page="home"]) .action-button {
    width: min(100%, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
    min-height: 48px;
    padding-right: 14px;
    padding-left: 14px;
    font-size: clamp(0.62rem, 3.5vw, 0.76rem);
    white-space: normal;
  }

  body:not([data-page="home"]) .mobile-shell {
    right: 8px;
    left: 8px;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  body:not([data-page="home"]) .mobile-brand {
    width: clamp(148px, 48vw, 176px);
  }

  body:not([data-page="home"]) .nav-toggle {
    width: 44px;
    height: 44px;
  }

  body:not([data-page="home"]) .content-band h2,
  body:not([data-page="home"]) .section-copy h2,
  body:not([data-page="home"]) .modalities-head h2,
  body:not([data-page="home"]) .band-inner h2 {
    max-width: calc(100vw - 28px);
    font-size: clamp(1.2rem, 6.8vw, 1.46rem);
    line-height: 1.08;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  body:not([data-page="home"]) .copy-block p,
  body:not([data-page="home"]) .section-copy p,
  body:not([data-page="home"]) .modalities-head p,
  body:not([data-page="home"]) .band-inner > p,
  body:not([data-page="home"]) .muted {
    max-width: calc(100vw - 28px);
    font-size: clamp(0.84rem, 4.6vw, 0.96rem);
    line-height: 1.46;
  }

  .portal-dock {
    right: max(8px, env(safe-area-inset-right));
    left: max(8px, env(safe-area-inset-left));
    gap: 2px;
    padding: 5px;
  }

  .portal-dock a,
  .portal-dock button {
    min-width: 0;
    padding: 0 2px;
    font-size: clamp(0.38rem, 2.8vw, 0.46rem);
    letter-spacing: 0;
  }

  .mobile-menu {
    right: max(8px, env(safe-area-inset-right));
    left: max(8px, env(safe-area-inset-left));
    padding: 10px;
  }

  .mobile-menu a {
    min-width: 0;
    min-height: 46px;
    padding: 0 10px;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }

  .site-footer {
    padding-bottom: calc(var(--portal-dock-height) + var(--floating-action-size) + 148px + env(safe-area-inset-bottom)) !important;
  }
}

.gateway-command,
.gateway-command > div,
.wizard-status,
.wizard-status > * {
  min-width: 0;
  max-width: 100%;
}

.wizard-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  align-content: center;
}

.wizard-status strong,
.guided-workflow-shell .wizard-status strong {
  width: 100%;
  max-width: 100%;
  font-size: clamp(1.45rem, 1.75vw, 2.45rem);
  line-height: 0.98;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

body:not([data-page="home"]) .hero-copy .lead {
  color: rgba(242, 246, 251, 0.94);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.92), 0 12px 42px rgba(0, 0, 0, 0.76);
}

body:not([data-page="home"]) .hero-copy .hero-line {
  color: #27d8f4;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.94), 0 12px 42px rgba(0, 0, 0, 0.82);
}

@media (max-width: 860px) {
  body:not([data-page="home"]) .page-hero::after {
    background:
      radial-gradient(circle at 50% 42%, rgba(111, 255, 227, 0.08), transparent 32%),
      linear-gradient(90deg, rgba(2, 3, 4, 0.78), rgba(2, 3, 4, 0.48), rgba(2, 3, 4, 0.78)),
      linear-gradient(180deg, rgba(2, 3, 4, 0.42), rgba(2, 3, 4, 0.72));
  }

  body:not([data-page="home"]) .hero-copy .lead {
    color: #f2f6fb;
  }

  body:not([data-page="home"]) .hero-copy .hero-line {
    color: #35e1fb;
  }

  .portal-dock a,
  .portal-dock button {
    font-size: clamp(0.625rem, 2.25vw, 0.72rem);
    letter-spacing: 0;
  }

  body.nav-open .portal-dock {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(calc(100% + 24px));
  }

  body.nav-open .mobile-menu {
    top: calc(max(8px, env(safe-area-inset-top)) + var(--tr4-mobile-header) + 24px) !important;
    right: max(10px, env(safe-area-inset-right));
    bottom: max(1px, env(safe-area-inset-bottom)) !important;
    left: max(10px, env(safe-area-inset-left));
    width: auto;
    max-height: none;
    box-shadow: 0 0 0 100vmax rgba(2, 3, 4, 0.74), 0 28px 100px rgba(0, 0, 0, 0.76), inset 0 0 0 1px rgba(255, 255, 255, 0.045);
  }

  body[data-page="home"].nav-open .mobile-menu {
    max-height: calc(100svh - max(16px, env(safe-area-inset-top) + env(safe-area-inset-bottom)));
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  body:not([data-page="home"]) .portal-dock {
    display: none;
  }

  body:not([data-page="home"]) {
    padding-bottom: env(safe-area-inset-bottom) !important;
  }

  body:not([data-page="home"]) main {
    min-height: 100svh;
    padding-bottom: max(32px, env(safe-area-inset-bottom));
  }

  body:not([data-page="home"]) .site-footer {
    padding-bottom: calc(72px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 560px) {
  .gateway-command {
    grid-template-columns: minmax(0, 1fr);
  }

  .wizard-status strong,
  .guided-workflow-shell .wizard-status strong {
    font-size: clamp(1.35rem, 8vw, 2rem);
  }
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  border: 2px solid var(--aqua);
  border-radius: 10px;
  padding: 10px 14px;
  background: #020304;
  color: #f2f6fb;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 900;
  transform: translateY(calc(-100% - 24px));
  transition: transform 140ms ease;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--aqua) !important;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(2, 3, 4, 0.84) !important;
}

.motion-toggle {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 58;
  min-height: 42px;
  border: 1px solid rgba(111, 255, 227, 0.3);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(3, 5, 8, 0.88);
  color: rgba(242, 246, 251, 0.9);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(18px);
}

.motion-toggle[aria-pressed="true"] {
  border-color: rgba(111, 255, 227, 0.58);
  color: var(--aqua);
}

.motion-paused video {
  opacity: 0.58;
}

.motion-paused .choice-track,
.motion-paused .hero-copy > *,
.motion-paused .modality-card::before,
.motion-paused .protocol-card::before,
.motion-paused .provider::before {
  animation: none !important;
}

@media (min-width: 861px) and (max-width: 1440px) and (max-height: 850px) {
  .motion-toggle {
    width: 44px;
    min-height: 44px;
    padding: 0;
    font-size: 0;
  }

  .motion-toggle::before {
    content: "Ⅱ";
    font-size: 1rem;
    letter-spacing: 0;
  }

  .motion-toggle[aria-pressed="true"]::before {
    content: "▶";
    font-size: 0.8rem;
  }
}

@media (max-width: 860px) {
  .motion-toggle {
    position: static;
    width: 100%;
    min-height: 46px;
    border-radius: 16px;
  }
}

@media (max-width: 560px) {
  body[data-page="onboarding"] .page-hero {
    min-height: 150px !important;
    padding: 8px 14px !important;
  }

  body[data-page="onboarding"] .content-band {
    padding-top: 6px;
  }

  body[data-page="onboarding"] .login-panel {
    gap: 10px;
    padding: 16px;
  }

  body[data-page="onboarding"] .member-entry-actions {
    display: none;
  }

  body[data-page="onboarding"] .member-state {
    min-height: 36px;
    padding: 8px 10px;
  }
}

.desktop-nav .nav-ecosystem {
  position: relative;
}

@media (min-width: 861px) {
  .shell-header {
    overflow: visible;
  }
}

.desktop-nav .nav-ecosystem summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  color: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  list-style: none;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.desktop-nav .nav-ecosystem summary::-webkit-details-marker {
  display: none;
}

.desktop-nav .nav-ecosystem summary::after {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: '';
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.desktop-nav .nav-ecosystem[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.desktop-nav .nav-ecosystem summary:hover,
.desktop-nav .nav-ecosystem[open] summary,
.desktop-nav .nav-ecosystem[data-current="true"] summary {
  color: #fff;
  text-shadow: 0 0 18px rgba(111, 255, 227, 0.34);
}

.desktop-nav .nav-ecosystem-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 80;
  width: 196px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(235, 243, 251, 0.14);
  border-radius: 18px;
  padding: 8px;
  background: rgba(4, 7, 11, 0.98);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
}

.desktop-nav .nav-ecosystem-panel a {
  min-height: 42px;
  display: flex;
  align-items: center;
  border-radius: 12px;
  padding: 0 12px;
}

.desktop-nav .nav-ecosystem-panel a:hover,
.desktop-nav .nav-ecosystem-panel a[aria-current="page"] {
  background: rgba(111, 255, 227, 0.1);
  color: var(--aqua);
}

@media (min-width: 861px) {
  .shell-header .desktop-nav > .nav-ecosystem {
    position: relative;
    height: 44px;
  }

  .shell-header .desktop-nav > .nav-ecosystem > summary {
    height: 44px;
    padding-inline: clamp(7px, 0.7vw, 11px);
  }

  .shell-header .desktop-nav .nav-ecosystem-panel {
    top: calc(100% + 13px);
    left: auto;
    right: -18px;
    width: min(350px, calc(100vw - 32px));
    gap: 5px;
    overflow: hidden;
    border-color: rgba(226, 232, 237, 0.2);
    border-radius: 24px;
    padding: 13px;
    background:
      radial-gradient(circle at 92% 2%, rgba(158, 215, 202, 0.12), transparent 35%),
      linear-gradient(150deg, rgba(16, 20, 25, 0.98), rgba(3, 5, 7, 0.985));
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.66), inset 0 1px rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(28px) saturate(115%);
    transform: none;
    transform-origin: top right;
    animation: tr4-ecosystem-panel-in 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .shell-header .desktop-nav .nav-ecosystem-panel::before {
    position: absolute;
    top: -78px;
    right: -64px;
    width: 190px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(158, 215, 202, 0.13), transparent 68%);
    content: "";
    pointer-events: none;
    animation: tr4-menu-orb 7s ease-in-out infinite;
  }

  .shell-header .desktop-nav .nav-ecosystem-heading {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 3px;
    padding: 9px 11px 13px;
    border-bottom: 1px solid rgba(226, 232, 237, 0.13);
  }

  .shell-header .desktop-nav .nav-ecosystem-heading span,
  .shell-header .desktop-nav .nav-ecosystem-heading small {
    font-family: var(--font-mono);
    text-transform: uppercase;
  }

  .shell-header .desktop-nav .nav-ecosystem-heading span {
    color: rgba(241, 244, 246, 0.94);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
  }

  .shell-header .desktop-nav .nav-ecosystem-heading small {
    color: rgba(226, 232, 237, 0.48);
    font-size: 0.52rem;
    letter-spacing: 0.07em;
  }

  .shell-header .desktop-nav .nav-ecosystem-panel a {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 18px;
    gap: 10px;
    align-items: center;
    min-height: 59px;
    border: 1px solid transparent;
    border-radius: 15px;
    padding: 8px 10px;
    background: transparent !important;
    color: rgba(238, 242, 244, 0.82) !important;
    transition: border-color 170ms ease, background 170ms ease, transform 170ms ease !important;
  }

  .shell-header .desktop-nav .nav-ecosystem-panel a:hover,
  .shell-header .desktop-nav .nav-ecosystem-panel a:focus-visible,
  .shell-header .desktop-nav .nav-ecosystem-panel a[aria-current="page"] {
    border-color: rgba(158, 215, 202, 0.2);
    background: linear-gradient(90deg, rgba(158, 215, 202, 0.075), rgba(226, 232, 237, 0.025)) !important;
    transform: translateX(2px);
  }

  .nav-ecosystem-index,
  .nav-ecosystem-arrow,
  .nav-ecosystem-copy small {
    font-family: var(--font-mono);
  }

  .nav-ecosystem-index {
    color: var(--signal-accent, #9ed7ca);
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }

  .nav-ecosystem-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
  }

  .nav-ecosystem-copy strong {
    color: #eef2f4;
    font-size: 0.78rem;
    line-height: 1.15;
  }

  .nav-ecosystem-copy small {
    color: rgba(226, 232, 237, 0.48);
    font-size: 0.52rem;
    line-height: 1.25;
    letter-spacing: 0.02em;
  }

  .nav-ecosystem-arrow {
    color: rgba(226, 232, 237, 0.72);
    font-size: 0.72rem;
    transition: color 170ms ease, transform 170ms ease;
  }

  .nav-ecosystem-panel a:hover .nav-ecosystem-arrow,
  .nav-ecosystem-panel a:focus-visible .nav-ecosystem-arrow {
    color: #dcebe7;
    transform: translate3d(2px, -2px, 0);
  }
}

@keyframes tr4-ecosystem-panel-in {
  from { opacity: 0; transform: translateY(-7px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes tr4-menu-orb {
  0%, 100% { opacity: 0.45; transform: scale(0.92); }
  50% { opacity: 0.8; transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .shell-header .desktop-nav .nav-ecosystem-panel,
  .shell-header .desktop-nav .nav-ecosystem-panel::before {
    animation: none;
  }
}

.protected-workspace-nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  border: 1px solid rgba(111, 255, 227, 0.18);
  border-radius: 18px;
  padding: 10px 12px;
  background: rgba(7, 12, 16, 0.9);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.3);
}

.protected-workspace-nav > a {
  display: inline-flex;
  align-items: center;
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.protected-workspace-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.protected-workspace-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 11px;
  padding: 0 11px;
  color: rgba(238, 247, 248, 0.72);
  font-size: 0.74rem;
  font-weight: 800;
}

.protected-workspace-links a:hover,
.protected-workspace-links a[aria-current="page"] {
  background: rgba(111, 255, 227, 0.1);
  color: var(--aqua);
}

@media (max-width: 860px) {
  .mobile-nav-group {
    display: grid;
    gap: 5px;
    border-top: 1px solid rgba(235, 243, 251, 0.08);
    padding-top: 10px;
  }

  .mobile-nav-group:first-of-type {
    border-top: 0;
  }

  .mobile-nav-group h2 {
    margin: 0;
    padding: 0 10px;
    color: rgba(111, 255, 227, 0.7);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }

  .mobile-nav-group > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .mobile-nav-group a {
    min-width: 0;
  }

  .site-footer .footer-grid {
    width: min(100%, 620px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 20px;
  }

  .site-footer .footer-grid div {
    display: grid;
    justify-items: start;
    gap: 8px;
  }

  .site-footer .footer-grid a,
  .site-footer .footer-grid a[href="/onboarding"] {
    display: inline-flex;
  }

  .protected-workspace-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .protected-workspace-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .mobile-nav-group > div,
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer .footer-grid {
    max-width: 100%;
  }

  .protected-workspace-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
}

.hero-trust-signals {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: -5px 0;
  padding: 0;
  list-style: none;
}

.hero-trust-signals li {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(111, 255, 227, 0.2);
  border-radius: 999px;
  padding: 0 11px;
  background: rgba(3, 7, 10, 0.62);
  color: rgba(242, 246, 251, 0.82);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.hero-trust-signals li::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 10px rgba(111, 255, 227, 0.68);
  content: '';
}

@media (min-width: 861px) {
  body[data-page="home"] main > .page-hero .hero-copy,
  body[data-page="discover"] main > .page-hero .hero-copy,
  body[data-page="protocols"] main > .page-hero .hero-copy,
  body[data-page="treatments"] main > .page-hero .hero-copy,
  body[data-page="onboarding"] main > .page-hero .hero-copy {
    gap: 14px;
  }

  body[data-page="discover"] main > .page-hero .hero-copy,
  body[data-page="protocols"] main > .page-hero .hero-copy,
  body[data-page="treatments"] main > .page-hero .hero-copy {
    transform: translateY(-34px);
  }
}

@media (max-width: 860px) {
  .hero-trust-signals {
    gap: 5px;
    margin: -3px 0;
  }

  .hero-trust-signals li {
    min-height: 26px;
    padding: 0 8px;
    font-size: clamp(0.48rem, 1.8vw, 0.56rem);
    letter-spacing: 0.02em;
  }

}

@media (max-width: 560px) {
  .hero-trust-signals li:nth-child(3) {
    display: none;
  }

  body[data-page="discover"] main > .page-hero .cta-row,
  body[data-page="protocols"] main > .page-hero .cta-row,
  body[data-page="treatments"] main > .page-hero .cta-row {
    width: min(100%, calc(100vw - 28px));
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  body[data-page="discover"] main > .page-hero .cta-row .tr4-button,
  body[data-page="protocols"] main > .page-hero .cta-row .tr4-button,
  body[data-page="treatments"] main > .page-hero .cta-row .tr4-button {
    width: 100%;
    max-width: none;
    min-height: 50px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: clamp(0.5rem, 2.7vw, 0.66rem);
  }

  body[data-page="onboarding"] .hero-trust-signals {
    display: none;
  }

  body[data-page="protocols"] .hero-copy h1 {
    max-width: calc(100vw - 28px);
    font-size: clamp(1.48rem, 7.2vw, 2.05rem);
    line-height: 1.01;
    overflow-wrap: normal;
    word-break: normal;
  }
}

@media (max-width: 360px) {
  .hero-trust-signals li {
    min-height: 24px;
    font-size: 0.45rem;
  }

  body[data-page="protocols"] .hero-copy h1 {
    font-size: clamp(1.34rem, 7vw, 1.58rem);
  }
}

.adaptive-gateway-rail,
.adaptive-gateway-rail .desktop-nav,
.portal-dock {
  transition: top 180ms ease, transform 180ms ease, opacity 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

@media (min-width: 861px) {
  body[data-page="home"].gateway-rail-compact .site-nav.adaptive-gateway-rail {
    position: fixed;
    top: 14px;
    z-index: 64;
  }

  body[data-page="home"].gateway-rail-compact .site-nav.adaptive-gateway-rail .desktop-nav {
    transform: scale(0.94);
    transform-origin: top center;
    background: rgba(3, 7, 10, 0.9);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(111, 255, 227, 0.04);
  }
}

body.navigation-modal-open {
  overflow: hidden;
}

.pathway-preview {
  position: relative;
  z-index: 3;
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  border-top: 1px solid rgba(111, 255, 227, 0.14);
  border-bottom: 1px solid rgba(235, 243, 251, 0.1);
  padding: clamp(64px, 9vw, 126px) clamp(18px, 6vw, 88px);
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 15%, rgba(39, 216, 244, 0.13), transparent 28%),
    radial-gradient(circle at 16% 84%, rgba(169, 140, 255, 0.12), transparent 31%),
    linear-gradient(145deg, rgba(2, 5, 8, 0.97), rgba(4, 13, 17, 0.91));
}

.pathway-preview::before {
  position: absolute;
  inset: 8% -12% auto auto;
  width: min(54vw, 780px);
  aspect-ratio: 1;
  border: 1px solid rgba(111, 255, 227, 0.08);
  border-radius: 50%;
  box-shadow: inset 0 0 90px rgba(111, 255, 227, 0.035), 0 0 100px rgba(111, 255, 227, 0.035);
  pointer-events: none;
  content: '';
}

.pathway-preview-head,
.pathway-preview-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1240px);
  margin: 0 auto;
}

.pathway-preview-head {
  max-width: 900px;
  display: grid;
  gap: 12px;
  margin-left: max(0px, calc((100% - 1240px) / 2));
}

.pathway-preview-head h2 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.2vw, 6.9rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-wrap: balance;
}

.pathway-preview-head h2 span {
  color: var(--aqua);
}

.pathway-preview-head > p:last-child {
  max-width: 66ch;
  margin: 0;
  color: rgba(235, 243, 251, 0.72);
  font-size: clamp(1rem, 1.45vw, 1.24rem);
  line-height: 1.55;
}

.pathway-preview-shell {
  display: grid;
  grid-template-columns: minmax(230px, 0.68fr) minmax(0, 1.72fr);
  gap: clamp(18px, 3vw, 36px);
  align-items: stretch;
}

.pathway-outcomes {
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 26px;
  padding: clamp(18px, 2.4vw, 30px);
  background: rgba(2, 6, 9, 0.7);
  box-shadow: inset 0 0 44px rgba(111, 255, 227, 0.025);
}

.pathway-outcomes legend,
.pathway-result-kicker {
  color: var(--aqua);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pathway-outcomes legend {
  padding: 0 8px;
}

.pathway-outcomes > div {
  display: grid;
  gap: 8px;
}

.pathway-outcomes label {
  min-height: 54px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(235, 243, 251, 0.09);
  border-radius: 16px;
  padding: 0 16px;
  background: rgba(235, 243, 251, 0.025);
  color: rgba(235, 243, 251, 0.68);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease, transform 150ms ease;
}

.pathway-outcomes label:hover,
.pathway-outcomes label:focus-within,
.pathway-outcomes label.is-active {
  border-color: rgba(111, 255, 227, 0.36);
  background: rgba(111, 255, 227, 0.09);
  color: #f2f6fb;
  transform: translateX(3px);
}

.pathway-outcomes input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.pathway-outcomes span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pathway-outcomes span::before {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(111, 255, 227, 0.7);
  border-radius: 50%;
  content: '';
}

.pathway-outcomes label.is-active span::before {
  background: var(--aqua);
  box-shadow: 0 0 16px rgba(111, 255, 227, 0.66);
}

.pathway-result {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: clamp(14px, 2vw, 24px);
  border: 1px solid rgba(111, 255, 227, 0.16);
  border-radius: 30px;
  padding: clamp(24px, 4.4vw, 64px);
  background:
    radial-gradient(circle at 100% 0%, rgba(111, 255, 227, 0.12), transparent 38%),
    rgba(5, 10, 14, 0.78);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(235, 243, 251, 0.025);
}

.pathway-result-intro {
  min-width: 0;
  max-width: 100%;
  display: grid;
  gap: 14px;
}

.pathway-result h3 {
  width: 100%;
  max-width: 15ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.05vw, 3.85rem);
  line-height: 1;
  letter-spacing: -0.018em;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.pathway-result :where(h3, h4, p, strong, small, span),
.pathway-outcomes :where(label, span),
.pathway-journey-stage :where(h4, p, strong, small, span) {
  min-width: 0;
  max-width: 100%;
}

.pathway-result :where(svg, img),
.pathway-outcomes :where(svg, img),
.pathway-journey-stage :where(svg, img) {
  max-width: 100%;
}

.pathway-result-intro > p:not(.pathway-result-kicker) {
  max-width: 68ch;
  margin: 0;
  color: rgba(235, 243, 251, 0.74);
  font-size: clamp(0.98rem, 1.35vw, 1.14rem);
  line-height: 1.55;
}

.pathway-journey-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.pathway-journey-map li {
  position: relative;
  min-width: 0;
}

.pathway-journey-map li:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 25px;
  left: calc(50% + 20px);
  right: calc(-50% + 20px);
  height: 1px;
  background: rgba(235, 243, 251, 0.12);
  content: '';
}

.pathway-journey-map li.is-complete:not(:last-child)::after {
  background: linear-gradient(90deg, var(--aqua), rgba(111, 255, 227, 0.18));
}

.pathway-journey-map button {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 86px;
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 4px;
  border: 0;
  padding: 0 10px 0 0;
  background: transparent;
  color: rgba(235, 243, 251, 0.58);
  text-align: left;
  cursor: pointer;
}

.pathway-journey-map button > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(235, 243, 251, 0.14);
  border-radius: 50%;
  background: #070d11;
  color: rgba(235, 243, 251, 0.54);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.pathway-journey-map strong,
.pathway-journey-map small {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.pathway-journey-map strong {
  color: #f2f6fb;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pathway-journey-map small {
  color: rgba(235, 243, 251, 0.5);
  font-size: 0.68rem;
  line-height: 1.25;
}

.pathway-journey-map li.is-active button > span,
.pathway-journey-map li.is-complete button > span {
  border-color: rgba(111, 255, 227, 0.58);
  color: #03100e;
  background: var(--aqua);
  box-shadow: 0 0 24px rgba(111, 255, 227, 0.2);
}

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

.pathway-journey-stage {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid rgba(235, 243, 251, 0.09);
  border-radius: 22px;
  padding: clamp(16px, 2vw, 22px);
  background: rgba(235, 243, 251, 0.025);
  scroll-margin: 120px 0;
}

.pathway-journey-stage:focus {
  outline: 2px solid rgba(111, 255, 227, 0.74);
  outline-offset: 3px;
}

.pathway-medicine-stage {
  grid-column: 1 / -1;
}

.pathway-stage-head {
  display: grid;
  gap: 5px;
}

.pathway-stage-head > span {
  color: rgba(111, 255, 227, 0.74);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pathway-stage-head h4 {
  margin: 0;
  color: #f2f6fb;
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.35vw, 1.18rem);
  line-height: 1.15;
  text-transform: uppercase;
}

.pathway-medicines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pathway-medicines a {
  min-width: 0;
  min-height: 104px;
  display: grid;
  align-content: end;
  gap: 7px;
  border: 1px solid rgba(235, 243, 251, 0.1);
  border-radius: 18px;
  padding: 16px;
  background: rgba(235, 243, 251, 0.03);
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.pathway-signal-options,
.pathway-route-options {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.pathway-signal-options legend,
.pathway-route-options legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.pathway-signal-options label,
.pathway-route-options label {
  min-width: 0;
  min-height: 60px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(235, 243, 251, 0.08);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(2, 6, 9, 0.42);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.pathway-signal-options label:hover,
.pathway-signal-options label:focus-within,
.pathway-route-options label:hover,
.pathway-route-options label:focus-within,
.pathway-route-options label.is-active {
  border-color: rgba(111, 255, 227, 0.34);
  background: rgba(111, 255, 227, 0.065);
}

.pathway-signal-options label:has(input:checked) {
  border-color: rgba(111, 255, 227, 0.28);
  background: rgba(111, 255, 227, 0.05);
}

.pathway-signal-options input,
.pathway-route-options input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--aqua);
}

.pathway-signal-options label > span,
.pathway-route-options label > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.pathway-signal-options strong,
.pathway-route-options strong {
  color: #f2f6fb;
  font-size: 0.78rem;
  line-height: 1.2;
}

.pathway-signal-options small,
.pathway-route-options small {
  color: rgba(235, 243, 251, 0.54);
  font-size: 0.68rem;
  line-height: 1.35;
}

.pathway-handoff {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  align-items: end;
  gap: 18px;
  border-top: 1px solid rgba(235, 243, 251, 0.09);
  padding-top: 18px;
}

.pathway-handoff > p {
  margin: 0;
  color: rgba(235, 243, 251, 0.58);
  font-size: 0.72rem;
  line-height: 1.5;
}

.pathway-handoff > p strong {
  color: var(--aqua);
}

.pathway-handoff .cta-row {
  justify-content: flex-end;
  margin: 0;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.pathway-medicines a:hover,
.pathway-medicines a:focus-visible {
  border-color: rgba(111, 255, 227, 0.36);
  background: rgba(111, 255, 227, 0.08);
  transform: translateY(-2px);
}

.pathway-medicines span {
  color: rgba(111, 255, 227, 0.7);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pathway-medicines strong {
  color: #f2f6fb;
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 1vw, 0.88rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  body:not([data-page="home"]) .mobile-shell,
  body:not([data-page="home"]) .mobile-brand,
  body:not([data-page="home"]) .nav-toggle {
    transition: width 180ms ease, height 180ms ease, top 180ms ease, border-radius 180ms ease, background 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
  }

  body:not([data-page="home"]).gateway-rail-compact:not(.nav-open) .mobile-shell {
    top: max(6px, env(safe-area-inset-top));
    height: 56px;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    border: 1px solid rgba(111, 255, 227, 0.12);
    border-radius: 18px;
    background: rgba(3, 7, 10, 0.9);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(18px);
  }

  body:not([data-page="home"]).gateway-rail-compact:not(.nav-open) .mobile-brand {
    width: clamp(116px, 34vw, 136px);
    opacity: 0.96;
  }

  body:not([data-page="home"]).gateway-rail-compact:not(.nav-open) .nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  body:not([data-page="home"]) .portal-dock {
    display: grid;
  }

  body:not([data-page="home"]) {
    padding-bottom: calc(var(--portal-dock-height) + var(--portal-dock-gap) + env(safe-area-inset-bottom)) !important;
  }

  body:not([data-page="home"]) .site-footer {
    padding-bottom: calc(var(--portal-dock-height) + 80px + env(safe-area-inset-bottom)) !important;
  }

  body.gateway-dock-condensed:not(.nav-open) .portal-dock {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(calc(100% + 24px)) scale(0.985);
  }

  .pathway-preview {
    gap: 28px;
    padding: 58px 14px 74px;
  }

  .pathway-preview-head {
    margin-left: auto;
    text-align: left;
  }

  .pathway-preview-head h2 {
    max-width: 10ch;
    font-size: clamp(2.4rem, 11.5vw, 4.7rem);
  }

  .pathway-preview-shell {
    grid-template-columns: 1fr;
  }

  .pathway-outcomes {
    border-radius: 22px;
    padding: 14px;
    overflow: hidden;
  }

  .pathway-outcomes > div {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .pathway-outcomes label {
    min-width: max-content;
    min-height: 48px;
    padding: 0 14px;
    scroll-snap-align: start;
  }

  .pathway-outcomes label:hover,
  .pathway-outcomes label:focus-within,
  .pathway-outcomes label.is-active {
    transform: none;
  }

  .pathway-result {
    border-radius: 24px;
    padding: 24px 18px;
  }

  .pathway-result h3 {
    font-size: clamp(1.8rem, 8vw, 2.9rem);
  }

  .pathway-journey-map {
    grid-template-columns: repeat(4, minmax(96px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }

  .pathway-journey-map li {
    scroll-snap-align: start;
  }

  .pathway-journey-map button {
    min-height: 82px;
  }

  .pathway-journey-grid {
    grid-template-columns: 1fr;
  }

  .pathway-medicine-stage {
    grid-column: auto;
  }

  .pathway-medicines {
    grid-template-columns: 1fr;
  }

  .pathway-medicines a {
    min-height: 82px;
  }

  .pathway-result .cta-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pathway-handoff {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .pathway-result .tr4-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 860px) {
  body[data-page="onboarding"] .page-hero {
    min-height: clamp(148px, 22svh, 190px) !important;
    padding: 12px 14px !important;
  }

  body[data-page="onboarding"] .hero-copy {
    gap: 7px;
  }

  body[data-page="onboarding"] .hero-copy h1 {
    max-width: 15ch;
    font-size: clamp(1.8rem, 7.4vw, 2.65rem) !important;
    line-height: 0.96;
  }

  body[data-page="onboarding"] .hero-copy .lead {
    max-width: 46ch;
    font-size: clamp(0.82rem, 2.9vw, 0.96rem) !important;
    line-height: 1.35;
  }

  body[data-page="onboarding"] .content-band {
    padding: 10px 12px calc(var(--portal-dock-height) + var(--portal-dock-gap) + 40px) !important;
  }

  body[data-page="onboarding"] .member-section {
    width: min(100%, 680px);
    gap: 18px !important;
    padding: 0 !important;
  }

  body[data-page="onboarding"] .login-panel {
    gap: 9px;
    padding: clamp(14px, 3vw, 20px);
  }

  body[data-page="onboarding"] .panel-title {
    padding-bottom: 8px;
  }

  body[data-page="onboarding"] .panel-title .mini-vector {
    width: 36px;
    height: 36px;
  }

  body[data-page="onboarding"] .member-state {
    min-height: 36px;
    padding: 8px 10px;
  }

  body[data-page="onboarding"] #emailRequestForm {
    gap: 8px;
  }

  body[data-page="onboarding"] #emailRequestForm .inline-form {
    grid-template-columns: minmax(0, 1fr) minmax(112px, 0.62fr);
    gap: 8px;
    margin-top: 0;
  }

  body[data-page="onboarding"] #emailRequestForm .inline-form > * {
    min-width: 0;
    min-height: 50px;
  }

  body[data-page="onboarding"] #emailRequestForm .action-button {
    gap: 6px;
    padding-inline: 8px;
  }

  body[data-page="onboarding"] #emailRequestForm .action-button svg {
    width: 17px;
    height: 17px;
  }

  body[data-page="onboarding"] .primary-wallet-entry summary,
  body[data-page="onboarding"] .secondary-profile-disclosure summary {
    min-height: 44px;
  }
}

@media (max-width: 560px) {
  body[data-page="onboarding"] .panel-title {
    gap: 9px;
  }

  body[data-page="onboarding"] .panel-title > div {
    gap: 3px;
  }

  body[data-page="onboarding"] .panel-title > div > span {
    font-size: 0.76rem;
    line-height: 1.3;
  }

  body[data-page="onboarding"] .email-entry-heading p {
    font-size: 0.78rem;
    line-height: 1.32;
  }

  body[data-page="onboarding"] #emailRequestForm .action-button span {
    font-size: 0.68rem;
  }
}

body:not([data-page="home"]) .page-hero > .route-signature {
  position: absolute;
  z-index: 1;
}

@media (min-width: 861px) {
  body[data-page="protocols"] main > .page-hero,
  body[data-page="treatments"] main > .page-hero,
  body[data-page="research"] main > .page-hero,
  body[data-page="smile"] main > .page-hero {
    align-items: flex-start;
    justify-items: start;
    padding-right: clamp(420px, 41vw, 720px);
    padding-left: clamp(48px, 7vw, 132px);
  }

  body[data-page="protocols"] main > .page-hero .hero-copy,
  body[data-page="treatments"] main > .page-hero .hero-copy,
  body[data-page="research"] main > .page-hero .hero-copy,
  body[data-page="smile"] main > .page-hero .hero-copy {
    width: min(100%, 720px);
    align-items: flex-start;
    margin: 0;
    text-align: left;
    transform: none;
  }

  body[data-page="protocols"] main > .page-hero .hero-copy h1,
  body[data-page="treatments"] main > .page-hero .hero-copy h1,
  body[data-page="research"] main > .page-hero .hero-copy h1,
  body[data-page="smile"] main > .page-hero .hero-copy h1,
  body[data-page="protocols"] main > .page-hero .hero-copy .hero-line,
  body[data-page="treatments"] main > .page-hero .hero-copy .hero-line,
  body[data-page="research"] main > .page-hero .hero-copy .hero-line,
  body[data-page="smile"] main > .page-hero .hero-copy .hero-line,
  body[data-page="protocols"] main > .page-hero .hero-copy .lead,
  body[data-page="treatments"] main > .page-hero .hero-copy .lead,
  body[data-page="research"] main > .page-hero .hero-copy .lead,
  body[data-page="smile"] main > .page-hero .hero-copy .lead {
    text-align: left;
  }

  body[data-page="protocols"] main > .page-hero .hero-copy h1,
  body[data-page="treatments"] main > .page-hero .hero-copy h1,
  body[data-page="research"] main > .page-hero .hero-copy h1,
  body[data-page="smile"] main > .page-hero .hero-copy h1 {
    max-width: 12ch;
  }

  body[data-page="protocols"] main > .page-hero .cta-row,
  body[data-page="treatments"] main > .page-hero .cta-row,
  body[data-page="research"] main > .page-hero .cta-row,
  body[data-page="smile"] main > .page-hero .cta-row {
    justify-content: flex-start;
  }

  body[data-page="treatments"] main > .page-hero .cta-row {
    margin-left: 24px;
  }

  body[data-page="guardian"] main > .page-hero {
    align-items: flex-start;
    justify-items: end;
    padding-right: clamp(48px, 7vw, 132px);
    padding-left: clamp(420px, 41vw, 720px);
  }

  body[data-page="guardian"] main > .page-hero .hero-copy {
    width: min(100%, 720px);
    align-items: flex-end;
    margin: 0 clamp(88px, 8vw, 132px) 0 0;
    text-align: right;
    transform: none;
  }

  body[data-page="guardian"] main > .page-hero .hero-copy h1,
  body[data-page="guardian"] main > .page-hero .hero-copy .hero-line,
  body[data-page="guardian"] main > .page-hero .hero-copy .lead {
    text-align: right;
  }

  body[data-page="guardian"] main > .page-hero .hero-copy h1 {
    max-width: 12ch;
  }

  body[data-page="guardian"] main > .page-hero .cta-row {
    justify-content: flex-end;
  }
}

@media (max-width: 1100px) and (min-width: 861px) {
  body[data-page="protocols"] main > .page-hero,
  body[data-page="treatments"] main > .page-hero,
  body[data-page="research"] main > .page-hero,
  body[data-page="smile"] main > .page-hero {
    padding-right: 43vw;
    padding-left: 42px;
  }

  body[data-page="guardian"] main > .page-hero {
    padding-right: 42px;
    padding-left: 43vw;
  }
}

@media (min-width: 861px) {
  .shell-header {
    position: sticky;
    z-index: 90;
    top: 0;
    display: grid;
    min-height: 88px;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    justify-items: stretch;
    gap: clamp(18px, 2.4vw, 42px);
    overflow: visible;
    padding: 10px max(24px, calc((100vw - 1140px) / 2));
    border: 0;
    border-bottom: 1px solid rgba(226, 232, 237, 0.16);
    background: linear-gradient(110deg, rgba(3, 4, 6, 0.94), rgba(13, 16, 20, 0.9));
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px) saturate(115%);
  }

  .shell-header .brand-lockup {
    position: relative;
    inset: auto;
    width: clamp(190px, 18vw, 286px);
    height: 58px;
    max-width: 100%;
    justify-self: start;
    overflow: hidden;
    margin: 0;
    transform: none;
  }

  .shell-header .brand-lockup img {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 100%;
    height: auto;
    filter: grayscale(1) contrast(1.08) brightness(1.16);
    transform: translateY(-50%);
  }

  .shell-header .desktop-nav {
    position: relative;
    inset: auto;
    display: flex;
    width: auto;
    max-width: none;
    min-width: 0;
    min-height: 52px;
    justify-self: end;
    justify-content: flex-end;
    gap: clamp(5px, 0.8vw, 14px);
    overflow: visible;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    font-size: clamp(0.7rem, 0.78vw, 0.82rem);
    backdrop-filter: none;
    transform: none;
  }

  .shell-header .desktop-nav > a:not(.tr4-button),
  .shell-header .desktop-nav > .nav-ecosystem > summary {
    height: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    line-height: 1;
  }

  .shell-header .desktop-nav > a[aria-current="page"] {
    background: rgba(230, 236, 240, 0.055);
    box-shadow: inset 0 0 0 1px rgba(230, 236, 240, 0.08);
  }

  .shell-header .desktop-nav .tr4-button {
    min-height: 44px;
  }

  .shell-header .desktop-nav .nav-divider {
    display: none;
  }
}

.motion-toggle {
  min-width: 44px;
  min-height: 44px;
}

@media (max-width: 860px) {
  body[data-page] {
    --tr4-mobile-header: clamp(68px, 17vw, 76px);
  }

  body .shell-header {
    display: none;
  }

  body .mobile-shell {
    position: fixed;
    top: max(8px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
    left: max(10px, env(safe-area-inset-left));
    z-index: 95;
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    width: auto;
    height: var(--tr4-mobile-header);
    min-height: 0;
    padding: 0;
    background: linear-gradient(180deg, rgba(2, 3, 4, 0.76), rgba(2, 3, 4, 0));
    pointer-events: none;
  }

  body[data-page] .mobile-brand,
  body[data-page="home"] .mobile-shell .mobile-brand {
    position: relative;
    inset: auto;
    grid-column: 2;
    justify-self: center;
    display: block !important;
    width: clamp(168px, 52vw, 224px);
    height: clamp(48px, 12vw, 58px);
    max-width: 100%;
    overflow: hidden;
    margin: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  body[data-page] .mobile-brand img {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: auto;
    transform: translateY(-50%);
  }

  body[data-page] .nav-toggle {
    position: static;
    inset: auto;
    grid-column: 3;
    justify-self: end;
    display: inline-grid !important;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 14px;
    transform: none;
    pointer-events: auto;
  }

  body:has(.portal-dock) .nav-toggle {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  body[data-page="home"] .webflow-landing {
    display: none !important;
  }

  body main,
  body:not([data-page="home"]) main {
    padding-top: calc(var(--tr4-mobile-header) + max(8px, env(safe-area-inset-top)));
  }

  body .portal-dock {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  body.gateway-rail-compact:not(.nav-open) .mobile-shell {
    top: max(6px, env(safe-area-inset-top));
    height: 56px;
    border: 1px solid rgba(111, 255, 227, 0.12);
    border-radius: 18px;
    background: rgba(3, 7, 10, 0.9);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(18px);
  }

  body[data-page].gateway-rail-compact:not(.nav-open) .mobile-brand {
    box-sizing: border-box;
    width: clamp(116px, 30vw, 132px);
    max-width: 132px;
    height: 48px;
  }

  .mobile-menu a,
  .nav-toggle,
  .sheet-title button {
    min-width: 44px;
    min-height: 44px;
  }
}

@media (max-width: 360px) {
  body .mobile-shell {
    right: max(8px, env(safe-area-inset-right));
    left: max(8px, env(safe-area-inset-left));
  }

  body[data-page] .mobile-brand,
  body[data-page="home"] .mobile-shell .mobile-brand {
    width: clamp(148px, 50vw, 176px);
  }
}

@media (max-width: 560px) {
  body.gateway-immersive-focus:not(.nav-open) :is(.portal-dock, .mobile-shell) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.gateway-story-focus:not(.nav-open) .mobile-shell {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-120%) !important;
  }

  .pathway-outcomes > div {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    overflow: visible !important;
    padding: 2px 0 0 !important;
  }

  .pathway-outcomes label {
    min-width: 0 !important;
    justify-content: center !important;
  }

  .pathway-journey-map {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    overflow: visible !important;
  }

  body.nav-open .mobile-shell,
  body.footer-in-view .mobile-shell {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-120%) !important;
  }

  body.nav-open .mobile-menu,
  body[data-page="home"].nav-open .mobile-menu,
  body:not([data-page="home"]).nav-open .mobile-menu {
    top: max(10px, env(safe-area-inset-top)) !important;
    right: max(10px, env(safe-area-inset-right)) !important;
    bottom: max(10px, env(safe-area-inset-bottom)) !important;
    left: max(10px, env(safe-area-inset-left)) !important;
    width: auto !important;
    max-width: none !important;
    max-height: none !important;
    overflow-y: auto !important;
    background: #05080c !important;
  }

  body[data-page="order-confirmation"].nav-open .mobile-menu {
    top: calc(max(8px, env(safe-area-inset-top)) + var(--tr4-mobile-header) + 12px) !important;
  }

  .mobile-menu a[aria-current="page"] {
    border: 1px solid rgba(221, 228, 232, 0.18) !important;
    background: rgba(221, 228, 232, 0.055) !important;
    box-shadow: none !important;
    color: #eef2f4 !important;
  }

  body[data-page="home"] .site-footer {
    padding-bottom: calc(104px + env(safe-area-inset-bottom)) !important;
  }
}

.footer-top img,
body[data-page="home"] .footer-top img,
.brand-lockup img,
.mobile-brand img,
.main-logo img {
  background: transparent !important;
  filter: none !important;
}

.vector-mark,
.provider-icon,
.mini-vector,
.contact-vector-icon {
  border-color: rgba(221, 228, 232, 0.25) !important;
  background:
    radial-gradient(circle at 15% 9%, rgba(244, 247, 248, 0.13), transparent 43%),
    linear-gradient(145deg, rgba(18, 23, 28, 0.94), rgba(3, 5, 7, 0.96)) !important;
  color: #dce4e8 !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.1) !important;
}

.modality-card:hover .vector-mark,
.modality-card:focus-within .vector-mark,
.modality-card.is-open .vector-mark,
.modality-card.is-revealed .vector-mark,
.provider:hover .provider-icon,
.provider:focus-within .provider-icon,
.contact-vector-field:focus-within .contact-vector-icon,
.contact-vector-option.selected .contact-vector-icon,
.contact-vector-option:hover .contact-vector-icon {
  border-color: rgba(238, 243, 245, 0.48) !important;
  background:
    radial-gradient(circle at 15% 9%, rgba(248, 250, 251, 0.19), transparent 44%),
    linear-gradient(145deg, rgba(24, 30, 35, 0.97), rgba(4, 6, 8, 0.98)) !important;
  color: #f0f4f6 !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36), inset 0 1px rgba(255, 255, 255, 0.15) !important;
}
