@font-face {
  font-family: "SuiGeneris";
  src: url("/assets/fonts/SuiGeneris-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050507;

  /* aurora palette */
  --purple: rgba(140,121,255,0.85);
  --magenta: rgba(193,130,255,0.8);
  --blue: rgba(106,123,255,0.75);
  --electric: rgba(155,145,255,0.7);

  /* footer glass */
  --glass-bg: rgba(18,22,28,0.48);
  --glass-border: rgba(255,255,255,0.14);
  --text-muted: rgba(230,232,235,0.68);

  --footer-bar-height: 36px;
  --footer-padding-x: 18px;

  --grid-plane-tilt: none;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  overflow: hidden;
  font-family: "SuiGeneris", system-ui, -apple-system, Segoe UI, sans-serif;
  color: #e6e8eb;
}

button,
input,
textarea {
  font-family: inherit;
}

.muted {
  color: var(--text-muted);
}

.stage {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--bg);
}

/* ======================================================
   HERO STACK
====================================================== */
.hero {
  position: absolute;
  top: calc(50% - (var(--footer-bar-height) / 2) - 8px);
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  width: min(860px, 92vw);
  transition:
    top 0.65s ease,
    left 0.65s ease,
    transform 0.65s ease,
    width 0.65s ease,
    gap 0.65s ease;
  will-change: transform, top, left, width;
}

.wordmark {
  pointer-events: none;
}

.wordmark img {
  width: clamp(352px, 49vw, 674px);
  height: auto;
  transform-origin: left bottom;
  transition: transform 0.65s ease;
}

.hero-about {
  margin: 0;
  max-width: 720px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  max-height: 160px;
  overflow: hidden;
  transition: opacity 0.45s ease, transform 0.6s ease, max-height 0.65s ease;
}

.hero-about a {
  color: #f2f4f7;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  padding-bottom: 1px;
}

.hero-about a:hover {
  border-bottom-color: rgba(255,255,255,0.7);
}

/* ======================================================
   SUPPORTED PLATFORMS MARQUEE (OPEN)
====================================================== */
.platform-strip {
  width: clamp(320px, 58vw, 760px);
  height: 36px;
  margin-top: 0;
}

.platform-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-height: 140px;
  overflow: hidden;
  transition: opacity 0.45s ease, transform 0.6s ease, max-height 0.65s ease;
}

.platform-label {
  width: clamp(320px, 58vw, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(230,232,235,0.38);
  margin: 0;
}

.platform-label::before,
.platform-label::after {
  content: "";
  flex: 0.64;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(230,232,235,0),
    rgba(230,232,235,0.28),
    rgba(230,232,235,0)
  );
}

.platform-mask {
  width: 100%;
  height: 100%;
  overflow: hidden;

  mask-image: linear-gradient(
    to right,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,1) 12%,
    rgba(0,0,0,1) 88%,
    rgba(0,0,0,0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,1) 12%,
    rgba(0,0,0,1) 88%,
    rgba(0,0,0,0) 100%
  );
}

/* IMPORTANT:
   - No padding/margins on groups
   - No gap between groups
   - Spacing is only on the items (margin-inline)
*/
.platform-marquee {
  display: flex;
  width: max-content;
  height: 100%;
  will-change: transform;
  animation: platform-scroll 22s linear infinite;
}

.platform-group {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0;
  margin: 0;
}

.platform {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 48px;
}

.platform img {
  height: 18px;
  width: auto;
  opacity: 0.65;
  filter: grayscale(1) brightness(1.15);
}

@keyframes platform-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ======================================================
   PRIMARY CTA
====================================================== */
.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  transition: transform 0.6s ease;
}

.cta-primary-wrap {
  position: relative;
  padding: 2px;
  border-radius: 999px;
  background: linear-gradient(
    120deg,
    var(--purple),
    var(--magenta),
    var(--blue),
    var(--electric)
  );
  transition: transform 0.2s ease, opacity 0.35s ease;
}

.cta-primary-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
  background: linear-gradient(
    120deg,
    rgba(140,121,255,0.6),
    rgba(193,130,255,0.55),
    rgba(106,123,255,0.6),
    rgba(155,145,255,0.55)
  );
  filter: blur(0);
  opacity: 0;
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.cta-primary {
  position: relative;
  z-index: 1;
  border: 1px solid var(--glass-border);
  background: rgba(18,22,28,0.78);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  padding: 12px 34px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow:
    0 0 18px rgba(0,0,0,0.45),
    inset 0 0 10px rgba(255,255,255,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-primary-wrap:hover {
  transform: translateY(-1px);
}

.cta-primary-wrap:hover::before {
  opacity: 0.55;
  filter: blur(18px);
}

.cta-primary-wrap:active::before {
  opacity: 0.35;
  filter: blur(12px);
}

.cta-primary:hover {
  box-shadow:
    0 0 24px rgba(160,150,255,0.28),
    inset 0 0 12px rgba(255,255,255,0.14);
}

.cta-signup {
  margin: 0;
  font-size: 12px;
  color: rgba(230,232,235,0.6);
  max-height: 40px;
  overflow: hidden;
  transition: opacity 0.45s ease, transform 0.6s ease, max-height 0.65s ease;
}

.cta-signup button {
  background: none;
  border: 0;
  color: #f0f2f5;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-floating {
  position: fixed;
  top: clamp(22px, 2vh, 18px);
  right: clamp(18px, 2.4vw, 24px);
  z-index: 1300;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.cta-floating .cta-primary-wrap {
  pointer-events: auto;
}

/* ======================================================
   LEFT BRAND MOTIF
====================================================== */
.logo-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  opacity: 0.12;

  background-image: url("/assets/backgrounds/ssframe-shine.svg");
  background-repeat: no-repeat;
  background-position: left calc(50% - (var(--footer-bar-height) / 2));
  background-size: 85vh;
}

/* ======================================================
   RIGHT GRID MOTIF
====================================================== */
.grid-motif {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0.16;

  background-image:
    linear-gradient(rgba(255,255,255,0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.22) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: right top;
  transform-origin: right top;
  transform: var(--grid-plane-tilt);

  mask-image: linear-gradient(
    to left,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,0.55) 38%,
    rgba(0,0,0,0) 68%
  );
  -webkit-mask-image: linear-gradient(
    to left,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,0.55) 38%,
    rgba(0,0,0,0) 68%
  );
  transition:
    transform 0.65s ease,
    opacity 0.65s ease,
    background-position 0.65s ease,
    background-size 0.65s ease;
}

/* ======================================================
   AURORA — DO NOT TOUCH
====================================================== */
.aurora {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.65s ease;
}

.blob {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.9;
}

.blob.purple { background: var(--purple); animation: a 12s linear infinite alternate; }
.blob.magenta { background: var(--magenta); animation: b 14s linear infinite alternate; }
.blob.blue { background: var(--blue); animation: c 10s linear infinite alternate; }
.blob.secondary { background: var(--purple); opacity: 0.6; animation: d 16s linear infinite alternate; }
.blob.accent {
  background: var(--electric);
  width: 42vmax;
  height: 42vmax;
  opacity: 0.55;
  filter: blur(70px);
  animation: e 9s linear infinite alternate;
}

@keyframes a { from { transform: translate(10vw,60vh);} to { transform: translate(40vw,20vh);} }
@keyframes b { from { transform: translate(60vw,70vh);} to { transform: translate(20vw,30vh);} }
@keyframes c { from { transform: translate(30vw,80vh);} to { transform: translate(70vw,35vh);} }
@keyframes d { from { transform: translate(80vw,65vh);} to { transform: translate(50vw,25vh);} }
@keyframes e { from { transform: translate(45vw,75vh);} to { transform: translate(65vw,45vh);} }

/* ======================================================
   BLACK FALLOFF
====================================================== */
.fade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.55) 25%,
    rgba(0,0,0,0.82) 42%,
    rgba(0,0,0,0.95) 58%,
    rgba(0,0,0,0.99) 72%,
    rgba(0,0,0,1) 100%
  );
}

/* ======================================================
   SECONDARY ACTION PILLS
====================================================== */
.secondary-pills {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: calc(var(--footer-bar-height) + 18px);
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 18;
  padding: 0 var(--footer-padding-x);
  width: max-content;
  max-width: calc(100% - (var(--footer-padding-x) * 2));
  transform: translateX(-50%);
  transition: opacity 0.45s ease, transform 0.6s ease;
}

/* ======================================================
   ABOUT BACK CONTROL
====================================================== */
.about-back {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(12, 16, 22, 0.65);
  color: rgba(230,232,235,0.78);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.4s ease, transform 0.5s ease;
  backdrop-filter: blur(10px);
}

body.about-open .about-back {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ======================================================
   ABOUT PANEL (MORPH TARGET)
====================================================== */
.about-panel {
  position: absolute;
  top: clamp(12%, 14vh, 22%);
  right: clamp(28px, 6vw, 80px);
  width: min(520px, 40vw);
  z-index: 19;
  opacity: 0;
  transform: translateX(36px) translateY(8px);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.65s ease;
}

.about-eyebrow {
  margin: 0 0 10px;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.about-title {
  margin: 0 0 12px;
  font-size: clamp(22px, 3.2vw, 30px);
}

.about-body {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.6;
}

.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-slides {
  position: relative;
  min-height: 260px;
}

.about-slide {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.55s ease;
  position: absolute;
  inset: 0;
}

.about-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.about-controls {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.about-nav {
  display: flex;
  gap: 10px;
}

.about-nav-button {
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(18,22,28,0.4);
  color: rgba(230,232,235,0.78);
  padding: 6px 14px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.about-nav-button:hover {
  border-color: rgba(255,255,255,0.32);
  color: #ffffff;
}

.about-full-link {
  color: rgba(230,232,235,0.7);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.24);
  padding-bottom: 2px;
}

.about-full-link:hover {
  color: #ffffff;
  border-bottom-color: rgba(255,255,255,0.45);
}

body.about-open .about-controls {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

body.about-open .about-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

body.about-open .about-progress {
  display: flex;
  align-items: center;
  width: 100%;
}

body.about-open .about-progress-step {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

body.about-open .about-progress-step:last-child {
  flex: 0 0 auto;
}

body.about-open .about-progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(230,232,235,0.46);
  background: transparent;
  box-shadow: none;
  transition: border-color 0.25s ease, background 0.3s ease, box-shadow 0.3s ease;
}

body.about-open .about-progress-connector {
  position: relative;
  width: auto;
  flex: 1 1 auto;
  min-width: 16px;
  height: 2px;
  margin: 0 7px;
  border-top: 2px dotted rgba(230,232,235,0.32);
  background: none;
  overflow: hidden;
  transition: border-color 0.25s ease, border-style 0.25s ease;
}

body.about-open .about-progress-connector::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(140,121,255,0.88), rgba(193,130,255,0.82), rgba(106,123,255,0.78));
  box-shadow: 0 0 10px rgba(132,118,255,0.24);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s ease;
}

body.about-open .about-progress-dot[data-state="active"] {
  border-color: rgba(210,195,255,0.95);
  background: linear-gradient(120deg, var(--purple), var(--magenta) 42%, var(--blue) 80%, var(--electric));
  box-shadow: 0 0 8px rgba(146,125,255,0.35);
}

body.about-open .about-progress-connector[data-state="active"] {
  border-top-style: solid;
  border-top-color: rgba(158,146,255,0.2);
}

body.about-open .about-progress-connector[data-state="active"]::after {
  transform: scaleX(1);
}

/* ======================================================
   GRID PLANE MEDIA
====================================================== */
.grid-shot {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 6;
  width: min(320px, 32vw);
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transform-origin: right top;
  transform: var(--grid-plane-tilt);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.45),
    0 0 18px rgba(120,120,255,0.18);
  transition: opacity 0.6s ease, transform 0.65s ease;
}

.grid-shot-1 {
  transform: var(--grid-plane-tilt) translate3d(-120px, 120px, 0) scale(0.88);
}

.grid-shot-2 {
  width: min(260px, 26vw);
  transform: var(--grid-plane-tilt) translate3d(-40px, 240px, 0) scale(0.8);
}

.grid-shot-3 {
  width: min(240px, 24vw);
  transform: var(--grid-plane-tilt) translate3d(-200px, 310px, 0) scale(0.72);
}

/* ======================================================
   MORPH STATE
====================================================== */
body.about-open .hero {
  top: auto;
  left: clamp(20px, 3vw, 44px);
  bottom: calc(var(--footer-bar-height) + 12px);
  transform: none;
  width: auto;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  text-align: left;
  gap: 14px;
}

body.about-open {
  --grid-plane-tilt: perspective(1400px) rotateX(68deg) rotateZ(-36deg) scale(1.08);
  --about-shell-width: min(1320px, calc(100vw - 56px));
  --about-shell-left: calc((100vw - var(--about-shell-width)) / 2);
  --about-shell-right: var(--about-shell-left);
  --about-col-gap: clamp(30px, 3.2vw, 44px);
  --about-info-width: clamp(380px, 37vw, 520px);
  --about-stage-height: min(62vh, 520px);
}

body.about-open .wordmark {
  order: 1;
}

body.about-open .wordmark img {
  transform: scale(0.54);
}

body.about-open .cta-block {
  order: 2;
  margin: 0;
  transform: none;
  gap: 0;
}

body.about-open .hero .cta-primary-wrap {
  opacity: 0;
  pointer-events: none;
}

body.about-open .cta-signup {
  display: none;
  opacity: 0;
  transform: translateY(6px);
  max-height: 0;
  pointer-events: none;
}

body.about-open .hero-about,
body.about-open .platform-stack {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  max-height: 0;
  pointer-events: none;
}

body.about-open .secondary-pills {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  pointer-events: none;
}

body.about-open .about-panel {
  top: clamp(88px, 11vh, 136px);
  left: var(--about-shell-left);
  right: auto;
  width: var(--about-info-width);
  opacity: 1;
  transform: translateX(0) translateY(0);
  pointer-events: auto;
  z-index: 52;
}

body.about-open .aurora {
  transform: translateY(15%);
}

body.about-open .grid-motif {
  opacity: 0.22;
  background-size: 44px 44px;
  background-position: right -60px top 60px;
}

body.about-open .grid-shot {
  left: calc(var(--about-shell-left) + var(--about-info-width) + var(--about-col-gap));
  right: var(--about-shell-right);
  top: clamp(112px, 14vh, 176px);
  width: min(
    calc(var(--about-shell-width) - var(--about-info-width) - var(--about-col-gap)),
    calc(var(--about-stage-height) * 1.7777778)
  );
  height: calc(
    min(
      calc(var(--about-shell-width) - var(--about-info-width) - var(--about-col-gap)),
      calc(var(--about-stage-height) * 1.7777778)
    ) * 0.5625
  );
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  transform-origin: center center;
  transform: none;
  object-fit: cover;
  object-position: center center;
  border: 1px solid rgba(230,232,235,0.15);
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  box-shadow:
    0 22px 50px rgba(0,0,0,0.52),
    0 0 20px rgba(122,121,255,0.2);
  transition: opacity 0.5s ease;
}

body.about-open .grid-shot.is-active {
  opacity: 1;
}

body.about-open .grid-shot-2,
body.about-open .grid-shot-3,
body.about-open .grid-shot-4 {
  width: min(
    calc(var(--about-shell-width) - var(--about-info-width) - var(--about-col-gap)),
    calc(var(--about-stage-height) * 1.7777778)
  );
}

body.about-open .grid-shot-1 {
  transform: none;
}

body.about-open .grid-shot-2 {
  transform: none;
}

body.about-open .grid-shot-3 {
  transform: none;
}

body.about-open .grid-shot-4 {
  transform: none;
}

body.about-open .about-back {
  position: static;
  top: auto;
  left: auto;
  z-index: auto;
  gap: 0;
  backdrop-filter: none;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.about-open .cta-floating {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

body.about-open .cta-floating .cta-primary {
  padding: 8px 18px;
}

.secondary-pills a {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.116);
  background: rgba(18,22,28,0.36);
  color: rgba(230,232,235,0.8);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.secondary-pills a:hover {
  border-color: rgba(255,255,255,0.35);
  color: #ffffff;
}

/* ======================================================
   FOOTER
====================================================== */
.footer-shell {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 18;
  display: flex;
  flex-direction: column;
  gap: 0;
}

@supports selector(:has(*)) {
  .footer-shell:has(.footer-version-tooltip-container:hover),
  .footer-shell:has(.footer-version-tooltip-container:focus-within) {
    z-index: 1400;
  }
}

.footer-status {
  padding: 0 var(--footer-padding-x) 8px;
  display: flex;
  justify-content: flex-end;
}

.footer-bar {
  height: var(--footer-bar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--footer-padding-x);
  background: var(--glass-bg);
  border-top: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
}

.footer-links {
  display: flex;
  gap: 16px;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links a {
  color: rgba(230,232,235,0.7);
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-meta {
  display: flex;
  gap: 16px;
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-meta a {
  color: rgba(230,232,235,0.55);
  text-decoration: none;
}

.footer-meta a:hover {
  color: rgba(230,232,235,0.9);
}

/* ======================================================
   FOOTER VERSION TOOLTIP (MATCHES INDEX-OLD GLASS)
====================================================== */
.footer-version-tooltip-container {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.footer-version-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 380px;
  max-width: 520px;
  white-space: nowrap;
  background: rgba(18, 22, 28, 0.88);
  color: #e6e8eb;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  font-size: 11px;
  line-height: 1.45;
  text-align: left;
  letter-spacing: normal;
  text-transform: none;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.55),
    inset 0 0 10px rgba(255, 255, 255, 0.15);
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  z-index: 1400;
}

.footer-version-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.18) transparent transparent transparent;
}

.footer-version-tooltip-container:hover .footer-version-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.footer-version-tooltip.is-below {
  top: 130%;
  bottom: auto;
}

.footer-version-tooltip.is-below::after {
  top: auto;
  bottom: 100%;
  border-color: transparent transparent rgba(255, 255, 255, 0.18) transparent;
}

.footer-version-tooltip-line {
  color: #d6d9de;
}

.footer-version-tooltip-line + .footer-version-tooltip-line {
  margin-top: 4px;
}

.footer-version-tooltip-link {
  display: inline-flex;
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: normal;
  text-transform: none;
  color: #ffffff;
  text-decoration: none;
}

.footer-version-tooltip-link:hover {
  color: #ffffff;
}

@media (max-width: 640px) {
  .footer-version-tooltip {
    min-width: 0;
    max-width: min(360px, calc(100vw - 32px));
    white-space: normal;
  }
}

/* Status widget layout override for footer placement */
.footer-status .ss-status-indicator {
  position: relative;
  right: auto;
  bottom: auto;
  align-items: flex-end;
}

.footer-status .ss-status-label {
  font-size: 8px;
}

.footer-status .ss-status-details {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
}

/* ======================================================
   AUTH MODAL (FROM LEGACY)
====================================================== */
body.modal-open { overflow: hidden; }

.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 12, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 50;
}

.auth-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.auth-modal {
  width: min(520px, 92vw);
  background: rgba(17, 20, 26, 0.98);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 28px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.auth-modal-header { margin-bottom: 18px; }

.auth-modal-eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.auth-modal h2 { margin: 0 0 6px; font-size: 24px; }

.auth-modal-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.auth-modal-title img { width: 28px; height: 28px; }

.auth-modal-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #e6e8eb;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
}

.auth-panel { display: none; }

.auth-modal[data-state="login"] .auth-panel[data-state="login"],
.auth-modal[data-state="signup"] .auth-panel[data-state="signup"] {
  display: block;
}

.auth-oauth-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.auth-oauth-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #e6e8eb;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.18em;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-oauth-button img { width: 16px; height: 16px; }

.auth-oauth-button:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.16);
}

.auth-divider {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 12px 0;
}

.auth-form {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.auth-form label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.auth-form input {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #e6e8eb;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
}

.auth-form button[type="submit"] {
  border: 0;
  border-radius: 999px;
  padding: 12px 14px;
  background: rgba(140, 121, 255, 0.22);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.auth-form button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(140, 121, 255, 0.4);
}

.auth-form button[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
}

.auth-error {
  color: #f1a6a6;
  font-size: 12px;
}

.auth-strength,
.auth-legal,
.auth-toggle,
.auth-resend-status {
  font-size: 12px;
  color: var(--text-muted);
}

.auth-legal a,
.auth-toggle button,
.auth-resend-button {
  color: #f0f2f5;
}

.auth-legal a { text-decoration: underline; }

.auth-toggle button,
.auth-resend-button {
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}

/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 900px) {
  .hero { top: calc(50% - (var(--footer-bar-height) / 2) - 4px); }
  .platform-strip { width: min(86vw, 680px); }
  .about-panel { width: min(560px, 70vw); }
  body.about-open .hero { bottom: calc(var(--footer-bar-height) + 16px); }
  body.about-open {
    --grid-plane-tilt: perspective(1200px) rotateX(66deg) rotateZ(-34deg) scale(1.05);
    --about-shell-width: calc(100vw - 40px);
    --about-col-gap: clamp(24px, 2.8vw, 34px);
    --about-info-width: clamp(320px, 42vw, 460px);
    --about-stage-height: min(50vh, 430px);
  }
  body.about-open .about-panel {
    top: clamp(84px, 10vh, 124px);
  }
  body.about-open .grid-shot {
    top: clamp(114px, 14vh, 160px);
  }
}

@media (max-width: 640px) {
  .hero { top: calc(50% - (var(--footer-bar-height) / 2)); gap: 16px; }
  .wordmark img { width: clamp(300px, 85vw, 483px); }
  .secondary-pills { flex-wrap: wrap; max-width: calc(100% - 32px); }
  .footer-links { gap: 10px; flex-wrap: wrap; }
  .footer-bar { height: auto; padding: 10px var(--footer-padding-x); gap: 10px; flex-direction: column; align-items: flex-start; }
  .footer-meta { flex-wrap: wrap; }
  .about-panel {
    top: clamp(10%, 12vh, 18%);
    left: 50%;
    right: auto;
    width: min(92vw, 520px);
    transform: translateX(-50%) translateY(12px);
    text-align: left;
  }
  body.about-open .hero {
    left: 50%;
    bottom: calc(var(--footer-bar-height) + 18px);
    transform: translateX(-50%);
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
  body.about-open .cta-floating .cta-primary {
    padding: 10px 28px;
  }
  body.about-open .cta-floating {
    top: 14px;
    right: 18px;
  }
  body.about-open {
    --about-shell-width: calc(100vw - 24px);
    --about-shell-left: 12px;
    --about-shell-right: 12px;
    --about-info-width: calc(100vw - 24px);
    --about-col-gap: 0px;
    --about-stage-height: min(34vh, 260px);
  }
  body.about-open .about-panel {
    left: 12px;
    right: 12px;
    width: auto;
    top: clamp(78px, 10vh, 102px);
    transform: none;
    padding-bottom: calc(var(--about-stage-height) + 18px);
  }
  body.about-open .grid-shot {
    top: auto;
    bottom: calc(var(--footer-bar-height) + 20px);
    left: 12px;
    right: 12px;
    width: min(calc(100vw - 24px), calc(var(--about-stage-height) * 1.7777778));
    height: calc(min(calc(100vw - 24px), calc(var(--about-stage-height) * 1.7777778)) * 0.5625);
    aspect-ratio: 16 / 9;
    margin-inline: auto;
    transform: none;
  }
  body.about-open .about-controls-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .wordmark img,
  .hero-about,
  .platform-stack,
  .cta-block,
  .cta-signup,
  .secondary-pills,
  .about-panel,
  .about-back,
  .about-slide,
  .grid-motif,
  .grid-shot,
  .aurora {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
