@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  /* Chunk Five by Meredith Mandel / The League of Moveable Type, SIL Open Font License 1.1 */
  font-family: 'ChunkFive';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/chunkfive-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
}

:root {
  --bg-main: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --purple: #9333ea;
  --purple-hover: #7e22ce;
  --accent: #38bdf8;
  --emerald: #10b981;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", Consolas, SFMono-Regular, monospace;
}

[data-theme="dark"] {
  --bg-main: #060913;
  --surface: rgba(15, 23, 42, 0.72);
  --surface-2: rgba(30, 41, 59, 0.65);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-subtle: #94a3b8;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  interpolate-size: allow-keywords;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.45s cubic-bezier(0.4, 0, 0.2, 1), color 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-theme="dark"] body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, .brand {
  font-family: var(--font-display);
}
h1, h2, h3 {
  text-wrap: balance;
}
.hero-sub, .section-head p {
  text-wrap: pretty;
}
.hero-sub {
  text-wrap: balance;
}

.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Hero Entrance Choreography */
@keyframes heroEnterUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-enter {
  opacity: 0;
  animation: heroEnterUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.enter-1 { animation-delay: 0.06s; }
.enter-2 { animation-delay: 0.16s; }
.enter-3 { animation-delay: 0.26s; }
.enter-4 { animation-delay: 0.36s; }

/* Scroll Reveal & Staggered Grid Cascades */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Sections reached through a link (menu, #anchor) show at once, without the fade */
.reveal.instant { transition: none !important; }
.stagger-grid .reveal:nth-child(1) { transition-delay: 0.03s; }
.stagger-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger-grid .reveal:nth-child(3) { transition-delay: 0.13s; }
.stagger-grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.stagger-grid .reveal:nth-child(5) { transition-delay: 0.23s; }
.stagger-grid .reveal:nth-child(6) { transition-delay: 0.28s; }

/* Ambient Orbs (Dark Mode Depth) */
.ambient-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.5s ease;
}
[data-theme="dark"] .ambient-orb { opacity: 0.38; }

.orb-hero-1 {
  width: 440px; height: 440px;
  top: -80px; left: -100px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.55), transparent 70%);
  animation: orbDriftA 18s ease-in-out infinite;
}
.orb-hero-2 {
  width: 420px; height: 420px;
  top: 120px; right: -120px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.48), transparent 70%);
  animation: orbDriftB 22s ease-in-out infinite;
}

@keyframes orbDriftA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(36px, -24px) scale(1.08); }
}
@keyframes orbDriftB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-32px, 28px) scale(1.06); }
}

/* Sticky Glass Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: height 0.25s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.25s ease;
}
.navbar.scrolled {
  height: 66px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
[data-theme="dark"] .navbar {
  background: rgba(6, 9, 19, 0.84);
  color: #f8fafc;
  border-bottom-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .navbar.scrolled {
  background: rgba(6, 9, 19, 0.94);
  border-bottom-color: rgba(56, 189, 248, 0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 100%;
  padding: 2px 0;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 2.9vw, 35px);
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1;
}
[data-theme="dark"] .brand { color: #f8fafc; }
.brand-accent {
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 55%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="dark"] .brand-accent {
  background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.25));
}
/* Wordmark: silver "Hero" to match the metal logo, blue "Desk" with a light sweep on hover */
.brand-word {
  display: inline-flex;
  align-items: baseline;
  font-family: 'ChunkFive', var(--font-display);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0.01em;
  text-transform: none;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.45));
}
.brand-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 46%, #b4c0d3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.06em;
}
[data-theme="dark"] .brand-accent,
.brand-word .brand-accent,
.footer-brand .brand-accent {
  background: linear-gradient(110deg, #38bdf8 0%, #3b82f6 30%, #818cf8 50%, #bae6fd 58%, #38bdf8 70%, #3b82f6 100%);
  background-size: 260% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.06em;
  transition: background-position 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand:hover .brand-accent,
.brand:focus-visible .brand-accent,
.footer-brand:hover .brand-accent { background-position: 100% 50%; }
@media (prefers-reduced-motion: reduce) {
  .brand-word .brand-accent, .footer-brand .brand-accent { transition: none; }
}
.brand-logo {
  height: 62px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.18));
  transition: transform 0.25s ease, height 0.25s ease;
}
.navbar.scrolled .brand-logo { height: 54px; }
.brand:hover .brand-logo { transform: scale(1.06); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.07);
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
}
[data-theme="dark"] .nav-links {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}
.nav-links a {
  padding: 7px 14px;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.nav-links a:hover {
  color: var(--blue);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.07);
}
[data-theme="dark"] .nav-links a:hover {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.35);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.25);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* CTA Buttons with Sheen Sweep & Arrow Slide */
.nav-cta, .btn-blue {
  position: relative;
  overflow: hidden;
}
.nav-cta::after, .btn-blue::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.nav-cta:hover::after, .btn-blue:hover::after {
  left: 155%;
}
.cta-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.nav-cta:hover .cta-arrow, .btn-blue:hover .cta-arrow {
  transform: translateX(4px);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.42);
}

.mobile-menu-btn {
  display: none;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  place-items: center;
}
[data-theme="dark"] .mobile-menu-btn {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f8fafc;
}
.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 18px 24px 24px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
[data-theme="dark"] .mobile-drawer {
  background: rgba(6, 9, 19, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  padding: 8px 4px;
}
[data-theme="dark"] .mobile-drawer a { color: #e2e8f0; }

/* Hero Banner */
.hero-banner {
  position: relative;
  width: 100%;
  /* Grows past 1920px wide so big monitors keep the same framing instead of a thin strip */
  height: clamp(215px, 27vw, max(365px, 19vw));
  margin-top: 76px;
  overflow: hidden;
  background: #090b15;
  user-select: none;
}
.banner-dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#3b82f6 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.14;
  pointer-events: none;
}
.banner-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 260px;
  background: rgba(59, 130, 246, 0.14);
  border-radius: 999px;
  filter: blur(130px);
  pointer-events: none;
}
.banner-pan-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  transform-origin: center center;
  animation: bannerPan 22s ease-in-out infinite;
  will-change: transform;
}
@keyframes bannerPan {
  0%, 100% { transform: translate(-0.4%, 0%) scale(1.02); }
  50%      { transform: translate(0.4%, 0.4%) scale(1.04); }
}
.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.25, 0.1, 0.25, 1);
  pointer-events: none;
}
.hero-slide-img.active { opacity: 1; }
/* The skateboarder fills the full height: crop from the bottom fade, never his hair */
.hero-slide-img.slide-top { object-position: center top; }

.banner-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 9, 19, 0.55) 0%, rgba(6, 9, 19, 0.15) 40%, rgba(0, 0, 0, 0.25) 100%);
  pointer-events: none;
  z-index: 2;
}
.banner-diagonal-strip {
  position: absolute;
  top: 0; right: 0;
  width: 170px; height: 100%;
  background: rgba(255, 255, 255, 0.04);
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 3;
}
.banner-fade-bottom {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 68px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-main) 100%);
  pointer-events: none;
  z-index: 4;
}

.banner-caption-pill {
  position: absolute;
  bottom: 12px;
  left: 24px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(6, 9, 19, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  color: #e2e8f0;
  font-size: 13.5px;
  font-weight: 600;
}
.banner-caption-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.9);
}
.banner-bullets {
  position: absolute;
  bottom: 10px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 2px;
  z-index: 10;
}
/* Each dot is a 26px target; the visible dot is drawn inside it */
.banner-bullet {
  width: 26px;
  height: 26px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: transparent;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.banner-bullet::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.3s ease;
}
.banner-bullet:hover::before { background: rgba(255, 255, 255, 0.75); }
.banner-bullet.active::before {
  background: #3b82f6;
  transform: scale(1.25);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.85);
}
.banner-pause {
  width: 30px;
  height: 30px;
  margin-right: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(6, 9, 19, 0.72);
  backdrop-filter: blur(10px);
  color: #e2e8f0;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.banner-pause:hover { background: rgba(15, 23, 42, 0.92); border-color: rgba(255, 255, 255, 0.4); }
.banner-pause .icon-play { display: none; }
.banner-pause.is-paused .icon-play { display: block; }
.banner-pause.is-paused .icon-pause { display: none; }
.banner-bullet:focus-visible, .banner-pause:focus-visible { outline: 2px solid #38bdf8; outline-offset: 2px; }

/* Core Hero Section */
.hero-core {
  position: relative;
  padding: 10px 0 30px;
  text-align: center;
  overflow: hidden;
}
.hero-core-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#3b82f6 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.04;
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.26);
  color: #10b981;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.65; }
}

.hero-core h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 auto 8px;
  max-width: 900px;
}
.shimmer-text {
  display: inline-block;
  font-weight: 800;
  letter-spacing: -0.02em;
  -webkit-text-stroke: 0.75px rgba(125, 211, 252, 0.25);
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 22%, #ffffff 40%, #7dd3fc 52%, #818cf8 74%, #2563eb 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.32));
  animation: textShimmer 4.5s linear infinite;
}
@keyframes textShimmer {
  to { background-position: 220% center; }
}

.hero-sub {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
  font-weight: 500;
  margin: 0 auto 18px;
  max-width: 960px;
}
.hero-sub strong { color: var(--text-main); font-weight: 700; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.btn-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 800;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.28);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn-blue:hover {
  background: var(--blue-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.36);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 14.5px;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.btn-secondary:hover { transform: translateY(-2px); border-color: var(--blue); }

/* HeroDesk UI Video Sandbox Card */
.studio-window {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 24px;
  background: #03060f;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 28px 80px rgba(3, 6, 15, 0.55),
    0 0 50px rgba(59, 130, 246, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  overflow: hidden;
}
.studio-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 22%, transparent 45%);
  pointer-events: none;
  z-index: 2;
}
.studio-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(15, 23, 42, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.win-dots { display: flex; gap: 7px; }
.win-dots span { width: 11px; height: 11px; border-radius: 50%; }
.win-dots span:nth-child(1) { background: #ef4444; }
.win-dots span:nth-child(2) { background: #f59e0b; }
.win-dots span:nth-child(3) { background: #10b981; }

.win-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: #e2e8f0;
}
.live-pill {
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.win-controls { display: flex; flex-wrap: wrap; gap: 6px; }
.win-btn {
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}
.win-btn:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.win-btn.active {
  background: rgba(59, 130, 246, 0.25);
  border-color: rgba(59, 130, 246, 0.55);
  color: #93c5fd;
}

.studio-video-wrap {
  background: transparent;
  line-height: 0;
  display: flex;
  justify-content: center;
}
.studio-video-wrap video {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 60vh;
  display: block;
}

/* Video Chapters */
.video-chapters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.chapter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}
.chapter-btn:hover {
  border-color: var(--blue);
  color: var(--text-main);
  transform: translateY(-1px);
}
.chapter-btn.active {
  background: rgba(37, 99, 235, 0.12);
  border-color: var(--blue);
  color: var(--blue);
}
[data-theme="dark"] .chapter-btn.active { color: #93c5fd; }
.chapter-time {
  font-family: var(--font-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  opacity: 0.78;
}

/* Sections */
.section {
  position: relative;
  padding: 46px 0;
  border-top: 1px solid var(--border);
}
section[id] {
  scroll-margin-top: 72px;
}
.pricing-section { overflow: hidden; }
.section-alt { background: rgba(241, 245, 249, 0.65); }
[data-theme="dark"] .section-alt { background: rgba(0, 0, 0, 0.25); }
.section-head {
  text-align: center;
  max-width: 100%;
  margin: 0 auto 26px;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}
.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15.5px;
  font-weight: 500;
}

/* HeroDesk Neon Wire Engine Sandbox */
.engine-section {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  perspective: 1200px;
}
.engine-card-outer {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.24) 0%, rgba(11, 17, 34, 0.96) 62%, #050814 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow:
    0 26px 64px rgba(15, 23, 42, 0.28),
    0 0 48px rgba(37, 99, 235, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out, box-shadow 0.25s ease;
}
.engine-card-outer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(56, 189, 248, 0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.45;
  pointer-events: none;
}
.engine-stage {
  width: 960px;
  height: 420px;
  flex-shrink: 0;
  position: relative;
  transform-origin: center center;
  transform-style: preserve-3d;
}
.engine-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.neon-dash {
  animation: neon-dash-flow 3s linear infinite;
  transition: stroke-width 0.2s ease, filter 0.2s ease;
}
.wire-boost {
  stroke-width: 4.5 !important;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.9));
}
@keyframes neon-dash-flow { to { stroke-dashoffset: -320; } }
@keyframes float-badge {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.03); }
}
@keyframes cyber-pulse {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(59, 130, 246, 0.5)); }
  50% { filter: drop-shadow(0 0 36px rgba(56, 189, 248, 0.9)); }
}
@keyframes laser-scan {
  0%, 100% { top: 14%; opacity: 0.3; }
  50% { top: 82%; opacity: 0.85; }
}
@keyframes coreBurst {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.12); filter: drop-shadow(0 0 42px rgba(56, 189, 248, 1)); }
  100% { transform: scale(1); }
}
.engine-grid {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 0 36px;
  transform-style: preserve-3d;
}
.engine-inputs {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 330px;
  align-items: flex-end;
  padding-right: 52px;
  transform: translateZ(24px);
}
.engine-outputs {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 330px;
  align-items: flex-start;
  padding-left: 52px;
  transform: translateZ(24px);
}
.engine-badge {
  width: 172px;
  padding: 11px 15px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(15, 23, 42, 0.86));
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  cursor: pointer;
  animation: float-badge 4.6s ease-in-out infinite;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.engine-badge:hover {
  transform: translateY(-4px) scale(1.07) !important;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.55), 0 0 22px rgba(56, 189, 248, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.eb-orange { color: #ffedd5; border-color: rgba(249,115,22,0.55); background: linear-gradient(180deg, rgba(249,115,22,0.22), rgba(15,23,42,0.86)); animation-duration: 4.8s; }
.eb-blue   { color: #dbeafe; border-color: rgba(59,130,246,0.55); background: linear-gradient(180deg, rgba(59,130,246,0.22), rgba(15,23,42,0.86)); animation-duration: 4.2s; }
.eb-pink   { color: #fce7f3; border-color: rgba(236,72,153,0.55); background: linear-gradient(180deg, rgba(236,72,153,0.22), rgba(15,23,42,0.86)); animation-duration: 4.5s; }
.eb-green  { color: #d1fae5; border-color: rgba(16,185,129,0.55); background: linear-gradient(180deg, rgba(16,185,129,0.22), rgba(15,23,42,0.86)); animation-duration: 5.0s; }
.eb-indigo { color: #e0e7ff; border-color: rgba(99,102,241,0.55); background: linear-gradient(180deg, rgba(99,102,241,0.22), rgba(15,23,42,0.86)); animation-duration: 4.4s; }

.engine-center-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(48px);
  transform-style: preserve-3d;
}
.engine-halo {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28), rgba(99, 102, 241, 0.12) 55%, transparent 72%);
  filter: blur(12px);
  pointer-events: none;
}
.engine-core-box {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
  animation: cyber-pulse 4.5s ease-in-out infinite;
  user-select: none;
}
.engine-core-box.core-burst {
  animation: coreBurst 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.engine-laser {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #22d3ee, transparent);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.8);
  animation: laser-scan 3s ease-in-out infinite;
  z-index: 6;
}
.engine-logo-img {
  width: 136px;
  height: 136px;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.45));
}
.engine-status-below {
  position: absolute;
  bottom: -48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
.engine-log-txt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 800;
  color: #e2e8f0;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.04em;
}
.engine-pct {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: #4ade80;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 10px 0;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
[data-theme="dark"] .price-card {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
[data-theme="dark"] .price-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.tier-name {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
}
.price-val {
  position: relative;
  display: inline-block;
  width: fit-content;
  font-size: 42px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  margin: 10px 0 6px;
  letter-spacing: -0.03em;
}
.price-val span { font-size: 14px; font-weight: 600; color: var(--text-subtle); text-shadow: none; }
.price-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 22px; }
.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14px;
  font-weight: 500;
  flex: 1;
}
.price-list li { display: flex; gap: 9px; }
.price-list li::before { content: "✓"; color: var(--emerald); font-weight: 800; }
.price-btn {
  display: block;
  text-align: center;
  padding: 13px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.price-btn:hover { transform: translateY(-2px); border-color: var(--blue); }
/* Smooth FAQ Accordions */
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  align-items: start;
}
@media (max-width: 760px) {
  .faq-list { grid-template-columns: 1fr; }
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.faq-item::details-content {
  block-size: 0;
  opacity: 0;
  overflow: hidden;
  transition: block-size 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.26s ease, content-visibility 0.32s allow-discrete;
}
.faq-item[open]::details-content {
  block-size: auto;
  opacity: 1;
}
.faq-item:hover {
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
}
.faq-item[open] {
  border-color: var(--blue);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.09);
}
.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: transform 0.25s ease, background 0.25s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--blue);
  color: #fff;
}
.faq-item p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* Contact & Legal Pages */
.legal-wrap {
  max-width: 860px;
  margin: 110px auto 72px;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}
[data-theme="dark"] .legal-wrap {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.legal-wrap h1 { margin-top: 0; font-size: 32px; font-weight: 800; letter-spacing: -0.025em; }
.legal-wrap h2 { margin-top: 28px; font-size: 20px; color: var(--blue); }
.legal-wrap h3 { margin-top: 20px; font-size: 16px; color: var(--text-main); }
.legal-wrap p, .legal-wrap li { color: var(--text-muted); font-size: 14.5px; line-height: 1.7; }
.legal-link { color: var(--blue); font-weight: 600; }
[data-theme="dark"] .legal-link { color: #38bdf8; }
.legal-link:hover { text-decoration: underline; }

/* Rich Article Elements (Figures, Comparison Tables, Callouts, Related Links) */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-subtle);
}
.article-figure {
  margin: 22px 0;
  padding: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.article-figure img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.article-figure figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--text-subtle);
  text-align: center;
}
/* Product screenshots in articles: show the whole picture, never crop it */
.article-figure.shot img { width: auto; max-width: 100%; max-height: none; margin: 0 auto; object-fit: contain; background: #03060f; }
.blog-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  background: #03060f;
}
.blog-card-wide { grid-column: 1 / -1; }
.blog-card-wide .blog-thumb { aspect-ratio: 16 / 5; }
.compare-table-wrap {
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-2);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}
.compare-table th,
.compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}
.compare-table th {
  font-weight: 700;
  color: var(--text-main);
  background: rgba(37, 99, 235, 0.08);
}
.compare-table tr:last-child td {
  border-bottom: none;
}
.article-callout {
  margin: 20px 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.28);
  font-size: 14px;
  color: var(--text-muted);
}
.article-callout strong { color: var(--text-main); }
.faq-list.article-faq {
  grid-template-columns: 1fr;
  margin-top: 14px;
}
.related-guides {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.related-card {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.related-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-2px);
}
.related-card strong {
  display: block;
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 4px;
}
.related-card span {
  font-size: 12.5px;
  color: var(--text-subtle);
}
@media (max-width: 640px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* Blog Hub & Article Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.blog-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
[data-theme="dark"] .blog-card {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.14);
}
.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-subtle);
}
.blog-tag {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.14);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.blog-card h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
  color: var(--text-main);
}
.blog-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
  flex: 1;
}
.blog-read-more {
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
}
[data-theme="dark"] .blog-read-more { color: #38bdf8; }
@media (max-width: 760px) {
  .blog-grid { grid-template-columns: 1fr; }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.contact-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-card h2 {
  margin: 0;
  font-size: 18px;
  color: var(--text-main);
}
.contact-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
}
.contact-row span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
}
.copy-email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  margin-top: 4px;
}
.copy-email-row code {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}
.copy-btn {
  padding: 6px 12px;
  border-radius: 8px;
  border: none;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.copy-btn:hover { background: var(--blue-hover); transform: translateY(-1px); }
.copy-btn.copied { background: var(--emerald); }

.contact-checklist {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--text-muted);
}
.contact-checklist li::before {
  content: "✓";
  color: var(--emerald);
  font-weight: 800;
  flex-shrink: 0;
}

/* Compact Bottom CTA Strip */
.bottom-cta-strip {
  padding: 26px 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.07), rgba(99, 102, 241, 0.07));
}
.bottom-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.bottom-cta-inner strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.bottom-cta-inner span {
  font-size: 14px;
  color: var(--text-muted);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 34px 0;
  color: var(--text-subtle);
  font-size: 13.5px;
  font-weight: 500;
}

/* ---------- Shared additions ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.nav-download {
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  transition: border-color 0.18s ease;
}
.nav-download:hover { border-color: var(--blue); }
.mobile-drawer .drawer-cta { color: var(--blue); }
[data-theme="dark"] .mobile-drawer .drawer-cta { color: var(--accent); }

.section-head p a, .pricing-footnote a, .faq-item p a, .article-cta a:not(.btn-blue):not(.btn-secondary) {
  color: var(--blue);
  font-weight: 600;
}
[data-theme="dark"] .section-head p a, [data-theme="dark"] .pricing-footnote a,
[data-theme="dark"] .faq-item p a, [data-theme="dark"] .article-cta a:not(.btn-blue):not(.btn-secondary) { color: var(--accent); }

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
[data-theme="dark"] .eyebrow { color: var(--accent); }
.lead { color: var(--text-muted); font-size: 16px; margin: 0 0 18px; max-width: 60ch; }
.btn-sm { padding: 11px 18px; font-size: 14px; }

.hero-core-inner { position: relative; z-index: 2; }
.hero-core .hero-actions { margin-bottom: 12px; }
.hero-note {
  margin: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-subtle);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14.5px;
}
.check-list li { position: relative; padding-left: 24px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--emerald); font-weight: 800; }
.check-list strong { color: var(--text-main); }

/* Original / cutout labels on the green-screen banner slide */
.split-labels {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.split-labels.show { opacity: 1; }
.split-label {
  position: absolute;
  top: 26%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(6, 9, 19, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.split-label b {
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
}
.split-label-left { left: 24%; }
.split-label-right { left: 76%; }

/* Studio and Launcher side by side */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}
.demo-col { min-width: 0; scroll-margin-top: 90px; }
.demo-head { margin-bottom: 14px; }
.demo-head h3 { margin: 0 0 4px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.demo-head p { margin: 0; font-size: 14px; color: var(--text-muted); min-height: 2.9em; }
.demo-col .studio-window { width: 100%; border-radius: 18px; }
.demo-col .studio-titlebar { padding: 11px 16px; }
.demo-col .studio-video-wrap video { width: 100%; max-height: none; aspect-ratio: 1364 / 600; background: #03060f; }
.demo-col .video-chapters { justify-content: flex-start; gap: 6px; }
.demo-col .chapter-btn { padding: 6px 11px; font-size: 12px; }

.studio-video-wrap video[hidden] { display: none; }

.launcher-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: 14px;
}
.launcher-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.launcher-facts li::before { content: "✓"; color: var(--emerald); font-weight: 800; margin-right: 6px; }

/* Hero Store: text and how-it-works steps side by side, gift as a wide band */
.store-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.store-intro h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.store-intro .check-list { font-size: 14.5px; }
.buy-steps {
  list-style: none;
  margin: 0;
  padding: 10px;
  display: grid;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.buy-steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 16px;
  border-radius: 14px;
  position: relative;
}
.buy-steps li:not(:last-child)::after {
  /* the line joining one step to the next */
  content: "";
  position: absolute;
  left: 33px;
  top: 54px;
  bottom: -14px;
  width: 2px;
  background: linear-gradient(var(--accent), transparent);
  opacity: 0.45;
}
.buy-steps li:hover { background: var(--surface-2); }
.buy-num {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  background: rgba(56, 189, 248, 0.08);
}
.buy-steps strong { display: block; font-size: 16px; margin: 6px 0 4px; color: var(--text-main); }
.buy-steps span:not(.buy-num) { display: block; font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.gift-band {
  max-width: 1100px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.gift-band h3 { margin: 0 0 10px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.gift-band p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }
.gift-band .check-list { font-size: 14px; margin-bottom: 18px; }
@media (max-width: 900px) {
  .store-split, .gift-band { grid-template-columns: 1fr; gap: 24px; }
}

/* FAQ: heading column on the left, questions on the right */
.faq-split {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.faq-aside { position: sticky; top: 96px; }
.faq-aside h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}
.faq-aside p { margin: 0 0 18px; color: var(--text-muted); font-size: 15px; line-height: 1.6; }
@media (max-width: 900px) {
  .faq-split { grid-template-columns: 1fr; gap: 20px; }
  .faq-aside { position: static; }
}

/* Pricing */
.price-card.recommended {
  border: 2px solid var(--blue);
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.18);
}
.price-card.recommended .tier-name { color: var(--blue); }
[data-theme="dark"] .price-card.recommended .tier-name { color: var(--accent); }
.price-card.recommended .price-btn {
  border: none;
  background: var(--blue);
  color: #fff;
}
.price-card.recommended .price-btn:hover { background: var(--blue-hover); }
.pricing-footnote {
  max-width: 900px;
  margin: 16px auto 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* FAQ */
.faq-item p a { text-decoration: underline; }

/* Footer */
.footer { padding: 44px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer-grid > div:not(.footer-about) { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a:hover { color: var(--blue); }
[data-theme="dark"] .footer-grid a:hover { color: var(--accent); }
.footer-brand {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: none;
  filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.18));
  transition: transform 0.25s ease;
}
.footer-brand:hover .footer-logo { transform: scale(1.06); }
.footer-about p { margin: 10px 0 0; max-width: 34ch; }
.footer-meta a { text-decoration: underline; }
.footer-head {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-main);
}
.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}

/* End-of-article call to action */
.article-cta {
  margin: 32px 0 8px;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
}
.article-cta h2 { margin: 0 0 8px !important; color: var(--text-main) !important; font-size: 21px !important; }
.article-cta p { margin: 0 0 16px; }
.article-cta .hero-actions { justify-content: flex-start; margin: 0; }

.not-found { text-align: center; }
.not-found h1 { font-size: clamp(30px, 4vw, 42px) !important; }
.not-found-actions { justify-content: center; margin-top: 22px; }

/* Responsive */

@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta, .nav-download { display: none; }
  .mobile-menu-btn { display: grid; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .brand {
    font-size: 22px;
    gap: 8px;
  }
  .brand-logo {
    height: 44px;
  }
  .navbar.scrolled .brand-logo {
    height: 40px;
  }
  .navbar .btn-secondary {
    white-space: nowrap;
    padding: 7px 11px !important;
    font-size: 12px !important;
  }


  .footer-grid { grid-template-columns: 1fr; }
  .banner-caption-pill {
    left: 12px;
    bottom: 14px;
    max-width: calc(100% - 150px);
    font-size: 12px;
    padding: 6px 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .banner-bullets {
    right: 8px;
    bottom: 10px;
  }
  .legal-wrap {
    margin: 94px auto 48px;
    padding: 24px 20px;
  }
}

/* Reduced Motion Accessibility */
/* ── Walking hero (homepage) ───────────────────────────── */
.walker {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 900;
  width: 172px;
  height: 230px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  will-change: transform;
}
.walker.is-in { opacity: 1; }
.walker.is-off, .walker[hidden] { display: none; }
.walker::before {
  /* ground shadow under the hooves */
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 2px;
  height: 18px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(1px);
}
.walker-img {
  position: relative;
  display: block;
  width: 172px;
  height: 230px;
  pointer-events: auto;
  /* the source footage is washed out: richer colour and contrast */
  filter: saturate(1.45) contrast(1.12) brightness(1.06) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}
.walker.facing-right .walker-img { transform: scaleX(-1); }
.walker-bubble {
  position: absolute;
  bottom: calc(100% - 6px);
  left: 50%;
  transform: translate(-50%, 6px);
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  line-height: 1;
  color: var(--text-main);
  text-decoration: none;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid var(--border-strong);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.walker-bubble strong { color: var(--accent); font-weight: 600; }
.walker-close {
  position: absolute;
  top: 8px;
  right: 0;
  width: 22px;
  height: 22px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(15, 23, 42, 0.92);
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.walker:hover .walker-bubble,
.walker:focus-within .walker-bubble { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.walker:hover .walker-close,
.walker:focus-within .walker-close { opacity: 1; pointer-events: auto; }
.walker-close:hover { color: var(--text-main); }
@media (max-width: 899px) { .walker { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-enter, .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}