/* EduMonitors marketing — modern product site */
:root,
[data-theme="light"] {
  /* Product-aligned light theme */
  --bg: #f5f8fc;
  --bg-elev: #ffffff;
  --bg-tint: #eaf0fa;
  --ink: #0f172a;
  --muted: #5b6b82;
  --line: #d7e0ee;
  --brand: #2563eb;
  --brand-deep: #1d4ed8;
  --accent: #0f766e;
  --ok: #059669;
  --warm: #c2410c;
  --surface: #ffffff;
  --nav-glass: rgba(255, 255, 255, 0.82);
  --nav-border: rgba(15, 23, 42, 0.08);
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 28px 60px rgba(15, 23, 42, 0.12);
  --btn-primary-fg: #ffffff;
  --btn-primary-bg: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --btn-primary-shadow: 0 12px 28px rgba(37, 99, 235, 0.32);
  --btn-ghost-fg: #0f172a;
  --btn-ghost-bg: rgba(255, 255, 255, 0.85);
  --btn-light-fg: #0f172a;
  --btn-light-bg: #ffffff;
  --kicker: #0f766e;
  --input-bg: #ffffff;
  --input-fg: #0f172a;
  --drawer-bg: rgba(255, 255, 255, 0.98);
  --drawer-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  --strip-bg: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #0f766e 120%);
  --strip-fg: #f8fafc;
  --strip-accent: #99f6e4;
  --cta-bg: linear-gradient(145deg, #1e3a8a 0%, #2563eb 55%, #0f766e 130%);
  --cta-fg: #f8fafc;
  --foot-bg: #0f172a;
  --foot-fg: rgba(248, 250, 252, 0.72);
  --float-bg: #ffffff;
  --path-a: #dbeafe;
  --path-b: #ccfbf1;
  --path-c: #ffedd5;
  --live: #059669;
  --ring-dashed: rgba(37, 99, 235, 0.32);
  --ring-solid: rgba(37, 99, 235, 0.14);
  --sat-fg: #0f172a;
  --sat-bg: rgba(255, 255, 255, 0.95);
  --note-bg: #ffffff;
  --note-muted: #5b6b82;
  --chrome: #0b1220;
  --font: "Sora", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --max: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 20px;
  color-scheme: light;
}

[data-theme="dark"] {
  /* Match product login dark: indigo → violet atmosphere */
  --bg: #070a18;
  --bg-elev: #131d33;
  --bg-tint: #18233d;
  --ink: #ffffff;
  --muted: #94a3b8;
  --line: rgba(255, 255, 255, 0.14);
  --brand: #a78bfa;
  --brand-deep: #c4b5fd;
  --accent: #fde68a;
  --ok: #34d399;
  --warm: #fbbf24;
  --surface: rgba(255, 255, 255, 0.06);
  --nav-glass: rgba(15, 23, 42, 0.72);
  --nav-border: rgba(255, 255, 255, 0.16);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 28px 60px rgba(0, 0, 0, 0.55);
  --btn-primary-fg: #ffffff;
  --btn-primary-bg: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  --btn-primary-shadow: 0 12px 28px rgba(124, 58, 237, 0.4);
  --btn-ghost-fg: #ffffff;
  --btn-ghost-bg: rgba(255, 255, 255, 0.1);
  --btn-light-fg: #0f172a;
  --btn-light-bg: #ffffff;
  --kicker: #c4b5fd;
  --input-bg: #131d33;
  --input-fg: #f1f5f9;
  --drawer-bg: rgba(15, 23, 42, 0.96);
  --drawer-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --strip-bg: linear-gradient(140deg, #14123a 0%, #2a1660 55%, #3b0f4f 100%);
  --strip-fg: #f8fafc;
  --strip-accent: #fde68a;
  --cta-bg: linear-gradient(145deg, #14123a 0%, #5b21b6 55%, #7c3aed 120%);
  --cta-fg: #f8fafc;
  --foot-bg: #060816;
  --foot-fg: rgba(241, 245, 249, 0.7);
  --float-bg: #131d33;
  --path-a: rgba(167, 139, 250, 0.18);
  --path-b: rgba(236, 72, 153, 0.14);
  --path-c: rgba(251, 191, 36, 0.14);
  --live: #34d399;
  --ring-dashed: rgba(167, 139, 250, 0.4);
  --ring-solid: rgba(167, 139, 250, 0.18);
  --sat-fg: #f1f5f9;
  --sat-bg: rgba(19, 29, 51, 0.92);
  --note-bg: #131d33;
  --note-muted: #94a3b8;
  --chrome: #070a18;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  position: relative;
}
[data-theme="dark"] body {
  background: linear-gradient(140deg, #070a18 0%, #14123a 40%, #2a1660 75%, #3b0f4f 100%);
  background-attachment: fixed;
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 50% at 12% -10%, rgba(37, 99, 235, 0.16), transparent 55%),
    radial-gradient(ellipse 55% 40% at 90% 8%, rgba(15, 118, 110, 0.12), transparent 50%),
    radial-gradient(ellipse 40% 30% at 70% 70%, rgba(37, 99, 235, 0.06), transparent 60%);
}
[data-theme="dark"] .page-glow {
  background:
    radial-gradient(ellipse 55% 45% at 8% 0%, rgba(59, 130, 246, 0.45), transparent 58%),
    radial-gradient(ellipse 50% 42% at 95% 85%, rgba(236, 72, 153, 0.32), transparent 55%),
    radial-gradient(ellipse 40% 35% at 45% 40%, rgba(139, 92, 246, 0.28), transparent 60%);
}
.page-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.35;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 20%, transparent 75%);
}
[data-theme="dark"] .page-grid {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 25% 20%, #000 0%, transparent 75%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s, border-color 0.2s;
}
.btn:active {
  transform: scale(0.98);
}
.btn.sm {
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  font-size: 0.84rem;
}
.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  box-shadow: var(--btn-primary-shadow);
}
.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.38);
}
[data-theme="dark"] .btn-primary:hover {
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.45);
}
[data-theme="dark"] .theme-toggle {
  border-radius: 999px;
  width: auto;
  min-width: 38px;
  padding: 0 0.85rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
}
[data-theme="dark"] .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: none;
}
[data-theme="dark"] .btn-ghost {
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-ghost {
  background: var(--btn-ghost-bg);
  color: var(--btn-ghost-fg);
  border-color: var(--line);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  color: var(--brand-deep);
}
.btn-light {
  background: var(--btn-light-bg);
  color: var(--btn-light-fg);
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Floating glass nav */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.85rem 1rem 0.35rem;
  background: transparent;
}
.top-shell {
  width: min(100%, calc(var(--max) + 1rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem 0.55rem 0.85rem;
  border-radius: 999px;
  background: var(--nav-glass);
  border: 1px solid var(--nav-border);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px) saturate(1.35);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s, background 0.25s;
}
.top.is-solid .top-shell {
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1);
  border-color: color-mix(in srgb, var(--brand) 18%, var(--nav-border));
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.brand em {
  font-style: normal;
  background: linear-gradient(120deg, var(--brand), var(--brand-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}
.nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
  margin-left: 0.35rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-tint) 70%, transparent);
}
.nav a {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.01em;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover {
  color: var(--ink);
  background: var(--bg-elev);
}
.top-actions {
  display: none;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--btn-ghost-bg);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.theme-toggle:hover {
  border-color: var(--brand);
  transform: rotate(-12deg);
}
.theme-toggle svg {
  width: 16px;
  height: 16px;
}
[data-theme="light"] .icon-sun,
[data-theme="dark"] .icon-moon {
  display: none;
}
.mobile-theme {
  margin-left: auto;
}
.menu-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--btn-ghost-bg);
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s;
}
.drawer {
  position: fixed;
  inset: 5.5rem 1rem auto;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem;
  background: var(--drawer-bg);
  border: 1px solid var(--nav-border);
  border-radius: 22px;
  box-shadow: var(--drawer-shadow);
  backdrop-filter: blur(18px);
}
.drawer[hidden] {
  display: none !important;
}
.drawer a {
  padding: 0.85rem 0.85rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
}
.drawer a:hover {
  background: var(--bg-tint);
}
.drawer .btn {
  margin-top: 0.5rem;
}
.theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

@media (min-width: 960px) {
  .nav,
  .top-actions {
    display: flex;
  }
  .menu-btn,
  .mobile-theme {
    display: none;
  }
  .drawer {
    display: none !important;
  }
  .top-shell {
    padding: 0.45rem 0.5rem 0.45rem 0.85rem;
  }
}

/* Typography helpers */
.eyebrow,
.kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kicker);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  margin-bottom: 1rem;
}
.kicker.light {
  color: var(--strip-accent);
}
.head {
  margin-bottom: 2.25rem;
  max-width: 40rem;
}
.head.center {
  text-align: center;
  margin-inline: auto;
}
.head h2,
.mission-copy h2,
.contact-copy h2,
.trust-split h2,
.cta-inner h2,
.role-copy h3,
.mod-text h3,
.path-card h3,
.vision-grid h3,
.steps h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}
.head h2,
.mission-copy h2,
.contact-copy h2,
.trust-split h2,
.cta-inner h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
}
.head h2 em,
.mod-text h3,
.hero h1 em {
  font-style: italic;
  font-weight: 600;
}
.sub {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 36rem;
}
.head.center .sub {
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}
@media (min-width: 768px) {
  .section {
    padding: 5.5rem 0;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Hero */
.hero {
  padding: 1.75rem 0 3.25rem;
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% 35% auto -15%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.14), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  position: relative;
}
.hero-copy {
  max-width: 34rem;
}
.hero h1 {
  margin: 0 0 1.1rem;
  font-family: var(--display);
  font-size: clamp(2.35rem, 6.5vw, 3.85rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--ink);
}
.hero h1 .brand-line {
  display: block;
  font-size: 0.42em;
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.55rem;
  color: var(--ink);
}
.hero h1 .brand-line em {
  font-style: normal;
  color: var(--brand);
}
.hero h1 em {
  color: var(--brand);
  font-style: italic;
}
.hero-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 32rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
}
.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-proof li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-visual {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 560px;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .hero {
    padding: 1.5rem 0 3.5rem;
    min-height: calc(100svh - 72px);
    display: flex;
    align-items: center;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.15fr);
    gap: 2rem 2.75rem;
    align-items: center;
  }
  .hero h1 {
    font-size: clamp(2.3rem, 4vw, 3.2rem);
  }
  .hero-lead {
    font-size: 1.02rem;
    margin-bottom: 1.25rem;
  }
  .hero-visual {
    margin-inline: 0 0 0 auto;
    max-width: none;
  }
}

/* Strip */
.strip {
  background: var(--strip-bg);
  color: var(--strip-fg);
  padding: 1.05rem 0;
  position: relative;
  overflow: hidden;
}
.strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.18), transparent);
  pointer-events: none;
}
.strip-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.strip-row i {
  color: var(--strip-accent);
  font-style: normal;
  margin-right: 0.35rem;
}

/* Pathways */
.pathways {
  display: grid;
  gap: 1rem;
}
.path-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.55rem 1.4rem;
  background: color-mix(in srgb, var(--bg-elev) 88%, transparent);
  border: 1px solid var(--line);
  border-radius: 24px;
  backdrop-filter: blur(10px);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s;
  min-height: 100%;
  position: relative;
  overflow: hidden;
}
.path-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% 40%;
  height: 70%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%);
  pointer-events: none;
}
.path-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
}
.path-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 0.25rem;
}
.pi-a {
  background: var(--path-a);
  color: var(--brand-deep);
}
.pi-b {
  background: var(--path-b);
  color: var(--accent);
}
.pi-c {
  background: var(--path-c);
  color: var(--warm);
}
.path-card h3 {
  font-size: 1.45rem;
}
.path-card p {
  margin: 0;
  color: var(--muted);
  flex: 1;
  font-size: 0.98rem;
}
.path-link {
  margin-top: 0.5rem;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--brand);
}
@media (min-width: 768px) {
  .pathways {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

/* Mission */
.mission {
  background: color-mix(in srgb, var(--bg-tint) 80%, transparent);
  border-block: 1px solid var(--line);
}
.mission-grid {
  display: grid;
  gap: 2rem;
}
.mission-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.mission-points li {
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}
.mission-points strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}
.mission-points span {
  color: var(--muted);
  font-size: 0.98rem;
}
@media (min-width: 860px) {
  .mission-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
  }
}

/* Vision */
.vision-grid {
  display: grid;
  gap: 1rem;
}
.vision-grid article {
  padding: 1.5rem 1.35rem;
  border-top: 2px solid var(--ink);
}
.v-n {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--kicker);
  margin-bottom: 0.85rem;
}
.vision-grid h3 {
  font-size: 1.65rem;
}
.vision-grid p {
  margin: 0;
  color: var(--muted);
}
@media (min-width: 768px) {
  .vision-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* Product modules */
.modules {
  display: grid;
  gap: 4rem;
}
.mod {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
.mod-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.7rem;
  width: fit-content;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-deep);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
}
.mod-text h3 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}
.mod-text p {
  margin: 0 0 1rem;
  color: var(--muted);
}
.mod-text ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}
.mod-text li {
  position: relative;
  padding-left: 1.15rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.mod-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.shot {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--chrome);
  box-shadow:
    0 0 0 1px color-mix(in srgb, #fff 8%, transparent),
    var(--shadow-lg);
  position: relative;
  transform: perspective(1200px) rotateY(-1.2deg) rotateX(0.8deg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.mod.reverse .shot {
  transform: perspective(1200px) rotateY(1.2deg) rotateX(0.8deg);
}
.shot:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translateY(-4px);
}
.shot::before {
  content: "";
  display: block;
  height: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background-image:
    radial-gradient(circle at 14px 17px, #ff5f57 5px, transparent 6px),
    radial-gradient(circle at 34px 17px, #febc2e 5px, transparent 6px),
    radial-gradient(circle at 54px 17px, #28c840 5px, transparent 6px),
    linear-gradient(180deg, #1a2336, #111827);
}
.shot figcaption {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(248, 250, 252, 0.72);
  background: #0b1220;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #34d399;
  font-style: normal;
  font-size: 0.75rem;
}
.live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
  animation: live-pulse 1.8s ease-in-out infinite;
}
@keyframes live-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.08);
  }
}
@media (max-width: 899px) {
  .shot,
  .mod.reverse .shot,
  .shot:hover {
    transform: none;
  }
}
@media (min-width: 900px) {
  .mod {
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
  }
  .mod.reverse {
    grid-template-columns: 1.1fr 1fr;
  }
  .mod.reverse .mod-text {
    order: 2;
  }
}

/* Stats */
.stats {
  padding: 2.5rem 0;
  border-block: 1px solid var(--line);
  background: var(--bg-elev);
}
.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.stats-row article {
  text-align: center;
}
.stats-row strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--brand);
  margin-bottom: 0.25rem;
}
.stats-row span {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}
@media (min-width: 768px) {
  .stats-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: none;
}
.steps li {
  padding: 1.5rem 1.35rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.step-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--kicker);
  margin-bottom: 0.65rem;
}
.steps h3 {
  font-size: 1.35rem;
}
.steps p {
  margin: 0;
  color: var(--muted);
}
@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

/* Who */
.role-stack {
  display: grid;
  gap: 2.5rem;
}
.role-row {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  scroll-margin-top: 5.5rem;
}
.role-media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--bg-tint);
}
.role-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.role-copy h3 {
  font-size: 1.65rem;
}
.role-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
}
.who-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.who-points li {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 700;
}
@media (min-width: 860px) {
  .role-row {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .role-row.reverse .role-media {
    order: 2;
  }
}

/* Trust */
.trust {
  background: var(--bg-tint);
}
.trust-split {
  display: grid;
  gap: 2rem;
}
.trust-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.trust-list li {
  position: relative;
  padding-left: 1.2rem;
  font-weight: 600;
}
.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.trust-aside {
  padding: 1.75rem 1.5rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 20px;
  align-self: center;
}
.quote {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.quote-meta {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}
@media (min-width: 860px) {
  .trust-split {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
  }
}

/* CTA band */
.cta-band {
  background: var(--cta-bg);
  color: var(--cta-fg);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  right: -80px;
  top: -120px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.28), transparent 70%);
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  left: -60px;
  bottom: -100px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.18), transparent 70%);
  pointer-events: none;
}
.cta-inner {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
.cta-inner h2 {
  color: #fff;
}
.cta-inner p {
  margin: 0 0 1.5rem;
  opacity: 0.78;
  font-size: 1.05rem;
}

/* Contact */
.contact {
  position: relative;
  overflow: visible;
}
.contact::before {
  content: "";
  position: absolute;
  inset: auto -20% -30% 40%;
  height: 70%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--brand) 12%, transparent), transparent 70%);
  pointer-events: none;
}
.contact-grid {
  position: relative;
  display: grid;
  gap: 2rem;
}
.contact-copy .sub {
  max-width: 28rem;
}
.contact-points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.contact-points li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.85rem;
  align-items: start;
}
.contact-points i {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--brand) 18%, transparent), color-mix(in srgb, var(--accent) 14%, transparent));
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  position: relative;
}
.contact-points i::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.contact-points strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.contact-points span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}
.contact-mail {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.6rem;
  padding: 0.9rem 1rem;
  max-width: 22rem;
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg-elev) 88%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.contact-mail:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
  transform: translateY(-1px);
}
.contact-mail-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, #2563eb, #0f766e);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}
.contact-mail small {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.contact-mail b {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.98rem;
  color: var(--brand);
  letter-spacing: -0.01em;
  word-break: break-word;
}
.phone-line {
  margin: 0.75rem 0 0;
  font-weight: 600;
}
.contact-form {
  display: grid;
  gap: 0.95rem;
  padding: 1.35rem;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg-elev) 96%, transparent), color-mix(in srgb, var(--bg-elev) 90%, transparent));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
  overflow: visible;
}
.form-head {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.15rem;
}
.form-head strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.form-head span {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}
.contact-form label {
  display: grid;
  gap: 0.4rem;
}
.contact-form label > span {
  font-size: 0.8rem;
  font-weight: 750;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--input-bg);
  color: var(--input-fg);
  font-size: 16px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-sizing: border-box;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 75%, transparent);
}
.contact-form textarea {
  min-height: 128px;
  resize: vertical;
  line-height: 1.45;
}
.field-role {
  display: grid;
  gap: 0.4rem;
}
.field-label {
  font-size: 0.8rem;
  font-weight: 750;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.nice-select {
  position: relative;
  z-index: 2;
}
.nice-select.is-open {
  z-index: 8;
}
.nice-select-trigger {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg-tint) 55%, var(--input-bg)), var(--input-bg));
  color: var(--input-fg);
  font: inherit;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-sizing: border-box;
}
.nice-select-trigger:hover {
  border-color: color-mix(in srgb, var(--brand) 28%, var(--line));
}
.nice-select.is-open .nice-select-trigger,
.nice-select-trigger:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent);
}
.nice-select-value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}
.nice-select-value.is-placeholder {
  color: color-mix(in srgb, var(--muted) 90%, var(--input-fg));
  font-weight: 550;
}
.nice-select-chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s var(--ease);
  flex-shrink: 0;
}
.nice-select.is-open .nice-select-chevron {
  transform: rotate(225deg) translateY(-1px);
}
.nice-select-menu {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0.4rem;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 2px);
  border-radius: 16px;
  background: var(--bg-elev);
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.14),
    0 4px 12px rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 0.2rem;
  max-height: min(280px, 55vh);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  animation: nice-select-in 0.18s var(--ease) both;
}
[data-theme="dark"] .nice-select-menu {
  background: #121a2b;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.45),
    0 4px 12px rgba(0, 0, 0, 0.25);
}
.nice-select-menu[hidden] {
  display: none;
}
.nice-select-menu li {
  display: grid;
  gap: 0.1rem;
  padding: 0.72rem 0.85rem;
  border-radius: 12px;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.nice-select-menu li em {
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.nice-select-menu li small {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.nice-select-menu li:hover,
.nice-select-menu li:focus-visible,
.nice-select-menu li.is-active {
  outline: none;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
}
.nice-select-menu li[aria-selected="true"] {
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 16%, transparent), color-mix(in srgb, var(--accent) 10%, transparent));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 22%, transparent);
}
.nice-select-menu li[aria-selected="true"] em {
  color: var(--brand-deep);
}
@keyframes nice-select-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.contact-form input:hover,
.contact-form textarea:hover {
  border-color: color-mix(in srgb, var(--brand) 28%, var(--line));
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent);
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.2rem;
}
.form-actions .btn {
  min-width: min(100%, 11.5rem);
}
.form-status {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ok);
}
.form-status.error {
  color: #c0392b;
}
@media (min-width: 720px) {
  .contact-form {
    grid-template-columns: 1fr 1fr;
    padding: 1.6rem 1.55rem;
  }
  .form-head,
  .contact-form .full {
    grid-column: 1 / -1;
  }
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 3.25rem;
    align-items: start;
  }
  .contact-form {
    padding: 1.75rem 1.7rem;
  }
}
@media (max-width: 719px) {
  .form-actions .btn {
    width: 100%;
  }
}

/* Footer */
.foot {
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 12% 0%, rgba(37, 99, 235, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 88% 20%, rgba(15, 118, 110, 0.18), transparent 50%),
    var(--foot-bg);
  color: var(--foot-fg);
  padding: 3.25rem 0 2rem;
  overflow: hidden;
}
.foot::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}
.foot .wrap {
  position: relative;
  z-index: 1;
}
.foot-cta {
  display: grid;
  gap: 1.35rem;
  padding: 1.6rem 1.35rem;
  margin-bottom: 2.5rem;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(30, 58, 138, 0.55) 0%, rgba(15, 118, 110, 0.35) 100%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}
.foot-cta .kicker {
  margin-bottom: 0.45rem;
}
.foot-cta h2 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.foot-cta p:not(.kicker) {
  margin: 0.55rem 0 0;
  max-width: 32rem;
  color: rgba(248, 250, 252, 0.78);
  font-size: 0.98rem;
  line-height: 1.55;
}
.foot-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}
.foot-ghost {
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #f8fafc !important;
  background: rgba(255, 255, 255, 0.06) !important;
}
.foot-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}
.foot-grid {
  display: grid;
  gap: 2rem 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.foot-brand p {
  margin: 0.9rem 0 0;
  max-width: 24rem;
  font-size: 0.95rem;
  line-height: 1.6;
}
.foot .brand {
  color: #fff;
}
.foot .brand em {
  color: #60a5fa;
  font-style: normal;
}
.foot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}
.foot-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(248, 250, 252, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.foot-col h4 {
  margin: 0 0 0.95rem;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.foot-col a {
  display: block;
  width: fit-content;
  padding: 0.35rem 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--foot-fg);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.foot-col a:hover {
  color: #fff;
  transform: translateX(3px);
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.4rem;
  font-size: 0.85rem;
}
.foot-bottom p {
  margin: 0;
}
.foot-motto {
  color: rgba(248, 250, 252, 0.55);
  letter-spacing: 0.04em;
}
@media (min-width: 720px) {
  .foot {
    padding: 4rem 0 2.25rem;
  }
  .foot-cta {
    grid-template-columns: 1.4fr auto;
    align-items: center;
    gap: 2rem;
    padding: 1.85rem 2rem;
    margin-bottom: 3rem;
  }
  .foot-grid {
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.85fr));
    gap: 2.25rem clamp(2rem, 4vw, 3.5rem);
    padding-bottom: 2.5rem;
  }
}
@media (min-width: 980px) {
  .foot-cta {
    padding: 2.1rem 2.35rem;
  }
}

/* Mobile CTA */
.mobile-cta {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  font-weight: 800;
  box-shadow: var(--btn-primary-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.mobile-cta.is-on {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
@media (min-width: 960px) {
  .mobile-cta {
    display: none;
  }
}

/* Small phones */
@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.15rem;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

/* ========== Desktop + phone devices (hero) ========== */
.device-stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 0 1.25rem;
  /* Reserve space on the right so the phone never covers the monitor awkwardly */
  padding-right: clamp(72px, 22%, 132px);
  padding-bottom: 1.5rem;
}

.monitor {
  position: relative;
  width: 100%;
  z-index: 1;
}
.monitor-bezel {
  border-radius: 16px;
  padding: 10px 10px 12px;
  background: linear-gradient(165deg, #1e293b, #0f172a 55%, #020617);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 24px 50px rgba(15, 23, 42, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.monitor-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 0 2px;
}
.monitor-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64748b;
}
.monitor-bar span:nth-child(1) {
  background: #ff5f57;
}
.monitor-bar span:nth-child(2) {
  background: #febc2e;
}
.monitor-bar span:nth-child(3) {
  background: #28c840;
}
.monitor-bar em {
  margin-left: auto;
  margin-right: auto;
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(248, 250, 252, 0.55);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  max-width: 58%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.monitor-screen {
  border-radius: 10px;
  overflow: hidden;
  background: #f4f7fb;
  aspect-ratio: 16 / 10.2;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.monitor-stand {
  width: 18%;
  height: 14px;
  margin: 0 auto;
  background: linear-gradient(180deg, #334155, #1e293b);
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
}
.monitor-base {
  width: 38%;
  height: 6px;
  margin: 0 auto;
  border-radius: 999px;
  background: #0f172a;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.25);
}

.handset {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: clamp(108px, 28%, 148px);
  aspect-ratio: 9 / 18.5;
  border-radius: 22px;
  padding: 8px 7px 10px;
  background: linear-gradient(160deg, #111827, #020617);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 20px 40px rgba(15, 23, 42, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  animation: handset-float 5s ease-in-out infinite;
}
.handset-notch {
  width: 36%;
  height: 6px;
  margin: 0 auto 6px;
  border-radius: 999px;
  background: #020617;
  flex-shrink: 0;
}
.handset-screen {
  flex: 1;
  min-height: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
}
.handset-app {
  height: 100%;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #0f172a;
  box-sizing: border-box;
}
.ha-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ha-top strong {
  font-size: 0.72rem;
  letter-spacing: -0.02em;
}
.ha-top span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #2563eb;
  color: #fff;
  font-size: 0.5rem;
  font-weight: 800;
}
.ha-hero {
  border-radius: 12px;
  padding: 9px 8px;
  background: linear-gradient(145deg, #1d4ed8, #2563eb 55%, #0f766e);
  color: #fff;
}
.ha-hero small {
  display: block;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.8;
  margin-bottom: 2px;
}
.ha-hero b {
  display: block;
  font-size: 0.78rem;
  letter-spacing: -0.02em;
}
.ha-hero p {
  margin: 2px 0 7px;
  font-size: 0.55rem;
  line-height: 1.3;
  opacity: 0.9;
}
.ha-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.ha-stats i {
  font-style: normal;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 5px 2px;
  text-align: center;
}
.ha-stats em {
  display: block;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.1;
}
.ha-stats span {
  font-size: 0.45rem;
  font-weight: 700;
  opacity: 0.85;
}
.ha-list {
  display: grid;
  gap: 5px;
}
.ha-list div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  padding: 6px 7px;
}
.ha-list b {
  font-size: 0.58rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ha-list span {
  font-size: 0.5rem;
  font-weight: 700;
  color: #64748b;
  flex-shrink: 0;
}
.handset-home {
  width: 28%;
  height: 3px;
  margin: 7px auto 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
}
@keyframes handset-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .handset {
    animation: none;
  }
}

@media (min-width: 640px) {
  .device-stage {
    max-width: 600px;
    padding-right: clamp(96px, 24%, 156px);
    padding-bottom: 1.75rem;
  }
  .monitor-bezel {
    padding: 12px 12px 14px;
    border-radius: 18px;
  }
  .handset {
    width: clamp(124px, 26%, 160px);
    border-radius: 24px;
    padding: 9px 8px 11px;
  }
}

@media (min-width: 900px) {
  .device-stage {
    max-width: none;
    padding-right: clamp(110px, 24%, 168px);
    padding-bottom: 1.85rem;
  }
  .monitor-screen {
    aspect-ratio: 16 / 10.2;
  }
  .handset {
    width: clamp(132px, 25%, 168px);
    bottom: 2px;
  }
}

@media (min-width: 1024px) {
  .device-stage {
    padding-right: 168px;
  }
  .handset {
    width: 158px;
  }
}

@media (max-width: 420px) {
  .device-stage {
    padding-right: 78px;
    padding-bottom: 1.15rem;
  }
  .monitor-bar em {
    display: none;
  }
  .handset {
    width: 96px;
    border-radius: 18px;
    padding: 6px 5px 8px;
  }
  .handset-notch {
    height: 4px;
    margin-bottom: 4px;
  }
  .handset-home {
    margin-top: 5px;
  }
}

/* ========== Dynamic UI mockups (hero + product) ========== */
.ui-dash {
  display: grid;
  grid-template-columns: 92px 1fr;
  height: 100%;
  min-height: 0;
  background: #f4f7fb;
  color: #0f172a;
  font-family: var(--font);
}
.ui-side {
  background: linear-gradient(180deg, #1e3a8a, #2563eb 55%, #0f766e);
  color: #fff;
  padding: 10px 8px;
  display: grid;
  align-content: start;
  gap: 3px;
  font-size: 0.58rem;
  font-weight: 650;
}
.ui-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 0.62rem;
}
.ui-brand img {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: #fff;
}
.ui-brand b {
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ui-side p {
  margin: 7px 0 2px;
  font-size: 0.48rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
}
.ui-side span {
  padding: 5px 6px;
  border-radius: 7px;
  opacity: 0.88;
}
.ui-side span.on {
  background: rgba(255, 255, 255, 0.18);
  opacity: 1;
}
.ui-main {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  min-height: 0;
  background:
    radial-gradient(ellipse 80% 40% at 100% 0%, rgba(37, 99, 235, 0.08), transparent 55%),
    #f4f7fb;
}
.ui-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.ui-top strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: -0.02em;
}
.ui-top small {
  color: #64748b;
  font-size: 0.58rem;
  font-weight: 650;
}
.ui-top em {
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #475569;
}
.ui-hero {
  display: grid;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 12px;
  background: linear-gradient(145deg, #1d4ed8 0%, #2563eb 52%, #0f766e 120%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
  position: relative;
  overflow: hidden;
}
.ui-hero::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -18px;
  top: -28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.ui-hero > div:first-child {
  position: relative;
  z-index: 1;
}
.ui-hero small {
  display: block;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 0.82;
  margin-bottom: 2px;
}
.ui-hero b {
  display: block;
  font-size: 0.72rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.ui-hero p {
  margin: 3px 0 0;
  font-size: 0.52rem;
  line-height: 1.35;
  opacity: 0.9;
}
.ui-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  position: relative;
  z-index: 1;
}
.ui-hero-stats i {
  font-style: normal;
  text-align: center;
  padding: 5px 3px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
}
.ui-hero-stats em {
  display: block;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.1;
}
.ui-hero-stats span {
  font-size: 0.44rem;
  font-weight: 700;
  opacity: 0.88;
}
.ui-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.ui-cards article {
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
}
.ui-cards article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
}
.ui-cards article.t1::before { background: #ef4444; }
.ui-cards article.t2::before { background: #10b981; }
.ui-cards article.t3::before { background: #f59e0b; }
.ui-cards article.t4::before { background: #3b82f6; }
.ui-cards i {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  margin-bottom: 6px;
}
.ui-cards .t1 i { background: #fee2e2; box-shadow: inset 0 0 0 4px #ef4444; }
.ui-cards .t2 i { background: #d1fae5; box-shadow: inset 0 0 0 4px #10b981; }
.ui-cards .t3 i { background: #ffedd5; box-shadow: inset 0 0 0 4px #f59e0b; }
.ui-cards .t4 i { background: #dbeafe; box-shadow: inset 0 0 0 4px #3b82f6; }
.ui-cards b {
  display: block;
  font-size: 0.85rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.ui-cards span {
  display: block;
  margin: 1px 0 4px;
  font-size: 0.55rem;
  font-weight: 700;
  color: #64748b;
}
.ui-cards small {
  font-size: 0.5rem;
  color: #94a3b8;
  font-weight: 600;
}
.ui-panels {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 6px;
  flex: 1;
  min-height: 0;
}
.ui-panel {
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 10px;
  padding: 8px;
  min-height: 0;
}
.ui-panel-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.62rem;
  font-weight: 800;
}
.ui-panel-h span {
  color: #059669;
  font-size: 0.52rem;
  background: #ecfdf5;
  padding: 2px 6px;
  border-radius: 999px;
}
.ui-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 72px;
  padding-top: 4px;
}
.ui-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #60a5fa, #2563eb);
  position: relative;
  font-style: normal;
  animation: bar-rise 1.1s var(--ease) both;
}
.ui-bars i:nth-child(2) { animation-delay: 0.05s; background: linear-gradient(180deg, #34d399, #059669); }
.ui-bars i:nth-child(3) { animation-delay: 0.1s; }
.ui-bars i:nth-child(4) { animation-delay: 0.15s; background: linear-gradient(180deg, #34d399, #059669); }
.ui-bars i:nth-child(5) { animation-delay: 0.2s; }
.ui-bars i:nth-child(6) { animation-delay: 0.25s; background: linear-gradient(180deg, #34d399, #059669); }
.ui-bars em {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  font-size: 0.45rem;
  font-weight: 700;
  color: #64748b;
  font-style: normal;
}
.ui-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.ui-feed li {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 6px;
  align-items: center;
  font-size: 0.55rem;
}
.ui-feed .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.ui-feed .dot.ok { background: #10b981; }
.ui-feed .dot.warm { background: #f59e0b; }
.ui-feed .dot.blue { background: #3b82f6; }
.ui-feed b {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ui-feed em {
  font-style: normal;
  color: #94a3b8;
  font-weight: 650;
}
@keyframes bar-rise {
  from { transform: scaleY(0.2); transform-origin: bottom; opacity: 0.4; }
  to { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
}

@media (min-width: 901px) {
  .ui-hero {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
  }
  .ui-hero b {
    font-size: 0.8rem;
  }
  .ui-hero p {
    font-size: 0.55rem;
  }
}
@media (max-width: 700px) {
  .ui-dash { grid-template-columns: 1fr; }
  .ui-side { display: none; }
  .ui-cards { grid-template-columns: repeat(2, 1fr); }
  .ui-panels { grid-template-columns: 1fr; }
  .ui-bars { height: 56px; }
  .ui-feed li:nth-child(n + 3) { display: none; }
  .ui-hero b { font-size: 0.68rem; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .ui-dash { grid-template-columns: 78px 1fr; }
  .ui-cards { grid-template-columns: repeat(2, 1fr); }
  .ui-side span:nth-child(n + 9) { display: none; }
}

/* Product module mocks */
.ui-mock {
  background: #f5f7fb;
  color: #0f172a;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 260px;
}
.um-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.um-bar strong {
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}
.um-bar span {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 4px 9px;
  border-radius: 999px;
}
.um-banner {
  border-radius: 16px;
  padding: 14px 14px 12px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.um-banner::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  right: -30px;
  top: -40px;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.um-banner small {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 0.85;
  margin-bottom: 4px;
}
.um-banner b {
  display: block;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.um-banner p {
  margin: 4px 0 0;
  font-size: 0.78rem;
  opacity: 0.9;
  max-width: 28ch;
}
.um-banner.att {
  background: linear-gradient(135deg, #0f766e, #14b8a6 55%, #2563eb);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.um-banner.att em {
  font-style: normal;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  opacity: 0.95;
}
.um-banner.hw {
  background: linear-gradient(135deg, #1d4ed8, #2563eb 50%, #7c3aed);
}
.um-banner.leave {
  background: linear-gradient(135deg, #115e59, #0f766e 45%, #1d4ed8);
}
.um-banner.parent {
  background: linear-gradient(135deg, #1e40af, #2563eb 50%, #0891b2);
}
.um-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.um-chips i {
  font-style: normal;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 6px 9px;
  font-size: 0.68rem;
  font-weight: 700;
}
.um-chips em {
  font-style: normal;
  font-weight: 800;
  margin-right: 3px;
}
.um-rows {
  display: grid;
  gap: 7px;
}
.um-rows > div {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 12px;
  padding: 8px 10px;
}
.um-rows i {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 800;
  background: #dbeafe;
  color: #1d4ed8;
}
.um-rows b {
  font-size: 0.82rem;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.um-rows span {
  font-size: 0.72rem;
  font-weight: 750;
  color: #059669;
}
.um-rows .late span { color: #d97706; }
.um-rows .abs span { color: #dc2626; }
.um-rows .late i { background: #ffedd5; color: #c2410c; }
.um-rows .abs i { background: #fee2e2; color: #b91c1c; }
.pill {
  padding: 4px 8px !important;
  border-radius: 999px !important;
  font-size: 0.68rem !important;
}
.pill.pend { background: #fff7ed; color: #c2410c !important; }
.pill.ok { background: #ecfdf5; color: #047857 !important; }

.um-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.um-grid article {
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 12px;
  padding: 10px;
}
.um-grid b {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 2px;
}
.um-grid span {
  display: block;
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 650;
  margin-bottom: 8px;
}
.um-grid i {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
  position: relative;
  overflow: hidden;
  font-style: normal;
}
.um-grid i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p);
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #0f766e);
}

.um-kids {
  display: flex;
  gap: 6px;
}
.um-kids span {
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
}
.um-kids span.on {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}
.um-statrow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.um-statrow article {
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}
.um-statrow b {
  display: block;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  color: #2563eb;
}
.um-statrow span {
  font-size: 0.68rem;
  font-weight: 650;
  color: #64748b;
}

@media (max-width: 520px) {
  .ui-mock { min-height: 0; padding: 10px; }
  .um-banner b { font-size: 1rem; }
  .um-banner.att em { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ui-bars i { animation: none; }
}

/* ========== Pulse / orbit animation ========== */
.pulse {
  background: var(--bg);
  overflow: clip;
}
.pulse-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
.pulse-copy h2 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 4.2vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-weight: 600;
}
.pulse-copy h2 em {
  font-style: italic;
  color: var(--brand);
}
.pulse-copy .sub {
  margin: 0 0 1.1rem;
  max-width: 38ch;
}
.pulse-points {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.pulse-points li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  font-weight: 650;
}
.pulse-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent);
}
.pulse-media {
  position: relative;
  min-width: 0;
  width: 100%;
}
.orbit-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.orbit-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  opacity: 0.42;
  filter: saturate(0.92);
}
[data-theme="dark"] .orbit-photo {
  opacity: 0.38;
  filter: saturate(0.85) brightness(0.92);
}
.orbit-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at 42% 48%,
    transparent 18%,
    color-mix(in srgb, var(--bg) 52%, transparent) 76%
  );
  pointer-events: none;
  z-index: 1;
}
.orbit {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(88%, 520px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: block;
}
.spark {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #93c5fd;
  box-shadow: 0 0 12px #93c5fd;
  animation: spark-drift 7s ease-in-out infinite;
  z-index: 1;
}
.spark.s-a {
  top: 16%;
  left: 20%;
}
.spark.s-b {
  top: 64%;
  right: 16%;
  background: #86efac;
  box-shadow: 0 0 12px #86efac;
  animation-delay: 1.2s;
}
.spark.s-c {
  bottom: 18%;
  left: 38%;
  background: #fde68a;
  box-shadow: 0 0 12px #fde68a;
  animation-delay: 2.1s;
}
.orbit-ring {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  border: 1px dashed var(--ring-dashed);
  animation: spin 26s linear infinite;
  pointer-events: none;
}
.orbit-ring.r2 {
  inset: 6%;
  border-style: solid;
  border-color: var(--ring-solid);
  animation-duration: 38s;
  animation-direction: reverse;
}
.orbit-ring.r3 {
  inset: 0;
  border: 1px solid transparent;
  border-top-color: color-mix(in srgb, var(--brand) 45%, transparent);
  border-right-color: color-mix(in srgb, var(--accent) 28%, transparent);
  animation-duration: 18s;
}
.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2px;
  background: radial-gradient(circle at 48% 40%, #fff 0%, #bfdbfe 48%, #1f6feb 100%);
  color: #0f1a2e;
  box-shadow:
    0 0 0 10px rgba(31, 111, 235, 0.16),
    0 18px 44px rgba(31, 111, 235, 0.35);
  transform: translate(-50%, -50%);
  animation: pulse-core 3.5s ease-in-out infinite;
  will-change: transform;
}
[data-theme="dark"] .orbit-core {
  background: radial-gradient(circle at 48% 40%, #e8f0fe 0%, #5b9dff 50%, #0f3d8c 100%);
  color: #0b1220;
}
.orbit-core strong {
  display: block;
  font-size: 2.15rem;
  letter-spacing: -0.04em;
  line-height: 1;
  font-weight: 800;
}
.orbit-core small {
  display: block;
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.72;
  line-height: 1.2;
}
.path {
  --orbit: 20s;
  position: absolute;
  inset: 6%;
  z-index: 3;
  animation: spin var(--orbit) linear infinite;
  pointer-events: none;
}
.path.p1 {
  --orbit: 18s;
}
.path.p2 {
  --orbit: 18s;
  animation-delay: -4.5s;
}
.path.p3 {
  --orbit: 18s;
  animation-delay: -9s;
}
.path.p4 {
  --orbit: 18s;
  animation-delay: -13.5s;
}
.sat {
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% -50%;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 750;
  color: var(--sat-fg);
  background: var(--sat-bg);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  box-shadow: var(--shadow);
  animation: counter-spin var(--orbit) linear infinite;
  animation-delay: inherit;
}
.float-stack {
  position: absolute;
  top: 16px;
  right: 14px;
  width: 158px;
  display: grid;
  gap: 8px;
  pointer-events: none;
  z-index: 5;
}
.note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--note-bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  animation: note-pop 5.4s ease-in-out infinite;
}
.note > div {
  min-width: 0;
  flex: 1;
}
.note-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}
.note-dot.ok {
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
}
.note-dot.warm {
  background: #fbbf24;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.18);
}
.note-dot.vio {
  background: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.18);
}
.note b {
  display: block;
  font-size: 0.75rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.note span {
  display: block;
  font-size: 0.65rem;
  color: var(--note-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.n1 {
  animation-delay: 0s;
}
.n2 {
  animation-delay: 1.8s;
}
.n3 {
  animation-delay: 3.6s;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes counter-spin {
  to {
    transform: rotate(-360deg);
  }
}
@keyframes pulse-core {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
  }
}
@keyframes spark-drift {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.45;
  }
  50% {
    transform: translate(10px, -14px);
    opacity: 1;
  }
}
@keyframes note-pop {
  0%,
  8% {
    opacity: 0;
    transform: translateY(10px);
  }
  16%,
  55% {
    opacity: 1;
    transform: translateY(0);
  }
  70%,
  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-ring,
  .path,
  .sat,
  .orbit-core,
  .spark,
  .note {
    animation: none !important;
  }
  .note {
    opacity: 1;
    transform: none;
  }
  .orbit-core {
    transform: translate(-50%, -50%);
  }
}
@media (max-width: 640px) {
  .float-stack {
    display: none;
  }
}
@media (min-width: 860px) {
  .pulse-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.1fr);
    gap: 2rem 2.5rem;
  }
  .orbit-stage {
    max-width: 480px;
  }
  .orbit-core {
    width: 156px;
    height: 156px;
  }
  .orbit-core strong {
    font-size: 2.4rem;
  }
}
@media (min-width: 1024px) {
  .orbit-stage {
    max-width: 520px;
  }
  .orbit {
    width: min(90%, 540px);
  }
  .orbit-core {
    width: 168px;
    height: 168px;
  }
  .orbit-core strong {
    font-size: 2.65rem;
  }
  .float-stack {
    width: 176px;
    right: 18px;
    top: 18px;
  }
}
