/* ============================================================
   FLIXTV PANELS — control-room design system
   Single source of truth for both packages. Edit the site-*.css
   files here, then re-run:  node sync-source-css.mjs && node gen.mjs
   ============================================================ */

:root {
  /* Base — indigo-leaning, not neutral black */
  --void: #05060f;
  --abyss: #0b0e22;
  --deep: #10142e;
  --nebula: #161c3d;
  --edge: rgba(255, 255, 255, 0.09);
  --edge-strong: rgba(255, 255, 255, 0.16);

  /* Signal hues — each one carries a meaning */
  --beam: #5fe3f5;   /* primary / live signal        */
  --pulse: #b6f36b;  /* active, contact, go          */
  --ember: #ff8a66;  /* most selling, attention      */
  --aurora: #a78bfa; /* recommended                  */
  --flare: #ff6b85;  /* offline, flagged             */

  /* Text */
  --ink: #050711;
  --text: #eef1ff;
  --text-dim: #a8b2d6;
  --text-faint: #7b85ab;

  /* Type */
  --font-display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  --font-ui: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Rhythm */
  --gutter: clamp(1.1rem, 4vw, 4rem);
  --shell: 1440px;
  --r-sm: 0.55rem;
  --r-md: 0.85rem;
  --r-lg: 1.15rem;
  --r-xl: 1.6rem;

  /* Elevation — layered, not one grey blur on everything */
  --lift-1: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 8px 24px -14px rgba(0, 0, 0, 0.9);
  --lift-2: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 20px 46px -22px rgba(0, 0, 0, 0.95);
  --glass: saturate(160%) blur(18px);

  --ease: cubic-bezier(0.22, 0.68, 0.32, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--abyss);
  /* Nav is sticky — keep anchor targets clear of it */
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  /* Hard guarantee against sideways scroll on phones */
  overflow-x: hidden;
  background: var(--abyss);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; }
[hidden] { display: none !important; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button, a, summary { touch-action: manipulation; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

/* Figures line up on the board */
.tabular { font-variant-numeric: tabular-nums; }

/* --- Focus: one visible treatment everywhere, TV-remote friendly --- */
:focus-visible {
  outline: 2px solid var(--beam);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-sm);
  background: var(--beam);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0.75rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Ambient background — slow, low contrast, GPU only
   ============================================================ */

.site-shell {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(95, 227, 245, 0.10), transparent 70%),
    radial-gradient(ellipse 60% 50% at 100% 20%, rgba(167, 139, 250, 0.09), transparent 70%),
    var(--abyss);
}

/* Faint control-room grid, fades out down the page */
.aurora::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    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: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 60%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 60%);
}

/* Film grain keeps the gradients from banding */
.aurora::after {
  content: '';
  position: absolute;
  inset: -50%;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
}
.blob-a {
  width: 34rem; height: 34rem;
  top: -8rem; right: -10rem;
  background: radial-gradient(circle, rgba(95, 227, 245, 0.16), transparent 68%);
  animation: drift-a 24s var(--ease) infinite alternate;
}
.blob-b {
  width: 30rem; height: 30rem;
  top: 40rem; left: -12rem;
  background: radial-gradient(circle, rgba(255, 138, 102, 0.12), transparent 68%);
  animation: drift-b 30s var(--ease) -6s infinite alternate;
}
.blob-c {
  width: 26rem; height: 26rem;
  bottom: 4rem; right: 6%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.11), transparent 68%);
  animation: drift-a 27s var(--ease) -12s infinite alternate-reverse;
}
@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-3rem, 2.5rem, 0) scale(1.12); }
}
@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.06); }
  to   { transform: translate3d(3.5rem, -2rem, 0) scale(1); }
}

/* ============================================================
   Top line + navigation
   ============================================================ */

.topline {
  position: relative;
  z-index: 40;
  border-bottom: 1px solid var(--edge);
  background: rgba(5, 6, 15, 0.72);
  -webkit-backdrop-filter: var(--glass);
  backdrop-filter: var(--glass);
}
.topline-inner {
  max-width: var(--shell);
  margin: auto;
  min-height: 2.6rem;
  padding: 0.4rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.76rem;
  color: var(--text-dim);
}
.topline-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.topline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--beam);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 4px;
}
.topline-link:hover { text-decoration: underline; }

/* The live dot is the only thing allowed to glow — it means "on air" */
.live-dot {
  width: 0.5rem;
  height: 0.5rem;
  flex: none;
  border-radius: 50%;
  background: var(--pulse);
  box-shadow: 0 0 0 0 rgba(182, 243, 107, 0.55);
  animation: beacon 2.6s ease-out infinite;
}
@keyframes beacon {
  0%   { box-shadow: 0 0 0 0 rgba(182, 243, 107, 0.5); }
  70%  { box-shadow: 0 0 0 0.6rem rgba(182, 243, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(182, 243, 107, 0); }
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}
/* Condenses once the page moves — set by JS */
.nav-wrap.is-stuck {
  border-bottom-color: var(--edge);
  background: rgba(8, 10, 26, 0.82);
  -webkit-backdrop-filter: var(--glass);
  backdrop-filter: var(--glass);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 1);
}

.nav {
  max-width: var(--shell);
  margin: auto;
  padding: 0.85rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: padding 0.35s var(--ease);
}
.nav-wrap.is-stuck .nav { padding-block: 0.6rem; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--r-sm);
}
.brand-mark {
  position: relative;
  width: 2.45rem;
  height: 2.45rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 0.8rem;
  color: var(--ink);
  background: linear-gradient(140deg, var(--beam), var(--aurora) 92%);
  box-shadow: 0 0 22px -4px rgba(95, 227, 245, 0.55);
  transition: transform 0.4s var(--ease-out);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-word {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.16rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.brand-word span {
  display: block;
  margin-top: 0.12rem;
  color: var(--text-faint);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
}
.nav-links > a {
  position: relative;
  padding: 0.6rem 0.85rem;
  border-radius: var(--r-sm);
  color: var(--text-dim);
  font-size: 0.87rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.nav-links > a::after {
  content: '';
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.38rem;
  height: 1.5px;
  border-radius: 2px;
  background: var(--beam);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav-links > a:hover { color: var(--text); }
.nav-links > a:hover::after { transform: scaleX(1); }
.nav-links .nav-cta::after { display: none; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.4rem;
  padding: 0.62rem 1.05rem !important;
  color: var(--ink) !important;
  background: var(--pulse);
  font-weight: 700 !important;
  box-shadow: 0 0 0 0 rgba(182, 243, 107, 0.4);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease),
              filter 0.25s var(--ease);
}
.nav-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 10px 26px -12px rgba(182, 243, 107, 0.9);
}

.nav-burger {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  margin-left: auto;
  place-items: center;
  border: 1px solid var(--edge-strong);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}
.burger-bars { position: relative; width: 1.05rem; height: 2px; }
.burger-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.32s var(--ease-out), opacity 0.2s var(--ease);
}
.burger-bars span:nth-child(1) { top: -6px; }
.burger-bars span:nth-child(2) { top: 0; }
.burger-bars span:nth-child(3) { top: 6px; }
.nav-burger[aria-expanded='true'] .burger-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded='true'] .burger-bars span:nth-child(2) { opacity: 0; transform: scaleX(0.4); }
.nav-burger[aria-expanded='true'] .burger-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  overflow: hidden;
  border-top: 1px solid var(--edge);
  background: rgba(8, 10, 26, 0.96);
  -webkit-backdrop-filter: var(--glass);
  backdrop-filter: var(--glass);
}
.mobile-menu-inner {
  padding: 0.7rem var(--gutter) 1.2rem;
  display: grid;
  gap: 0.35rem;
}
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  opacity: 0;
  transform: translateY(-8px);
}
.mobile-menu.is-open { display: block; animation: menu-drop 0.34s var(--ease-out) both; }
.mobile-menu.is-open a { animation: menu-item 0.34s var(--ease-out) both; }
.mobile-menu.is-open a:nth-child(1) { animation-delay: 0.04s; }
.mobile-menu.is-open a:nth-child(2) { animation-delay: 0.09s; }
.mobile-menu.is-open a:nth-child(3) { animation-delay: 0.14s; }
.mobile-menu a.is-cta {
  border-color: transparent;
  background: var(--pulse);
  color: var(--ink);
  font-weight: 700;
}
@keyframes menu-drop {
  from { opacity: 0; max-height: 0; }
  to   { opacity: 1; max-height: 22rem; }
}
@keyframes menu-item {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Hero — opens on live data, not a slogan
   ============================================================ */

.hero {
  position: relative;
  max-width: var(--shell);
  margin: auto;
  padding: clamp(2.5rem, 6vw, 5.5rem) var(--gutter) 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  min-height: clamp(26rem, 52vh, 34rem);
}
.hero-copy { position: relative; z-index: 2; min-width: 0; }

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.35rem;
  padding: 0.42rem 0.9rem 0.42rem 0.75rem;
  border: 1px solid rgba(182, 243, 107, 0.28);
  border-radius: 99px;
  background: rgba(182, 243, 107, 0.07);
  color: var(--pulse);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.005em;
}
.hero-status b { font-weight: 800; font-variant-numeric: tabular-nums; }

.hero h1 {
  font-size: clamp(2.15rem, 4.6vw, 4.15rem);
  letter-spacing: -0.042em;
  max-width: 17ch;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span {
  display: block;
  transform: translateY(105%);
  animation: line-rise 0.9s var(--ease-out) both;
}
.hero h1 .line:nth-child(2) > span { animation-delay: 0.1s; }
@keyframes line-rise {
  to { transform: translateY(0); }
}

.hero-lede {
  max-width: 46ch;
  margin: 1.4rem 0 0;
  color: var(--text-dim);
  font-size: clamp(1rem, 1.15vw, 1.13rem);
  line-height: 1.7;
  animation: fade-up 0.8s var(--ease-out) 0.3s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2.1rem;
  animation: fade-up 0.8s var(--ease-out) 0.42s both;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Buttons --- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.1rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.28s var(--ease-out), background-color 0.25s var(--ease),
              border-color 0.25s var(--ease), box-shadow 0.28s var(--ease);
}
.btn svg { flex: none; }
.btn-primary {
  background: var(--beam);
  color: var(--ink);
  box-shadow: 0 12px 30px -18px rgba(95, 227, 245, 0.95);
}
/* Light sweeps across on hover — reads as a signal passing through */
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-110%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transition: transform 0.65s var(--ease-out);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -18px rgba(95, 227, 245, 0.95);
}
.btn-primary:hover::after { transform: translateX(110%) skewX(-18deg); }

.btn-ghost {
  border-color: var(--edge-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: rgba(95, 227, 245, 0.55);
  background: rgba(95, 227, 245, 0.08);
}

/* ============================================================
   Orbit — the navigator. Original character, built in SVG.
   ============================================================ */

.mascot-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 24rem;
  perspective: 900px;
}

/* Two slow rings — the console Orbit stands in */
.mascot-stage::before,
.mascot-stage::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.mascot-stage::before {
  width: min(27rem, 96%);
  aspect-ratio: 1;
  border: 1px solid rgba(95, 227, 245, 0.16);
  -webkit-mask-image: conic-gradient(from 0deg, #000 0deg 150deg, transparent 200deg 360deg);
  mask-image: conic-gradient(from 0deg, #000 0deg 150deg, transparent 200deg 360deg);
  animation: spin 26s linear infinite;
}
.mascot-stage::after {
  width: min(20.5rem, 78%);
  aspect-ratio: 1;
  border: 1px dashed rgba(167, 139, 250, 0.26);
  animation: spin-back 34s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-back { to { transform: rotate(-360deg); } }

.mascot-halo {
  position: absolute;
  width: min(22rem, 84%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 227, 245, 0.16), transparent 62%);
  filter: blur(26px);
  pointer-events: none;
}

.mascot-button {
  position: relative;
  z-index: 3;
  width: min(19.5rem, 88%);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: var(--r-xl);
  /* Parallax offset written by JS */
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 0.45s var(--ease-out);
  animation: mascot-enter 1s var(--ease-out) 0.25s both;
}
@keyframes mascot-enter {
  from { opacity: 0; transform: translate3d(0, 26px, 0) scale(0.94); }
  to   { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.mascot-svg {
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 1.6rem 2rem rgba(0, 0, 0, 0.5));
}

/* Idle float, applied to the inner group so parallax stays independent */
.orbit-body { animation: float 6.5s ease-in-out infinite; transform-origin: 134px 200px; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-11px) rotate(-1.1deg); }
}

.mascot-button:hover .orbit-body,
.mascot-button:focus-visible .orbit-body { animation-play-state: paused; }
.mascot-button:hover .mascot-svg,
.mascot-button:focus-visible .mascot-svg { transform: translateY(-8px); }
.mascot-svg { transition: transform 0.45s var(--ease-out); }

/* Compass disc spins faster when Orbit is engaged */
.orbit-compass { animation: spin 18s linear infinite; transform-origin: 226px 112px; }
.mascot-button:hover .orbit-compass { animation-duration: 5s; }

.orbit-cloak { fill: url(#orbCloak); }
.orbit-hood { fill: url(#orbHood); }
.orbit-face { fill: #ffd9bd; }
.orbit-trim { fill: none; stroke: var(--beam); stroke-width: 2.4; stroke-linecap: round; }

.orbit-wisp { transform-origin: 134px 300px; animation: wisp 4.2s ease-in-out infinite; }
@keyframes wisp {
  0%, 100% { opacity: 0.35; transform: translateY(0) scaleY(0.94); }
  50%      { opacity: 0.75; transform: translateY(3px) scaleY(1.06); }
}

.orbit-mote { animation: mote 3.4s ease-in-out infinite; transform-origin: center; }
.orbit-mote:nth-of-type(2) { animation-delay: -0.9s; }
.orbit-mote:nth-of-type(3) { animation-delay: -1.7s; }
.orbit-mote:nth-of-type(4) { animation-delay: -2.4s; }
@keyframes mote {
  0%, 100% { opacity: 0.25; transform: translateY(0) scale(0.75); }
  50%      { opacity: 1;    transform: translateY(-9px) scale(1.15); }
}

.mascot-stage.is-pinged .orbit-body { animation: orbit-ping 0.7s var(--ease-out); }
@keyframes orbit-ping {
  30% { transform: translateY(-18px) rotate(4deg) scale(1.05); }
  60% { transform: translateY(-4px) rotate(-2deg) scale(0.99); }
}

/* Tip bubble — carries real catalog guidance, not filler */
.mascot-tip {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 0.4rem;
  width: min(19rem, 92%);
  transform: translateX(-50%);
  padding: 0.8rem 1rem;
  border: 1px solid rgba(95, 227, 245, 0.28);
  border-radius: var(--r-md);
  background: rgba(14, 18, 42, 0.94);
  -webkit-backdrop-filter: var(--glass);
  backdrop-filter: var(--glass);
  box-shadow: var(--lift-2);
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 1.55;
  text-align: left;
  animation: tip-in 0.35s var(--ease-out) both;
}
.mascot-tip b { display: block; color: var(--beam); font-size: 0.72rem; margin-bottom: 0.15rem; }
@keyframes tip-in {
  from { opacity: 0; transform: translate(-50%, 10px) scale(0.96); }
  to   { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

.mascot-caption {
  position: absolute;
  bottom: 0.4rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: max-content;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--edge);
  border-radius: 99px;
  background: rgba(14, 18, 42, 0.8);
  color: var(--text-faint);
  font-size: 0.72rem;
  font-weight: 600;
}
.mascot-caption b { color: var(--beam); }

/* Hero motes — a dozen CSS particles, no canvas loop */
.motes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.mote {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--beam);
  opacity: 0;
  animation: rise linear infinite;
}
@keyframes rise {
  0%   { opacity: 0; transform: translateY(0) scale(0.6); }
  12%  { opacity: 0.7; }
  85%  { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-16rem) scale(1.25); }
}

/* ============================================================
   Live readout + assurances
   ============================================================ */

.readout {
  position: relative;
  z-index: 2;
  max-width: var(--shell);
  margin: clamp(2rem, 5vw, 3.4rem) auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--lift-1);
  overflow: hidden;
}
.readout-cell {
  position: relative;
  padding: 1.15rem clamp(0.9rem, 2vw, 1.6rem);
  border-right: 1px solid var(--edge);
}
.readout-cell:last-child { border-right: 0; }
.readout-cell::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 2px;
  background: var(--tint, var(--beam));
  opacity: 0.55;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease-out);
}
.readout.is-visible .readout-cell::before { transform: scaleX(1); }
.readout-cell:nth-child(2)::before { transition-delay: 0.08s; }
.readout-cell:nth-child(3)::before { transition-delay: 0.16s; }
.readout-cell:nth-child(4)::before { transition-delay: 0.24s; }

.readout-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--tint, var(--text));
}
.readout-label {
  display: block;
  margin-top: 0.4rem;
  color: var(--text-dim);
  font-size: 0.78rem;
  line-height: 1.35;
}

.assurance {
  max-width: var(--shell);
  margin: 0.8rem auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}
.assurance-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.022);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease),
              transform 0.3s var(--ease-out);
}
.assurance-item:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--tint) 45%, transparent);
  background: color-mix(in srgb, var(--tint) 6%, transparent);
}
.assurance-icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  border-radius: 0.7rem;
  color: var(--tint);
  background: color-mix(in srgb, var(--tint) 12%, transparent);
  transition: transform 0.35s var(--ease-out);
}
.assurance-item:hover .assurance-icon { transform: scale(1.1) rotate(-6deg); }
.assurance-item b { display: block; font-size: 0.92rem; font-weight: 700; }
.assurance-item span { display: block; color: var(--text-faint); font-size: 0.75rem; margin-top: 0.1rem; }

/* ============================================================
   The board
   ============================================================ */

.catalog-wrap {
  position: relative;
  max-width: var(--shell);
  margin: auto;
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter) 2rem;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.4rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid var(--edge);
}
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); max-width: 16ch; }
.section-head p {
  max-width: 34ch;
  margin: 0;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.65;
}

.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.search-shell { position: relative; flex: 1 1 20rem; min-width: 0; }
.search-shell > svg {
  position: absolute;
  left: 1.05rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-faint);
  pointer-events: none;
  transition: color 0.25s var(--ease);
}
.search-shell:focus-within > svg { color: var(--beam); }
.search-input {
  width: 100%;
  min-height: 3.35rem;
  padding: 0.8rem 3.2rem 0.8rem 2.95rem;
  border: 1px solid var(--edge-strong);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 0.93rem;
  outline: none;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}
.search-input::placeholder { color: var(--text-faint); }
.search-input:focus {
  border-color: rgba(95, 227, 245, 0.6);
  background: rgba(95, 227, 245, 0.06);
  box-shadow: 0 0 0 4px rgba(95, 227, 245, 0.12);
}
.search-clear {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid var(--edge);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.search-clear:hover { color: var(--flare); background: rgba(255, 107, 133, 0.12); }

.filter-pills {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
  margin: -2px;
}
.filter-pills::-webkit-scrollbar { display: none; }
.filter-pill {
  min-height: 3.35rem;
  padding: 0.7rem 1.05rem;
  white-space: nowrap;
  border: 1px solid var(--edge-strong);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-dim);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.22s var(--ease), background-color 0.22s var(--ease),
              border-color 0.22s var(--ease), transform 0.22s var(--ease-out);
}
.filter-pill:hover { color: var(--text); border-color: rgba(95, 227, 245, 0.45); transform: translateY(-2px); }
.filter-pill[aria-pressed='true'] {
  color: var(--ink);
  background: var(--beam);
  border-color: var(--beam);
  font-weight: 700;
}

.result-line {
  margin: 0 0 2rem;
  color: var(--text-faint);
  font-size: 0.82rem;
}
.result-line b { color: var(--text-dim); font-variant-numeric: tabular-nums; }

/* --- Category blocks --- */
.category-block { margin-top: 2.8rem; scroll-margin-top: 6rem; }
.category-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}
.category-dot {
  width: 0.62rem;
  height: 0.62rem;
  flex: none;
  border-radius: 50%;
  background: var(--tint);
  box-shadow: 0 0 14px -1px var(--tint);
}
.category-title h3 {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.category-count {
  flex: none;
  padding: 0.22rem 0.55rem;
  border-radius: 99px;
  background: color-mix(in srgb, var(--tint) 13%, transparent);
  color: var(--tint);
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.category-rule {
  flex: 1;
  height: 1px;
  min-width: 1rem;
  background: linear-gradient(90deg, color-mix(in srgb, var(--tint) 50%, transparent), transparent);
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  gap: 0.8rem;
}

/* --- Server card: three distinct states, not one card style --- */
.server-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.016));
  box-shadow: var(--lift-1);
  overflow: hidden;
  transition: transform 0.32s var(--ease-out), border-color 0.32s var(--ease),
              box-shadow 0.32s var(--ease);
}
/* Vertical signal bar in the category colour */
.server-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.9rem;
  bottom: 0.9rem;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: var(--tint);
  opacity: 0.75;
  transition: top 0.32s var(--ease), bottom 0.32s var(--ease), opacity 0.32s var(--ease);
}
.server-card::after {
  content: '';
  position: absolute;
  right: -3.5rem;
  bottom: -3.5rem;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: var(--tint);
  opacity: 0.07;
  filter: blur(26px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.server-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--tint) 55%, transparent);
  box-shadow: var(--lift-2);
}
.server-card:hover::before { top: 0.35rem; bottom: 0.35rem; opacity: 1; }
.server-card:hover::after { opacity: 0.14; }
.server-card:focus-within {
  border-color: var(--tint);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tint) 20%, transparent);
}

/* Paused: flattened and dimmed — reads as off air */
.server-card.is-paused {
  background: rgba(255, 255, 255, 0.014);
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow: none;
}
.server-card.is-paused::before { background: var(--text-faint); opacity: 0.4; }
.server-card.is-paused::after { display: none; }
.server-card.is-paused:hover { transform: none; border-color: rgba(255, 255, 255, 0.2); }
.server-card.is-paused .server-name { color: var(--text-dim); }

/* Flagged: the loudest state on the page, deliberately */
.server-card.is-flagged {
  border-color: rgba(255, 107, 133, 0.45);
  background: linear-gradient(158deg, rgba(255, 107, 133, 0.1), rgba(255, 107, 133, 0.03));
}
.server-card.is-flagged::before { background: var(--flare); opacity: 1; }
.server-card.is-flagged::after { display: none; }
.server-card.is-flagged:hover { transform: none; border-color: rgba(255, 107, 133, 0.7); }

.server-card-top {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 1.05rem 1.1rem 0.9rem;
}
.server-name-wrap { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.signal-badges { margin-top: auto; }
.server-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}
.status-dot {
  width: 0.46rem;
  height: 0.46rem;
  flex: none;
  border-radius: 50%;
  background: var(--pulse);
  box-shadow: 0 0 9px rgba(182, 243, 107, 0.8);
}
.is-paused .status-dot { background: var(--text-faint); box-shadow: none; }
.is-flagged .status-dot { background: var(--flare); box-shadow: none; }

.server-spec {
  margin: 0.45rem 0 0;
  color: var(--text-dim);
  font-size: 0.79rem;
  line-height: 1.5;
}
.signal-badges { display: flex; flex-wrap: wrap; gap: 0.3rem; padding-top: 0.6rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
}
.badge-best { color: var(--ember); background: rgba(255, 138, 102, 0.13); }
.badge-recommended { color: var(--aurora); background: rgba(167, 139, 250, 0.14); }

.server-action {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  flex: none;
  border: 1px solid var(--edge-strong);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.22s var(--ease), background-color 0.22s var(--ease),
              transform 0.3s var(--ease-out);
}
.server-action:hover {
  color: var(--beam);
  background: rgba(95, 227, 245, 0.12);
  transform: scale(1.08);
}
.server-action svg { transition: transform 0.3s var(--ease-out); }
.server-action[aria-expanded='true'] svg { transform: rotate(90deg); }

.state-copy {
  margin: 0 1.1rem 1.05rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--r-sm);
  font-size: 0.76rem;
  line-height: 1.5;
}
.state-paused { color: var(--text-dim); background: rgba(255, 255, 255, 0.035); }
.state-flagged { color: #ffc4cc; background: rgba(255, 107, 133, 0.12); }
.state-flagged b {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--flare);
  font-size: 0.74rem;
}

/* Expanding details — motion answering the user's click */
.server-details {
  border-top: 1px solid var(--edge);
  padding: 0.9rem 1.1rem 1.1rem;
  animation: detail-open 0.32s var(--ease-out) both;
}
@keyframes detail-open {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}
.detail-item {
  padding: 0.6rem 0.65rem;
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, 0.26);
}
.detail-item small {
  display: block;
  color: var(--text-faint);
  font-size: 0.66rem;
  font-weight: 600;
}
.detail-item b {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.detail-note {
  margin-top: 0.7rem;
  padding: 0.65rem 0.75rem;
  border-left: 2px solid var(--tint);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: color-mix(in srgb, var(--tint) 8%, transparent);
  color: var(--text-dim);
  font-size: 0.76rem;
  line-height: 1.55;
}
.detail-note b { color: var(--beam); }
.device-strip { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.7rem; }
.device-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--edge);
  border-radius: var(--r-sm);
  color: var(--text-dim);
  font-size: 0.7rem;
}
.detail-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
  margin-top: 0.85rem;
}
.inquiry-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  border-radius: var(--r-sm);
  background: var(--pulse);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), filter 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}
.inquiry-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow: 0 10px 22px -12px rgba(182, 243, 107, 0.9);
}
.best-price-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  min-height: 2.75rem;
  padding: 0 0.8rem;
  border: 1px solid rgba(255, 138, 102, 0.38);
  border-radius: var(--r-sm);
  color: var(--ember);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), background-color 0.25s var(--ease);
}
.best-price-link:hover { transform: translateY(-2px); background: rgba(255, 138, 102, 0.13); }

/* Empty state: an invitation to act, not a shrug */
.empty-state {
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  border: 1px dashed var(--edge-strong);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.015);
  text-align: center;
  animation: fade-up 0.4s var(--ease-out) both;
}
.empty-state svg { color: var(--beam); margin-bottom: 0.9rem; }
.empty-state h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.empty-state p {
  max-width: 34ch;
  margin: 0 auto 1.4rem;
  color: var(--text-dim);
  font-size: 0.88rem;
}

/* ============================================================
   Field notes
   ============================================================ */

.knowledge-section {
  max-width: 1060px;
  margin: auto;
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter) 4rem;
  scroll-margin-top: 5.5rem;
}
.knowledge-intro { margin-bottom: 1.8rem; }
.knowledge-intro h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); max-width: 18ch; }
.knowledge-intro p {
  max-width: 58ch;
  margin: 1rem 0 0;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-list { display: grid; gap: 0.6rem; }
.faq-item {
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.028);
  overflow: hidden;
  transition: border-color 0.28s var(--ease), background-color 0.28s var(--ease);
}
.faq-item:hover { border-color: rgba(95, 227, 245, 0.32); }
.faq-item[open] {
  border-color: rgba(95, 227, 245, 0.35);
  background: rgba(95, 227, 245, 0.045);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.9rem;
  padding: 1rem 1.15rem;
  cursor: pointer;
  font-size: 0.97rem;
  font-weight: 600;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg {
  flex: none;
  color: var(--beam);
  transition: transform 0.3s var(--ease-out);
}
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-answer {
  padding: 0 1.15rem 1.15rem;
  max-width: 68ch;
  color: var(--text-dim);
  font-size: 0.89rem;
  line-height: 1.7;
  animation: detail-open 0.3s var(--ease-out) both;
}

.terms-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--edge);
}
.terms-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 600;
}
.terms-strip svg { color: var(--ember); }

/* ============================================================
   Footer
   ============================================================ */

.footer {
  position: relative;
  border-top: 1px solid var(--edge);
  background: rgba(4, 5, 14, 0.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.footer-inner {
  max-width: var(--shell);
  margin: auto;
  padding: clamp(2.5rem, 5vw, 3.6rem) var(--gutter) 2.2rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.footer-brand h2 { font-size: 1.45rem; margin-bottom: 0.9rem; }
.footer-brand p {
  max-width: 44ch;
  margin: 0;
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.75;
}
.footer-col h3 {
  margin-bottom: 1rem;
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
}
.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.55rem 0;
  color: var(--text-dim);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.22s var(--ease), transform 0.22s var(--ease-out);
}
.footer-col a:hover { color: var(--beam); transform: translateX(3px); }
.footer-col svg { flex: none; }

.footer-bottom {
  max-width: var(--shell);
  margin: auto;
  padding: 1.3rem var(--gutter) 2.2rem;
  border-top: 1px solid var(--edge);
  color: var(--text-faint);
  font-size: 0.75rem;
  line-height: 1.7;
  max-inline-size: 100%;
}
.footer-bottom b { color: var(--text-dim); }

/* ============================================================
   Floating support
   ============================================================ */

.floating-contact {
  position: fixed;
  z-index: 55;
  right: 1.1rem;
  bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3.2rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid rgba(182, 243, 107, 0.4);
  border-radius: 99px;
  background: rgba(17, 30, 18, 0.9);
  -webkit-backdrop-filter: var(--glass);
  backdrop-filter: var(--glass);
  box-shadow: 0 14px 34px -16px rgba(0, 0, 0, 0.95);
  color: var(--pulse);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.28s var(--ease-out), background-color 0.25s var(--ease),
              box-shadow 0.28s var(--ease);
}
.floating-contact:hover {
  transform: translateY(-3px);
  background: rgba(27, 47, 28, 0.95);
  box-shadow: 0 18px 40px -16px rgba(182, 243, 107, 0.5);
}
.floating-contact svg { flex: none; }

/* ============================================================
   Scroll reveals — opacity + small translate only
   ============================================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ============================================================
   Off-air screen (404) — same room, signal lost
   ============================================================ */

.offair {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 6rem 1.25rem 4rem;
  position: relative;
}
.offair-panel {
  width: min(560px, 100%);
  text-align: center;
  padding: 2.75rem 2rem 2.25rem;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(22, 28, 61, 0.88), rgba(11, 14, 34, 0.94));
  box-shadow: var(--shadow-lift);
  backdrop-filter: blur(16px);
}
.offair-code {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: clamp(3.4rem, 12vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0;
  background: linear-gradient(118deg, #ff8fa3 0%, #c4a6ff 44%, #7febfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 26px rgba(95, 227, 245, 0.28));
}
.offair-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.9rem 0 0;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 133, 0.35);
  background: rgba(255, 107, 133, 0.1);
  color: var(--flare);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.offair-status .status-dot { background: var(--flare); }
.offair-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.4vw, 1.8rem);
  letter-spacing: -0.02em;
  margin: 1.1rem 0 0.6rem;
  color: var(--text);
}
.offair-copy {
  margin: 0 auto;
  max-width: 40ch;
  color: var(--text-dim);
  font-size: 0.97rem;
  line-height: 1.65;
}
.offair-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 1.7rem;
}
.offair .mascot-stage {
  width: min(210px, 52vw);
  margin: -0.75rem auto -1.75rem;
}
@media (max-width: 520px) {
  .offair { padding: 4.5rem 1rem 3rem; }
  .offair-panel { padding: 2rem 1.25rem 1.9rem; }
  .offair-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   Responsive — real layouts per size, not a shrunk desktop
   ============================================================ */

/* Large desktop / TV: open up the grid, grow the type */
@media (min-width: 1700px) {
  :root { --shell: 1680px; }
  .hero-grid { min-height: 38rem; }
  .server-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 1rem; }
}

@media (min-width: 2200px) {
  :root { --shell: 2000px; font-size: 18px; }
  body { font-size: 17px; }
  /* A TV is viewed from across the room — bigger targets, louder focus */
  .btn, .filter-pill, .search-input { min-height: 3.8rem; font-size: 1rem; }
  :focus-visible { outline-width: 3px; outline-offset: 4px; }
  .server-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); }
}

/* Laptop */
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr); }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* Tablet */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: left;
    min-height: 0;
  }
  .hero h1 { max-width: 16ch; }
  /* Orbit moves above the copy so the headline stays the first thing read */
  .mascot-stage { order: -1; min-height: 19rem; margin-bottom: 0.5rem; }
  .mascot-button { width: min(13.5rem, 62%); }
  .readout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .readout-cell:nth-child(2) { border-right: 0; }
  .readout-cell:nth-child(-n + 2) { border-bottom: 1px solid var(--edge); }
  .assurance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { display: block; }
  .section-head p { margin-top: 0.9rem; max-width: 52ch; }
}

/* Phone / small tablet */
@media (max-width: 760px) {
  .topline-inner { font-size: 0.72rem; }
  .topline-link { display: none; }
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  .brand-word { font-size: 1.05rem; }
  .brand-word span { font-size: 0.58rem; }
  .hero { padding-top: 2rem; }
  .hero h1 { font-size: clamp(1.95rem, 8.4vw, 2.95rem); max-width: 100%; }
  .hide-sm { display: none; }
  .hero-lede { font-size: 0.97rem; }
  .catalog-controls { display: block; }
  .filter-pills { margin-top: 0.6rem; padding-bottom: 0.3rem; }
  .filter-pill { min-height: 2.95rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .readout { grid-template-columns: 1fr 1fr; }
  .assurance { grid-template-columns: 1fr; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .mascot-stage { min-height: 16.5rem; }
  .mascot-button { width: min(12rem, 58%); }
  .detail-links { grid-template-columns: 1fr; }
  .best-price-link { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .floating-contact {
    right: 0.85rem;
    bottom: 0.85rem;
    width: 3.3rem;
    height: 3.3rem;
    padding: 0;
    justify-content: center;
  }
  .floating-contact span { display: none; }
}

/* Short landscape phones: stop the hero eating the viewport */
@media (max-height: 560px) and (orientation: landscape) {
  .mascot-stage { min-height: 15rem; }
  .hero { padding-top: 1.5rem; }
}

/* ============================================================
   Reduced motion — hold the layout, drop the movement
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  /* Anything that animates in must still end up visible */
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero h1 .line > span { transform: none !important; }
  .mote, .blob, .live-dot { display: none; }
  .readout.is-visible .readout-cell::before,
  .readout .readout-cell::before { transform: scaleX(1); }
}

/* Users who prefer fewer transparency effects */
@media (prefers-reduced-transparency: reduce) {
  .topline, .nav-wrap.is-stuck, .mobile-menu, .floating-contact, .mascot-tip {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #0c1026;
  }
}

/* Print: strip the theatre, keep the board readable */
@media print {
  .aurora, .motes, .floating-contact, .mascot-stage, .nav-wrap, .topline { display: none !important; }
  body { background: #fff; color: #111; }
  .server-card { break-inside: avoid; border-color: #ccc; }
}
