/* Auth pages: full-viewport split matching the signup mock. */

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  background: #f7f9fc;
  padding: 0 !important;
  min-height: 100vh;
  align-items: stretch !important;
}

.auth-wrapper {
  background: transparent;
  padding: 0;
  box-shadow: none;
  animation: none;
  max-width: none;
  width: 100%;
  height: 100vh;
  border-radius: 0;
}

.auth-card {
  background: #f7f9fc;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  gap: 0;
  width: 100%;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0;
}

.auth-left {
  flex: 1 1 50%;
  width: 50%;
  min-width: 0;
  align-self: stretch;
  box-sizing: border-box;
  height: auto;
  max-height: none;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px 32px 32px;
  background-color: #f4f7fb;
  background-image:
    radial-gradient(ellipse 70% 55% at 18% 12%, rgba(254, 191, 15, 0.11), transparent 58%),
    radial-gradient(ellipse 55% 45% at 88% 82%, rgba(0, 51, 102, 0.07), transparent 55%),
    linear-gradient(rgba(15, 35, 70, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 35, 70, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  isolation: isolate;
}

.auth-left::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  left: 8%;
  top: 42%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 191, 15, 0.16) 0%, transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.auth-left::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  right: 6%;
  bottom: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12, 61, 140, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.auth-left > * {
  position: relative;
  z-index: 1;
}

.auth-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0 6px;
  position: relative;
  top: auto;
  left: auto;
  right: auto;
}

.form-logo {
  height: 22px;
  max-height: 22px;
  width: auto;
  margin: 0;
}

.auth-switch {
  margin: 0;
  color: #5c6678;
  font-size: 0.8rem;
  text-align: right;
}

.auth-switch a {
  color: #003366;
  font-weight: 700;
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}

.auth-form-panel {
  flex: 0 0 auto;
  width: min(540px, 100%);
  margin: auto;
  background:
    linear-gradient(165deg, #ffffff 0%, #fbfcfe 52%, #f6f8fc 100%);
  border: 1px solid rgba(254, 191, 15, 0.38);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(15, 35, 70, 0.05),
    0 1px 2px rgba(15, 35, 70, 0.04),
    0 12px 28px rgba(15, 35, 70, 0.08),
    0 28px 56px rgba(15, 35, 70, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.7);
  padding: 30px 34px 24px;
  justify-content: flex-start;
  overflow: visible;
  position: relative;
}

/* Soft gold crown highlight on the form card */
.auth-form-panel::before {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  left: 18px !important;
  right: 18px !important;
  top: 0 !important;
  height: 3px !important;
  width: auto !important;
  border-radius: 0 0 8px 8px !important;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(254, 191, 15, 0.55) 18%,
    #febf0f 50%,
    rgba(254, 191, 15, 0.55) 82%,
    transparent 100%
  ) !important;
  box-shadow: 0 4px 14px rgba(254, 191, 15, 0.28) !important;
  transform: none !important;
  z-index: 2;
  pointer-events: none;
}

.auth-form-panel::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 16px;
  border: 1px solid rgba(15, 35, 70, 0.035);
  pointer-events: none;
  z-index: 0;
}

.auth-form-header {
  margin-bottom: 26px;
}

.auth-form-header h2 {
  color: #003366;
  font-size: 1.72rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.05;
}

.title-mark {
  background-image: linear-gradient(
    90deg,
    transparent,
    rgba(254, 191, 15, 0.25) 12%,
    #febf0f 32%,
    #febf0f 68%,
    rgba(254, 191, 15, 0.25) 88%,
    transparent
  );
  background-repeat: no-repeat;
  background-size: 100% 2px;
  background-position: 0 calc(100% - 1px);
  padding-bottom: 2px;
}

.auth-form-header p {
  color: #7d8696;
  font-size: 0.86rem;
  margin-top: 6px;
  line-height: 1.35;
}

.auth-form-panel .form-row {
  gap: 12px;
}

.auth-form-panel .form-group {
  margin-bottom: 12px;
}

.auth-form-panel .form-group label {
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: #3d4758;
}

.auth-form-panel .required {
  display: none;
}

.auth-form-panel .form-group input,
.auth-form-panel .form-group select {
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14px;
  background: linear-gradient(180deg, #f8fafc 0%, #f3f6fa 100%);
  border: 1px solid #e2e8f0;
  box-shadow:
    inset 0 1px 2px rgba(15, 35, 70, 0.04),
    0 1px 0 rgba(255, 255, 255, 0.8);
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.auth-form-panel .form-group input:focus,
.auth-form-panel .form-group select:focus {
  background: #fff;
  border-color: rgba(0, 51, 102, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 3px rgba(0, 51, 102, 0.08),
    0 0 0 1px rgba(254, 191, 15, 0.28);
}

.step-indicator {
  display: none !important;
}

.password-hint {
  margin: -2px 0 20px;
  color: #8b93a3;
  font-size: 0.76rem;
}

.auth-legal {
  margin: 16px 0 0;
  text-align: center;
  color: #8b93a3;
  font-size: 0.76rem;
}

.auth-legal a {
  color: #003366;
  font-weight: 700;
  text-decoration: none;
}

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

.auth-form-panel .auth-btn {
  border-radius: 20px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #ffd24a 0%, #febf0f 42%, #f0a800 100%);
  color: #003366;
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 4px;
  border: 1px solid rgba(180, 120, 0, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(150, 95, 0, 0.18),
    0 8px 18px rgba(254, 191, 15, 0.32);
}

.auth-form-panel .auth-btn:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(150, 95, 0, 0.18),
    0 10px 24px rgba(254, 191, 15, 0.4);
}

.auth-links {
  margin-top: 14px;
}

.auth-showcase {
  flex: 0 0 50%;
  align-self: stretch;
  box-sizing: border-box;
  width: 50%;
  max-width: none;
  max-height: none;
  height: 100%;
  aspect-ratio: auto;
  margin: 0;
  transform: none;
  border: none;
  border-left: 1.5px solid rgba(254, 191, 15, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 170, 0.2),
    inset 0 -1px 0 rgba(8, 28, 72, 0.38),
    inset 1px 0 0 rgba(255, 236, 170, 0.24),
    inset 5px 0 14px rgba(254, 191, 15, 0.05),
    -8px 0 22px rgba(7, 20, 51, 0.14);
  min-width: 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 28px 40px 24px;
  border-radius: 32px 0 0 32px;
  background: linear-gradient(165deg, #0e3780 0%, #0a2758 42%, #071a3d 78%, #061433 100%);
  color: #fff;
}

.auth-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 48% 42% at 78% 88%, rgba(254, 191, 15, 0.18), transparent 62%),
    radial-gradient(ellipse 40% 36% at 12% 18%, rgba(70, 140, 255, 0.12), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: auto, auto, 36px 36px, 36px 36px;
  mask-image: radial-gradient(circle at 50% 54%, #000 30%, transparent 84%);
  pointer-events: none;
  z-index: 0;
}

/* Balanced 3D rim — present, not loud */
.auth-showcase::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(254, 191, 15, 0.16) 0%, transparent 12px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 18%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, transparent 16%),
    radial-gradient(ellipse 55% 40% at 92% 92%, rgba(254, 191, 15, 0.22), transparent 58%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 0;
}

.showcase-copy,
.showcase-stats {
  position: relative;
  z-index: 2;
}

.orbit {
  position: relative;
}

.showcase-copy {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 2px 4px 0;
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(6, 16, 40, 0.55);
  border: 1px solid rgba(254, 191, 15, 0.38);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

.showcase-badge strong {
  color: #febf0f;
  font-weight: 700;
}

.showcase-copy h1 {
  margin: 0 auto;
  width: 100%;
  max-width: 11.6em;
  font-size: clamp(1.7rem, 2.3vw, 2.2rem);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 2px rgba(7, 20, 51, 0.35);
}

.showcase-copy h1 .tone,
.showcase-copy h1 .title-mark {
  color: #febf0f;
}

.orbit {
  position: absolute;
  inset: 0;
  flex: none;
  width: auto;
  min-height: 0;
  margin: 0;
  display: block;
  overflow: visible;
  pointer-events: none;
}

.orbit-field {
  position: absolute;
  left: calc(50% - 140px);
  top: calc(50% - 140px);
  width: 280px;
  height: 280px;
}

.orbit-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orbit-ring,
.orbit-glyph,
.orbit-core,
.orbit-beams,
.orbit-dot {
  position: absolute;
  pointer-events: none;
}

.orbit-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.orbit-rings circle {
  fill: none;
  stroke: rgba(254, 191, 15, 0.5);
  stroke-width: 0.28;
  stroke-dasharray: 0.85 1.65;
  stroke-linecap: round;
  transform-origin: center;
  transform-box: view-box;
}

.orbit-rings .ring-a { animation: ringSpinSvg 28s linear infinite; }
.orbit-rings .ring-b { animation: ringSpinSvg 40s linear infinite reverse; stroke: rgba(254, 191, 15, 0.4); }
.orbit-rings .ring-c { animation: ringSpinSvg 54s linear infinite; stroke: rgba(254, 191, 15, 0.3); }

.orbit-beams {
  /* Match outer CSS ring size/center so spokes touch the ring (never stretch the SVG) */
  position: absolute;
  top: 53.7%;
  left: 50%;
  right: auto;
  bottom: auto;
  width: 54.2%;
  height: auto;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  overflow: visible;
  z-index: 2;
  pointer-events: none;
}

.orbit-beams path.beam-line {
  fill: none;
  stroke: rgba(254, 191, 15, 0.34);
  stroke-width: 0.75;
  stroke-dasharray: 1.6 4.2;
  stroke-linecap: round;
}

.orbit-beams path.beam-motion {
  fill: none;
  stroke: none;
}

.orbit-beams circle {
  fill: #febf0f;
}

.orbit-beams circle.ring {
  fill: none;
  stroke: rgba(254, 191, 15, 0.5);
  stroke-width: 1.15;
  stroke-dasharray: 2.2 3.8;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: center;
}

.orbit-beams circle.ring-b { stroke: rgba(254, 191, 15, 0.4); animation: ringSpinSvg 40s linear infinite reverse; }
.orbit-beams circle.ring-a { animation: ringSpinSvg 28s linear infinite; }
.orbit-beams circle.ring-c { stroke: rgba(254, 191, 15, 0.32); animation: ringSpinSvg 54s linear infinite; }

.orbit-beams text.glyph {
  fill: rgba(254, 191, 15, 0.8);
  stroke: none;
  font-size: 14px;
  font-weight: 700;
  font-family: Inter, "Segoe UI", sans-serif;
}

.orbit-beams .glyph path {
  fill: none;
  stroke: rgba(254, 191, 15, 0.75);
  stroke-width: 1.7;
  stroke-dasharray: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.orbit-beams .spark path {
  fill: #febf0f;
  stroke: none;
  stroke-dasharray: none;
}

.orbit-beams .spoke-mover {
  fill: rgba(254, 191, 15, 0.75);
  filter: drop-shadow(0 0 3px rgba(254, 191, 15, 0.45));
}

.orbit-glyph {
  color: rgba(254, 191, 15, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  z-index: 2;
  line-height: 1;
}

.orbit-glyph--code { top: 15%; left: 60%; }
.orbit-glyph--hash { right: 8%; top: 46%; }
.orbit-glyph--pen { left: 46%; top: 71%; }
.orbit-glyph--mega {
  left: 7%;
  top: 44%;
  display: grid;
  place-items: center;
}

.orbit-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #febf0f;
  box-shadow: 0 0 8px rgba(254, 191, 15, 0.8);
  z-index: 2;
}

.orbit-dot--ne { top: 27%; right: 27%; }
.orbit-dot--se { bottom: 27%; right: 27%; }
.orbit-dot--sw { bottom: 27%; left: 27%; }
.orbit-dot--nw { top: 27%; left: 27%; }

.orbit-core {
  left: 50%;
  top: 53.7%;
  width: 12.32%;
  height: auto;
  aspect-ratio: 1;
  margin: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #0d2f6e 0%, #071a42 62%, #04102c 100%);
  box-shadow:
    0 0 0 3px rgba(254, 191, 15, 0.5),
    0 0 22px rgba(254, 191, 15, 0.42),
    0 0 48px rgba(254, 191, 15, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  z-index: 6;
  animation: orbitCorePulse 3.6s ease-in-out infinite;
}

/* True circles around the core — not SVG stretched by the tall panel */
.orbit-core::before,
.orbit-core::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  box-sizing: border-box;
  border: 1.35px dashed rgba(254, 191, 15, 0.5);
  pointer-events: none;
  z-index: -1;
}

.orbit-core::before {
  width: 280%;
  height: 280%;
  transform: translate(-50%, -50%);
  animation: orbitHaloSpin 28s linear infinite;
}

.orbit-core::after {
  width: 440%;
  height: 440%;
  border-color: rgba(254, 191, 15, 0.38);
  transform: translate(-50%, -50%);
  animation: orbitHaloSpin 40s linear infinite reverse;
}

.orbit-core img {
  width: 64%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.orbit-card {
  position: absolute;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  gap: 8px;
  width: 31.73%;
  padding: 6px 12px 6px 6px;
  border-radius: 20px;
  background: linear-gradient(165deg, #ffffff 0%, #fbfcfe 55%, #f4f7fb 100%);
  color: #0b1f44;
  border: 1.5px solid rgba(254, 191, 15, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(15, 35, 70, 0.06),
    0 0 0 1px rgba(254, 191, 15, 0.12),
    0 2px 4px rgba(0, 0, 0, 0.12),
    0 12px 26px rgba(0, 0, 0, 0.22),
    0 0 16px rgba(254, 191, 15, 0.1);
  z-index: 4;
  pointer-events: none;
  animation: orbitCardFloat 4.8s ease-in-out infinite;
}

.orbit-card strong {
  display: block;
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #10284f;
}

/* Equal side insets + staggered float */
.orbit-card--nw { top: 26.9%; left: 6.5%; animation-delay: 0s; }
.orbit-card--ne { top: 26.9%; right: 6.5%; animation-delay: 0.6s; }
.orbit-card--sw { top: 72.5%; left: 6.5%; animation-delay: 1.2s; }
.orbit-card--se { top: 72.5%; right: 6.5%; animation-delay: 1.8s; }

.orbit-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #1456b0 0%, #0c3d8c 55%, #092e6a 100%);
  color: #febf0f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 4px 10px rgba(9, 40, 100, 0.35);
}

.orbit-icon svg {
  width: 18px;
  height: 18px;
}

.showcase-stats {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-top: auto;
  z-index: 5;
  padding: 4px 0 2px;
}

.showcase-stat {
  text-align: center;
}

.showcase-stat strong {
  display: block;
  color: #febf0f;
  font-size: clamp(2rem, 2.8vw, 2.55rem);
  letter-spacing: -0.03em;
  line-height: 1;
  text-shadow: 0 0 18px rgba(254, 191, 15, 0.35);
}

.showcase-stat span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
}

.showcase-rule {
  width: 1px;
  height: 38px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
}

@keyframes ringSpinSvg {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitHaloSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbitCorePulse {
  0%, 100% {
    box-shadow:
      0 0 0 3px rgba(254, 191, 15, 0.5),
      0 0 22px rgba(254, 191, 15, 0.42),
      0 0 48px rgba(254, 191, 15, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }
  50% {
    box-shadow:
      0 0 0 4px rgba(254, 191, 15, 0.58),
      0 0 28px rgba(254, 191, 15, 0.55),
      0 0 60px rgba(254, 191, 15, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }
}

@keyframes orbitCardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-rings circle,
  .orbit-beams circle,
  .orbit-core,
  .orbit-core::before,
  .orbit-core::after,
  .orbit-card {
    animation: none !important;
  }
}

@media (max-height: 760px) {
  .auth-showcase { padding: 14px 16px 12px; }
  .showcase-copy { gap: 8px; }
  .showcase-copy h1 { font-size: clamp(1.35rem, 2.1vw, 1.75rem); }
  .orbit-field { left: calc(50% - 110px); top: calc(50% - 110px); width: 220px; height: 220px; }
  .orbit-core { width: 64px; height: 64px; }
  .orbit-core svg { width: 28px; height: 28px; }
  .orbit-card { padding: 6px 12px 6px 6px; }
  .orbit-card strong { font-size: 13px; }
  .orbit-icon { width: 40px; height: 40px; flex-basis: 40px; }
  .orbit-icon svg { width: 18px; height: 18px; }
}

@media (max-width: 900px) {
  html, body { overflow: auto; height: auto; }
  .auth-wrapper, .auth-card { height: auto; min-height: 100vh; }
  .auth-card { flex-direction: column; padding: 12px; gap: 14px; }
  .auth-left,
  .auth-showcase { flex: none; width: 100%; max-width: none; height: auto; max-height: none; }
  .auth-left { padding: 20px 16px 12px; position: static; }
  .auth-topbar { position: static; top: auto; left: auto; right: auto; width: 100%; margin: 0 0 18px; }
  .auth-form-panel { width: 100%; margin: 0 auto; }
  .auth-showcase {
    width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    min-height: 0;
    overflow: hidden;
    border: 1.5px solid rgba(254, 191, 15, 0.5);
    border-left: 1.5px solid rgba(254, 191, 15, 0.5);
    border-radius: 22px;
    padding: 20px 14px 16px;
    margin: 0;
    transform: none;
  }
  .showcase-copy {
    position: relative;
    z-index: 3;
    padding: 0 4px;
  }
  .showcase-copy h1 {
    font-size: clamp(1.2rem, 5.2vw, 1.45rem);
    line-height: 1.28;
    max-width: 16em;
  }

  /* Square stage so rings stay true circles on narrow phones */
  .orbit {
    position: relative;
    inset: auto;
    width: min(100%, 340px);
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 10px auto 6px;
    overflow: visible;
  }
  .orbit-beams {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    width: 210px;
    height: 210px;
    transform: translate(-50%, -50%);
  }
  .orbit-core {
    top: 50%;
    left: 50%;
    width: 52px;
    height: 52px;
    aspect-ratio: 1 / 1;
  }
  .orbit-core::before,
  .orbit-core::after {
    /* Fixed equal sizes — avoid % height bugs when width/height media rules collide */
    left: 50%;
    top: 50%;
  }
  .orbit-core::before {
    width: 132px;
    height: 132px;
  }
  .orbit-core::after {
    width: 210px;
    height: 210px;
  }
  .orbit-card {
    width: min(48%, 148px);
    padding: 5px 8px 5px 5px;
    gap: 6px;
    border-radius: 16px;
  }
  .orbit-card--nw { top: 10%; left: 2%; }
  .orbit-card--ne { top: 10%; right: 2%; }
  .orbit-card--sw { top: auto; bottom: 10%; left: 2%; }
  .orbit-card--se { top: auto; bottom: 10%; right: 2%; }
  .orbit-icon { width: 30px; height: 30px; flex-basis: 30px; }
  .orbit-icon svg { width: 14px; height: 14px; }
  .orbit-card strong { font-size: 10.5px; line-height: 1.15; }
  .showcase-stats { margin-top: 8px; gap: 18px; position: relative; z-index: 3; }
  .showcase-stat strong { font-size: 1.55rem; }
}

@media (max-width: 900px) and (max-height: 760px) {
  /* Keep core/rings square when both mobile + short-height rules apply */
  .orbit-core {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 380px) {
  .orbit {
    width: min(100%, 300px);
  }
  .orbit-core {
    width: 46px;
    height: 46px;
  }
  .orbit-core::before {
    width: 116px;
    height: 116px;
  }
  .orbit-core::after {
    width: 184px;
    height: 184px;
  }
  .orbit-beams {
    width: 184px;
    height: 184px;
  }
  .orbit-card {
    width: min(49%, 132px);
    padding: 4px 6px 4px 4px;
  }
  .orbit-card strong { font-size: 9.5px; }
  .orbit-icon { width: 26px; height: 26px; flex-basis: 26px; }
}
