/* placehold — multi-brand coming-soon page.
   Each [data-theme] block maps one brand onto the shared tokens below.
   Sources: NetAdvice Brand Kit v4, Flightpack brand tokens v3,
   Lume Simulator Brand Kit, Lume IDMS identity (purple/orange, Rethink Sans). */

:root {
  color-scheme: dark;
  --font-display: "Sora", "Inter", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --font-logo: var(--font-display);
  /* Default logo glow follows the theme accent; brand themes override */
  --logo-glow1: color-mix(in srgb, var(--accent) 45%, transparent);
  --logo-glow2: color-mix(in srgb, var(--accent) 20%, transparent);
  --text: #f4f7f8;
  --muted: rgba(244, 247, 248, 0.64);
  --accent: #01b8e9;
  --accent-grad: linear-gradient(45deg, #a4e659, #4ae6a0, #01b8e9);
  --bg-base: #022b36;
  --bg-layers: none;
  --bg-image: none;
  --chip-bg: rgba(255, 255, 255, 0.08);
  --chip-border: rgba(255, 255, 255, 0.14);
  --halo: rgba(255, 255, 255, 0.06);
}

/* ---------- Themes ---------- */

/* Putrajaya IEMS — deep green, Inter */
[data-theme="iems"] {
  --font-display: "Inter", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --accent: #10b981;
  --accent-grad: linear-gradient(90deg, #059669, #10b981, #6ee7b7);
  --bg-base: #04231a;
  --bg-layers: radial-gradient(1100px 700px at 82% -12%, rgba(16, 185, 129, 0.22), transparent 62%),
    radial-gradient(900px 600px at 8% 108%, rgba(6, 95, 70, 0.5), transparent 60%),
    linear-gradient(160deg, #04231a 0%, #0a3d2c 55%, #0f5138 100%);
  --halo: rgba(110, 231, 183, 0.1);
}

/* Putrajaya IEMS Light — minimal white, Putrajaya green */
[data-theme="iems-light"] {
  color-scheme: light;
  --font-display: "Inter", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --text: #11302a;
  --muted: rgba(17, 48, 42, 0.62);
  --accent: #059669;
  --accent-grad: linear-gradient(90deg, #047857, #10b981);
  --bg-base: #fafcfb;
  --bg-layers: radial-gradient(1000px 650px at 85% -10%, rgba(16, 185, 129, 0.09), transparent 60%),
    radial-gradient(900px 600px at 5% 110%, rgba(5, 150, 105, 0.06), transparent 58%),
    linear-gradient(170deg, #ffffff 0%, #f4faf7 100%);
  --chip-bg: rgba(5, 150, 105, 0.07);
  --chip-border: rgba(5, 150, 105, 0.2);
  --halo: rgba(16, 185, 129, 0.08);
  --ghost: rgba(6, 78, 59, 0.05);
}

/* Net Advice — Brand Guidelines v4: Deep Teal, Sora/Inter, lime→mint→cyan,
   Lime full stop. The glow is the standard background on every page. */
[data-theme="netadvice"] {
  --accent: #01b8e9;
  --accent-grad: linear-gradient(45deg, #a4e659, #4ae6a0, #01b8e9);
  --bg-base: #022b36;
  /* Standard glow (kit teal glow background): cyan top-right, mint
     bottom-left. Part of every Net Advice background variant. */
  --na-glow: radial-gradient(1100px 700px at 80% -10%, rgba(1, 184, 233, 0.16), transparent 60%),
    radial-gradient(900px 600px at 10% 110%, rgba(74, 230, 160, 0.12), transparent 60%);
  /* BG 0 "Glow": the standard glow alone */
  --bg-image: url("../brand/netadvice/bg.svg");
  --bg-layers: var(--na-glow);
  --halo: rgba(74, 230, 160, 0.09);
  --logo-glow1: rgba(1, 184, 233, 0.5);
  --logo-glow2: rgba(74, 230, 160, 0.3);
}

/* BG 1 "Circuit": the kit's circuit background, dimmed, under the glow */
[data-theme="netadvice"][data-bg="1"] {
  --bg-image: url("../brand/netadvice/bg-circuit.svg");
  --bg-layers: var(--na-glow), linear-gradient(rgba(1, 27, 35, 0.3), rgba(1, 27, 35, 0.55));
}

/* BG 2 "Web": connected network dots over the glow on the teal gradient */
[data-theme="netadvice"][data-bg="2"] {
  --bg-image: url("../brand/netadvice/deco.svg");
  --bg-layers: var(--na-glow), linear-gradient(165deg, #011b23 0%, #022b36 55%, #0b3c49 100%);
}

/* BG 4 "Grid wave": cyan wireframe render, dimmed, glow on top */
[data-theme="netadvice"][data-bg="4"] {
  --bg-image: url("../brand/netadvice/bg-wave.jpg");
  --bg-layers: var(--na-glow), linear-gradient(rgba(1, 20, 30, 0.42), rgba(1, 20, 30, 0.6));
}

/* BG 5 "Plexus video": the video carries the scene; glow over the flat base */
[data-theme="netadvice"][data-bg="5"] {
  --bg-image: none;
  --bg-layers: var(--na-glow), linear-gradient(#011b23, #022b36);
}

/* BG 6 "Particle wave": second clip, retinted to the mint/teal family */
[data-theme="netadvice"][data-bg="6"] {
  --bg-image: none;
  --bg-layers: var(--na-glow), linear-gradient(#011b23, #022b36);
}

/* BG 7 "Plexus loop" / BG 8 "Oscilloscope": glow over the flat base.
   The oscilloscope clip is a light CRT graticule; its variant inverts it
   dark in the video filter, so the base only backstops the letterboxing */
[data-theme="netadvice"][data-bg="7"],
[data-theme="netadvice"][data-bg="8"] {
  --bg-image: none;
  --bg-layers: var(--na-glow), linear-gradient(#011b23, #022b36);
}

/* IEMS moving variants: flat deep-green base behind clip and wireframe */
[data-theme="iems"][data-bg="1"],
[data-theme="iems"][data-bg="2"] {
  --bg-layers: linear-gradient(#03190f, #04231a);
}

/* Flightpack — Deep Teal surface, yellow→violet spectrum.
   Fonts per mt-lrv: Rethink Sans body/display, Plus Jakarta Sans wordmark */
[data-theme="flightpack"] {
  --font-display: "Rethink Sans", "Inter", Arial, sans-serif;
  --font-body: "Rethink Sans", "Inter", Arial, sans-serif;
  --font-logo: "Plus Jakarta Sans", "Inter", Arial, sans-serif;
  --accent: #f97316;
  --accent-grad: linear-gradient(135deg, #facc15 0%, #f97316 25%, #ec4899 50%, #7c3aed 75%, #5b21b6 100%);
  --bg-base: #022b36;
  --bg-layers: linear-gradient(
      135deg,
      rgba(250, 204, 21, 0.05) 0%,
      rgba(249, 115, 22, 0.05) 25%,
      rgba(236, 72, 153, 0.05) 50%,
      rgba(124, 58, 237, 0.07) 75%,
      rgba(91, 33, 182, 0.08) 100%
    ),
    radial-gradient(1100px 700px at 85% -10%, rgba(124, 58, 237, 0.2), transparent 60%),
    radial-gradient(900px 650px at 5% 110%, rgba(249, 115, 22, 0.14), transparent 58%),
    linear-gradient(165deg, #011b23 0%, #022b36 60%, #0b1323 100%);
  --halo: rgba(249, 115, 22, 0.09);
  --logo-glow1: rgba(249, 115, 22, 0.45);
  --logo-glow2: rgba(124, 58, 237, 0.3);
}

/* Flightpack BG 2 "Wave video" / BG 3 "Plexus video": flat dark base behind the clip */
[data-theme="flightpack"][data-bg="2"],
[data-theme="flightpack"][data-bg="3"] {
  --bg-layers: linear-gradient(#011b23, #0b1323);
}

/* Lume IDMS — Lume purple, orange accent, Rethink Sans */
[data-theme="lumev2"] {
  --font-display: "Rethink Sans", "Inter", Arial, sans-serif;
  --font-body: "Rethink Sans", "Inter", Arial, sans-serif;
  --accent: #f5793b;
  --accent-grad: linear-gradient(60deg, #ef4136 0%, #f5793b 50%, #fbb040 100%);
  --bg-base: #1c1026;
  --bg-image: url("../brand/lumev2/bg.svg");
  --bg-layers: radial-gradient(1000px 700px at 85% 110%, rgba(245, 121, 59, 0.16), transparent 60%),
    radial-gradient(900px 600px at 10% -10%, rgba(98, 58, 126, 0.45), transparent 62%);
  --halo: rgba(251, 176, 64, 0.08);
  --logo-glow1: rgba(245, 121, 59, 0.45);
  --logo-glow2: rgba(251, 176, 64, 0.25);
}

/* Lume IDMS moving variants: clean purple base, kit vector art removed */
[data-theme="lumev2"][data-bg="1"],
[data-theme="lumev2"][data-bg="2"],
[data-theme="lumev2"][data-bg="3"] {
  --bg-image: none;
  --bg-layers: linear-gradient(#140a1e, #1c1026);
}

/* Lume Portal — deeper purple, royal-purple accent, Rethink Sans */
[data-theme="lume-portal"] {
  --font-display: "Rethink Sans", "Inter", Arial, sans-serif;
  --font-body: "Rethink Sans", "Inter", Arial, sans-serif;
  --accent: #a981d1;
  --accent-grad: linear-gradient(90deg, #8a5cb8, #c9a7ea);
  --bg-base: #140d1d;
  --bg-layers: radial-gradient(1000px 700px at 80% -10%, rgba(138, 92, 184, 0.26), transparent 60%),
    radial-gradient(900px 600px at 12% 112%, rgba(49, 29, 63, 0.6), transparent 62%),
    linear-gradient(150deg, #140d1d 0%, #2a1a38 55%, #3b2750 100%);
  --halo: rgba(201, 167, 234, 0.08);
  --logo-glow1: rgba(169, 129, 209, 0.5);
  --logo-glow2: rgba(201, 167, 234, 0.25);
}

/* Lume Portal moving variants: flat deep-purple base behind clip and wireframe */
[data-theme="lume-portal"][data-bg="1"],
[data-theme="lume-portal"][data-bg="2"],
[data-theme="lume-portal"][data-bg="3"] {
  --bg-layers: linear-gradient(#140d1d, #2a1a38);
}

/* Lume Simulator — purple base, purple→teal gradient, Rethink Sans */
[data-theme="lume-sim"] {
  --font-display: "Rethink Sans", "Inter", Arial, sans-serif;
  --font-body: "Rethink Sans", "Inter", Arial, sans-serif;
  --accent: #50dbba;
  --accent-grad: linear-gradient(90deg, #a981d1, #50dbba);
  --bg-base: #1c1026;
  --bg-image: url("../brand/lume-sim/bg.svg");
  --bg-layers: linear-gradient(135deg, rgba(28, 16, 38, 0.2), rgba(74, 43, 96, 0.2));
  --halo: rgba(80, 219, 186, 0.1);
  --logo-glow1: rgba(80, 219, 186, 0.45);
  --logo-glow2: rgba(98, 58, 126, 0.5);
}

/* Lume Simulator moving variants: clean purple base, kit vector art removed */
[data-theme="lume-sim"][data-bg="1"],
[data-theme="lume-sim"][data-bg="2"],
[data-theme="lume-sim"][data-bg="3"] {
  --bg-image: none;
  --bg-layers: linear-gradient(#170d20, #241330);
}

/* ---------- Concept themes: the moving background carries the scene ---------- */

/* Pulse — realtime telemetry concept, electric cyan→blue on near-black navy */
[data-theme="pulse"] {
  --accent: #22d3ee;
  --accent-grad: linear-gradient(90deg, #22d3ee, #3b82f6);
  --bg-base: #021726;
  --bg-layers: linear-gradient(#010e18, #021726);
  --halo: rgba(34, 211, 238, 0.1);
  --logo-glow1: rgba(34, 211, 238, 0.5);
  --logo-glow2: rgba(59, 130, 246, 0.3);
}

/* GridWave — smart-grid concept, emerald→cyan on near-black green */
[data-theme="gridwave"] {
  --accent: #34d399;
  --accent-grad: linear-gradient(90deg, #34d399, #22d3ee);
  --bg-base: #02140f;
  --bg-layers: linear-gradient(#010d0a, #02140f);
  --halo: rgba(52, 211, 153, 0.1);
  --logo-glow1: rgba(52, 211, 153, 0.5);
  --logo-glow2: rgba(34, 211, 238, 0.3);
}

/* Nexus Hub — connected-operations concept, magenta→violet on deep plum */
[data-theme="nexus"] {
  --accent: #e879f9;
  --accent-grad: linear-gradient(90deg, #e879f9, #8b5cf6);
  --bg-base: #160b24;
  --bg-layers: linear-gradient(#0d0618, #160b24);
  --halo: rgba(232, 121, 249, 0.1);
  --logo-glow1: rgba(232, 121, 249, 0.45);
  --logo-glow2: rgba(139, 92, 246, 0.3);
}

/* Cartly — mobile-commerce concept, amber→rose on deep maroon */
[data-theme="cartly"] {
  --accent: #fb7185;
  --accent-grad: linear-gradient(90deg, #fbbf24, #fb7185);
  --bg-base: #1f0a12;
  --bg-layers: linear-gradient(#140508, #1f0a12);
  --halo: rgba(251, 113, 133, 0.1);
  --logo-glow1: rgba(251, 113, 133, 0.45);
  --logo-glow2: rgba(251, 191, 36, 0.3);
}

/* VerseLab — immersive-spaces concept, sky→indigo on deep indigo night */
[data-theme="verselab"] {
  --accent: #818cf8;
  --accent-grad: linear-gradient(90deg, #38bdf8, #818cf8);
  --bg-base: #0b0a2a;
  --bg-layers: linear-gradient(#060519, #0b0a2a);
  --halo: rgba(129, 140, 248, 0.12);
  --logo-glow1: rgba(129, 140, 248, 0.5);
  --logo-glow2: rgba(56, 189, 248, 0.3);
}

/* Forge — developer-platform concept, molten red→amber on deep ember */
[data-theme="forge"] {
  --accent: #f59e0b;
  --accent-grad: linear-gradient(90deg, #ef4444, #f59e0b);
  --bg-base: #1a0d02;
  --bg-layers: linear-gradient(#100701, #1a0d02);
  --halo: rgba(245, 158, 11, 0.1);
  --logo-glow1: rgba(245, 158, 11, 0.45);
  --logo-glow2: rgba(239, 68, 68, 0.3);
}

/* ---------- Page ---------- */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  /* Decorative layers (banner plates, floating fragments) may poke past
     the viewport on phones; never let them cause horizontal scrolling */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg-base);
  background-image: var(--bg-layers), var(--bg-image);
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 0 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.4s ease;
}

.accent-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-grad);
  background-size: 220% 100%;
  z-index: 10;
  animation: bar-shimmer 14s ease-in-out infinite alternate;
}

@keyframes bar-shimmer {
  from {
    background-position: 0% 0;
  }
  to {
    background-position: 100% 0;
  }
}

.stage {
  width: 100%;
  max-width: 680px;
  margin: auto;
  padding: 48px 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand__logo {
  height: 72px;
  max-width: min(420px, 82vw);
  object-fit: contain;
  transition: opacity 0.3s ease;
  animation: logo-breathe 6s ease-in-out infinite alternate;
}

/* Breathing brand glow: the page's only foreground motion */
@keyframes logo-breathe {
  from {
    filter: drop-shadow(0 0 10px var(--logo-glow1)) drop-shadow(0 0 26px var(--logo-glow2));
  }
  to {
    filter: drop-shadow(0 0 22px var(--logo-glow1)) drop-shadow(0 0 52px var(--logo-glow2));
  }
}

@keyframes name-breathe {
  from {
    text-shadow: 0 0 14px var(--logo-glow1), 0 2px 34px var(--logo-glow2);
  }
  to {
    text-shadow: 0 0 26px var(--logo-glow1), 0 2px 58px var(--logo-glow2);
  }
}

.art {
  margin: 36px 0 8px;
  position: relative;
  max-width: 100%;
  padding: 30px 40px;
  border-radius: 44% 56% 52% 48% / 50% 46% 54% 50%;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 15%, transparent);
}

.art::before {
  content: "";
  position: absolute;
  inset: -12% -16%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--halo), transparent 75%);
  z-index: 0;
}

/* Motion policy: illustrations stay still; movement lives in the
   background layers and the logo glow only */
.art__img {
  position: relative;
  z-index: 1;
  width: min(380px, 78vw);
  height: auto;
}

/* Hand-drawn sketches are light-ink versions sitting directly on the
   subtle theme-tinted curve, like the flat illustrations */
.art--sketch {
  border-radius: 38% 62% 54% 46% / 52% 44% 56% 48%;
  padding: 34px 44px;
}

.art--sketch .art__img {
  width: min(310px, 66vw);
}
/* Isometric PNG elements keep a light tinted plate: their ink is baked dark */
.art--iso {
  background: color-mix(in srgb, var(--accent) 9%, rgba(255, 255, 255, 0.95));
  border-radius: 38% 62% 54% 46% / 52% 44% 56% 48%;
  border: none;
  padding: 34px 44px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
}

/* Isometric artwork: transparent elements on a soft rounded tint */
.art--banner {
  border-radius: 30px;
  padding: 26px 34px;
}

.art--banner .art__img {
  display: block;
  width: min(560px, 86vw);
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.45));
}

/* Net Advice banner plate: big soft blob — uneven like the sketch/404
   plates, rather than a perfect ellipse or the rounded rectangle the
   other brands keep */
[data-theme="netadvice"] .art--banner {
  border-radius: 43% 57% 51% 49% / 56% 45% 55% 44%;
  padding: 24px 64px;
}

[data-theme="netadvice"] .art--banner .art__img {
  width: min(520px, 84vw);
}

/* The 404 banner art is near-square, so the wide default would blow the
   ellipse up taller than the viewport allows; keep it compact there */
[data-theme="netadvice"][data-mode="not-found"] .art--banner .art__img {
  width: min(380px, 76vw);
}
.art--iso .art__img {
  width: min(280px, 64vw);
}

.art--iso::before {
  display: none;
}

/* Moving video background: cover crops instead of stretching; if the clip
   cannot play it is hidden and the vector background shows instead */
.fx-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
  display: none;
}

/* Abstract vector effect layer: neon particle art blended over the theme
   background (screen blend turns its black ground transparent), retinted
   per theme via filter and kept slowly drifting */
.fx {
  position: fixed;
  inset: -12%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
  display: none;
  /* fade the art away behind the copy and footer zone */
  -webkit-mask-image: radial-gradient(115% 85% at 50% 72%, transparent 32%, #000 64%);
  mask-image: radial-gradient(115% 85% at 50% 72%, transparent 32%, #000 64%);
  animation: fx-drift 75s ease-in-out infinite alternate;
}

@keyframes fx-drift {
  0% {
    transform: translate(-2.5%, -1.5%) scale(1);
  }
  50% {
    transform: translate(1.5%, 1%) scale(1.06);
  }
  100% {
    transform: translate(3%, -2%) scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fx {
    animation: none;
  }
}

/* Giant ghost code behind the page (404 / 503) */
.ghost {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: min(44vw, 34rem);
  line-height: 1;
  color: var(--ghost, rgba(255, 255, 255, 0.025));
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.stage {
  position: relative;
  z-index: 1;
}

/* Maintenance steps strip */
.steps {
  display: none;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin-top: 52px;
  width: 100%;
}

[data-mode="maintenance"] .steps {
  display: flex;
}

[data-mode="maintenance"] .art {
  display: none;
}

/* Net Advice coming soon: small blockchain fragments floating around the
   hero plate's rim, anchored to the card so they track it at any size */
[data-theme="netadvice"][data-mode="coming-soon"] .art--banner::after {
  content: "";
  position: absolute;
  inset: -54% -50%;
  pointer-events: none;
  z-index: 2;
  background: url("../brand/netadvice/cs-float.svg?v=3") center / contain no-repeat;
}

/* Net Advice 404: its own fragment ring (motifs from the other scenes) */
[data-theme="netadvice"][data-mode="not-found"] .art--banner::after {
  content: "";
  position: absolute;
  inset: -52% -55%;
  pointer-events: none;
  z-index: 2;
  background: url("../brand/netadvice/404-float.svg?v=1") center / contain no-repeat;
}

/* Net Advice maintenance: a subtle centre glow behind the headline */
[data-theme="netadvice"][data-mode="maintenance"] .stage::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(640px 430px at 50% 34%, rgba(1, 184, 233, 0.13), transparent 70%),
    radial-gradient(420px 300px at 50% 30%, rgba(74, 230, 160, 0.09), transparent 70%);
}

/* Scatter art: the illustration itself fills the page at full strength
   (scenes scattered around the edges, varied sizes); the copy sits in a
   clear centre pocket carried by a glow. Replaces the framed figure. */
.art--scatter {
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  pointer-events: none;
  z-index: -1;
}

/* Centre glow: a soft cyan halo with a dark-teal pocket under the copy */
.art--scatter::before {
  inset: 0;
  border-radius: 0;
  background:
    radial-gradient(560px 380px at 50% 40%, rgba(1, 184, 233, 0.16), transparent 70%),
    radial-gradient(860px 620px at 50% 44%, rgba(1, 27, 35, 0.85), rgba(1, 27, 35, 0.3) 55%, transparent 78%);
  z-index: 1;
}

.art--scatter .art__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

[data-mode="maintenance"] .art--scatter {
  display: block;
}

.steps__item {
  flex: 1 1 0;
  max-width: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.steps__art {
  width: 100%;
  max-width: 130px;
  aspect-ratio: 1;
  object-fit: contain;
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent);
  border-radius: 18px;
  padding: 12px;
}

.steps__num {
  margin-top: -14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.4);
}

.steps__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 8px 0 4px;
}

.steps__text {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

/* The connector dots march toward the next step and the hub dot breathes:
   the one exception to the still-illustrations policy, since the strip
   depicts work in progress */
.steps__link {
  flex: 0 1 56px;
  height: 3px;
  margin-top: 64px;
  background-image: repeating-linear-gradient(
    90deg,
    color-mix(in srgb, var(--accent) 55%, transparent) 0 3px,
    transparent 3px 9px
  );
  position: relative;
  animation: steps-flow 1.1s linear infinite;
}

.steps__link::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  animation: steps-pulse 1.8s ease-in-out infinite;
}

@keyframes steps-flow {
  to {
    background-position-x: 9px;
  }
}

@keyframes steps-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .steps__link,
  .steps__link::after {
    animation: none;
  }
}

@media (max-width: 640px) {
  .steps {
    flex-wrap: wrap;
    gap: 20px;
  }

  .steps__link {
    display: none;
  }

  .steps__item {
    flex: 1 1 40%;
  }

  /* Plates shrink with the screen instead of spilling past it: tighter
     padding, and image widths that leave room for that padding */
  .art {
    padding: 22px 26px;
  }

  .art--banner {
    padding: 18px 22px;
  }

  .art--banner .art__img {
    width: min(560px, 80vw);
  }

  [data-theme="netadvice"] .art--banner {
    padding: 16px 28px;
  }

  [data-theme="netadvice"] .art--banner .art__img {
    width: min(520px, 74vw);
  }

  [data-theme="netadvice"][data-mode="not-found"] .art--banner .art__img {
    width: min(380px, 64vw);
  }

  /* Switcher: full-width pill above the bottom edge so every control
     stays reachable; the micro-labels go so it fits in one row, and the
     page reserves footer space for it only when it is shown */
  .switcher {
    left: 16px;
    right: 16px;
    bottom: 12px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 8px 12px;
    border-radius: 18px;
  }

  .switcher__label {
    display: none;
  }

  :root[data-switcher="on"] .stage {
    padding-bottom: 96px;
  }
}

.copy {
  margin-top: 8px;
}

.copy__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  backdrop-filter: blur(4px);
}

.copy__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.copy__code {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: 18px;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.copy__btn {
  display: inline-block;
  margin-top: 26px;
  padding: 13px 34px;
  border-radius: 10px;
  background: var(--accent-grad);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 28px -10px var(--accent);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.copy__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px var(--accent);
}

.copy__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 20px 0 6px;
}

.copy__descriptor {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.6vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.copy__message {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 44ch;
  margin: 0 auto;
}

.foot {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.foot__powered {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Lume products: Powered by Flightpack, a product of Net Advice */
.foot__powered--flightpack {
  flex-direction: column;
  gap: 9px;
}

.foot__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.foot__fp-logo {
  height: 22px;
  width: auto;
}

.foot__powered-label {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Webfont logo lockup: symbol + product name in the identity's logo font,
   with the brand glow carried by the logo rather than the illustration */
.brand__lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.brand__symbol {
  width: auto;
  filter: drop-shadow(0 0 16px var(--logo-glow1)) drop-shadow(0 0 42px var(--logo-glow2));
  animation: logo-breathe 6s ease-in-out infinite alternate;
}

.brand__name {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 2.3rem;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 0 22px var(--logo-glow1), 0 2px 46px var(--logo-glow2);
  animation: name-breathe 6s ease-in-out infinite alternate;
}

/* Lime full stop, per Brand Guidelines v4: always Lime in colour versions */
.brand__name .dot {
  color: #a4e659;
}

/* Outlined wordmark image (identities whose wordmark is never retyped):
   sized to sit like the live-text name, same glow as the symbol */
.brand__wordmark {
  height: clamp(48px, 5.4vw, 76px);
  width: auto;
  max-width: 62vw;
  object-fit: contain;
  filter: drop-shadow(0 0 14px var(--logo-glow1)) drop-shadow(0 0 36px var(--logo-glow2));
  animation: logo-breathe 6s ease-in-out infinite alternate;
}

/* flightpack wordmark per mt-lrv $fp-font-logo: Plus Jakarta Sans 800, -0.045em */
[data-theme="flightpack"] .brand__name {
  font-weight: 800;
  letter-spacing: -0.045em;
}

/* Lume wordmark text fallback, per the repos' .fp-wordmark/.logo-font:
   Rethink Sans 800, tracking -0.02em, line-height 1, never gradient-filled */
[data-theme="lumev2"] .brand__name,
[data-theme="lume-portal"] .brand__name,
[data-theme="lume-sim"] .brand__name {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  font-size: 2.1rem;
}

/* Net Advice footer wordmark fallback: always the Net Advice identity
   (Sora, white on dark, Lime full stop) whatever the page theme */
.foot__wordmark {
  font-family: "Sora", "Inter", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.foot__wordmark .dot {
  color: #a4e659;
}

/* Footer wordmark as the official outlined artwork (sized like the text) */
.foot__wordmark-img {
  height: 34px;
  width: auto;
  display: block;
  margin: 0 auto;
}


.foot__powered-logo {
  height: 22px;
  width: auto;
}

.foot__endorsement {
  height: 30px;
  width: auto;
  opacity: 0.92;
}

.foot__meta {
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.75;
  margin: 0;
}

/* ---------- Theme switcher ---------- */

.switcher {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10, 12, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  z-index: 20;
}

.switcher__group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.switcher__group + .switcher__group {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 10px;
}

.switcher__shuffle {
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
}

.switcher__shuffle:hover {
  background: rgba(255, 255, 255, 0.22);
}

.switcher__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
}

.switcher__select {
  appearance: none;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding-right: 14px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23ffffff' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
}

.switcher__select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.switcher__select option {
  color: #111;
  background: #fff;
}

@media (max-width: 480px) {
  .stage {
    padding-top: 36px;
  }

  .brand__logo {
    height: 56px !important;
  }

  .brand__lockup {
    gap: 10px;
  }

  .brand__symbol {
    height: 44px !important;
  }

  .brand__wordmark {
    height: 56px;
  }

  .foot {
    margin-top: 40px;
  }
}

/* One switch stills the whole page: shimmer, glow breathing, effect
   drift and the chip pulse (videos are already skipped separately) */
@media (prefers-reduced-motion: reduce) {
  .accent-bar,
  .brand__logo,
  .brand__symbol,
  .brand__wordmark,
  .brand__name,
  .copy__dot,
  .fx {
    animation: none;
  }
}
