/* ============================================================
   Studio Spotlight — shared design system across all subpages
   ============================================================ */

:root {
  --ink: #0e0b15;
  --ink-deep: #0a0810;
  --purple: #131019;
  --surface: #16131e;
  --surface-2: #1d1928;
  --line: rgba(255,255,255,0.07);
  --line-2: rgba(255,255,255,0.14);
  --tq: #00D6E3;
  --bl: #0046E5;
  --accent: #0046E5;
  --accent-rgb: 0, 70, 229;
  --accent-soft: #00D6E3;
  --accent-soft-rgb: 0, 214, 227;
  --grad: linear-gradient(120deg, #00D6E3 0%, #0046E5 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink-deep);
  color: #fff;
  font-family: 'Raleway', system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

.bg-aurora {
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, rgba(var(--accent-rgb), 0.32) 0%, rgba(var(--accent-rgb), 0) 55%),
    radial-gradient(ellipse 90% 60% at 100% 20%, rgba(var(--accent-soft-rgb), 0.16) 0%, rgba(var(--accent-soft-rgb), 0) 50%),
    radial-gradient(ellipse 90% 60% at 0% 30%, rgba(45,30,130,0.18) 0%, rgba(45,30,130,0) 50%),
    var(--ink-deep);
}
.bg-aurora-soft {
  background:
    radial-gradient(ellipse 90% 50% at 50% 0%, rgba(var(--accent-rgb), 0.18) 0%, rgba(var(--accent-rgb), 0) 60%),
    var(--ink-deep);
}
.bg-grain { position: relative; }
.bg-grain::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  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.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.dotgrid {
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 22px 22px;
}

.display {
  font-family: 'Special Gothic Expanded One', system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.0;
}
.h1 { font-size: clamp(2.4rem, 7.2vw, 6.4rem); }
.h2 { font-size: clamp(2.1rem, 5.0vw, 4.6rem); letter-spacing: -0.015em; line-height: 1.04; }
.h3 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); letter-spacing: -0.01em; line-height: 1.1; }
.h4 { font-family: 'Raleway', system-ui, sans-serif; font-size: clamp(1.15rem, 1.5vw, 1.4rem); font-weight: 600; letter-spacing: -0.005em; line-height: 1.2; }
.lede { font-size: clamp(1rem, 1.2vw, 1.18rem); line-height: 1.6; color: rgba(255,255,255,0.72); font-weight: 400; }
.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
/* The .tq class and the .pink alias both apply the brand gradient */
.tq, .pink, .pink-italic {
  background: linear-gradient(120deg, var(--tq) 0%, var(--bl) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tq-stroke, .pink-stroke { color: transparent; -webkit-text-stroke: 1.5px var(--bl); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.78rem 1.5rem; border-radius: 999px;
  background: #fff; color: var(--ink-deep); font-weight: 600; font-size: 0.9rem;
  font-family: 'Raleway', system-ui, sans-serif;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), color 260ms ease, box-shadow 260ms ease;
  box-shadow: 0 8px 28px -8px rgba(255,255,255,0.2);
  border: none; cursor: pointer; text-decoration: none;
  position: relative; isolation: isolate; overflow: hidden;
}
.btn-primary::before {
  content:''; position:absolute; inset:0; z-index:-1;
  background: linear-gradient(120deg, var(--tq) 0%, var(--bl) 100%);
  opacity: 0; transition: opacity 280ms ease;
}
.btn-primary:hover { transform: translateY(-1px); color: #fff; box-shadow: 0 16px 38px -10px rgba(var(--accent-rgb), 0.65); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:focus-visible { outline: 2px solid var(--tq); outline-offset: 3px; }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.6rem 1.2rem; border-radius: 999px;
  background: transparent; color: #fff; font-size: 0.85rem; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.18);
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), background 220ms ease, border-color 220ms ease;
  cursor: pointer; text-decoration: none;
}
.btn-ghost:hover { background: rgba(var(--accent-soft-rgb), 0.06); border-color: rgba(var(--accent-soft-rgb), 0.5); transform: translateY(-1px); }

.btn-gradient {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.78rem 1.5rem; border-radius: 999px;
  background: linear-gradient(120deg, var(--tq) 0%, var(--bl) 100%);
  color: #fff; font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 14px 30px -10px rgba(var(--accent-rgb), 0.6);
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), filter 220ms ease, box-shadow 220ms ease;
  border: none; cursor: pointer; text-decoration: none;
}
.btn-gradient:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 22px 44px -10px rgba(var(--accent-rgb), 0.75); }

.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.5rem;
  overflow: hidden;
}
.card-glow { position: relative; }
.card-glow::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(var(--accent-soft-rgb), 0.18), transparent 60%);
  opacity: 0; transition: opacity 300ms ease;
}
.card-glow:hover::after { opacity: 1; }
.lift { transition: transform 320ms cubic-bezier(.2,.7,.2,1), background 320ms ease, border-color 320ms ease; }
.lift:hover { transform: translateY(-4px); border-color: rgba(var(--accent-soft-rgb), 0.35); }

.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.85rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.02);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.chip-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--tq); box-shadow: 0 0 12px var(--tq); }

.nav-link {
  position: relative; font-size: 0.92rem; color: rgba(255,255,255,0.85);
  padding: 0.4rem 0.2rem; transition: color 180ms ease; text-decoration: none; font-weight: 500;
}
.nav-link:hover { color: #fff; }
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--tq) 30%, var(--bl) 70%, transparent);
  transform: scaleX(0); transform-origin: center; transition: transform 240ms ease;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: #fff; }

.header-scrolled { background: rgba(10,8,16,0.72); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,0.06); }

.input {
  width: 100%;
  padding: 0.95rem 1.15rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-2);
  color: #fff; font-size: 0.95rem;
  transition: border-color 180ms ease, background 180ms ease;
  font-family: inherit;
}
.input::placeholder { color: rgba(255,255,255,0.35); }
.input:focus { outline: none; border-color: var(--tq); background: rgba(255,255,255,0.05); }
textarea.input { min-height: 140px; resize: vertical; }

.label {
  display: block; font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-bottom: 0.55rem;
}

.h-scroll { overflow-x: auto; scrollbar-width: none; }
.h-scroll::-webkit-scrollbar { display: none; }

.foot-link { color: rgba(255,255,255,0.6); transition: color 160ms ease; text-decoration: none; }
.foot-link:hover { color: #fff; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.floaty { animation: floaty 6s ease-in-out infinite; }
.floaty-delay { animation-delay: -3s; }

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}
.pulse-ring { animation: pulse-ring 2.4s cubic-bezier(.2,.7,.2,1) infinite; }

@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.fadeup { animation: fadeup 800ms cubic-bezier(.2,.7,.2,1) both; }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track { display: flex; gap: 4rem; animation: marquee 38s linear infinite; width: max-content; align-items: center; }

.tab-active { background: rgba(var(--accent-soft-rgb), 0.10); border-color: rgba(var(--accent-soft-rgb), 0.45) !important; color: #fff !important; box-shadow: 0 8px 24px -10px rgba(var(--accent-soft-rgb), 0.4); }

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: 1.5rem; }
@media (min-width: 1024px) { .wrap { padding-inline: 3rem; } }

.section { padding-block: 5rem; position: relative; }
@media (min-width: 1024px) { .section { padding-block: 9rem; } }
.section-sm { padding-block: 3rem; }
@media (min-width: 1024px) { .section-sm { padding-block: 5rem; } }

/* ---- Shared Spotlight header logo helpers ---- */
.sp-logo {
  display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none;
}
.sp-logo-icon { width: 32px; height: 32px; flex-shrink: 0; }
.sp-logo-word {
  font-family: 'Special Gothic Expanded One', system-ui, sans-serif;
  font-size: 1rem; color: #fff; letter-spacing: -0.005em;
}
.sp-logo-tag {
  margin-left: 0.4rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  border-left: 1px solid rgba(255,255,255,0.15);
  padding-left: 0.65rem;
}
@media (max-width: 768px) {
  .sp-logo-tag { display: none; }
}

/* ===================== MEGAMENU ===================== */
.mm-trigger { cursor: pointer; background: transparent; border: 0; }
.mm-chevron { transition: transform 320ms cubic-bezier(.2,.7,.2,1); opacity: 0.6; }
.mm-wrap:hover .mm-chevron,
.mm-wrap:focus-within .mm-chevron { transform: rotate(180deg); opacity: 1; }

.mm-wrap { position: relative; }

.megamenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  margin-top: 18px;
  width: min(880px, calc(100vw - 48px));
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 260ms cubic-bezier(.2,.7,.2,1),
              transform 320ms cubic-bezier(.2,.7,.2,1),
              visibility 0s linear 320ms;
  z-index: 60;
}
.mm-wrap:hover .megamenu,
.mm-wrap:focus-within .megamenu,
.megamenu:hover {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s, 0s, 0s;
}
.megamenu::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }

.megamenu-panel {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.09);
  background: linear-gradient(180deg, rgba(13,17,32,0.92), rgba(8,11,22,0.96));
  box-shadow:
    0 30px 80px -22px rgba(0,18,60,0.85),
    0 6px 24px -8px rgba(0,214,227,0.18),
    inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  overflow: hidden;
}
.megamenu-panel::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(540px circle at 8% -10%, rgba(0,214,227,0.16), transparent 55%),
    radial-gradient(640px circle at 100% 120%, rgba(0,70,229,0.22), transparent 60%);
}
.megamenu-panel::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.05;
  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.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.mm-header {
  position: relative;
  padding: 18px 22px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.mm-header-eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(0,214,227,0.85);
  display: inline-flex; align-items: center; gap: 8px;
}
.mm-header-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 999px;
  background: #00D6E3; box-shadow: 0 0 12px rgba(0,214,227,0.7);
}
.mm-header-title {
  font-family: 'Raleway', system-ui, sans-serif;
  font-weight: 600; font-size: 14px; color: rgba(255,255,255,0.92);
  margin-top: 6px; letter-spacing: -0.005em;
}
.mm-header-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(255,255,255,0.55); text-decoration: none;
  transition: color 200ms ease, gap 220ms cubic-bezier(.2,.7,.2,1);
}
.mm-header-link:hover { color: #fff; gap: 10px; }

.megamenu-grid {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  padding: 14px;
}
.mm-item {
  position: relative;
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px 16px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none; color: inherit;
  transition: background 220ms ease, border-color 220ms ease, transform 320ms cubic-bezier(.2,.7,.2,1);
}
.mm-item:hover {
  background: rgba(255,255,255,0.035);
  border-color: rgba(0,214,227,0.22);
  transform: translateY(-2px);
}
.mm-icon {
  flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  display: flex; align-items: center; justify-content: center;
  color: rgba(0,214,227,0.9);
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}
.mm-item:hover .mm-icon {
  background: linear-gradient(135deg, #00D6E3, #0046E5);
  color: #fff;
  border-color: rgba(0,214,227,0.5);
  box-shadow: 0 8px 22px -6px rgba(0,70,229,0.55);
}
.mm-num {
  position: absolute; top: 12px; right: 14px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.56rem; letter-spacing: 0.22em;
  color: rgba(255,255,255,0.32);
  transition: color 220ms ease;
}
.mm-item:hover .mm-num { color: rgba(0,214,227,0.85); }
.mm-text { min-width: 0; padding-right: 18px; }
.mm-title {
  display: block;
  font-family: 'Raleway', system-ui, sans-serif;
  font-weight: 600; font-size: 13.5px; color: #fff;
  line-height: 1.2; margin-bottom: 4px;
  letter-spacing: -0.003em;
}
.mm-desc { font-size: 11.5px; color: rgba(255,255,255,0.55); line-height: 1.45; }

.mm-cta {
  position: relative;
  grid-column: span 1;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 16px 16px 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(0,214,227,0.28);
  background:
    linear-gradient(135deg, rgba(0,214,227,0.16), rgba(0,70,229,0.18) 70%),
    radial-gradient(circle at 100% 0%, rgba(0,214,227,0.35), transparent 60%);
  text-decoration: none; color: inherit;
  overflow: hidden;
  transition: border-color 220ms ease, transform 320ms cubic-bezier(.2,.7,.2,1);
}
.mm-cta::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(0,214,227,0.6), rgba(0,70,229,0.2));
  opacity: 0.18; mix-blend-mode: overlay;
}
.mm-cta:hover { border-color: rgba(0,214,227,0.55); transform: translateY(-2px); }
.mm-cta-text { display:flex; flex-direction: column; gap: 2px; min-width: 0; position: relative; z-index: 1; }
.mm-cta-text b {
  font-family: 'Raleway', system-ui, sans-serif;
  font-weight: 600; font-size: 13.5px; color: #fff; line-height: 1.2;
}
.mm-cta-text small { font-size: 11.5px; color: rgba(255,255,255,0.7); line-height: 1.4; }
.mm-cta-arrow {
  flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 999px;
  background: linear-gradient(135deg, #00D6E3, #0046E5);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(0,70,229,0.7);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
  position: relative; z-index: 1;
}
.mm-cta:hover .mm-cta-arrow { transform: translateX(4px); }

.mm-foot {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.015);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.mm-foot-meta { display: inline-flex; align-items: center; gap: 8px; }
.mm-foot-meta::before {
  content: ''; width: 6px; height: 6px; border-radius: 999px;
  background: #5fd17f; box-shadow: 0 0 10px rgba(95,209,127,0.6);
  animation: mmPulse 2s ease-in-out infinite;
}
@keyframes mmPulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
.mm-foot a { color: rgba(255,255,255,0.75); text-decoration: none; transition: color 200ms ease; }
.mm-foot a:hover { color: #fff; }

@media (max-width: 1023px) {
  .megamenu { display: none; }
}

/* ===================== Mobile menu ===================== */
.menu-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: #fff;
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms cubic-bezier(.2,.7,.2,1);
}
.menu-btn:hover, .menu-btn:focus-visible { outline: none; background: rgba(0,214,227,0.10); border-color: rgba(0,214,227,0.45); }
.menu-btn[aria-expanded="true"] { background: rgba(0,214,227,0.14); border-color: rgba(0,214,227,0.55); }
.menu-btn .bars { width: 22px; height: 16px; position: relative; display: block; }
.menu-btn .bars span {
  position: absolute; left: 0; right: 0; height: 1.6px; background: currentColor; border-radius: 2px;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), opacity 220ms ease, top 320ms cubic-bezier(.2,.7,.2,1);
}
.menu-btn .bars span:nth-child(1) { top: 2px; }
.menu-btn .bars span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-btn .bars span:nth-child(3) { top: calc(100% - 2px); }
.menu-btn[aria-expanded="true"] .bars span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .bars span:nth-child(3) { top: 50%; transform: translateY(-50%) rotate(-45deg); }

#mobile-menu {
  position: fixed;
  inset: 72px 0 0 0;
  z-index: 49;
  background: #0a0810;
  display: flex; flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 320ms ease, visibility 0s linear 320ms, transform 360ms cubic-bezier(.2,.7,.2,1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
#mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 280ms ease, visibility 0s linear 0s, transform 360ms cubic-bezier(.2,.7,.2,1);
}
#mobile-menu::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(0,70,229,0.18), transparent 60%),
    radial-gradient(ellipse 60% 30% at 50% 100%, rgba(0,214,227,0.10), transparent 60%);
}
.mm-mobile {
  position: relative;
  padding: 1.6rem 1.4rem 2.5rem;
  display: flex; flex-direction: column;
  gap: 0.25rem;
  min-height: 100%;
}
.mm-mobile-eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0.5rem 0 0.8rem 0.5rem;
}
.mm-mobile-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.95rem 1rem;
  font-family: 'Special Gothic Expanded One', system-ui, sans-serif;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  background: none; width: 100%; text-align: left; cursor: pointer;
  transition: color 200ms ease, background 200ms ease, padding-left 220ms cubic-bezier(.2,.7,.2,1);
}
.mm-mobile-link:hover, .mm-mobile-link:focus-visible { color: #00D6E3; outline: none; padding-left: 1.4rem; }
.mm-mobile-link.is-active { color: #00D6E3; }
.mm-mobile-link .chev { display: inline-flex; transition: transform 240ms cubic-bezier(.2,.7,.2,1); color: rgba(255,255,255,0.55); }
.mm-mobile-acc.is-open .mm-mobile-link .chev { transform: rotate(180deg); color: #00D6E3; }

.mm-mobile-sub {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 320ms cubic-bezier(.2,.7,.2,1);
}
.mm-mobile-sub > div { overflow: hidden; }
.mm-mobile-acc.is-open .mm-mobile-sub { grid-template-rows: 1fr; }
.mm-mobile-subitem {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.8rem 1rem 0.8rem 1.6rem;
  font-family: 'Raleway', system-ui, sans-serif;
  font-size: 0.95rem; font-weight: 500;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 200ms ease, background 200ms ease;
}
.mm-mobile-subitem:hover, .mm-mobile-subitem:focus-visible { color: #fff; background: rgba(0,214,227,0.06); outline: none; }
.mm-mobile-subnum {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.18em; color: rgba(0,214,227,0.7);
  flex-shrink: 0; width: 18px;
}

.mm-mobile-cta {
  margin-top: 1.6rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 1rem 1.4rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #00D6E3, #0046E5);
  color: #fff !important;
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: -0.005em;
  box-shadow: 0 14px 40px -16px rgba(0,70,229,0.7);
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), box-shadow 220ms ease;
}
.mm-mobile-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -16px rgba(0,70,229,0.85); }
.mm-mobile-foot {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex; flex-direction: column; gap: 0.4rem;
  font-size: 0.78rem; color: rgba(255,255,255,0.55);
}
.mm-mobile-foot .row { display: flex; justify-content: space-between; align-items: center; }
.mm-mobile-foot a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color 200ms ease; }
.mm-mobile-foot a:hover { color: #00D6E3; }
.mm-mobile-lang { display: inline-flex; align-items: center; gap: 6px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.18em; }
.mm-mobile-lang .active { color: #fff; }

/* ─── Scroll-to-top button ─── */
#scroll-top-btn {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 60;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0,214,227,0.20), rgba(0,70,229,0.30));
  border: 1px solid rgba(0,214,227,0.40);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px) scale(0.85);
  pointer-events: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px -10px rgba(0,70,229,0.55);
  transition: opacity 280ms cubic-bezier(.2,.7,.2,1), transform 280ms cubic-bezier(.2,.7,.2,1), background 240ms ease, border-color 240ms ease;
}
#scroll-top-btn.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
#scroll-top-btn:hover, #scroll-top-btn:focus-visible {
  background: linear-gradient(135deg, #00D6E3, #0046E5);
  border-color: rgba(0,214,227,0.85);
  outline: none;
  transform: translateY(-3px) scale(1.04);
}
#scroll-top-btn:active { transform: translateY(0) scale(0.98); }
@media (max-width: 640px) {
  #scroll-top-btn { right: 1rem; bottom: 1rem; width: 44px; height: 44px; }
}

/* ─── Toast notifications ─── */
.sp-toast {
  position: fixed;
  left: 50%;
  bottom: 5.2rem;
  transform: translate(-50%, 20px);
  z-index: 70;
  max-width: min(440px, calc(100vw - 2rem));
  padding: 0.85rem 1.2rem;
  border-radius: 14px;
  background: rgba(20, 17, 30, 0.92);
  border: 1px solid rgba(0, 214, 227, 0.30);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  font-family: 'Raleway', system-ui, sans-serif;
  font-size: 0.88rem;
  line-height: 1.45;
  box-shadow: 0 16px 40px -16px rgba(0, 70, 229, 0.55);
  opacity: 0;
  transition: opacity 280ms cubic-bezier(.2,.7,.2,1), transform 280ms cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.sp-toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.sp-toast--success { border-color: rgba(0, 214, 227, 0.55); }
@media (max-width: 640px) {
  .sp-toast { bottom: 4.5rem; padding: 0.7rem 1rem; font-size: 0.82rem; }
}

/* ─── Cookie consent banner ─── */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 65;
  max-width: 920px;
  margin: 0 auto;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(22, 19, 30, 0.95), rgba(14, 11, 21, 0.97));
  border: 1px solid rgba(0, 214, 227, 0.30);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 50px -20px rgba(0, 70, 229, 0.50);
  transform: translateY(110%);
  opacity: 0;
  transition: transform 420ms cubic-bezier(.2,.7,.2,1), opacity 320ms ease;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner-inner {
  padding: 1.25rem 1.4rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem;
  align-items: start;
}
.cookie-banner-main { display: flex; gap: 1rem; align-items: flex-start; min-width: 0; }
.cookie-banner-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(0, 214, 227, 0.10);
  border: 1px solid rgba(0, 214, 227, 0.30);
  color: #00D6E3;
  display: inline-flex; align-items: center; justify-content: center;
}
.cookie-banner-title {
  font-family: 'Raleway', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  color: #fff;
  margin-bottom: 0.35rem;
}
.cookie-banner-text {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}
.cookie-banner-text a { color: #00D6E3; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner-text a:hover { color: #fff; }

.cookie-banner-cats {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.cookie-cat {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
}
.cookie-cat--off { opacity: 0.55; cursor: not-allowed; }
.cookie-cat input {
  margin-top: 3px;
  accent-color: #00D6E3;
  flex-shrink: 0;
}
.cookie-cat span { display: flex; flex-direction: column; gap: 1px; }
.cookie-cat b { font-size: 0.86rem; font-weight: 600; color: #fff; }
.cookie-cat small { font-size: 0.75rem; color: rgba(255,255,255,0.55); }

.cookie-banner-actions {
  display: flex; flex-direction: column; gap: 0.5rem;
  align-self: stretch; justify-content: flex-end;
}
.cookie-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: 'Raleway', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, transform 160ms ease;
  white-space: nowrap;
}
.cookie-btn:hover { background: rgba(255,255,255,0.08); border-color: rgba(0,214,227,0.40); }
.cookie-btn--primary {
  background: linear-gradient(120deg, #00D6E3, #0046E5);
  border-color: transparent;
  box-shadow: 0 14px 32px -16px rgba(0,70,229,0.85);
}
.cookie-btn--primary:hover { transform: translateY(-1px); }
.cookie-btn--ghost { background: rgba(255,255,255,0.025); }

@media (max-width: 720px) {
  .cookie-banner { left: 0.5rem; right: 0.5rem; bottom: 0.5rem; border-radius: 14px; }
  .cookie-banner-inner { grid-template-columns: 1fr; padding: 1rem 1.1rem; gap: 0.9rem; }
  .cookie-banner-main { gap: 0.8rem; }
  .cookie-banner-icon { width: 36px; height: 36px; }
  .cookie-banner-actions { flex-direction: row; flex-wrap: wrap; }
  .cookie-btn { flex: 1 1 auto; min-width: 32%; padding: 0.6rem 0.9rem; font-size: 0.78rem; }
}

/* ─── FAQ section column fix (heading overflow) ─── */
@media (min-width: 1024px) {
  .faq-2col-heading { min-width: 0; word-break: normal; overflow-wrap: anywhere; hyphens: auto; }
}
.faq-item summary { cursor: pointer; }

/* ─── Sluzby FAQ heading guard (matches sluzby.html section) ─── */
.sp-faq-h { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.sp-faq-h .display { font-size: clamp(1.9rem, 3.4vw, 3.4rem) !important; line-height: 1.06; }
