:root {
  --bg: #030303;
  --panel: #0b0a08;
  --panel-soft: #11100d;
  --text: #f6f1e8;
  --muted: #b9b1a4;
  --line: rgba(255, 255, 255, 0.12);
  --orange: #ff5a00;
  --gold: #d99a2b;
  --amber: #ffbf66;
  --teal: #6cc6b5;
  --shadow: rgba(0, 0, 0, 0.58);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(255, 90, 0, 0.08), transparent 28%),
    linear-gradient(250deg, rgba(108, 198, 181, 0.08), transparent 30%),
    radial-gradient(circle at 55% -10%, rgba(217, 154, 43, 0.18), transparent 26%),
    var(--bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -4;
  content: "";
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  pointer-events: none;
  background:
    repeating-linear-gradient(
      100deg,
      transparent 0,
      transparent 16px,
      rgba(255, 255, 255, 0.025) 17px,
      transparent 18px
    );
  mix-blend-mode: screen;
  opacity: 0.45;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

#signal-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

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

.ambient-tags span {
  position: absolute;
  color: rgba(255, 255, 255, 0.045);
  font-size: 6rem;
  font-weight: 900;
  text-transform: uppercase;
  filter: blur(0.2px);
}

.ambient-tags span:nth-child(1) {
  top: 14%;
  right: -2rem;
}

.ambient-tags span:nth-child(2) {
  top: 46%;
  left: -1.5rem;
}

.ambient-tags span:nth-child(3) {
  right: 8%;
  bottom: 22%;
}

.ambient-tags span:nth-child(4) {
  left: 10%;
  bottom: 7%;
}

.ambient-tags span:nth-child(5) {
  top: 72%;
  right: -5rem;
}

.site-shell {
  width: calc(100% - 40px);
  max-width: 1180px;
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 14px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 132px;
  min-width: 132px;
  overflow: hidden;
  border: 1px solid rgba(255, 90, 0, 0.26);
  border-radius: 8px;
  background: #ff5a00;
  box-shadow: 0 18px 60px rgba(255, 90, 0, 0.18);
}

.brand img {
  width: 100%;
  aspect-ratio: 2.12 / 1;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 8, 7, 0.64);
}

.nav-links a,
.topbar-cta,
.primary-button,
.ghost-button,
.text-link,
.pillar-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
}

.nav-links a {
  padding: 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--text);
}

.topbar-cta,
.primary-button {
  border: 1px solid rgba(255, 191, 102, 0.46);
  color: #190b02;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  box-shadow: 0 18px 48px rgba(255, 90, 0, 0.22);
}

.topbar-cta {
  min-width: 112px;
  padding: 0 22px;
}

.primary-button {
  min-width: 196px;
  padding: 0 24px;
}

.ghost-button {
  min-width: 156px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.danger-button {
  border-color: rgba(255, 176, 166, 0.38);
  color: #ffd7d2;
  background: rgba(255, 80, 64, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 56px;
  min-height: calc(100vh - 64px);
  padding: 56px 0 96px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 820;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: 4.25rem;
  line-height: 0.96;
  font-weight: 900;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 0;
  font-size: 2.35rem;
  line-height: 1.05;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.lead {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  max-width: 680px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.signal-strip span {
  min-height: 58px;
  padding: 18px 14px;
  color: var(--muted);
  background: rgba(8, 8, 7, 0.82);
  font-size: 0.9rem;
  text-align: center;
}

.hero-art {
  min-width: 0;
}

.logo-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}

.logo-stage::before {
  position: absolute;
  width: 74%;
  height: 74%;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: perspective(700px) rotateX(64deg) rotateZ(-18deg);
  background:
    linear-gradient(90deg, rgba(255, 90, 0, 0.22), transparent),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px,
      transparent 26px
    );
  box-shadow: 0 36px 90px var(--shadow);
}

.logo-stage::after {
  position: absolute;
  right: 12%;
  bottom: 12%;
  width: 250px;
  height: 118px;
  content: "";
  border-bottom: 2px solid rgba(255, 191, 102, 0.28);
  border-left: 18px solid rgba(255, 191, 102, 0.05);
  transform: skewX(-18deg);
  opacity: 0.9;
  filter: drop-shadow(0 18px 40px rgba(255, 90, 0, 0.15));
}

.hero-logo {
  position: relative;
  z-index: 2;
  width: min(430px, 78%);
  border: 1px solid rgba(255, 191, 102, 0.34);
  border-radius: 8px;
  box-shadow:
    0 24px 90px rgba(255, 90, 0, 0.28),
    0 30px 100px var(--shadow);
}

.orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255, 191, 102, 0.28);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(18deg);
  animation: drift 16s linear infinite;
}

.orbit-one {
  width: 82%;
  height: 82%;
}

.orbit-two {
  width: 62%;
  height: 62%;
  border-color: rgba(108, 198, 181, 0.22);
  animation-duration: 22s;
  animation-direction: reverse;
}

.signal-column {
  position: absolute;
  top: 18%;
  z-index: 0;
  width: 1px;
  height: 64%;
  background: linear-gradient(transparent, rgba(255, 191, 102, 0.52), transparent);
}

.signal-left {
  left: 14%;
}

.signal-right {
  right: 16%;
}

.credit-map {
  position: absolute;
  inset: 12% 6%;
  z-index: 3;
  pointer-events: none;
}

.credit-map span {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 62px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(246, 241, 232, 0.78);
  background: rgba(3, 3, 3, 0.74);
  font-size: 0.78rem;
  font-weight: 820;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
}

.credit-map span:nth-child(1) {
  top: 4%;
  left: 18%;
}

.credit-map span:nth-child(2) {
  top: 18%;
  right: 3%;
}

.credit-map span:nth-child(3) {
  bottom: 16%;
  left: 3%;
}

.credit-map span:nth-child(4) {
  right: 18%;
  bottom: 0;
}

.video-band,
.pillars,
.storefront,
.paths,
.payment,
.advisory,
.contacts,
.closing {
  padding: 104px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 36px;
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
  align-items: stretch;
  gap: 28px;
}

.video-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 370px;
  overflow: hidden;
  border: 1px solid rgba(255, 191, 102, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 90, 0, 0.18), transparent 48%),
    linear-gradient(315deg, rgba(108, 198, 181, 0.1), transparent 42%),
    #090806;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.video-frame::before {
  position: absolute;
  inset: 12%;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.07);
  transform: perspective(700px) rotateX(62deg) rotateZ(-12deg);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame p,
.video-frame span,
.play-core {
  position: relative;
  z-index: 1;
}

.video-frame p {
  margin: 76px 20px 8px;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 820;
  text-align: center;
}

.video-frame span {
  color: var(--muted);
  font-size: 0.92rem;
}

.play-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 191, 102, 0.42);
  border-radius: 50%;
  background: rgba(255, 90, 0, 0.16);
  box-shadow: 0 0 54px rgba(255, 90, 0, 0.28);
  transform: translate(-50%, -50%);
}

.play-core::after {
  position: absolute;
  top: 50%;
  left: 54%;
  width: 0;
  height: 0;
  content: "";
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--text);
  transform: translate(-50%, -50%);
}

.video-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.video-copy p,
.advisory-copy p {
  color: var(--muted);
  line-height: 1.72;
}

.text-link {
  justify-content: flex-start;
  width: fit-content;
  color: var(--amber);
}

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

.pillar-card {
  min-height: 286px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 90, 0, 0.075), transparent 44%),
    rgba(255, 255, 255, 0.035);
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.pillar-card:hover {
  border-color: rgba(255, 191, 102, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 90, 0, 0.13), transparent 52%),
    rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
}

.pillar-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 191, 102, 0.28);
  border-radius: 50%;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 820;
}

.pillar-card p {
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.6;
}

.pillar-card a {
  min-width: 112px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.storefront-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.48fr);
  gap: 18px;
  align-items: start;
}

.storefront-products {
  display: grid;
  gap: 12px;
}

.store-product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 168px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 90, 0, 0.1), transparent 48%),
    rgba(255, 255, 255, 0.035);
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.store-product-card:hover,
.store-product-card.is-selected {
  border-color: rgba(255, 191, 102, 0.44);
  background:
    linear-gradient(145deg, rgba(255, 90, 0, 0.15), transparent 54%),
    rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
}

.store-product-main {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.store-product-main span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 191, 102, 0.28);
  border-radius: 50%;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 820;
}

.store-product-main h3 {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.store-product-main p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.store-product-buy {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.store-product-buy strong {
  color: var(--text);
  font-size: 1.45rem;
  white-space: nowrap;
}

.store-product-buy .small-button {
  min-height: 42px;
}

.storefront-register {
  position: sticky;
  top: 102px;
}

.client-session-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(108, 198, 181, 0.24);
  border-radius: 8px;
  background: rgba(108, 198, 181, 0.08);
}

.client-session-card strong {
  overflow-wrap: anywhere;
}

.client-session-card small {
  color: var(--muted);
}

.client-session-card .small-button {
  width: fit-content;
  margin-top: 4px;
}

.store-status {
  margin-top: 12px;
}

.path-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.path-list a {
  min-height: 178px;
  padding: 24px;
  background: rgba(8, 8, 7, 0.86);
  transition:
    color 180ms ease,
    background 180ms ease;
}

.path-list a:hover {
  color: var(--amber);
  background: rgba(255, 90, 0, 0.1);
}

.path-list strong,
.path-list span {
  display: block;
}

.path-list strong {
  margin-bottom: 14px;
  font-size: 1.08rem;
}

.path-list span {
  color: var(--muted);
  line-height: 1.55;
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.74fr);
  gap: 18px;
  align-items: stretch;
}

.payment-copy,
.payment-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 90, 0, 0.1), transparent 46%),
    rgba(255, 255, 255, 0.035);
}

.payment-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 390px;
  padding: 32px;
}

.payment-copy p {
  max-width: 560px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.payment-methods span {
  min-height: 72px;
  padding: 20px 16px;
  color: var(--text);
  background: rgba(8, 8, 7, 0.84);
  font-weight: 760;
  text-align: center;
}

.payment-form {
  display: grid;
  gap: 12px;
  padding: 28px;
}

.payment-form label {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.payment-form input,
.money-field {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: var(--text);
  background: rgba(3, 3, 3, 0.64);
  outline: none;
}

.payment-form input {
  padding: 0 14px;
}

.payment-form input:focus,
.money-field:focus-within {
  border-color: rgba(255, 191, 102, 0.48);
  box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.12);
}

.money-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.money-field span {
  padding-left: 14px;
  color: var(--muted);
  font-weight: 820;
}

.money-field input {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.payment-form .primary-button {
  width: 100%;
  margin-top: 8px;
}

.payment-status {
  min-height: 22px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.payment-status.is-error {
  color: #ffb0a6;
}

.payment-status.is-success {
  color: var(--amber);
}

.advisory {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: 42px;
}

.advisory-copy h2 {
  margin-bottom: 22px;
}

.advisory-copy p {
  max-width: 620px;
  margin-bottom: 28px;
}

.compact-video {
  min-height: 330px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: 18px;
}

.contact-main,
.contact-actions a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 90, 0, 0.1), transparent 46%),
    rgba(255, 255, 255, 0.035);
}

.contact-main {
  min-height: 330px;
  padding: 32px;
}

.contact-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: 28px;
  padding: 0 14px;
  border: 1px solid rgba(255, 191, 102, 0.26);
  border-radius: 999px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.contact-main address {
  margin-bottom: 22px;
  color: var(--text);
  font-size: 1.7rem;
  font-style: normal;
  font-weight: 840;
  line-height: 1.22;
}

.contact-main p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-actions a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 102px;
  padding: 20px 22px;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.contact-actions a:hover {
  border-color: rgba(255, 191, 102, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 90, 0, 0.16), transparent 52%),
    rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
}

.contact-actions span {
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.contact-actions strong {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 80px;
}

.closing h2 {
  max-width: 760px;
}

.site-footer {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  display: inline-flex;
  width: 132px;
  overflow: hidden;
  border: 1px solid rgba(255, 90, 0, 0.26);
  border-radius: 8px;
  background: #ff5a00;
}

.footer-brand img {
  width: 100%;
  aspect-ratio: 2.12 / 1;
  object-fit: cover;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.site-footer p {
  max-width: 640px;
  margin-bottom: 0;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
  font-weight: 760;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: rgba(246, 241, 232, 0.62);
  font-size: 0.86rem;
}

.footer-bottom span:last-child {
  color: var(--amber);
  font-weight: 760;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.portal-body {
  background:
    linear-gradient(120deg, rgba(255, 90, 0, 0.1), transparent 24%),
    linear-gradient(250deg, rgba(108, 198, 181, 0.1), transparent 28%),
    #030303;
}

.portal-shell {
  min-height: 100vh;
}

.portal-topbar {
  border-bottom: 1px solid var(--line);
}

.portal-actions,
.admin-heading-tools,
.admin-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.admin-user-pill,
.sync-label,
.panel-note {
  color: var(--muted);
  font-size: 0.86rem;
}

.admin-user-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(108, 198, 181, 0.24);
  border-radius: 999px;
  color: var(--text);
  background: rgba(108, 198, 181, 0.08);
  font-weight: 760;
  white-space: nowrap;
}

.portal-logout[hidden],
.admin-user-pill[hidden],
.portal-view[hidden] {
  display: none;
}

.portal-main {
  padding-bottom: 86px;
}

.portal-hero {
  min-height: auto;
  padding: 56px 0 42px;
}

.portal-hero h1 {
  max-width: 760px;
  font-size: 3.3rem;
}

.auth-card,
.portal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 90, 0, 0.09), transparent 48%),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.24);
}

.auth-card {
  max-width: 560px;
  padding: 32px;
}

.portal-form {
  display: grid;
  gap: 12px;
}

.portal-form label,
.stage-row label {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.portal-form input,
.portal-form select,
.portal-form textarea,
.stage-row input,
.stage-row select,
.stage-row textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: var(--text);
  background: rgba(3, 3, 3, 0.64);
  outline: none;
}

.portal-form input,
.portal-form select,
.stage-row input,
.stage-row select {
  padding: 0 14px;
}

.portal-form textarea,
.stage-row textarea {
  min-height: 98px;
  padding: 12px 14px;
  resize: vertical;
}

.portal-form input:focus,
.portal-form select:focus,
.portal-form textarea:focus,
.stage-row input:focus,
.stage-row select:focus,
.stage-row textarea:focus {
  border-color: rgba(255, 191, 102, 0.48);
  box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.12);
}

.portal-form select,
.stage-row select {
  color-scheme: dark;
}

.portal-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.portal-status.is-error {
  color: #ffb0a6;
}

.portal-status.is-success {
  color: var(--amber);
}

.portal-panel-heading,
.portal-card-head,
.process-head,
.progress-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.portal-panel-heading {
  margin-bottom: 14px;
}

.admin-menu {
  position: sticky;
  top: 82px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 8, 7, 0.82);
  backdrop-filter: blur(18px);
}

.admin-menu button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-weight: 780;
  line-height: 1;
  white-space: nowrap;
}

.admin-menu button:hover,
.admin-menu button.is-active {
  border-color: rgba(255, 191, 102, 0.36);
  color: var(--text);
  background: rgba(255, 90, 0, 0.12);
}

.admin-section {
  display: grid;
  gap: 18px;
}

.admin-section[hidden] {
  display: none;
}

.portal-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.overview-card .portal-stats {
  justify-content: flex-start;
}

.stat-item {
  display: grid;
  min-width: 98px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.stat-item strong {
  color: var(--text);
  font-size: 1.3rem;
}

.stat-item small {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.portal-card {
  padding: 26px;
}

.portal-card h3 {
  margin-bottom: 18px;
}

.portal-card-head {
  margin-bottom: 18px;
}

.admin-list-tools {
  margin-bottom: 14px;
}

.admin-list-tools input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: var(--text);
  background: rgba(3, 3, 3, 0.56);
  outline: none;
}

.admin-list-tools input:focus {
  border-color: rgba(108, 198, 181, 0.42);
  box-shadow: 0 0 0 3px rgba(108, 198, 181, 0.12);
}

.small-button {
  min-width: auto;
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.88rem;
}

.icon-button {
  min-width: 42px;
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
}

.compact-form {
  gap: 11px;
}

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

.product-section {
  margin-bottom: 18px;
}

.product-list,
.product-store-list {
  display: grid;
  gap: 10px;
}

.product-item,
.product-store-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(3, 3, 3, 0.34);
}

.product-item.is-editing {
  border-color: rgba(255, 191, 102, 0.62);
  background:
    linear-gradient(135deg, rgba(255, 90, 0, 0.13), transparent 54%),
    rgba(3, 3, 3, 0.42);
}

.product-item.is-inactive {
  opacity: 0.62;
}

.product-item-main {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.product-item-main strong,
.product-price {
  color: var(--text);
  overflow-wrap: anywhere;
}

.product-item-main small,
.product-item-main p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.product-price {
  font-size: 1.05rem;
  white-space: nowrap;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.client-list {
  display: grid;
  gap: 10px;
  max-height: 520px;
  overflow: auto;
  padding-right: 3px;
}

.client-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: inherit;
  background: rgba(3, 3, 3, 0.42);
  text-align: left;
}

.client-list-item:hover,
.client-list-item.is-selected {
  border-color: rgba(255, 191, 102, 0.42);
  background: rgba(255, 90, 0, 0.1);
}

.client-list-item.is-inactive {
  opacity: 0.68;
}

.client-list-main {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.client-list-main strong,
.client-list-main small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-list-main small,
.empty-state {
  color: var(--muted);
}

.client-list-progress {
  display: grid;
  place-items: center;
  min-width: 52px;
  min-height: 38px;
  border: 1px solid rgba(255, 191, 102, 0.22);
  border-radius: 999px;
  color: var(--amber);
  font-weight: 820;
}

.client-list-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(108, 198, 181, 0.12);
}

.status-dot.is-off {
  background: #ffb0a6;
  box-shadow: 0 0 0 4px rgba(255, 176, 166, 0.12);
}

.editor-card {
  margin-top: 18px;
}

.stage-editor {
  display: grid;
  gap: 12px;
  margin-top: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.stage-editor-title {
  margin-bottom: 4px;
}

.stage-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.9fr) minmax(130px, 0.45fr) minmax(220px, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(3, 3, 3, 0.32);
}

.stage-description textarea {
  min-height: 72px;
}

.toggle-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--text) !important;
  text-transform: none !important;
}

.toggle-line input {
  width: 18px;
  min-height: 18px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 191, 102, 0.28);
  border-radius: 999px;
  color: var(--amber);
  background: rgba(255, 90, 0, 0.08);
  font-weight: 820;
  white-space: nowrap;
}

.process-card {
  display: grid;
  gap: 28px;
}

.process-head {
  align-items: stretch;
}

.process-head > div {
  flex: 1;
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(3, 3, 3, 0.35);
}

.process-head span,
.progress-label span {
  display: block;
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.process-head strong {
  font-size: 1.12rem;
  overflow-wrap: anywhere;
}

.progress-block {
  display: grid;
  gap: 10px;
}

.progress-track {
  height: 13px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  transition: width 260ms ease;
}

.client-notes {
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(3, 3, 3, 0.35);
  line-height: 1.65;
  white-space: pre-line;
}

.process-timeline {
  display: grid;
  gap: 12px;
}

.finance-section {
  margin-top: 18px;
}

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

.payment-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  min-height: 74px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(3, 3, 3, 0.34);
}

.payment-item > div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.payment-item strong,
.payment-item small {
  overflow-wrap: anywhere;
}

.payment-item small {
  color: var(--muted);
}

.payment-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.payment-actions .small-button {
  min-height: 34px;
  padding: 0 11px;
}

.payment-item.is-paid {
  border-color: rgba(108, 198, 181, 0.34);
}

.payment-item.is-overdue {
  border-color: rgba(255, 176, 166, 0.42);
}

.payment-item.is-canceled {
  opacity: 0.62;
}

.payment-item.is-editing {
  border-color: rgba(255, 191, 102, 0.62);
  background:
    linear-gradient(135deg, rgba(255, 90, 0, 0.13), transparent 54%),
    rgba(3, 3, 3, 0.42);
}

.timeline-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(3, 3, 3, 0.32);
}

.timeline-marker {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.timeline-marker::before {
  width: 12px;
  height: 12px;
  content: "";
  border-radius: 50%;
  background: var(--muted);
}

.timeline-item.is-active .timeline-marker::before {
  background: var(--amber);
}

.timeline-item.is-done .timeline-marker::before {
  background: var(--teal);
}

.timeline-item.is-blocked .timeline-marker::before {
  background: #ffb0a6;
}

.timeline-item strong,
.timeline-item small {
  display: block;
}

.timeline-item small {
  margin: 7px 0;
  color: var(--amber);
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
  white-space: pre-line;
}

.video-frame-blocked {
  padding: 28px;
}

.video-frame-blocked span {
  max-width: 360px;
  text-align: center;
}

.video-frame-blocked .small-button {
  position: relative;
  z-index: 2;
  margin-top: 10px;
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  width: min(920px, calc(100% - 40px));
  padding: 22px;
  border: 1px solid rgba(255, 191, 102, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 90, 0, 0.12), transparent 52%),
    rgba(9, 8, 7, 0.96);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px);
}

.cookie-banner[hidden],
.cookie-modal[hidden] {
  display: none;
}

.cookie-banner h2,
.cookie-modal h2 {
  margin-bottom: 8px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.cookie-banner p {
  max-width: 620px;
  margin-bottom: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.cookie-banner a,
.privacy-card a {
  color: var(--amber);
  font-weight: 760;
}

.cookie-banner-actions,
.cookie-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.68);
}

.cookie-modal-panel {
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  padding: 26px;
  border: 1px solid rgba(255, 191, 102, 0.24);
  border-radius: 8px;
  outline: none;
  background:
    linear-gradient(145deg, rgba(255, 90, 0, 0.08), transparent 48%),
    #0b0a08;
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.58);
}

.cookie-options {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.cookie-options article,
.cookie-options label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 74px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(3, 3, 3, 0.34);
}

.cookie-options strong {
  display: block;
  margin-bottom: 5px;
}

.cookie-options p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.cookie-options span {
  color: var(--amber);
  font-size: 0.84rem;
  font-weight: 820;
  text-transform: uppercase;
}

.cookie-options input {
  width: 22px;
  height: 22px;
  accent-color: var(--orange);
}

.privacy-main {
  padding-bottom: 72px;
}

.privacy-hero {
  padding-bottom: 28px;
}

.policy-date {
  color: var(--amber);
  font-weight: 760;
}

.privacy-layout {
  max-width: 920px;
}

.privacy-card {
  display: grid;
  gap: 12px;
  line-height: 1.72;
}

.privacy-card h2 {
  margin: 22px 0 0;
  font-size: 1.45rem;
  line-height: 1.2;
}

.privacy-card h2:first-child {
  margin-top: 0;
}

.privacy-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.privacy-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

@keyframes drift {
  to {
    transform: rotateX(68deg) rotateZ(378deg);
  }
}

@media (max-width: 980px) {
  .site-shell {
    width: calc(100% - 28px);
    max-width: 760px;
  }

  .topbar {
    gap: 12px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .video-layout,
  .storefront-layout,
  .payment-layout,
  .advisory,
  .contact-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 24px;
    padding-top: 34px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .logo-stage {
    min-height: 440px;
  }

  .pillar-grid,
  .path-list,
  .payment-methods,
  .signal-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-hero h1 {
    font-size: 2.75rem;
  }

  .admin-grid,
  .store-product-card,
  .stage-row {
    grid-template-columns: 1fr;
  }

  .storefront-register {
    position: static;
  }

  .store-product-buy {
    justify-items: start;
  }

  .portal-panel-heading,
  .portal-card-head,
  .process-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-heading-tools,
  .admin-card-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .portal-stats {
    justify-content: flex-start;
  }

  .admin-menu {
    top: 72px;
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: calc(100% - 22px);
    max-width: 440px;
  }

  .topbar {
    min-height: 72px;
  }

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

  .topbar-cta {
    min-width: 96px;
    padding: 0 16px;
  }

  .hero {
    min-height: auto;
    padding: 28px 0 72px;
  }

  h1 {
    font-size: 2.45rem;
    line-height: 1;
  }

  h2 {
    font-size: 1.72rem;
  }

  .lead {
    font-size: 1rem;
  }

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

  .portal-actions {
    width: auto;
    margin-left: auto;
  }

  .portal-actions .ghost-button {
    width: auto;
    min-width: 82px;
    padding: 0 14px;
  }

  .admin-user-pill {
    display: none;
  }

  .admin-menu {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-menu button {
    width: 100%;
    padding: 0 10px;
    font-size: 0.88rem;
  }

  .signal-strip,
  .pillar-grid,
  .path-list {
    grid-template-columns: 1fr;
  }

  .logo-stage {
    min-height: 350px;
  }

  .hero-logo {
    width: 86%;
  }

  .ambient-tags span {
    font-size: 4rem;
  }

  .video-band,
  .pillars,
  .storefront,
  .paths,
  .payment,
  .advisory,
  .contacts,
  .closing {
    padding: 72px 0;
  }

  .video-frame {
    min-height: 280px;
  }

  .video-copy {
    padding: 24px;
  }

  .payment-copy,
  .payment-form {
    padding: 24px;
  }

  .payment-copy {
    min-height: auto;
  }

  .payment-methods {
    grid-template-columns: 1fr;
  }

  .store-product-card {
    min-height: auto;
    padding: 22px;
  }

  .store-product-buy,
  .store-product-buy .small-button,
  .client-session-card .small-button {
    width: 100%;
    justify-items: stretch;
  }

  .store-product-buy strong {
    white-space: normal;
  }

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

  .contact-main {
    min-height: auto;
    padding: 24px;
  }

  .contact-main address {
    font-size: 1.32rem;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

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

  .portal-hero {
    padding: 34px 0 28px;
  }

  .portal-hero h1 {
    font-size: 2.28rem;
  }

  .auth-card,
  .portal-card {
    padding: 22px;
  }

  .form-pair,
  .process-head {
    grid-template-columns: 1fr;
  }

  .client-list-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .client-list-meta {
    width: 100%;
    justify-content: space-between;
  }

  .client-list-main strong,
  .client-list-main small {
    white-space: normal;
  }

  .portal-stats,
  .stat-item,
  .status-pill {
    width: 100%;
  }

  .timeline-item {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 14px;
  }

  .payment-item {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .product-item,
  .product-store-item {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .product-price {
    white-space: normal;
  }

  .payment-actions {
    justify-content: flex-start;
  }

  .cookie-banner {
    right: 11px;
    bottom: 11px;
    grid-template-columns: 1fr;
    width: calc(100% - 22px);
    padding: 18px;
  }

  .cookie-banner-actions,
  .cookie-modal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-options article,
  .cookie-options label {
    grid-template-columns: 1fr;
  }

  .timeline-marker {
    width: 34px;
    height: 34px;
  }
}

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