/* ==========================================================================
   Brand Signal Bureau - Global UI Styles
   --------------------------------------------------------------------------
   - ✅ Avoids raw Tailwind directives in the browser-served stylesheet
   - ✅ Uses broadly supported CSS for cleaner cross-browser console output
   - ✅ Removes duplicate/competing rules (esp. fade-up + btn)
   - ✅ Fixes .cards-glow “inset overrides left/transform” bug
   - ✅ Uses widely-supported rgb(r,g,b) syntax
   ========================================================================== */

/* ----------------------------------------------------------------------------------------------------------------
   Base / typography
------------------------------------------------------------------------------------------------------------------- */

:root {
  --ba-shell-inline: 1.5rem;
  --ba-shared-start: 1.75rem;
  --ba-shared-inset: calc(var(--ba-shared-start) - var(--ba-shell-inline));
  --studio-border-shell-light: rgba(148, 163, 184, 0.22);
  --studio-border-shell-dark: rgba(148, 163, 184, 0.18);
  --studio-border-card-light: rgba(148, 163, 184, 0.2);
  --studio-border-card-dark: rgba(148, 163, 184, 0.22);
  --studio-border-field-light: rgba(148, 163, 184, 0.34);
  --studio-border-field-dark: rgba(100, 116, 139, 0.42);
  --studio-border-dashed-light: rgba(148, 163, 184, 0.3);
  --studio-border-dashed-dark: rgba(100, 116, 139, 0.38);
}

@media (min-width: 768px) {
  :root {
    --ba-shell-inline: 2rem;
    --ba-shared-start: 3rem;
    --ba-shared-inset: calc(var(--ba-shared-start) - var(--ba-shell-inline));
  }
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

[x-cloak] { display: none !important; }

body > .site-header,
body > .site-footer {
  flex-shrink: 0;
}

body > main {
  flex: 1 0 auto;
}

/* ----------------------------------------------------------------------------------------------------------------
   Layout helpers (NEW shell system)
----------------------------------------------------------------------------------------------------------------- */

/* New: consistent shell wrapper used by base.html */
.ba-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1.5rem;  /* ~px-6 */
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .ba-shell {
    padding-left: 2rem;  /* ~md:px-8 */
    padding-right: 2rem;
  }
}

/* Ultra-wide: subtle max-width bump at 1440+ */
@media (min-width: 1440px) {
  .ba-shell { max-width: 1320px; }
}

.ba-shell--studio {
  max-width: 1520px;
  padding-left: 1.5rem;
  padding-right: 0.5rem;
}

@media (min-width: 768px) {
  .ba-shell--studio {
    padding-left: 2rem;
    padding-right: 0.75rem;
  }
}

.auth-entry-card {
  border-radius: clamp(1.5rem, 2vw, 2rem);
}

.auth-entry-card .auth-entry-panel {
  background:
    linear-gradient(135deg, rgba(251, 247, 232, 0.98) 0%, rgba(238, 253, 248, 0.94) 58%, rgba(255, 255, 255, 0.98) 100%) !important;
  border-right: 1px solid rgba(8, 9, 15, 0.08);
  color: #08090f !important;
}

.auth-entry-card .auth-entry-panel h1 {
  color: #08090f !important;
}

.auth-entry-card .auth-entry-panel p {
  color: rgba(53, 65, 82, 0.78) !important;
}

.auth-entry-card .auth-entry-panel .auth-entry-kicker {
  color: #0f9d8f !important;
}

html.dark .auth-entry-card .auth-entry-panel {
  background: #020617 !important;
  border-right-color: rgba(148, 163, 184, 0.22);
  color: rgb(241, 245, 249) !important;
}

html.dark .auth-entry-card .auth-entry-panel h1 {
  color: rgba(226, 232, 240, 0.96) !important;
}

html.dark .auth-entry-card .auth-entry-panel p {
  color: rgb(203, 213, 225) !important;
}

html.dark .auth-entry-card .auth-entry-panel .auth-entry-kicker {
  color: #5eead4 !important;
}

.legal-page {
  padding-bottom: 4rem;
}

.legal-hero {
  display: grid;
  gap: 1rem;
  max-width: 56rem;
  padding: clamp(2.5rem, 7vw, 5.5rem) 0 2rem;
}

.legal-eyebrow {
  margin: 0;
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin: 0;
  color: #08090f;
  font-size: clamp(2.2rem, 6vw, 4.75rem);
  font-weight: 900;
  line-height: 0.95;
}

.legal-hero p {
  max-width: 48rem;
  margin: 0;
  color: rgba(15, 23, 42, 0.72);
  font-size: 1.08rem;
  line-height: 1.75;
}

.legal-hero small {
  color: rgba(15, 23, 42, 0.56);
  font-size: 0.9rem;
}

.legal-content {
  display: grid;
  gap: 0;
  max-width: 56rem;
  border-top: 1px solid rgba(15, 23, 42, 0.14);
}

.legal-section {
  display: grid;
  gap: 0.7rem;
  padding: 1.45rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.legal-section h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 850;
}

.legal-section p {
  margin: 0;
  color: rgba(15, 23, 42, 0.72);
  font-size: 1rem;
  line-height: 1.7;
}

html.dark .legal-eyebrow {
  color: #5eead4;
}

html.dark .legal-hero h1,
html.dark .legal-section h2 {
  color: #fbf7e8;
}

html.dark .legal-hero p,
html.dark .legal-section p {
  color: rgba(251, 247, 232, 0.72);
}

html.dark .legal-hero small {
  color: rgba(251, 247, 232, 0.52);
}

html.dark .legal-content {
  border-top-color: rgba(251, 247, 232, 0.14);
}

html.dark .legal-section {
  border-bottom-color: rgba(251, 247, 232, 0.1);
}

/* ============================================================================================================================================
   Grid wrapper (sidebar optional, safe)
   ============================================================================================================================================ */

.ba-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
}

/* Sidebar + content defaults */
.ba-grid__sidebar {
  grid-column: span 12;
  min-width: 0;
}

.ba-grid__content {
  grid-column: span 12;
  min-width: 0;
}

/* If sidebar is truly empty, remove it and let content go full width */
.ba-grid__sidebar:empty {
  display: none;
}

.ba-grid__sidebar:empty + .ba-grid__content {
  grid-column: span 12;
}

/* Desktop layout: 3 / 9 split */
@media (min-width: 1024px) {
  .ba-grid__sidebar { grid-column: span 3; }
  .ba-grid__content { grid-column: span 9; }

  /* Still full width when sidebar is empty */
  .ba-grid__sidebar:empty + .ba-grid__content { grid-column: span 12; }
}

/* Legacy studio nav rules removed.
   The canonical sidebar layout lives in the "Studio Navigation Tightening" block later in this file. */



/* =========================================
   Studio Progress Bar
========================================= */

.studio-progress-track {
  position: relative;
  height: 6px;
  width: 100%;
  border-radius: 999px;
  background: #f8fafc;
  overflow: hidden;
}

.studio-progress-fill {
  height: 100%;
  border-radius: 999px;

  /* subtle gradient */
  background: linear-gradient(
    90deg,
    #14b8a6 0%,
    #2dd4bf 100%
  );

  /* glow */
  box-shadow: 0 0 8px rgba(20,184,166,0.35);

  transition: width 0.35s ease;
}

.studio-progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  height: 100%;
  width: 40%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );
  animation: studio-progress-shimmer 2.5s 2 forwards;
}

@keyframes studio-progress-shimmer {
  from { left: -40%; }
  to { left: 120%; }
}

.presentation-build-status {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.presentation-build-status > :not(.presentation-build-status-motion) {
  position: relative;
  z-index: 1;
}

.presentation-build-status-motion {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-120%);
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(251, 191, 36, 0.08) 28%,
    rgba(251, 191, 36, 0.35) 50%,
    rgba(251, 191, 36, 0.08) 72%,
    transparent 100%
  );
}

.presentation-build-status::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  bottom: 0.35rem;
  left: 0.75rem;
  z-index: 0;
  height: 2px;
  border-radius: 9999px;
  opacity: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.85), transparent)
    0 0 / 45% 100%
    no-repeat;
}

.presentation-build-status--working .presentation-build-status-motion {
  opacity: 1;
  animation: presentation-build-sweep 1.35s ease-in-out infinite;
}

.presentation-build-status--working::after {
  opacity: 1;
  animation: presentation-build-track 1.1s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .presentation-build-status--working .presentation-build-status-motion,
  .presentation-build-status--working::after {
    animation: none;
  }
}

@keyframes presentation-build-sweep {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}

@keyframes presentation-build-track {
  from { background-position: -45% 0; }
  to { background-position: 145% 0; }
}



/* ==========================================================================
   Studio sidebar – restore contrast (light mode)
   ========================================================================== */

/* Base sidebar text */
html:not(.dark) .studio-sidebar,
html:not(.dark) .studio-side-inner{
  color: rgba(15,23,42,0.82); /* slate-900-ish */
}

/* Section labels like "STUDIOS", "MODULES" */
html:not(.dark) .studio-nav-group{
  color: rgba(71,85,105,0.92); /* slate-600 */
}

/* Links */
html:not(.dark) .studio-nav-link{
  color: rgba(15,23,42,0.82);
  border: 1px solid transparent; /* keeps layout stable */
}

/* Hover/active states */
html:not(.dark) .studio-nav-link:hover{
  background: rgba(13,148,136,0.06);   /* teal wash */
  border-color: rgba(13,148,136,0.14);
  color: rgba(15,23,42,0.92);
}

html:not(.dark) .studio-nav-link.is-active{
  background: rgba(13,148,136,0.10);
  border-color: rgba(13,148,136,0.22);
  color: rgba(15,23,42,0.95);
}

/* Disabled modules should be dim, but still readable */
html:not(.dark) .studio-nav-disabled{
  opacity: 0.45;              /* was likely too low */
  color: rgba(15,23,42,0.70);
}

/* Lock icon */
html:not(.dark) .studio-lock-icon{
  opacity: 0.6;
}

/* Tip text under the modules list */
html:not(.dark) .studio-side-inner p,
html:not(.dark) .studio-side-inner .text-slate-500{
  color: rgba(100,116,139,0.90);
}

/* ==========================================================================
   Admin sidebar – use the lighter Studio/module text tone
   ========================================================================== */

html:not(.dark) .admin-sidebar,
html:not(.dark) .admin-sidebar .studio-side-inner{
  color: rgba(100,116,139,0.92);
}

html:not(.dark) .admin-sidebar .studio-nav-group{
  color: rgba(71,85,105,0.88);
}

html:not(.dark) .admin-sidebar .studio-nav-link{
  color: rgba(100,116,139,0.92);
}

html:not(.dark) .admin-sidebar .studio-nav-link:hover{
  color: rgba(71,85,105,0.94);
  background: rgba(13,148,136,0.05);
  border-color: rgba(13,148,136,0.12);
}

html:not(.dark) .admin-sidebar .studio-nav-link.is-active{
  color: rgba(51,65,85,0.94);
  background: rgba(13,148,136,0.10);
  border-color: rgba(13,148,136,0.20);
}

/* Studio body text baseline in light mode */
html:not(.dark) .studio-main,
html:not(.dark) .studio-header-frame,
html:not(.dark) .studio-main .text-slate-500,
html:not(.dark) .studio-main .text-slate-600,
html:not(.dark) .studio-main .text-slate-700,
html:not(.dark) .studio-main .text-slate-800,
html:not(.dark) .studio-main .text-slate-900,
html:not(.dark) .studio-header-frame .text-slate-500,
html:not(.dark) .studio-header-frame .text-slate-600,
html:not(.dark) .studio-header-frame .text-slate-700,
html:not(.dark) .studio-header-frame .text-slate-800,
html:not(.dark) .studio-header-frame .text-slate-900{
  color: #52637b;
}


/* Legacy studio nav polish removed in favor of the shared sidebar rules later in the file. */



/* ----------------------------------------------------------------------------------------------------------------
   Navigation
------------------------------------------------------------------------------------------------------------------------------- */

.ba-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;          /* gap-3 */
  margin-bottom: 1.5rem; /* mb-6 */
  font-size: 0.875rem;   /* text-sm */
}

.ba-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem 0.75rem; /* px-3 py-1.5 */
  border-radius: 0.5rem;     /* rounded-lg */
  border: 1px solid #cbd5e1; /* slate-300 */
  color: #334155;            /* slate-700 */
  text-decoration: none;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease,
    box-shadow 150ms ease;
}

.ba-nav-link:hover {
  background-color: #f1f5f9; /* slate-100 */
}

.ba-nav-link.is-active {
  background-color: #ccfbf1; /* teal-100 */
  border-color: #2dd4bf;     /* teal-400 */
  color: #115e59;            /* teal-800 */
  font-weight: 600;
}

/* ============================================================================================================================================
   Homepage card animation
   ============================================================================================================================================ */

@keyframes bgGradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.card-animated-bg {
  background-image: linear-gradient(130deg, #4f46e5, #0ea5e9, #22c55e, #a855f7);
  background-size: 220% 220%;
  animation: bgGradientShift 18s ease-in-out infinite;
  opacity: 0.22;
  mix-blend-mode: screen;
}

/* Inside band glow */
.inside-band {
  position: relative;
  isolation: isolate;
}

.inside-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(13,148,136,0.25), transparent 55%);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.inside-band > * {
  position: relative;
  z-index: 1;
}

/* ==========================================================================================================================
   Glassy pills
   ========================================================================================================================== */

.pill-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(51, 65, 85, 0.9); /* slate-700/90 */
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  color: rgb(148, 163, 184);
  background-color: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(6px);
  transition:
    border-color 200ms ease,
    color 200ms ease,
    background-color 200ms ease,
    box-shadow 200ms ease;
  text-decoration: none;
}

.pill-link::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: radial-gradient(circle, #38bdf8, #6366f1);
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.8);
}

.pill-link:hover {
  border-color: rgba(129, 140, 248, 0.8);
  color: rgb(226, 232, 240);
  background-color: rgba(15, 23, 42, 0.95);
}

/* ==========================================================================================================================
   Cards glow / parallax
   ========================================================================================================================== */

/* Soft horizontal glow behind card grid */
.cards-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
  max-width: 1600px;
  height: 220px;
  background:
    radial-gradient(60% 120% at 50% 20%, rgba(13,148,136,0.25), transparent 70%),
    radial-gradient(40% 100% at 10% 80%, rgba(56, 189, 248, 0.25), transparent 70%),
    radial-gradient(40% 100% at 90% 80%, rgba(37, 99, 235, 0.25), transparent 70%);
  filter: blur(40px);
  opacity: 0.75;
  pointer-events: none;
  z-index: 1;
}

/* Cards grid parallax + glow (base, no timeline props here) */
.cards-parallax {
  position: relative;
  isolation: isolate;
}

.cards-parallax::before {
  content: "";
  position: absolute;
  inset: 10% 5% 30% 5%;
  background:
    radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.25), transparent 60%),
    radial-gradient(circle at 80% 0%, rgba(13,148,136,0.25), transparent 60%);
  opacity: 0.35;
  filter: blur(12px);
  z-index: 0;
  pointer-events: none;
}

.cards-parallax > * {
  position: relative;
  z-index: 1;
}

/* Keep the section stable across browsers instead of relying on experimental scroll timelines. */
.cards-parallax {
  transform: translateY(0);
  animation: none;
}

/* ==========================================================================================================================
   Testimonial / quote card
   ========================================================================================================================== */

.testimonial-text { line-height: 1.35; }

.quote-card {
  position: relative;
  border-radius: 1.25rem;
  padding: 2rem 1.75rem 1.75rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.14), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(13,148,136,0.25), transparent 55%),
    rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(51, 65, 85, 0.9);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
}

.quote-badge {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgb(148, 163, 184);
}

.quote-mark {
  font-size: 2.5rem;
  line-height: 1;
  color: rgba(148, 163, 184, 0.35);
}

/* ==========================================================================================================
   Section background bands
   ========================================================================================================== */

.section-bg-1 { background-color: #020617; } /* darkest */
.section-bg-2 { background-color: #050b18; } /* medium dark */
.section-bg-3 { background-color: #071324; } /* lightest (still dark) */

.section-divider {
  height: 1px;
  max-width: 64rem;
  margin: 0 auto;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0),
    rgba(148, 163, 184, 0.45),
    rgba(15, 23, 42, 0)
  );
  opacity: 0.6;
}

/* ==========================================================================================================
   Cards / fields (CDN-safe)
   ========================================================================================================== */

.ba-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0; /* slate-200 */
  border-radius: 1rem;       /* rounded-2xl */
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  padding: 1.25rem;          /* p-5 */
  transition: box-shadow 150ms ease, transform 150ms ease;
}

.ba-card:hover {
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.field {
  width: 100%;
  border-radius: 0.75rem;    /* rounded-xl */
  border: 1px solid #cbd5e1; /* slate-300 */
  padding: 0.5rem 0.75rem;
  outline: none;
}

.field:focus {
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.35); /* teal ring-ish */
  border-color: rgba(20, 184, 166, 0.9);
}

/* Hero headers */
.ba-hero h2 {
  font-size: 1.5rem;     /* text-2xl */
  font-weight: 600;      /* font-semibold */
  letter-spacing: -0.015em;
  margin-bottom: 0.25rem;
}

.ba-hero p {
  color: #475569;        /* slate-600 */
  margin-bottom: 1rem;
}

/* ==========================================================================================================
   Section grid background (consolidated)
   ========================================================================================================== */

.section-grid-bg {
  position: relative;
}

.section-grid-bg::before {
  content: "";
  position: absolute;
  inset: -40px -40px 0 -40px;
  z-index: 0;
  pointer-events: none;

  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.10) 1px, transparent 1px);

  background-size: 32px 32px;
  opacity: 0.18;
  mix-blend-mode: screen;
}

.section-grid-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.35) 80%);
}

.section-grid-bg > * {
  position: relative;
  z-index: 1;
}

/* ==========================================================================================================
   Landing page layout
   ========================================================================================================== */

.landing-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--ba-shared-start);
  padding-right: var(--ba-shell-inline);
}

@media (min-width: 1440px) {
  .landing-shell {
    max-width: 1320px;
  }
}

.landing-shell--wide {
  max-width: 1280px;
}

@media (min-width: 1440px) {
  .landing-shell--wide {
    max-width: 1400px;
  }
}

.landing-band {
  position: relative;
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.landing-band-tight {
  padding-top: 4rem;
}

@media (min-width: 768px) {
  .landing-band {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }

  .landing-band-tight {
    padding-top: 5rem;
  }
}

.landing-hero-grid {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .landing-hero-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.82fr);
    gap: 3rem;
  }
}

.landing-hero-copy {
  max-width: 44rem;
}

.landing-eyebrow,
.landing-section-kicker,
.landing-panel-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.landing-eyebrow {
  margin-bottom: 1rem;
  color: #7dd3fc;
}

.landing-section-kicker,
.landing-panel-kicker {
  color: rgba(148, 163, 184, 0.9);
}

.landing-signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.landing-signal-row span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-size: 0.76rem;
  color: rgba(226, 232, 240, 0.92);
  background: rgba(15, 23, 42, 0.26);
}

.hero-signal-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.72rem;
  margin-top: 2rem;
  color: rgba(226, 232, 240, 0.84);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: right;
  text-shadow: 0 2px 12px rgba(15, 23, 42, 0.44);
}

.hero-signal-stack span {
  display: block;
}

html.dark .hero-signal-stack {
  color: rgba(148, 163, 184, 0.68);
  text-shadow: 0 2px 10px rgba(15, 23, 42, 0.28);
}

@media (min-width: 900px) {
  .hero-signal-stack {
    position: absolute;
    right: var(--ba-shell-inline);
    bottom: clamp(3rem, 8vh, 5.75rem);
    margin-top: 0;
    font-size: 0.9rem;
  }
}

.landing-hero-panel,
.landing-cta-panel {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 0.5rem;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.94));
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.landing-hero-panel {
  padding: 1.5rem;
}

.landing-hero-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.landing-hero-point {
  padding: 1rem 0 0;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.landing-hero-point:first-child {
  padding-top: 0;
  border-top: none;
}

.landing-hero-point h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.97);
}

.landing-hero-point p,
.landing-card p,
.landing-proof-card p,
.landing-process-step p {
  margin: 0;
  color: rgba(191, 219, 254, 0.84);
  line-height: 1.7;
}

.landing-hero-meta {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

@media (min-width: 640px) {
  .landing-hero-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.landing-hero-meta span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.75);
}

.landing-hero-meta strong {
  display: block;
  color: rgba(248, 250, 252, 0.96);
  line-height: 1.5;
}

.landing-section-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .landing-section-head {
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
  }
}

.landing-card-grid,
.landing-proof-grid,
.landing-feature-grid,
.landing-workflow-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .landing-card-grid,
  .landing-proof-grid,
  .landing-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .landing-workflow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .landing-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .landing-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-proof-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.landing-card,
.landing-proof-card,
.landing-process-step,
.landing-workflow-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(51, 65, 85, 0.88);
  border-radius: 0.5rem;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.98));
  box-shadow: 0 18px 46px rgba(2, 6, 23, 0.34);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.landing-card,
.landing-proof-card,
.landing-workflow-card {
  padding: 1.5rem;
}

.landing-card::before,
.landing-proof-card::before,
.landing-process-step::before,
.landing-workflow-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.5), rgba(56, 189, 248, 0));
}

.landing-card-tag,
.landing-proof-index {
  margin: 0 0 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.82);
}

.landing-card h3,
.landing-proof-card h3,
.landing-workflow-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.97);
}

.landing-workflow-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.landing-workflow-card > p {
  margin: 0;
  color: rgba(191, 219, 254, 0.84);
  line-height: 1.7;
}

.landing-workflow-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.landing-workflow-card-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(94, 234, 212, 0.36);
  color: #5eead4;
  font-size: 0.78rem;
  font-weight: 700;
}

.landing-workflow-card-head p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.82);
}

.landing-module-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1.35rem;
}

.landing-module-pills span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  padding: 0.42rem 0.7rem;
  font-size: 0.72rem;
  color: rgba(226, 232, 240, 0.9);
  background: rgba(15, 23, 42, 0.38);
}

.landing-proof-grid {
  margin-top: 2.5rem;
}

.landing-process-strip {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .landing-process-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-process-strip--wide {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.15fr) minmax(0, 1fr);
  }
}

.landing-process-step {
  padding: 1.25rem 1.35rem;
}

.landing-process-step span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5eead4;
}

.landing-cta-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
}

@media (min-width: 1024px) {
  .landing-cta-panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

.landing-btn-secondary {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(248, 250, 252, 0.95);
}

.landing-btn-secondary:hover {
  border-color: rgba(45, 212, 191, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.landing-btn-outline {
  color: rgba(248, 250, 252, 0.95);
  border-color: rgba(148, 163, 184, 0.28);
}

.landing-btn-outline:hover {
  color: rgba(248, 250, 252, 0.98);
  background: rgba(255, 255, 255, 0.06);
}

/* ==========================================================================================
   Hero section
   ========================================================================================== */

.hero-full {
  width: 100%;
  position: relative;
  z-index: 2;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.85)),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.95));
  opacity: 1;
  pointer-events: none;
}

.hero-tech {
  background-image:
    radial-gradient(circle at 18% 12%, rgba(20, 184, 166, 0.34), transparent 34%),
    linear-gradient(130deg, #062f35 0%, #21496d 48%, #5f2879 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.7));
}

.hero-fade {
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.3) 70%, rgba(15, 23, 42, 0.95) 100%);
  pointer-events: none;
}

.hero-bottom-fade {
  width: 100%;
  height: 100px;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0) 0%,
    rgba(15, 23, 42, 0.1) 60%,
    rgba(15, 23, 42, 0.1) 60%
  );
}

.hero-parallax {
  background-attachment: fixed;
  background-position: center calc(50% + 20px);
}

@media (max-width: 768px) {
  .hero-parallax { background-attachment: scroll; }
}

.hero-main {
  background-image:
    radial-gradient(circle at 78% 16%, rgba(226, 178, 92, 0.32), transparent 32%),
    linear-gradient(135deg, #103047 0%, #0f766e 54%, #7c2d52 100%);
}

.hero-alt {
  background-image:
    radial-gradient(circle at 20% 22%, rgba(248, 250, 252, 0.22), transparent 28%),
    linear-gradient(135deg, #211538 0%, #365f83 52%, #997a2e 100%);
}






/* =======================================================================================================
   Light mode — neutral (no purple cast)
   ======================================================================================================= */

html:not(.dark) body{
  background: #f8fafc;
}

html:not(.dark) .hero-overlay {
  background:
    radial-gradient(circle at top left, rgba(45, 212, 191, 0.18), rgba(15, 118, 110, 0.12) 34%, rgba(248, 250, 252, 0.18) 72%),
    linear-gradient(to bottom, rgba(15, 118, 110, 0.16), rgba(226, 232, 240, 0.24));
}

html:not(.dark) .hero-overlay::after {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.28) 0%, rgba(15, 23, 42, 0.14) 24%, rgba(15, 23, 42, 0.03) 46%, rgba(15, 23, 42, 0) 68%),
    linear-gradient(to bottom, rgba(13, 148, 136, 0.08), rgba(248, 250, 252, 0.14));
}

html:not(.dark) .section-bg-1,
html:not(.dark) .section-bg-2,
html:not(.dark) .section-bg-3 {
  background-color: #f8fbff;
}

html:not(.dark) .section-bg-1 {
  background-color: #0f766e;
}

html:not(.dark) .section-bg-2 {
  background-color: #f2f7fb;
}

html:not(.dark) .section-bg-3 {
  background-color: #eef4f8;
}

html:not(.dark) .section-bg-3.landing-band {
  background: linear-gradient(180deg, #0f766e 0%, #115e59 100%);
  position: relative;
  z-index: 1;
  box-shadow:
    0 -18px 34px rgba(15, 118, 110, 0.14),
    0 18px 34px rgba(15, 118, 110, 0.18);
}

html:not(.dark) .landing-band {
  color: #0f172a;
  border-top-color: rgba(148, 163, 184, 0.18);
}

html:not(.dark) .section-bg-1.landing-band {
  color: #f8fafc;
  border-top-color: rgba(15, 23, 42, 0.08);
  position: relative;
  z-index: 1;
  box-shadow: 0 18px 34px rgba(15, 118, 110, 0.18);
}

html:not(.dark) .landing-band .section-heading,
html:not(.dark) .landing-band h2,
html:not(.dark) .landing-band h3,
html:not(.dark) .landing-band p,
html:not(.dark) .landing-band span,
html:not(.dark) .landing-band strong {
  color: inherit;
}

html:not(.dark) .landing-eyebrow {
  color: #0369a1;
}

html:not(.dark) .landing-section-kicker,
html:not(.dark) .landing-panel-kicker,
html:not(.dark) .landing-card-tag,
html:not(.dark) .landing-proof-index {
  color: #64748b;
}

html:not(.dark) .landing-card,
html:not(.dark) .landing-proof-card,
html:not(.dark) .landing-process-step,
html:not(.dark) .landing-workflow-card,
html:not(.dark) .landing-cta-panel {
  border-color: rgba(148, 163, 184, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.96));
  box-shadow: 0 18px 42px rgba(148, 163, 184, 0.16);
}

html:not(.dark) .landing-cta-panel {
  border-color: rgba(15, 118, 110, 0.18);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.94), rgba(236, 253, 245, 0.9));
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

html:not(.dark) .section-bg-1 .landing-card {
  border-color: rgba(255, 255, 255, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
}

html:not(.dark) .landing-card h3,
html:not(.dark) .landing-proof-card h3,
html:not(.dark) .landing-workflow-card h3,
html:not(.dark) .landing-cta-panel h2 {
  color: #0f172a;
}

html:not(.dark) .landing-cta-panel h2,
html:not(.dark) .landing-cta-panel .landing-section-kicker {
  color: #0f172a;
}

html:not(.dark) .section-bg-1 .section-heading,
html:not(.dark) .section-bg-1 .landing-card h3,
html:not(.dark) .section-bg-1 .landing-btn-outline {
  color: #ffffff;
}

html:not(.dark) .landing-card p,
html:not(.dark) .landing-proof-card p,
html:not(.dark) .landing-process-step p,
html:not(.dark) .landing-workflow-card > p,
html:not(.dark) .landing-cta-panel p {
  color: #475569;
}

html:not(.dark) .landing-cta-panel p {
  color: #334155;
}

html:not(.dark) .section-bg-1 .landing-card p,
html:not(.dark) .section-bg-1 p {
  color: rgba(240, 253, 250, 0.92);
}

html:not(.dark) .landing-process-step span {
  color: #0f766e;
}

html:not(.dark) .landing-workflow-card-head span {
  color: #0f766e;
  border-color: rgba(15, 118, 110, 0.28);
  background: rgba(240, 253, 250, 0.72);
}

html:not(.dark) .landing-workflow-card-head p {
  color: #64748b;
}

html:not(.dark) .landing-module-pills span {
  color: #334155;
  border-color: rgba(100, 116, 139, 0.22);
  background: rgba(255, 255, 255, 0.72);
}

html:not(.dark) .landing-btn-secondary,
html:not(.dark) .landing-btn-outline {
  color: #0f172a;
  border-color: rgba(100, 116, 139, 0.28);
  background: rgba(255, 255, 255, 0.72);
}

html:not(.dark) .landing-cta-panel .landing-btn-secondary {
  color: #ffffff;
  border-color: rgba(15, 118, 110, 0.18);
  background: rgba(15, 118, 110, 0.84);
}

html:not(.dark) .landing-cta-panel .landing-btn-secondary:hover {
  color: #ffffff;
  border-color: rgba(15, 118, 110, 0.28);
  background: rgba(15, 118, 110, 0.96);
}

html:not(.dark) .landing-cta-panel .btn-solid {
  background-color: #0f766e;
}

html:not(.dark) .landing-cta-panel .btn-solid:hover {
  background-color: #115e59;
}

html:not(.dark) .section-bg-1 .landing-btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

html:not(.dark) .landing-btn-secondary:hover,
html:not(.dark) .landing-btn-outline:hover {
  border-color: rgba(13, 148, 136, 0.32);
  background: rgba(255, 255, 255, 0.96);
}

html:not(.dark) .section-bg-1 .landing-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.14);
}

html:not(.dark) .scroll-indicator {
  border-color: rgba(71, 85, 105, 0.28);
  color: rgba(15, 23, 42, 0.78);
  background-color: rgba(255, 255, 255, 0.74);
}

/* Keep cards crisp white */
html:not(.dark) .ba-card,
html:not(.dark) .studio-context {
    background: transparent;
  border: none;
  padding-left: 4px;
}

/* Softer borders (less blue/purple) */
html:not(.dark) .ba-card,
html:not(.dark) .studio-context,
html:not(.dark) .studio-sidebar{
  border-color: rgba(15,23,42,0.10);
}





/* Dark mode */
html.dark body {
  background-color: #020617;
  color: #e5e7eb;
}

html.dark .studio-progress-track {
  background: #020617;
}

.studio-progress-card{
  border-color: var(--studio-border-card-light);
  background: rgba(241, 245, 249, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.dark .studio-progress-card{
  border-color: var(--studio-border-card-dark);
  background: rgba(11, 18, 32, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

/* Reusable dark band section */
.section-band {
  background-color: #020617;
  color: #f9fafb;
  border-top: 1px solid #0f172a;
}

.section-band a { color: inherit; }

/* Custom dark section shades */
.bg-slate-925 { background-color: #0f172a; }
.bg-slate-900 { background-color: #1e293b; }







/* ==============================================================================================================
   Sticky header (TUNED / premium)
   - Fixes missing semicolon bug
   - Adds nicer scrolled state
   ============================================================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  transition:
    background-color 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease,
    backdrop-filter 200ms ease;
}

/* Default: lightly translucent so the Tailwind bg-* classes can still shine */
.site-header.site-header--scrolled {
  /* Keep it subtle; let Tailwind dark/light classes still matter */
  background-color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.12);
  border-bottom-color: rgba(148, 163, 184, 0.30);
}

/* Dark mode scrolled header */
html.dark .site-header.site-header--scrolled {
  background-color: rgba(2, 6, 23, 0.72); /* slate-950-ish */
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.45);
  border-bottom-color: rgba(148, 163, 184, 0.22);
}

/* Upgrade blur only where supported */
@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  html:not(.dark) .site-header{
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .site-header.site-header--scrolled {
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}

.site-header-inner{
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  padding-left: var(--ba-shared-start);
  padding-right: var(--ba-shell-inline);
}

.hero-copy-shell{
  padding-left: var(--ba-shared-start);
  padding-right: var(--ba-shell-inline);
}

.hero-copy-shell > p,
.hero-copy-shell > h1{
  text-shadow: 0 2px 12px rgba(15, 23, 42, 0.32);
}

.hero-copy-shell > h1{
  text-shadow: 0 4px 18px rgba(15, 23, 42, 0.38);
}

.hero-cta{
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.18),
    0 2px 6px rgba(15, 23, 42, 0.12);
}

.hero-cta:hover{
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.22),
    0 4px 10px rgba(15, 23, 42, 0.14);
}
/* =================================================================================================================
   Top nav links (clean + banking-grade)
   ================================================================================================================= */

.nav-link{
  position: relative;
  padding-bottom: 0.25rem;
  font-weight: 400;
  color: #64748b;
  transition: color 150ms ease;
  text-decoration: none;
}

.dark .nav-link{
  color: rgba(226,232,240,0.82);
}

.nav-link:hover{
  color: #64748b;
}

.dark .nav-link:hover{
  color: rgba(226,232,240,0.94);
}

/* Underline: subtle teal rule (no glow) */
.nav-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  height:2px;
  width:0;
  border-radius:999px;
  background: rgba(13,148,136,0.85); /* teal-600 */
  transition: width 180ms ease-out, opacity 180ms ease-out;
  opacity: 0;
}

.nav-link:hover::after{
  width:100%;
  opacity:1;
}

.nav-link.is-active{
  color: #64748b;
  font-weight: 400;
}

.dark .nav-link.is-active{
  color: rgba(226,232,240,0.94);
}

.nav-link.is-active::after{
  width:100%;
  opacity:1;
}

/* =================================================================================================================
   Section heading underline (clean)
   ================================================================================================================= */

.section-heading{
  position:relative;
  display:inline-block;
  padding-bottom:0.35rem;
}

.section-heading::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  height:2px;
  width:56px;
  border-radius:999px;
  background: rgba(13,148,136,0.85); /* teal-600 */
  opacity:0.9;
}

/* =================================================================================================================
   Scroll-down indicator (remove teal glow)
   ================================================================================================================= */

.scroll-indicator{
  position:absolute;
  left:50%;
  bottom:1.75rem;
  transform:translateX(-50%);
  width:2.5rem;
  height:2.5rem;
  border-radius:999px;
  border:1px solid rgba(248,250,252,0.55);
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(248,250,252,0.9);
  cursor:pointer;
  text-decoration:none;
  background-color: rgba(15,23,42,0.32);
}

/* Blur only where supported */
@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  .scroll-indicator{
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}

.scroll-indicator:hover{
  border-color: rgba(13,148,136,0.60);      /* teal */
  box-shadow: 0 0 14px rgba(13,148,136,0.20);
}

.scroll-indicator-icon{
  width:0.9rem;
  height:0.9rem;
  border-bottom:2px solid currentColor;
  border-right:2px solid currentColor;
  transform: rotate(45deg);
  animation: scrollArrowBounce 1.4s infinite;
}

@keyframes scrollArrowBounce{
  0%,100% { transform: translateY(0) rotate(45deg); opacity:0.7; }
  50%     { transform: translateY(6px) rotate(45deg); opacity:1; }
}

/* =================================================================================================================
   Buttons (banking-grade: ink + optional teal primary)
   ================================================================================================================= */

.btn{
  height: 3rem;
  padding: 0 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  letter-spacing:-0.01em;
  user-select:none;
  border:1px solid rgba(148,163,184,0.35);
  background: transparent;
  color: rgba(15,23,42,0.86);
  cursor:pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 120ms ease;
}

.btn:hover{
  border-color: rgba(100,116,139,0.45);
  background-color: rgba(2,6,23,0.03);
}

.dark .btn{
  border-color: rgba(148,163,184,0.22);
  color: rgba(226,232,240,0.86);
}

.dark .btn:hover{
  border-color: rgba(148,163,184,0.30);
  background-color: rgba(226,232,240,0.06);
}

/* Primary (teal) */
.btn-solid{
  background-color: #0d9488; /* teal-600 */
  color:#ffffff;
  border-color: transparent;
}

.btn-solid:hover{
  background-color: #0f766e; /* teal-700 */
}

/* Outline (neutral) */
.btn-outline{
  background-color: transparent;
  color: rgba(15,23,42,0.86);
  border-color: rgba(100,116,139,0.35);
}

.dark .btn-outline{
  color: rgba(226,232,240,0.86);
  border-color: rgba(148,163,184,0.22);
}

.btn-outline:hover{
  border-color: rgba(13,148,136,0.40); /* teal hint */
}

/* Ghost (quiet) */
.btn-ghost{
  background-color: rgba(2,6,23,0.05);
  border-color: rgba(148,163,184,0.22);
  color: rgba(15,23,42,0.86);
}

.dark .btn-ghost{
  background-color: rgba(226,232,240,0.06);
  border-color: rgba(148,163,184,0.22);
  color: rgba(226,232,240,0.86);
}

.btn-ghost:hover{
  background-color: rgba(2,6,23,0.08);
}

.dark .btn-ghost:hover{
  background-color: rgba(226,232,240,0.10);
}

/* =================================================================================================================
   Headings / hero overlay in dark mode
   ================================================================================================================= */

.dark h1,
.dark h2,
.dark h3{
  color: rgba(226,232,240,0.96); /* keep headings readable, not teal */
}

.dark .hero-overlay{
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.35) 0%,
    rgba(15, 23, 42, 0.55) 45%,
    rgba(15, 23, 42, 0.75) 100%
  );
}

/* =================================================================================================================
   Header / footer bands (neutral)
   ================================================================================================================= */

html:not(.dark) .site-header{
  background-color: #ffffff;
  border-color: rgba(203,213,225,0.95);
  color: rgba(100,116,139,0.85);
}

html:not(.dark) .site-footer{
  background-color: #ffffff;
  border-top: 1px solid rgba(15,23,42,0.08);
  color: rgba(100,116,139,0.85);
}

html.dark .site-header,
html.dark .site-footer{
  background-color: rgba(2,6,23,0.88);
  border-color: rgba(30,41,59,0.85);
}

/* =================================================================================================================
   Inputs (true dark inputs in dark mode)
   ================================================================================================================= */

input, textarea, select{
  background-color: rgba(255,255,255,0.92);
  border-color: rgba(148,163,184,0.28);
  color: rgba(15,23,42,0.92);
}

html:not(.dark) .studio-main input,
html:not(.dark) .studio-main textarea,
html:not(.dark) .studio-main select{
  background-color: rgba(255,255,255,0.96);
  border-color: rgba(191,203,220,0.95);
  color: rgba(15,23,42,0.92);
}

html:not(.dark) .studio-main input[readonly],
html:not(.dark) .studio-main textarea[readonly],
html:not(.dark) .studio-main select[readonly]{
  background-color: rgba(255,255,255,0.96);
  color: rgba(71,85,105,0.96);
  -webkit-text-fill-color: rgba(71,85,105,0.96);
  opacity: 1;
}

.dark input,
.dark textarea,
.dark select{
  background-color: rgba(2,6,23,0.55);
  border-color: rgba(148,163,184,0.22);
  color: rgba(226,232,240,0.92);
}

.dark input::placeholder,
.dark textarea::placeholder{
  color: rgba(148,163,184,0.70);
}



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

.site-footer{
  width: 100%;
  text-align:center;
  font-size:0.75rem;
  color: rgba(100,116,139,0.85);
  margin-top:0;
}

.footer-brand{
  display: inline-flex;
  align-items: baseline;
  letter-spacing: 0;
}

.footer-brand__ofi{
  color: #201a22;
}

.footer-brand__studio,
.footer-brand__signal,
.footer-brand__brand{
  color: #d9469a;
}

.footer-brand__studio{
  color: #00b796;
}

.footer-brand--small{
  font-size: 1em;
  font-weight: 700;
}

.dark .footer-brand__ofi{
  color: #f5f1f8;
}

.dark .footer-brand__studio,
.dark .footer-brand__signal,
.dark .footer-brand__brand{
  color: #f472b6;
}

.dark .footer-brand__studio{
  color: #00b796;
}

html:not(.dark) .site-footer {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

html.dark .site-footer{
  color: rgba(148,163,184,0.85);
}

/* =================================================================================================================
   Wild homepage concept
   ================================================================================================================= */

.wild-shell {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: var(--ba-shared-start);
  padding-right: var(--ba-shell-inline);
}

.wild-hero {
  --wild-ink: #14110f;
  --wild-paper: #f6edda;
  --wild-lime: #d8ff35;
  --wild-orange: #ff5c1f;
  --wild-blue: #2857ff;
  --wild-mint: #46f2d1;
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  color: var(--wild-ink);
  background:
    radial-gradient(circle at 78% 18%, rgba(40, 87, 255, 0.34), transparent 28rem),
    radial-gradient(circle at 18% 72%, rgba(255, 92, 31, 0.26), transparent 24rem),
    linear-gradient(120deg, rgba(216, 255, 53, 0.72), transparent 38%),
    var(--wild-paper);
}

.wild-hero::before,
.wild-hero::after,
.wild-hero-noise {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.wild-hero::before {
  background:
    linear-gradient(112deg, transparent 0 50%, rgba(20, 17, 15, 0.9) 50% 50.8%, transparent 50.8% 100%),
    repeating-linear-gradient(0deg, rgba(20, 17, 15, 0.1) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(20, 17, 15, 0.1) 0 1px, transparent 1px 28px);
  opacity: 0.5;
}

.wild-hero::after {
  inset: auto 0 0 0;
  height: 36%;
  background:
    repeating-linear-gradient(90deg, rgba(20, 17, 15, 0.92) 0 18px, rgba(216, 255, 53, 0.92) 18px 36px, rgba(255, 92, 31, 0.92) 36px 54px);
  clip-path: polygon(0 66%, 100% 18%, 100% 100%, 0% 100%);
  opacity: 0.22;
}

.wild-hero-noise {
  background-image:
    radial-gradient(circle, rgba(20, 17, 15, 0.18) 1px, transparent 1.6px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent 46%);
  background-size: 18px 18px, auto;
  mix-blend-mode: multiply;
  opacity: 0.58;
}

.wild-rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  overflow: hidden;
  border-bottom: 2px solid var(--wild-ink);
  background: var(--wild-ink);
  color: var(--wild-lime);
}

.wild-rail-track {
  display: flex;
  width: max-content;
  animation: wildRail 28s linear infinite;
}

.wild-rail span {
  display: inline-flex;
  align-items: center;
  min-height: 2.7rem;
  padding: 0 1.4rem;
  color: inherit;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.wild-rail span:nth-child(2n) {
  color: var(--wild-mint);
}

.wild-rail span:nth-child(3n) {
  color: #ffffff;
}

@keyframes wildRail {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.wild-hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 2rem;
  align-items: center;
  min-height: 86vh;
  padding-top: 5.25rem;
  padding-bottom: 4.5rem;
}

.wild-copy {
  max-width: 43rem;
}

.wild-kicker {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 1rem;
  border: 2px solid currentColor;
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  color: inherit;
  background: rgba(255, 255, 255, 0.48);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.1;
  text-transform: uppercase;
}

.wild-copy h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--wild-ink);
  font-size: 3.4rem;
  font-weight: 950;
  line-height: 0.9;
  text-transform: uppercase;
}

.wild-lede {
  max-width: 38rem;
  margin: 1.4rem 0 0;
  color: rgba(20, 17, 15, 0.84);
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.62;
}

.wild-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.65rem;
}

.wild-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  border: 2px solid var(--wild-ink);
  border-radius: 0.5rem;
  padding: 0.72rem 1.1rem;
  color: var(--wild-ink);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 5px 5px 0 var(--wild-ink);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    background-color 150ms ease;
}

.wild-btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--wild-ink);
}

.wild-btn-primary {
  background: var(--wild-orange);
}

.wild-btn-secondary {
  background: var(--wild-lime);
}

.wild-proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.wild-proof-line span {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--wild-ink);
  border-radius: 0.5rem;
  padding: 0.38rem 0.58rem;
  background: rgba(255, 255, 255, 0.66);
  color: var(--wild-ink);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wild-proof-line span:nth-child(2) {
  background: var(--wild-mint);
}

.wild-proof-line span:nth-child(3) {
  background: var(--wild-blue);
  color: #ffffff;
}

.wild-machine {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--wild-ink);
  border-radius: 0.5rem;
  padding: 1rem;
  background: var(--wild-ink);
  color: #ffffff;
  box-shadow:
    12px 12px 0 var(--wild-orange),
    24px 24px 0 var(--wild-lime);
}

.wild-machine::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 36%, rgba(216, 255, 53, 0.26), transparent 12rem),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0 2px, transparent 2px 10px);
  pointer-events: none;
}

.wild-machine > * {
  position: relative;
  z-index: 1;
}

.wild-machine-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.22);
  padding-bottom: 0.8rem;
  color: var(--wild-mint);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wild-dial-wrap {
  display: grid;
  place-items: center;
  min-height: 18rem;
}

.wild-dial {
  position: relative;
  width: min(18rem, 72vw);
  aspect-ratio: 1;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background:
    radial-gradient(circle, var(--wild-ink) 0 30%, transparent 31%),
    conic-gradient(from 18deg, var(--wild-lime), var(--wild-orange), var(--wild-blue), var(--wild-mint), var(--wild-lime));
  box-shadow:
    0 0 0 12px rgba(255, 255, 255, 0.08),
    0 0 48px rgba(216, 255, 53, 0.22);
  animation: wildDial 18s linear infinite;
}

@keyframes wildDial {
  to { transform: rotate(360deg); }
}

.wild-dial span {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--wild-ink);
  border-radius: 0.5rem;
  padding: 0.3rem 0.48rem;
  background: #ffffff;
  color: var(--wild-ink);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wild-dial span:nth-child(1) { left: 50%; top: 0.75rem; transform: translateX(-50%) rotate(-8deg); }
.wild-dial span:nth-child(2) { right: 0.25rem; top: 50%; transform: translateY(-50%) rotate(8deg); }
.wild-dial span:nth-child(3) { left: 50%; bottom: 0.75rem; transform: translateX(-50%) rotate(7deg); }
.wild-dial span:nth-child(4) { left: 0.25rem; top: 50%; transform: translateY(-50%) rotate(-7deg); }

.wild-wave {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  align-items: end;
  gap: 0.28rem;
  min-height: 5.5rem;
  border: 2px solid rgba(255, 255, 255, 0.26);
  border-radius: 0.5rem;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
}

.wild-wave span {
  display: block;
  height: 2.6rem;
  background: var(--wild-lime);
  animation: wildWave 950ms ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * 45ms);
}

.wild-wave span:nth-child(3n) { height: 4.2rem; background: var(--wild-orange); }
.wild-wave span:nth-child(4n) { height: 3.4rem; background: var(--wild-mint); }
.wild-wave span:nth-child(5n) { height: 4.8rem; background: #ffffff; }

@keyframes wildWave {
  to { transform: scaleY(0.42); }
}

.wild-machine-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.wild-machine-list div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.24);
  border-radius: 0.5rem;
  padding: 0.62rem;
  background: rgba(255, 255, 255, 0.08);
}

.wild-machine-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--wild-lime);
  color: var(--wild-ink);
  font-size: 0.75rem;
  font-weight: 950;
}

.wild-machine-list p {
  margin: 0;
  color: #ffffff;
  font-weight: 850;
}

.wild-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 2px solid var(--wild-ink);
  border-radius: 999px;
  background: var(--wild-lime);
  color: var(--wild-ink);
  font-size: 1.7rem;
  font-weight: 950;
  text-decoration: none;
  transform: translateX(-50%);
  box-shadow: 4px 4px 0 var(--wild-ink);
}

.wild-poster-strip {
  display: grid;
  grid-template-columns: repeat(11, minmax(8rem, 1fr));
  overflow-x: auto;
  border-top: 3px solid #14110f;
  border-bottom: 3px solid #14110f;
  background: #14110f;
}

.wild-poster-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 5.25rem;
  border-right: 3px solid #14110f;
  color: #14110f;
  background: #d8ff35;
  font-size: 1rem;
  font-weight: 950;
  text-transform: uppercase;
}

.wild-poster-strip span:nth-child(2n) { background: #ff5c1f; }
.wild-poster-strip span:nth-child(3n) { background: #46f2d1; }
.wild-poster-strip span:nth-child(4n) { background: #2857ff; color: #ffffff; }

.wild-manifesto {
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid #14110f;
  padding: 4rem 0;
  background: #f6edda;
  color: #14110f;
}

.wild-manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 62%, rgba(255, 92, 31, 0.86) 62% 72%, transparent 72%),
    repeating-linear-gradient(135deg, rgba(20, 17, 15, 0.08) 0 2px, transparent 2px 12px);
  pointer-events: none;
}

.wild-manifesto-grid {
  position: relative;
  display: grid;
  gap: 1.5rem;
  align-items: end;
}

.wild-manifesto h2,
.wild-section-head h2,
.wild-cta h2 {
  margin: 0;
  font-size: 2.8rem;
  font-weight: 950;
  line-height: 0.94;
  text-transform: uppercase;
}

.wild-manifesto p:not(.wild-kicker) {
  max-width: 38rem;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 750;
  line-height: 1.58;
}

.wild-lab {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 20%, rgba(216, 255, 53, 0.26), transparent 18rem),
    linear-gradient(135deg, #14110f 0%, #192652 72%, #2857ff 140%);
}

.wild-lab::before,
.wild-runway::before,
.wild-output::before,
.wild-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.16) 1px, transparent 1.8px);
  background-size: 20px 20px;
  opacity: 0.52;
}

.wild-section-head {
  position: relative;
  max-width: 56rem;
  margin-bottom: 2rem;
}

.wild-section-head .wild-kicker {
  background: rgba(216, 255, 53, 0.12);
  color: inherit;
}

.wild-lab-grid {
  position: relative;
  display: grid;
  gap: 1rem;
}

.wild-lab-card {
  position: relative;
  min-height: 19rem;
  overflow: hidden;
  border: 3px solid #ffffff;
  border-radius: 0.5rem;
  padding: 1.2rem;
  background: #f6edda;
  color: #14110f;
  box-shadow: 7px 7px 0 #ff5c1f;
}

.wild-lab-card:nth-child(2) { box-shadow-color: #d8ff35; }
.wild-lab-card:nth-child(3) { box-shadow-color: #46f2d1; }
.wild-lab-card:nth-child(4) { box-shadow-color: #2857ff; }

.wild-lab-card::after {
  content: "";
  position: absolute;
  right: -1.2rem;
  top: -1.2rem;
  width: 7rem;
  height: 7rem;
  border: 3px solid #14110f;
  background: #d8ff35;
  transform: rotate(16deg);
}

.wild-lab-card:nth-child(2)::after { background: #ff5c1f; }
.wild-lab-card:nth-child(3)::after { background: #46f2d1; }
.wild-lab-card:nth-child(4)::after { background: #2857ff; }

.wild-lab-card > * {
  position: relative;
  z-index: 1;
}

.wild-lab-card span {
  display: inline-flex;
  margin-bottom: 1.2rem;
  border: 2px solid #14110f;
  border-radius: 999px;
  padding: 0.32rem 0.55rem;
  background: #ffffff;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wild-lab-card h3 {
  max-width: 10ch;
  margin: 0;
  color: #14110f;
  font-size: 2.2rem;
  font-weight: 950;
  line-height: 0.98;
}

.wild-lab-card p {
  margin: 1rem 0 0;
  color: rgba(20, 17, 15, 0.76);
  font-weight: 700;
  line-height: 1.58;
}

.wild-runway {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  background: #ff5c1f;
  color: #14110f;
}

.wild-runway-grid {
  position: relative;
  display: grid;
  gap: 1rem;
}

.wild-runway-card {
  border: 3px solid #14110f;
  border-radius: 0.5rem;
  padding: 1.35rem;
  background: #f6edda;
  box-shadow: 8px 8px 0 #14110f;
}

.wild-runway-card span {
  display: inline-flex;
  margin-bottom: 1.5rem;
  border: 3px solid #14110f;
  border-radius: 999px;
  padding: 0.46rem 0.62rem;
  background: #d8ff35;
  font-weight: 950;
}

.wild-runway-card h3 {
  max-width: 10ch;
  margin: 0;
  color: #14110f;
  font-size: 2.5rem;
  font-weight: 950;
  line-height: 0.96;
  text-transform: uppercase;
}

.wild-runway-card p {
  margin: 1rem 0 0;
  color: rgba(20, 17, 15, 0.78);
  font-weight: 750;
  line-height: 1.56;
}

.wild-output {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
  background: #14110f;
  color: #ffffff;
}

.wild-output-grid {
  position: relative;
  display: grid;
  gap: 2rem;
}

.wild-output-stack {
  display: grid;
  gap: 0.75rem;
}

.wild-output-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
}

.wild-output-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: #46f2d1;
  color: #14110f;
  font-weight: 950;
}

.wild-output-row:nth-child(2) span { background: #d8ff35; }
.wild-output-row:nth-child(3) span { background: #ff5c1f; }
.wild-output-row:nth-child(4) span { background: #2857ff; color: #ffffff; }

.wild-output-row p {
  margin: 0;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.42;
}

.wild-cta {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  background: #d8ff35;
  color: #14110f;
}

.wild-cta-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border: 3px solid #14110f;
  border-radius: 0.5rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  background: #f6edda;
  box-shadow: 10px 10px 0 #14110f;
}

@media (min-width: 760px) {
  .wild-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.76fr);
  }

  .wild-copy h1 {
    font-size: 4.25rem;
  }

  .wild-manifesto-grid,
  .wild-output-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  }

  .wild-manifesto h2,
  .wild-section-head h2,
  .wild-cta h2 {
    font-size: 4.4rem;
  }

  .wild-lab-grid,
  .wild-runway-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .wild-runway-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wild-cta-panel {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1180px) {
  .wild-copy h1 {
    font-size: 4.8rem;
  }

  .wild-machine {
    transform: rotate(2deg);
  }
}

@media (max-width: 759px) {
  .wild-hero {
    min-height: auto;
  }

  .wild-hero-grid {
    min-height: auto;
    padding-top: 5.3rem;
    padding-bottom: 6rem;
  }

  .wild-rail span {
    min-height: 2.25rem;
    font-size: 0.68rem;
  }

  .wild-kicker {
    font-size: 0.67rem;
  }

  .wild-copy h1 {
    max-width: 9ch;
  }

  .wild-lede {
    font-size: 1rem;
  }

  .wild-proof-line {
    display: none;
  }

  .wild-machine {
    box-shadow:
      8px 8px 0 var(--wild-orange),
      16px 16px 0 var(--wild-lime);
  }

  .wild-dial-wrap {
    min-height: 14.5rem;
  }

  .wild-wave {
    min-height: 4rem;
  }

  .wild-poster-strip {
    grid-template-columns: repeat(11, minmax(7rem, 1fr));
  }

  .wild-manifesto h2,
  .wild-section-head h2,
  .wild-cta h2 {
    font-size: 2.65rem;
  }

  .wild-lab,
  .wild-runway,
  .wild-output,
  .wild-cta {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .wild-lab-card,
  .wild-runway-card {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wild-rail-track,
  .wild-dial,
  .wild-wave span {
    animation: none;
  }
}

/* =================================================================================================================
   Homepage personality pass
   ================================================================================================================= */

.home-hero {
  overflow: hidden;
  background-color: #062f35;
}

.home-hero.hero-tech {
  background-image:
    radial-gradient(circle at 16% 14%, rgba(250, 204, 21, 0.18), transparent 30%),
    linear-gradient(115deg, rgba(6, 47, 53, 0.92) 0%, rgba(15, 118, 110, 0.62) 48%, rgba(190, 24, 93, 0.42) 100%);
  background-blend-mode: normal;
  background-position: center;
}

.home-hero::before,
.home-hero::after,
.home-hero-pattern {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-hero::before {
  z-index: 2;
  background:
    linear-gradient(112deg, transparent 0 58%, rgba(236, 72, 153, 0.34) 58% 60%, transparent 60% 100%),
    linear-gradient(132deg, transparent 0 72%, rgba(20, 184, 166, 0.38) 72% 74%, transparent 74% 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 22px);
  mix-blend-mode: screen;
  opacity: 0.74;
}

.home-hero::after {
  z-index: 2;
  inset: auto 0 0 0;
  height: 34%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.42) 100%),
    repeating-linear-gradient(90deg, rgba(244, 114, 182, 0.5) 0 10px, rgba(45, 212, 191, 0.36) 10px 20px, transparent 20px 34px);
  clip-path: polygon(0 50%, 100% 18%, 100% 100%, 0% 100%);
  opacity: 0.45;
}

.home-hero .hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 18, 30, 0.82) 0%, rgba(6, 18, 30, 0.56) 42%, rgba(6, 18, 30, 0.1) 72%),
    linear-gradient(135deg, rgba(20, 184, 166, 0.32), rgba(219, 39, 119, 0.34));
}

.home-hero .hero-overlay::after {
  background:
    linear-gradient(to bottom, transparent 42%, rgba(6, 18, 30, 0.78) 100%);
}

.home-hero-pattern {
  z-index: 3;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.32) 1px, transparent 1.8px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 18px 18px, 90px 90px;
  background-position: 0 0, 12px 0;
  mask-image: linear-gradient(90deg, transparent 0%, black 40%, black 100%);
  opacity: 0.32;
}

.home-hero-kicker {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0.45rem 0.7rem;
  background: rgba(6, 47, 53, 0.42);
  color: rgba(204, 251, 241, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.home-hero-title {
  max-width: 13ch;
}

.home-mix-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 35rem;
  margin-top: 1.2rem;
}

.home-mix-panel span {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.5rem;
  padding: 0.42rem 0.72rem;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.72), rgba(219, 39, 119, 0.5));
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow:
    0 12px 24px rgba(2, 6, 23, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.home-mix-panel span:nth-child(2) {
  background:
    linear-gradient(135deg, rgba(32, 26, 34, 0.78), rgba(20, 184, 166, 0.58));
}

.home-mix-panel span:nth-child(3) {
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.72), rgba(190, 24, 93, 0.7));
}

.hero-signal-stack--stickers {
  align-items: flex-start;
  text-align: left;
  gap: 0.62rem;
  max-width: min(100%, 17rem);
  color: #ffffff;
  text-shadow: none;
}

.hero-signal-stack--stickers span {
  --sticker-bg: rgba(15, 118, 110, 0.86);
  --sticker-ink: #ffffff;
  --sticker-tape: #f472b6;
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 0.5rem;
  padding: 0.48rem 0.72rem 0.48rem 2.55rem;
  color: var(--sticker-ink);
  background: var(--sticker-bg);
  box-shadow:
    0 12px 26px rgba(2, 6, 23, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transform: rotate(var(--sticker-tilt, -1deg));
}

.hero-signal-stack--stickers span::before {
  content: attr(data-step);
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sticker-tape);
  color: #201a22;
  font-size: 0.62rem;
  font-weight: 800;
}

.hero-signal-stack--stickers span:nth-child(2n) {
  --sticker-bg: rgba(190, 24, 93, 0.82);
  --sticker-tape: #5eead4;
  --sticker-tilt: 1.4deg;
}

.hero-signal-stack--stickers span:nth-child(3n) {
  --sticker-bg: rgba(32, 26, 34, 0.78);
  --sticker-tape: #f59e0b;
  --sticker-tilt: -1.8deg;
}

.brand-ticker {
  overflow: hidden;
  border-top: 1px solid rgba(32, 26, 34, 0.2);
  border-bottom: 1px solid rgba(32, 26, 34, 0.18);
  background:
    linear-gradient(90deg, #201a22 0%, #0f766e 48%, #db2777 100%);
  color: #ffffff;
}

.brand-ticker-track {
  display: flex;
  width: max-content;
  animation: brandTicker 32s linear infinite;
}

.brand-ticker span {
  position: relative;
  flex: 0 0 auto;
  padding: 0.9rem 1.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-ticker span::after {
  content: "/";
  position: absolute;
  right: -0.12rem;
  color: rgba(255, 255, 255, 0.44);
}

@keyframes brandTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.home-remix-board {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
  background:
    linear-gradient(135deg, #201a22 0%, #063f46 45%, #be185d 118%);
}

.home-remix-board::before,
.home-remix-board::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-remix-board::before {
  background:
    linear-gradient(120deg, transparent 0 34%, rgba(244, 114, 182, 0.26) 34% 35%, transparent 35% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 8px, transparent 8px 20px),
    radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1.8px);
  background-size: auto, auto, 22px 22px;
  opacity: 0.48;
}

.home-remix-board::after {
  inset: auto 0 0 0;
  height: 5rem;
  background:
    repeating-linear-gradient(135deg, rgba(45, 212, 191, 0.5) 0 12px, rgba(244, 114, 182, 0.36) 12px 24px, transparent 24px 38px);
  opacity: 0.26;
}

.home-remix-head {
  display: grid;
  gap: 0.75rem;
  max-width: 52rem;
  margin-bottom: 2rem;
}

.home-remix-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 5.25rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.home-remix-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 780px) {
  .home-remix-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.home-remix-card {
  --remix-accent: #2dd4bf;
  --remix-pop: #f472b6;
  position: relative;
  min-height: 19rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0.5rem;
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  box-shadow:
    6px 6px 0 color-mix(in srgb, var(--remix-pop) 30%, transparent),
    0 22px 48px rgba(2, 6, 23, 0.26);
  transform: rotate(var(--remix-tilt, -1deg));
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.home-remix-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--remix-accent), transparent 34%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 9px);
  opacity: 0.18;
}

.home-remix-card::after {
  content: "";
  position: absolute;
  right: -1.4rem;
  bottom: -1rem;
  width: 7rem;
  height: 7rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(135deg, var(--remix-pop), transparent);
  transform: rotate(18deg);
  opacity: 0.58;
}

.home-remix-card:nth-child(2) {
  --remix-accent: #f472b6;
  --remix-pop: #f59e0b;
  --remix-tilt: 1.2deg;
}

.home-remix-card:nth-child(3) {
  --remix-accent: #f59e0b;
  --remix-pop: #2dd4bf;
  --remix-tilt: -0.4deg;
}

.home-remix-card:nth-child(4) {
  --remix-accent: #2dd4bf;
  --remix-pop: #be185d;
  --remix-tilt: 1.6deg;
}

.home-remix-card:hover {
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow:
    10px 10px 0 color-mix(in srgb, var(--remix-pop) 42%, transparent),
    0 26px 54px rgba(2, 6, 23, 0.34);
  transform: translateY(-5px) rotate(0deg);
}

.home-remix-card > * {
  position: relative;
  z-index: 1;
}

.home-remix-card p {
  display: inline-flex;
  margin: 0 0 1rem;
  border-radius: 999px;
  padding: 0.32rem 0.56rem;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-remix-card h3 {
  max-width: 11ch;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 0.98;
}

.home-remix-card small {
  display: block;
  max-width: 16rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  line-height: 1.55;
}

.home-remix-stamp {
  position: absolute;
  right: 0.85rem;
  top: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: var(--remix-accent);
  color: #201a22;
  font-size: 0.78rem;
  font-weight: 900;
}

.landing-band {
  overflow: hidden;
}

.landing-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(244, 114, 182, 0.14) 42% 43%, transparent 43% 100%),
    radial-gradient(circle, rgba(20, 184, 166, 0.16) 1px, transparent 1.7px);
  background-size: auto, 24px 24px;
  opacity: 0.46;
}

.landing-shell {
  position: relative;
  z-index: 1;
}

.landing-feature-grid .landing-card:nth-child(3n + 1),
.landing-proof-grid .landing-proof-card:nth-child(3n + 1),
.landing-workflow-grid .landing-workflow-card:nth-child(3n + 1),
.landing-process-strip .landing-process-step:nth-child(3n + 1) {
  --card-accent: #2dd4bf;
  --card-pop: #f472b6;
}

.landing-feature-grid .landing-card:nth-child(3n + 2),
.landing-proof-grid .landing-proof-card:nth-child(3n + 2),
.landing-workflow-grid .landing-workflow-card:nth-child(3n + 2),
.landing-process-strip .landing-process-step:nth-child(3n + 2) {
  --card-accent: #f472b6;
  --card-pop: #f59e0b;
}

.landing-feature-grid .landing-card:nth-child(3n),
.landing-proof-grid .landing-proof-card:nth-child(3n),
.landing-workflow-grid .landing-workflow-card:nth-child(3n),
.landing-process-strip .landing-process-step:nth-child(3n) {
  --card-accent: #f59e0b;
  --card-pop: #2dd4bf;
}

.landing-card,
.landing-proof-card,
.landing-process-step,
.landing-workflow-card {
  --card-accent: #2dd4bf;
  --card-pop: #f472b6;
}

.landing-card > *,
.landing-proof-card > *,
.landing-process-step > *,
.landing-workflow-card > * {
  position: relative;
  z-index: 1;
}

.landing-card::before,
.landing-proof-card::before,
.landing-process-step::before,
.landing-workflow-card::before {
  height: 5px;
  background: linear-gradient(90deg, var(--card-accent), var(--card-pop));
}

.landing-card::after,
.landing-proof-card::after,
.landing-workflow-card::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  top: 0.85rem;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.35rem;
  background: repeating-linear-gradient(135deg, var(--card-accent) 0 2px, transparent 2px 7px);
  opacity: 0.18;
  transform: rotate(8deg);
  pointer-events: none;
}

.landing-card:hover,
.landing-proof-card:hover,
.landing-workflow-card:hover {
  border-color: color-mix(in srgb, var(--card-accent) 56%, rgba(148, 163, 184, 0.35));
  box-shadow:
    8px 8px 0 color-mix(in srgb, var(--card-pop) 22%, transparent),
    0 20px 42px rgba(2, 6, 23, 0.18);
  transform: translateY(-3px) rotate(-0.35deg);
}

.landing-card-tag,
.landing-proof-index,
.landing-workflow-card-head p {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  padding: 0.28rem 0.48rem;
  background: color-mix(in srgb, var(--card-accent) 16%, transparent);
}

.landing-workflow-card-head span,
.landing-process-step span {
  color: var(--card-accent);
}

.landing-module-pills span {
  border-radius: 0.45rem;
}

html:not(.dark) .section-bg-1 {
  background:
    linear-gradient(135deg, #0f766e 0%, #0f766e 54%, #be185d 132%);
}

html:not(.dark) .section-bg-2 {
  background:
    linear-gradient(180deg, rgba(255, 247, 251, 0.96), rgba(240, 253, 250, 0.82)),
    #fbf7fb;
}

html:not(.dark) .section-bg-3 {
  background:
    linear-gradient(180deg, #f8fafc 0%, #fdf2f8 100%);
}

html:not(.dark) .section-bg-3.landing-band {
  background:
    linear-gradient(135deg, #201a22 0%, #0f766e 56%, #db2777 130%);
}

html:not(.dark) .landing-card,
html:not(.dark) .landing-proof-card,
html:not(.dark) .landing-process-step,
html:not(.dark) .landing-workflow-card {
  border-color: color-mix(in srgb, var(--card-accent) 24%, rgba(15, 23, 42, 0.16));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 247, 251, 0.92));
  box-shadow:
    5px 5px 0 color-mix(in srgb, var(--card-pop) 13%, transparent),
    0 16px 32px rgba(15, 23, 42, 0.1);
}

html:not(.dark) .section-bg-1 .landing-card {
  border-color: rgba(255, 255, 255, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.1));
  box-shadow:
    5px 5px 0 color-mix(in srgb, var(--card-pop) 28%, transparent),
    0 20px 44px rgba(15, 23, 42, 0.16);
}

html:not(.dark) .section-bg-1 .landing-card-tag {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

html:not(.dark) .landing-card-tag,
html:not(.dark) .landing-proof-index,
html:not(.dark) .landing-workflow-card-head p {
  color: #334155;
}

html:not(.dark) .landing-module-pills span {
  border-color: color-mix(in srgb, var(--card-accent) 28%, rgba(100, 116, 139, 0.18));
  background: color-mix(in srgb, var(--card-accent) 12%, rgba(255, 255, 255, 0.76));
}

html.dark .section-bg-1 {
  background:
    linear-gradient(135deg, #052f35 0%, #201a22 68%, #831843 118%);
}

html.dark .section-bg-2 {
  background:
    linear-gradient(180deg, #06121f 0%, #111827 100%);
}

html.dark .section-bg-3 {
  background:
    linear-gradient(135deg, #201a22 0%, #064e3b 60%, #831843 120%);
}

html.dark .landing-card,
html.dark .landing-proof-card,
html.dark .landing-process-step,
html.dark .landing-workflow-card {
  border-color: color-mix(in srgb, var(--card-accent) 24%, rgba(148, 163, 184, 0.24));
}

@media (min-width: 900px) {
  .hero-signal-stack--stickers {
    align-items: flex-end;
  }
}

@media (max-width: 700px) {
  .home-hero-pattern {
    mask-image: linear-gradient(180deg, transparent 0%, black 38%, black 100%);
  }

  .home-hero-title {
    max-width: 10ch;
  }

  .home-mix-panel {
    display: none;
  }

  .hero-signal-stack--stickers span {
    transform: none;
  }

  .home-remix-board {
    padding: 4rem 0;
  }

  .home-remix-head h2 {
    font-size: 2.7rem;
  }

  .home-remix-card {
    min-height: 15rem;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-ticker-track {
    animation: none;
    transform: translateX(0);
  }

  .landing-card:hover,
  .landing-proof-card:hover,
  .landing-workflow-card:hover,
  .home-remix-card:hover {
    transform: none;
  }
}

/* =================================================================================================================
   Favorite signal homepage
   ================================================================================================================= */

body.ba-home-body {
  background: #08090f;
  color: #fbf7e8;
}

.ba-home-body .site-header {
  border-bottom: 1px solid rgba(251, 247, 232, 0.14) !important;
  background: rgba(8, 9, 15, 0.84) !important;
  color: #fbf7e8;
}

.ba-home-body .site-header.site-header--scrolled {
  background: rgba(8, 9, 15, 0.9) !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.34);
  border-bottom-color: rgba(251, 247, 232, 0.16) !important;
}

.ba-home-body .site-header-inner {
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}

.ba-home-body .site-brand {
  color: #fbf7e8 !important;
  font-size: 1.3rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.ba-home-body .site-brand span {
  color: #59ffe1 !important;
}

.home-header-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

.home-header-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(251, 247, 232, 0.72);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.home-header-nav a,
.home-mobile-nav-link {
  border: 1px solid rgba(251, 247, 232, 0.16);
  border-radius: 999px;
  color: inherit;
  padding: 0.45rem 0.68rem;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.home-header-nav a:hover,
.home-mobile-nav-link:hover {
  border-color: #59ffe1;
  color: #fbf7e8;
  transform: translateY(-1px);
}

.home-auth-actions,
.home-mobile-auth-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.home-auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  border: 1px solid rgba(251, 247, 232, 0.26);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  color: #fbf7e8;
  background: rgba(251, 247, 232, 0.06);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.home-auth-btn:hover {
  transform: translateY(-1px);
}

.home-auth-btn-primary {
  border-color: #c8ff00;
  background: #c8ff00;
  color: #08090f;
  box-shadow: 0 0 24px rgba(200, 255, 0, 0.18);
}

.home-auth-btn-primary:hover {
  background: #59ffe1;
  border-color: #59ffe1;
  box-shadow: 0 0 28px rgba(89, 255, 225, 0.24);
}

.home-auth-btn-secondary:hover {
  border-color: #59ffe1;
  background: rgba(89, 255, 225, 0.1);
  color: #fbf7e8;
}

.ba-home-body #mobile-menu-toggle {
  display: inline-flex !important;
  border-color: rgba(251, 247, 232, 0.22);
  background: rgba(251, 247, 232, 0.08);
  color: #fbf7e8;
}

.ba-home-body #mobile-menu {
  border-color: rgba(251, 247, 232, 0.14);
  background: rgba(8, 9, 15, 0.94);
}

.home-mobile-nav-link {
  display: inline-flex;
  width: fit-content;
  color: #fbf7e8;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-mobile-auth-actions {
  flex-wrap: wrap;
  padding-top: 0.35rem;
}

.ba-home-body .site-footer {
  border-top-color: rgba(251, 247, 232, 0.16) !important;
  background: #08090f !important;
  color: rgba(251, 247, 232, 0.74);
}

.home-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem clamp(1rem, 3vw, 2.5rem);
  padding-top: 0;
  padding-bottom: 0;
  text-align: left;
}

.home-footer.signal-shell {
  width: min(1440px, 100%);
}

.home-footer-lockup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.home-footer-brand {
  color: #fbf7e8;
  font-size: 1.2rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.home-footer-brand span {
  color: #59ffe1;
}

.home-footer-divider {
  color: rgba(251, 247, 232, 0.52);
  font-size: 1.25rem;
  font-weight: 900;
}

.home-footer small {
  color: rgba(251, 247, 232, 0.62);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: fit-content;
  max-width: 100%;
  gap: 0.55rem;
}

.home-footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 2.65rem;
  border: 1px solid rgba(251, 247, 232, 0.24);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  color: rgba(251, 247, 232, 0.74);
  background: rgba(251, 247, 232, 0.05);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.home-footer-link:hover {
  border-color: #59ffe1;
  color: #fbf7e8;
  background: rgba(89, 255, 225, 0.08);
  transform: translateY(-1px);
}

.home-footer-link span:first-child {
  color: rgba(251, 247, 232, 0.56);
}

.signal-shell {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

@media (max-width: 640px) {
  .home-footer,
  .home-footer-lockup,
  .home-footer-nav {
    justify-content: flex-start;
  }
}

.signal-stage {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 70px);
  background:
    linear-gradient(110deg, transparent 0 30%, rgba(251, 247, 232, 0.03) 39%, rgba(89, 255, 225, 0.11) 48%, rgba(155, 124, 255, 0.22) 58%, rgba(255, 79, 46, 0.08) 69%, transparent 82%),
    radial-gradient(circle at 78% 28%, rgba(155, 124, 255, 0.32), transparent 22rem),
    radial-gradient(circle at 12% 72%, rgba(255, 79, 46, 0.24), transparent 22rem),
    linear-gradient(135deg, #08090f 0%, #111827 46%, #05030a 100%);
}

.signal-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(251, 247, 232, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 247, 232, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 62% 38%, black, transparent 72%);
  pointer-events: none;
}

.signal-stage::after {
  content: "BRAND SIGNAL BUREAU";
  position: absolute;
  right: -4rem;
  bottom: 2rem;
  color: rgba(251, 247, 232, 0.05);
  font-size: clamp(5rem, 13vw, 13rem);
  font-weight: 950;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  pointer-events: none;
}

.signal-hero {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 70px);
  padding-top: 4.25rem;
  padding-bottom: 4.5rem;
}

.signal-copy {
  max-width: 43rem;
}

.signal-eyebrow {
  display: inline-flex;
  margin: 0 0 1rem;
  border: 1px solid rgba(251, 247, 232, 0.26);
  border-radius: 999px;
  padding: 0.42rem 0.68rem;
  color: #59ffe1;
  background: rgba(251, 247, 232, 0.06);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.1;
  text-transform: uppercase;
}

.signal-copy h1 {
  max-width: 10ch;
  margin: 0;
  color: #fbf7e8;
  font-size: clamp(4.8rem, 10vw, 9.5rem);
  font-weight: 950;
  line-height: 0.78;
  letter-spacing: -0.095em;
  text-transform: uppercase;
}

.signal-copy h1 span {
  display: inline-block;
  color: #c8ff00;
  transform: rotate(-8deg);
  text-shadow: 0 0 36px rgba(200, 255, 0, 0.42);
}

.signal-lede {
  max-width: 35rem;
  margin: 1.55rem 0 0;
  color: rgba(251, 247, 232, 0.72);
  font-size: 1.1rem;
  font-weight: 650;
  line-height: 1.65;
}

.signal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.65rem;
}

.signal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  border: 1px solid rgba(251, 247, 232, 0.26);
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.signal-btn:hover {
  transform: translateY(-2px);
}

.signal-btn-primary {
  border-color: #c8ff00;
  background: #c8ff00;
  color: #08090f;
}

.signal-btn-secondary {
  color: #fbf7e8;
  background: rgba(251, 247, 232, 0.07);
}

.signal-constellation {
  position: relative;
  min-height: 34rem;
}

.signal-orbital {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(35rem, 82vw);
  aspect-ratio: 1;
  border: 1px solid rgba(251, 247, 232, 0.2);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.signal-orbital::before,
.signal-orbital::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(251, 247, 232, 0.14);
  border-radius: inherit;
}

.signal-orbital::after {
  inset: 30%;
}

.signal-planet {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(251, 247, 232, 0.24);
  border-radius: 999px;
  color: #08090f;
  background: #c8ff00;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 38px rgba(200, 255, 0, 0.34);
  animation: signalFloat 5s ease-in-out infinite;
}

.signal-planet-name {
  left: 4%;
  top: 12%;
  width: 7.2rem;
  height: 7.2rem;
}

.signal-planet-risk {
  right: 4%;
  top: 18%;
  width: 5.9rem;
  height: 5.9rem;
  background: #ff4f2e;
  animation-delay: -1.6s;
  box-shadow: 0 0 38px rgba(255, 79, 46, 0.34);
}

.signal-planet-deck {
  right: 18%;
  bottom: 8%;
  width: 7.8rem;
  height: 7.8rem;
  background: #59ffe1;
  animation-delay: -2.7s;
  box-shadow: 0 0 38px rgba(89, 255, 225, 0.34);
}

.signal-artifact {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(22rem, 72vw);
  border: 1px solid rgba(251, 247, 232, 0.22);
  border-radius: 1.1rem;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(251, 247, 232, 0.14), rgba(251, 247, 232, 0.04));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  transform: translate(-50%, -50%) rotate(-5deg);
  backdrop-filter: blur(12px);
}

.signal-artifact-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: #59ffe1;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.signal-artifact-name {
  min-height: 9.2rem;
  border-radius: 0.85rem;
  padding: 1rem;
  color: #08090f;
  background:
    linear-gradient(135deg, #fbf7e8, #c8ff00);
}

.signal-artifact-name strong {
  display: block;
  max-width: 8ch;
  font-size: 2.8rem;
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.signal-artifact-bars {
  display: grid;
  grid-template-columns: 1fr 0.6fr 1.35fr 0.8fr;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.signal-artifact-bars span {
  display: block;
  height: 3rem;
  border-radius: 999px;
  background: #9b7cff;
}

.signal-artifact-bars span:nth-child(2) { background: #ff4f2e; }
.signal-artifact-bars span:nth-child(3) { background: #59ffe1; }
.signal-artifact-bars span:nth-child(4) { background: #c8ff00; }

.signal-ticker {
  overflow: hidden;
  border-top: 1px solid rgba(251, 247, 232, 0.14);
  border-bottom: 1px solid rgba(251, 247, 232, 0.14);
  background: #fbf7e8;
  color: #08090f;
}

.signal-ticker-track {
  display: flex;
  width: max-content;
  animation: signalTicker 34s linear infinite;
}

.signal-ticker span {
  display: inline-flex;
  align-items: center;
  min-height: 4.5rem;
  padding: 0 1.4rem;
  font-size: clamp(1.5rem, 4vw, 3.8rem);
  font-weight: 950;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.signal-ticker span:nth-child(2n) { color: #ff4f2e; }
.signal-ticker span:nth-child(3n) { color: #1024ff; }

.signal-section {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.signal-section-dark {
  background: #08090f;
  color: #fbf7e8;
}

.signal-section-paper {
  background:
    linear-gradient(90deg, rgba(16, 36, 255, 0.11), transparent 32%),
    #fbf7e8;
  color: #08090f;
}

.signal-section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.signal-section-head > * {
  min-width: 0;
}

.signal-section-head h2 {
  max-width: min(12ch, 100%);
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 950;
  line-height: 0.82;
  letter-spacing: -0.085em;
  text-transform: uppercase;
}

.signal-section-head p {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin: 0;
  color: currentColor;
  font-size: 1.1rem;
  font-weight: 650;
  line-height: 1.6;
  opacity: 0.78;
}

#specimen.signal-section-paper .signal-section-head h2 {
  max-width: 13ch;
  color: #20324d;
  line-height: 0.84;
  letter-spacing: -0.085em;
  text-wrap: balance;
}

.signal-card-grid {
  display: grid;
  gap: 1rem;
}

.signal-card {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
  border: 1px solid rgba(251, 247, 232, 0.2);
  border-radius: 1.1rem;
  padding: 1.1rem;
  background:
    radial-gradient(circle at 90% 12%, rgba(200, 255, 0, 0.26), transparent 8rem),
    rgba(251, 247, 232, 0.07);
}

.signal-card::after {
  content: "";
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  width: 9rem;
  height: 9rem;
  border-radius: 999px;
  background: #ff4f2e;
  mix-blend-mode: screen;
  opacity: 0.58;
}

.signal-card:nth-child(2)::after { background: #59ffe1; }
.signal-card:nth-child(3)::after { background: #9b7cff; }
.signal-card:nth-child(4)::after { background: #c8ff00; }

.signal-card span {
  display: inline-flex;
  border: 1px solid rgba(251, 247, 232, 0.24);
  border-radius: 999px;
  padding: 0.32rem 0.52rem;
  color: #59ffe1;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.signal-card h3 {
  position: relative;
  z-index: 1;
  max-width: 12ch;
  margin: 1.2rem 0 0;
  color: #fbf7e8;
  font-size: 2.2rem;
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  word-spacing: 0.08em;
}

.signal-card p {
  position: relative;
  z-index: 1;
  max-width: 18rem;
  margin: 1rem 0 0;
  color: rgba(251, 247, 232, 0.72);
  font-weight: 650;
  line-height: 1.56;
}

.signal-specimen {
  display: grid;
  gap: 0.85rem;
}

.signal-spec-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  border: 1px solid rgba(8, 9, 15, 0.15);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 6px 6px 0 rgba(8, 9, 15, 0.1);
}

.signal-spec-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  color: #08090f;
  background: #c8ff00;
  font-weight: 950;
}

.signal-spec-row:nth-child(2) span { background: #ff4f2e; }
.signal-spec-row:nth-child(3) span { background: #59ffe1; }
.signal-spec-row:nth-child(4) span { background: #9b7cff; color: #ffffff; }

.signal-spec-row p {
  margin: 0;
  color: #08090f;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.42;
}

.signal-cta {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(255, 79, 46, 0.24), transparent 20rem),
    #08090f;
}

.signal-cta-panel {
  display: grid;
  gap: 1.5rem;
  border: 1px solid rgba(251, 247, 232, 0.18);
  border-radius: 1.2rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background:
    linear-gradient(135deg, rgba(251, 247, 232, 0.12), rgba(251, 247, 232, 0.04));
}

.signal-cta-panel h2 {
  max-width: 13ch;
  margin: 0;
  color: #fbf7e8;
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-weight: 950;
  line-height: 0.84;
  letter-spacing: -0.085em;
  text-transform: uppercase;
}

@keyframes signalFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-16px) rotate(4deg); }
}

@keyframes signalTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (min-width: 850px) {
  .signal-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 0.72fr);
  }

  .signal-constellation {
    transform: translateX(clamp(1rem, 3vw, 3.25rem));
  }

  .signal-orbital {
    left: calc(50% + clamp(1rem, 3vw, 3.25rem));
  }

  .signal-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .signal-cta-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .signal-section-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
    align-items: end;
  }

  #specimen.signal-section-paper .signal-section-head {
    grid-template-columns: minmax(0, 0.95fr) minmax(24rem, 0.9fr);
    column-gap: clamp(2.5rem, 5vw, 4.5rem);
  }

  #specimen.signal-section-paper .signal-section-head p {
    max-width: 46rem;
    padding-left: clamp(0.5rem, 1.8vw, 1.5rem);
  }
}

@media (max-width: 849px) {
  .signal-stage {
    min-height: auto;
  }

  .signal-hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .signal-copy h1 {
    font-size: clamp(4.4rem, 18vw, 6.2rem);
  }

  .signal-constellation {
    min-height: 28rem;
  }

  .signal-planet-name {
    left: 0;
    top: 4%;
  }

  .signal-planet-risk {
    right: 0;
    top: 10%;
  }

  .signal-planet-deck {
    right: 6%;
    bottom: 3%;
  }
}

@media (max-width: 520px) {
  .ba-home-body .site-header-inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .ba-home-body .site-brand {
    font-size: 1rem;
  }

  .signal-actions {
    flex-direction: column;
  }

  .signal-btn {
    width: 100%;
  }

  .signal-artifact {
    width: 84vw;
  }

  .signal-section-head {
    gap: 1.45rem;
  }

  .signal-section-head h2 {
    max-width: 100%;
    font-size: clamp(1.6rem, 10vw, 2.35rem);
    line-height: 1;
    letter-spacing: 0;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  .signal-section-head p {
    max-width: 100%;
    font-size: 1rem;
  }
}

@media (max-width: 260px) {
  .signal-section-head h2 {
    font-size: 1.6rem;
  }
}

@media (min-width: 1060px) {
  .home-header-actions {
    display: flex;
  }

  .ba-home-body #mobile-menu-toggle {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .signal-ticker-track,
  .signal-planet {
    animation: none;
  }
}

/* =================================================================================================================
   Favorite signal homepage - light mode
   ================================================================================================================= */

html:not(.dark) body.ba-home-body {
  background: #fbf7e8;
  color: #08090f;
}

html:not(.dark) .ba-home-body .site-header {
  border-bottom-color: rgba(8, 9, 15, 0.12) !important;
  background: rgba(251, 247, 232, 0.88) !important;
  color: #08090f;
}

html:not(.dark) .ba-home-body .site-header.site-header--scrolled {
  background: rgba(251, 247, 232, 0.94) !important;
  box-shadow: 0 16px 44px rgba(8, 9, 15, 0.1);
  border-bottom-color: rgba(8, 9, 15, 0.16) !important;
}

html:not(.dark) .ba-home-body .site-brand {
  color: #08090f !important;
}

html:not(.dark) .ba-home-body .site-brand span {
  color: #0f9d8f !important;
}

html:not(.dark) .home-header-nav,
html:not(.dark) .home-mobile-nav-link {
  color: rgba(8, 9, 15, 0.72);
}

html:not(.dark) .home-header-nav a,
html:not(.dark) .home-mobile-nav-link,
html:not(.dark) .home-auth-btn,
html:not(.dark) .home-footer-link {
  border-color: rgba(8, 9, 15, 0.18);
  background: rgba(255, 255, 255, 0.44);
  color: #08090f;
}

html:not(.dark) .home-header-nav a:hover,
html:not(.dark) .home-mobile-nav-link:hover,
html:not(.dark) .home-auth-btn-secondary:hover,
html:not(.dark) .home-footer-link:hover {
  border-color: #0f9d8f;
  background: rgba(89, 255, 225, 0.22);
  color: #08090f;
}

html:not(.dark) .home-auth-btn-primary {
  border-color: #08090f;
  background: #c8ff00;
  color: #08090f;
  box-shadow: 0 10px 22px rgba(8, 9, 15, 0.12);
}

html:not(.dark) .home-auth-btn-primary:hover {
  border-color: #08090f;
  background: #59ffe1;
  box-shadow: 0 12px 26px rgba(15, 157, 143, 0.18);
}

html:not(.dark) .ba-home-body #mobile-menu-toggle {
  border-color: rgba(8, 9, 15, 0.22);
  background: rgba(255, 255, 255, 0.52);
  color: #08090f;
}

html:not(.dark) .ba-home-body #mobile-menu {
  border-color: rgba(8, 9, 15, 0.12);
  background: rgba(251, 247, 232, 0.96);
}

html:not(.dark) .signal-stage {
  background:
    linear-gradient(110deg, transparent 0 30%, rgba(255, 255, 255, 0.52) 39%, rgba(89, 255, 225, 0.22) 49%, rgba(155, 124, 255, 0.14) 60%, rgba(255, 79, 46, 0.08) 70%, transparent 84%),
    radial-gradient(circle at 78% 28%, rgba(155, 124, 255, 0.28), transparent 22rem),
    radial-gradient(circle at 12% 72%, rgba(255, 79, 46, 0.2), transparent 22rem),
    radial-gradient(circle at 62% 32%, rgba(89, 255, 225, 0.26), transparent 26rem),
    linear-gradient(135deg, #fbf7e8 0%, #eefdf8 48%, #fff0f7 100%);
}

html:not(.dark) .signal-stage::before {
  background-image:
    linear-gradient(rgba(8, 9, 15, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 9, 15, 0.08) 1px, transparent 1px);
  opacity: 0.8;
}

html:not(.dark) .signal-stage::after {
  color: rgba(8, 9, 15, 0.06);
}

html:not(.dark) .signal-eyebrow {
  border-color: rgba(8, 9, 15, 0.18);
  background: rgba(255, 255, 255, 0.5);
  color: #0f9d8f;
  box-shadow: 6px 6px 0 rgba(200, 255, 0, 0.34);
}

html:not(.dark) .signal-copy h1,
html:not(.dark) .signal-section-head h2,
html:not(.dark) .signal-cta-panel h2 {
  color: #08090f;
}

html:not(.dark) .signal-copy h1 span {
  color: #a4e800;
  text-shadow: 0 0 26px rgba(164, 232, 0, 0.34);
}

html:not(.dark) .signal-lede {
  color: rgba(8, 9, 15, 0.66);
}

html:not(.dark) .signal-btn {
  border-color: rgba(8, 9, 15, 0.2);
  color: #08090f;
  background: rgba(255, 255, 255, 0.44);
}

html:not(.dark) .signal-btn-primary {
  border-color: #08090f;
  background: #c8ff00;
  color: #08090f;
}

html:not(.dark) .signal-btn-secondary:hover,
html:not(.dark) .signal-btn-primary:hover {
  border-color: #08090f;
  background: #59ffe1;
}

html:not(.dark) .signal-orbital,
html:not(.dark) .signal-orbital::before,
html:not(.dark) .signal-orbital::after {
  border-color: rgba(8, 9, 15, 0.16);
}

html:not(.dark) .signal-artifact {
  border-color: rgba(8, 9, 15, 0.16);
  background:
    linear-gradient(135deg, rgba(8, 9, 15, 0.11), rgba(255, 255, 255, 0.54));
  box-shadow: 0 30px 80px rgba(8, 9, 15, 0.18);
}

html:not(.dark) .signal-artifact-top {
  color: #0f9d8f;
}

html:not(.dark) .signal-artifact-name {
  background:
    linear-gradient(135deg, #fffdf2, #c8ff00);
}

html:not(.dark) .signal-ticker {
  border-color: rgba(8, 9, 15, 0.16);
  background: #08090f;
  color: #fbf7e8;
}

html:not(.dark) .signal-ticker span:nth-child(2n) { color: #ff6948; }
html:not(.dark) .signal-ticker span:nth-child(3n) { color: #59ffe1; }

html:not(.dark) .signal-section-dark {
  background:
    radial-gradient(circle at 92% 8%, rgba(200, 255, 0, 0.28), transparent 18rem),
    #fbf7e8;
  color: #08090f;
}

html:not(.dark) .signal-section-paper {
  background:
    radial-gradient(circle at 12% 14%, rgba(155, 124, 255, 0.16), transparent 18rem),
    linear-gradient(90deg, rgba(89, 255, 225, 0.16), transparent 42%),
    #eefdf8;
  color: #08090f;
}

html:not(.dark) .signal-section-head p {
  color: rgba(8, 9, 15, 0.68);
  opacity: 1;
}

html:not(.dark) .signal-card {
  border-color: rgba(8, 9, 15, 0.14);
  background:
    radial-gradient(circle at 90% 12%, rgba(200, 255, 0, 0.34), transparent 8rem),
    rgba(255, 255, 255, 0.66);
  box-shadow: 8px 8px 0 rgba(8, 9, 15, 0.08);
}

html:not(.dark) .signal-card::after {
  mix-blend-mode: multiply;
  opacity: 0.16;
}

html:not(.dark) .signal-card span {
  border-color: rgba(8, 9, 15, 0.16);
  background: rgba(255, 255, 255, 0.5);
  color: #0f9d8f;
}

html:not(.dark) .signal-card h3,
html:not(.dark) .signal-card p {
  color: #08090f;
}

html:not(.dark) .signal-card p {
  color: rgba(8, 9, 15, 0.66);
}

html:not(.dark) .signal-spec-row {
  border-color: rgba(8, 9, 15, 0.14);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 6px 6px 0 rgba(8, 9, 15, 0.08);
}

html:not(.dark) .signal-cta {
  background:
    radial-gradient(circle at 80% 30%, rgba(255, 79, 46, 0.2), transparent 20rem),
    #fbf7e8;
}

html:not(.dark) .signal-cta-panel {
  border-color: rgba(8, 9, 15, 0.14);
  background:
    linear-gradient(135deg, rgba(200, 255, 0, 0.22), rgba(89, 255, 225, 0.2)),
    rgba(255, 255, 255, 0.64);
  box-shadow: 10px 10px 0 rgba(8, 9, 15, 0.08);
}

html:not(.dark) .ba-home-body .site-footer {
  border-top-color: rgba(8, 9, 15, 0.14) !important;
  background: #fbf7e8 !important;
  color: rgba(8, 9, 15, 0.72);
}

html:not(.dark) .home-footer-brand {
  color: #08090f;
}

html:not(.dark) .home-footer-brand span {
  color: #0f9d8f;
}

html:not(.dark) .home-footer-divider {
  color: rgba(8, 9, 15, 0.34);
}

html:not(.dark) .home-footer small {
  color: rgba(8, 9, 15, 0.58);
}

html:not(.dark) .home-footer-link span:first-child {
  color: rgba(8, 9, 15, 0.46);
}

/* =================================================================================================================
   Smooth theme transitions
   ================================================================================================================= */

/* Default: no transitions during first paint to avoid flashing */
body, .site-header, .site-footer, .studio-header-frame,
.bg-white, .border, .rounded-2xl,
a, button, input, textarea, select, pre, code{
  transition:none;
}

/* Enable transitions only after the app is ready */
.theme-ready body,
.theme-ready .site-header,
.theme-ready .site-footer,
.theme-ready .studio-header-frame,
.theme-ready .bg-white,
.theme-ready .border,
.theme-ready .rounded-2xl,
.theme-ready a,
.theme-ready button,
.theme-ready input,
.theme-ready textarea,
.theme-ready select,
.theme-ready pre,
.theme-ready code{
  transition-property: background-color, color, border-color, fill, stroke, box-shadow;
  transition-duration: 220ms;
  transition-timing-function: cubic-bezier(.2, .8, .2, 1);
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce){
  .theme-ready body,
  .theme-ready .site-header,
  .theme-ready .site-footer,
  .theme-ready .studio-header-frame,
  .theme-ready .bg-white,
  .theme-ready .border,
  .theme-ready .rounded-2xl,
  .theme-ready a,
  .theme-ready button,
  .theme-ready input,
  .theme-ready textarea,
  .theme-ready select,
  .theme-ready pre,
  .theme-ready code{
    transition:none !important;
  }
}

/* Body / main background transition */
body,
main{
  transition: background-color 0.4s ease;
}

.dark main{
  position: static;
  background-color: transparent;
}

/* Disable the old vignette */
.dark main::before,
.dark.theme-ready main::before{
  content:none;
}

/* =================================================================================================================
   Package card: overlap-proof layout (maintainable)
   ================================================================================================================= */

#package,
#package * { box-sizing: border-box; }

/* Header: allow wrap so Status never collides with title */
#package .pkg-head {
  flex-wrap: wrap;
  gap: 12px;
}
#package .pkg-head > * { min-width: 0; }

/* Buttons: safe overflow */
#package .mt-4.flex.flex-wrap > * {
  min-width: 0;
  max-width: 100%;
}

/* Two columns: let children shrink so they don't force overlap */
#package .mt-6.grid > div { min-width: 0; }

/* Panel boundaries */
#package .rounded-xl.border { overflow: hidden; }

/* Project row: stack gracefully */
#package .pkg-project-row {
  flex-wrap: wrap;
  gap: 10px;
}
#package #package-project-id {
  flex: 1 1 220px;
  width: auto;      /* beats w-40 when wrapping */
  max-width: 100%;
  min-width: 0;
}

/* Rows: stop badge/button from colliding with text */
#package .pkg-row {
  align-items: flex-start; /* key fix */
  gap: 10px;
}

/* Long strings (timestamps / zip names): wrap instead of overlap */
#package .text-xs.text-slate-500,
#package .text-xs.text-slate-500 span {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Truncation helper stays safe */
#package .truncate {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Tiny screens */
@media (max-width: 420px) {
  #package #package-project-id {
    flex-basis: 100%;
    width: 100%;
  }

  /* Optional: full-width buttons on very small screens */
  #package .mt-4.flex.flex-wrap > * {
    width: 100%;
    justify-content: center;
  }
}




/* -----------------------------------------------------------------------------------------------------------------------------------------
   Studio Shell (layout)
----------------------------------------------------------------------------------------------------------------------------------------- */
.studio-shell{
  display:grid;
  grid-template-columns: 208px minmax(0, 1fr);
  min-height: calc(100vh - 72px);
  column-gap: 8px;
}

/* Give the main area more breathing room */
.studio-main{
  padding: 10px 6px 6px 0;
}

/* Default canvas is now wider */
.studio-main-inner{
  width: 100%;
  max-width: 1320px;  /* was 1100px */
  margin: 0 auto;
}

/* Wide canvas mode (for builder modules) */
.studio-main-inner.studio-main-wide{
  max-width: 1680px;  /* was 1400px */
}

/* Full-bleed mode (rare, but useful) */
.studio-main-inner.studio-main-full{
  max-width: none;
  margin: 0;
  width: 100%;
}

/* Mobile fallback */
@media (max-width: 900px){
  .studio-shell{ grid-template-columns: 1fr; }
  .studio-sidebar{ position: relative; height: auto; }
  .studio-main{ padding: 14px; }
}




/* ============================================================================================================== */
/* Studio Navigation Tightening  */
/* ============================================================================================================== */

/* Tighter vertical rhythm */
.studio-nav{
  display:flex;
  flex-direction:column;
  gap: 1px; /* true single-spacing feel */
}

/* Group headers (Modules / Utilities) */
.studio-nav-group{
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(100,116,139,0.95);
  padding: 8px 10px 4px var(--ba-shared-inset);
  margin-top: 10px;        /* replaces mt-6 */
}

/* Nav items */
.studio-nav-link{
  display:flex;
  align-items:center;
  justify-content: flex-start;
  gap: 0.65rem;
  padding: 6px 10px 6px var(--ba-shared-inset);
  border-radius: 12px;
  margin: 0;
  line-height: 1.15;       /* tighter text */
  transition: background 120ms ease,
              border-color 120ms ease,
              opacity 180ms ease;
}

/* Hover */
.studio-nav-link:hover{
  background: rgba(226,232,240,0.06);
  border-color: rgba(226,232,240,0.10);
}

/* Active */
.studio-nav-link.is-active{
  background: rgba(2,6,23,0.06);
  border-color: rgba(15,23,42,0.16);
  color: rgba(15,23,42,0.92);
}

.dark .studio-nav-link.is-active{
  background: rgba(226,232,240,0.08);
  border-color: rgba(226,232,240,0.14);
  color: rgba(226,232,240,0.92);
}

/* Disabled row */
.studio-nav-disabled{
  opacity: 0.35;
  cursor: not-allowed;
  user-select: none;
  padding-left: var(--ba-shared-inset);
  padding-right: 10px;
}

/* Label container (keeps lock inline + right-aligned) */
.studio-nav-label{
  display:flex;
  align-items:center;
  min-width: 0;
  width:auto;
  gap: 0.65rem;
}

.studio-module-icon{
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 1.2rem;
  color: rgba(100,116,139,0.82);
  stroke-width: 1.65;
}

.studio-nav-title{
  min-width: 0;
  overflow-wrap: anywhere;
}

.studio-nav-link:hover .studio-module-icon,
.studio-nav-link.is-active .studio-module-icon{
  color: rgba(15,118,110,0.92);
}

.dark .studio-module-icon{
  color: currentColor;
}

.dark .studio-nav-link:hover .studio-module-icon,
.dark .studio-nav-link.is-active .studio-module-icon{
  color: currentColor;
}

/* Lock icon pinned right */
.studio-lock-icon{
  width:14px;
  height:14px;
  opacity:0.7;
  flex:0 0 auto;
}

.studio-nav-complete{
  margin-left:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:16px;
  height:16px;
  border-radius:999px;
  font-size:10px;
  line-height:1;
  color:#0f766e;
  background:rgba(13,148,136,0.12);
  border:1px solid rgba(13,148,136,0.22);
}

.dark .studio-nav-complete{
  color:#5eead4;
  background:rgba(45,212,191,0.12);
  border-color:rgba(45,212,191,0.22);
}

/* ===================================================================================================================== */
/* Bottom hint area              */
/* ====================================================================================================================== */

.studio-side-bottom{
  margin-top:auto;
  padding-top:10px;
}

.studio-side-hint{
  font-size:12px;
  padding:10px 10px;
  border-radius:14px;
  border:1px solid rgba(148,163,184,0.18);
  color:rgba(100,116,139,0.95);
  background:rgba(255,255,255,0.5);
}

.dark .studio-side-hint{
  background:rgba(2,6,23,0.25);
}

/* ============================================================================================================================== */
/* Main content surface          */
/* ===================================================================================================================== */

/* Make "wide" panels actually use the full available width */
.studio-panel--wide{
  width: 100%;
  max-width: none;
}

/* Make the right pane act like a real canvas */
.studio-canvas{
  width: 100%;
}

.studio-index-panel{
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.studio-header-frame{
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  background: #f8fafc;
  overflow: hidden;
}

.dark .studio-header-frame{
  background: #020617;
}

/* Blend the large studio canvas surfaces into the page background */
.studio-main form.space-y-6.rounded-2xl,
.studio-main > .rounded-2xl,
.studio-main form.space-y-6.rounded-2xl > header.rounded-2xl,
.studio-main .rounded-2xl.border.border-slate-200\/70.dark\:border-slate-700\/60.bg-white\/70.dark\:bg-slate-900\/40,
.studio-main .rounded-2xl.border.border-slate-200\/70.dark\:border-slate-700\/60.bg-white\/60.dark\:bg-slate-900\/30 {
  background: #f8fafc;
}

.studio-main > .rounded-2xl.border.border-slate-200\/70.dark\:border-slate-700\/60,
.studio-main > form.rounded-2xl.border.border-slate-200\/70.dark\:border-slate-700\/60,
.studio-main .space-y-6.rounded-2xl.border.border-slate-200\/70.dark\:border-slate-700\/60 {
  border-color: transparent;
}

.dark .studio-main form.space-y-6.rounded-2xl,
.dark .studio-main > .rounded-2xl,
.dark .studio-main form.space-y-6.rounded-2xl > header.rounded-2xl,
.dark .studio-main .rounded-2xl.border.border-slate-200\/70.dark\:border-slate-700\/60.bg-white\/70.dark\:bg-slate-900\/40,
.dark .studio-main .rounded-2xl.border.border-slate-200\/70.dark\:border-slate-700\/60.bg-white\/60.dark\:bg-slate-900\/30 {
  background: #020617;
}

.studio-main,
.studio-sidebar,
.studio-header-frame {
  --studio-border-shell: var(--studio-border-shell-light);
  --studio-border-card: var(--studio-border-card-light);
  --studio-border-field: var(--studio-border-field-light);
  --studio-border-dashed: var(--studio-border-dashed-light);
  --studio-surface-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.62);
  --studio-shell-bg: #f7fbff;
  --studio-card-bg: rgba(255, 255, 255, 0.78);
  --studio-field-bg: rgba(255, 255, 255, 0.96);
}

.dark .studio-main,
.dark .studio-sidebar,
.dark .studio-header-frame {
  --studio-border-shell: var(--studio-border-shell-dark);
  --studio-border-card: var(--studio-border-card-dark);
  --studio-border-field: var(--studio-border-field-dark);
  --studio-border-dashed: var(--studio-border-dashed-dark);
  --studio-surface-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  --studio-shell-bg: #020617;
  --studio-card-bg: rgba(15, 23, 42, 0.30);
  --studio-field-bg: rgba(2, 6, 23, 0.55);
}

.studio-main .space-y-6.rounded-2xl.border[class*="border-slate-200"],
.studio-main > .rounded-2xl.border[class*="border-slate-200"],
.studio-main > form.rounded-2xl.border[class*="border-slate-200"],
.studio-main form.space-y-6.rounded-2xl > header.rounded-2xl.border[class*="border-slate-200"],
.studio-main .rounded-2xl.border[class*="border-slate-200"],
.studio-header-frame .rounded-xl.border[class*="border-slate-200"],
.studio-header-frame .rounded-full.border[class*="border-slate-200"] {
  border-width: 1px;
  border-color: var(--studio-border-shell);
  box-shadow: var(--studio-surface-highlight);
}

html:not(.dark) .studio-main .space-y-6.rounded-2xl.border[class*="border-slate-200"],
html:not(.dark) .studio-main > .rounded-2xl.border[class*="border-slate-200"],
html:not(.dark) .studio-main > form.rounded-2xl.border[class*="border-slate-200"],
html:not(.dark) .studio-main form.space-y-6.rounded-2xl > header.rounded-2xl.border[class*="border-slate-200"] {
  background: var(--studio-shell-bg);
}

html:not(.dark) .studio-main .rounded-2xl.border[class*="border-slate-200"]:not(.space-y-6),
html:not(.dark) .studio-main .rounded-xl.border[class*="border-slate-200"],
html:not(.dark) .studio-main .rounded-lg.border[class*="border-slate-200"] {
  background: var(--studio-card-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.studio-main .rounded-xl.border[class*="border-slate-200"],
.studio-main .rounded-lg.border[class*="border-slate-200"],
.studio-sidebar .rounded-xl.border[class*="border-slate"],
.studio-sidebar .rounded-lg.border[class*="border-slate"] {
  border-width: 1px;
  border-color: var(--studio-border-card);
}

.studio-main input.border[class*="border-slate-300"]:not([type="checkbox"]):not([type="radio"]),
.studio-main textarea.border[class*="border-slate-300"],
.studio-main select.border[class*="border-slate-300"],
.studio-main a.rounded-xl.border[class*="border-slate-300"],
.studio-main a.rounded-lg.border[class*="border-slate-300"],
.studio-main button.rounded-xl.border[class*="border-slate-300"],
.studio-main button.rounded-lg.border[class*="border-slate-300"],
.studio-header-frame a.rounded-xl.border[class*="border-slate-200"],
.studio-header-frame button.rounded-xl.border[class*="border-slate-200"] {
  border-width: 1px;
  border-color: var(--studio-border-field);
}

.studio-main input.border[class*="border-slate-300"]:not([type="checkbox"]):not([type="radio"]),
.studio-main textarea.border[class*="border-slate-300"],
.studio-main select.border[class*="border-slate-300"] {
  box-shadow: var(--studio-surface-highlight);
  background: var(--studio-field-bg);
}

.studio-main .border-dashed[class*="border-slate-300"] {
  border-width: 1px;
  border-color: var(--studio-border-dashed);
}

.dark .studio-main > .rounded-2xl.border.border-slate-200\/70.dark\:border-slate-700\/60,
.dark .studio-main > form.rounded-2xl.border.border-slate-200\/70.dark\:border-slate-700\/60,
.dark .studio-main .space-y-6.rounded-2xl.border.border-slate-200\/70.dark\:border-slate-700\/60 {
  border-color: var(--studio-border-shell);
}

.studio-main > .rounded-2xl.border.border-slate-200\/70.dark\:border-slate-700\/60,
.studio-main > form.rounded-2xl.border.border-slate-200\/70.dark\:border-slate-700\/60,
.studio-main .space-y-6.rounded-2xl.border.border-slate-200\/70.dark\:border-slate-700\/60 {
  border-color: var(--studio-border-shell);
}

/* =================================================================================================================
   App-wide signal system skin
   ================================================================================================================= */

html:not(.dark) body:not(.ba-home-body) {
  background:
    radial-gradient(circle at 86% 8%, rgba(155, 124, 255, 0.16), transparent 24rem),
    radial-gradient(circle at 12% 18%, rgba(89, 255, 225, 0.18), transparent 22rem),
    linear-gradient(135deg, #fbf7e8 0%, #eefdf8 48%, #fff0f7 100%) !important;
  color: #08090f;
}

html.dark body:not(.ba-home-body) {
  background:
    radial-gradient(circle at 82% 10%, rgba(155, 124, 255, 0.2), transparent 24rem),
    radial-gradient(circle at 10% 80%, rgba(255, 79, 46, 0.14), transparent 24rem),
    linear-gradient(135deg, #08090f 0%, #111827 48%, #05030a 100%) !important;
  color: #fbf7e8;
}

body:not(.ba-home-body)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(8, 9, 15, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 9, 15, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, black, transparent 78%);
  pointer-events: none;
}

html.dark body:not(.ba-home-body)::before {
  background-image:
    linear-gradient(rgba(251, 247, 232, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 247, 232, 0.055) 1px, transparent 1px);
}

body:not(.ba-home-body) .site-header {
  border-bottom-color: rgba(8, 9, 15, 0.12) !important;
  background: rgba(251, 247, 232, 0.88) !important;
  color: #08090f;
}

html.dark body:not(.ba-home-body) .site-header {
  border-bottom-color: rgba(251, 247, 232, 0.14) !important;
  background: rgba(8, 9, 15, 0.86) !important;
  color: #fbf7e8;
}

body:not(.ba-home-body) .site-header.site-header--scrolled {
  background: rgba(251, 247, 232, 0.94) !important;
  box-shadow: 0 16px 44px rgba(8, 9, 15, 0.1);
  border-bottom-color: rgba(8, 9, 15, 0.16) !important;
}

html.dark body:not(.ba-home-body) .site-header.site-header--scrolled {
  background: rgba(8, 9, 15, 0.92) !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.34);
  border-bottom-color: rgba(251, 247, 232, 0.16) !important;
}

body:not(.ba-home-body) .site-header-inner {
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}

body:not(.ba-home-body) .site-brand {
  color: #08090f !important;
  font-size: 1.3rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

body:not(.ba-home-body) .site-brand span {
  color: #0f9d8f !important;
}

html.dark body:not(.ba-home-body) .site-brand {
  color: #fbf7e8 !important;
}

html.dark body:not(.ba-home-body) .site-brand span {
  color: #59ffe1 !important;
}

body:not(.ba-home-body) .site-header .site-brand.brand-wordmark .brand-wordmark__word--brand,
html.dark body:not(.ba-home-body) .site-header .site-brand.brand-wordmark .brand-wordmark__word--brand {
  color: #9271ff !important;
}

body:not(.ba-home-body) .site-header .site-brand.brand-wordmark .brand-wordmark__word--signal,
html.dark body:not(.ba-home-body) .site-header .site-brand.brand-wordmark .brand-wordmark__word--signal {
  color: #ff4f2e !important;
}

body:not(.ba-home-body) .site-header .site-brand.brand-wordmark .brand-wordmark__word--bureau,
html.dark body:not(.ba-home-body) .site-header .site-brand.brand-wordmark .brand-wordmark__word--bureau {
  color: #00b796 !important;
}

body:not(.ba-home-body) .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.45rem;
  border: 1px solid rgba(8, 9, 15, 0.14);
  border-radius: 999px;
  padding: 0.45rem 0.68rem;
  color: rgba(8, 9, 15, 0.72);
  background: rgba(255, 255, 255, 0.44);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

body:not(.ba-home-body) .nav-link::after {
  display: none;
}

body:not(.ba-home-body) .nav-link:hover,
body:not(.ba-home-body) .nav-link.is-active {
  border-color: #0f9d8f;
  color: #08090f;
  background: rgba(89, 255, 225, 0.2);
}

html.dark body:not(.ba-home-body) .nav-link {
  border-color: rgba(251, 247, 232, 0.16);
  color: rgba(251, 247, 232, 0.72);
  background: rgba(251, 247, 232, 0.05);
}

html.dark body:not(.ba-home-body) .nav-link:hover,
html.dark body:not(.ba-home-body) .nav-link.is-active {
  border-color: #59ffe1;
  color: #fbf7e8;
  background: rgba(89, 255, 225, 0.08);
}

body:not(.ba-home-body) .site-header [data-auth] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  border-radius: 999px !important;
  padding: 0.45rem 0.9rem !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

body:not(.ba-home-body) .site-header [data-auth]:hover {
  transform: translateY(-1px);
}

body:not(.ba-home-body) .site-header [data-auth="login"] {
  border: 1px solid rgba(8, 9, 15, 0.18) !important;
  color: #08090f !important;
  background: rgba(255, 255, 255, 0.44) !important;
}

body:not(.ba-home-body) .site-header [data-auth="signup"] {
  border: 1px solid #08090f !important;
  color: #08090f !important;
  background: #c8ff00 !important;
  box-shadow: 0 10px 22px rgba(8, 9, 15, 0.12);
}

html.dark body:not(.ba-home-body) .site-header [data-auth="login"] {
  border-color: rgba(251, 247, 232, 0.26) !important;
  color: #fbf7e8 !important;
  background: rgba(251, 247, 232, 0.06) !important;
}

html.dark body:not(.ba-home-body) .site-header [data-auth="signup"] {
  border-color: #c8ff00 !important;
  color: #08090f !important;
  background: #c8ff00 !important;
  box-shadow: 0 0 24px rgba(200, 255, 0, 0.18);
}

body:not(.ba-home-body) .site-footer {
  border-top-color: rgba(8, 9, 15, 0.14) !important;
  background: #fbf7e8 !important;
  color: rgba(8, 9, 15, 0.72);
  text-align: left;
}

html.dark body:not(.ba-home-body) .site-footer {
  border-top-color: rgba(251, 247, 232, 0.16) !important;
  background: #08090f !important;
  color: rgba(251, 247, 232, 0.72);
}

body:not(.ba-home-body) .site-footer .ba-shell {
  max-width: none;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}

body:not(.ba-home-body) .footer-brand__ofi {
  color: #08090f;
}

body:not(.ba-home-body) .footer-brand__studio,
body:not(.ba-home-body) .footer-brand__signal,
body:not(.ba-home-body) .footer-brand__brand {
  color: #0f9d8f;
}

body:not(.ba-home-body) .footer-brand__studio {
  color: #00b796;
}

html.dark body:not(.ba-home-body) .footer-brand__ofi {
  color: #fbf7e8;
}

html.dark body:not(.ba-home-body) .footer-brand__studio,
html.dark body:not(.ba-home-body) .footer-brand__signal,
html.dark body:not(.ba-home-body) .footer-brand__brand {
  color: #59ffe1;
}

html.dark body:not(.ba-home-body) .footer-brand__studio {
  color: #00b796;
}

body:not(.ba-home-body) .site-footer nav a,
body:not(.ba-home-body) .site-footer nav button {
  min-height: 2.45rem;
  border-color: rgba(8, 9, 15, 0.14) !important;
  border-radius: 999px !important;
  color: #08090f !important;
  background: rgba(255, 255, 255, 0.44) !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

html.dark body:not(.ba-home-body) .site-footer nav a,
html.dark body:not(.ba-home-body) .site-footer nav button {
  border-color: rgba(251, 247, 232, 0.16) !important;
  color: #fbf7e8 !important;
  background: rgba(251, 247, 232, 0.05) !important;
}

.studio-shell {
  position: relative;
  isolation: isolate;
}

html:not(.dark) .studio-shell {
  background:
    radial-gradient(circle at 84% 12%, rgba(155, 124, 255, 0.14), transparent 20rem),
    linear-gradient(135deg, rgba(251, 247, 232, 0.66), rgba(238, 253, 248, 0.72));
}

html.dark .studio-shell {
  background:
    radial-gradient(circle at 84% 12%, rgba(155, 124, 255, 0.18), transparent 20rem),
    radial-gradient(circle at 8% 82%, rgba(255, 79, 46, 0.12), transparent 20rem),
    #08090f;
}

.studio-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(8, 9, 15, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 9, 15, 0.052) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

html.dark .studio-shell::before {
  background-image:
    linear-gradient(rgba(251, 247, 232, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 247, 232, 0.052) 1px, transparent 1px);
}

.studio-main,
.studio-sidebar,
.studio-header-frame {
  --studio-border-shell: rgba(8, 9, 15, 0.14);
  --studio-border-card: rgba(8, 9, 15, 0.12);
  --studio-border-field: rgba(8, 9, 15, 0.2);
  --studio-border-dashed: rgba(8, 9, 15, 0.22);
  --studio-surface-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  --studio-shell-bg: rgba(255, 253, 242, 0.7);
  --studio-card-bg: rgba(255, 255, 255, 0.66);
  --studio-field-bg: rgba(255, 255, 255, 0.82);
}

.dark .studio-main,
.dark .studio-sidebar,
.dark .studio-header-frame {
  --studio-border-shell: rgba(251, 247, 232, 0.16);
  --studio-border-card: rgba(251, 247, 232, 0.14);
  --studio-border-field: rgba(251, 247, 232, 0.24);
  --studio-border-dashed: rgba(251, 247, 232, 0.24);
  --studio-surface-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --studio-shell-bg: rgba(8, 9, 15, 0.72);
  --studio-card-bg: rgba(251, 247, 232, 0.055);
  --studio-field-bg: rgba(8, 9, 15, 0.62);
}

.studio-sidebar {
  border-right: 1px solid rgba(8, 9, 15, 0.12);
  background:
    radial-gradient(circle at 100% 0%, rgba(200, 255, 0, 0.16), transparent 11rem),
    rgba(251, 247, 232, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.dark .studio-sidebar {
  border-right-color: rgba(251, 247, 232, 0.12);
  background:
    radial-gradient(circle at 100% 0%, rgba(200, 255, 0, 0.12), transparent 11rem),
    rgba(8, 9, 15, 0.78);
}

.studio-progress-card,
.studio-side-hint,
.studio-header-frame,
.studio-main .space-y-6.rounded-2xl.border[class*="border-slate-200"],
.studio-main > .rounded-2xl.border[class*="border-slate-200"],
.studio-main > form.rounded-2xl.border[class*="border-slate-200"],
.studio-main .rounded-2xl.border[class*="border-slate-200"],
.studio-main .rounded-xl.border[class*="border-slate-200"],
.studio-main .rounded-lg.border[class*="border-slate-200"],
.ba-card,
.landing-card,
.landing-proof-card,
.landing-process-step,
.landing-workflow-card,
.landing-cta-panel {
  border-color: var(--studio-border-card) !important;
  background: var(--studio-card-bg) !important;
  box-shadow:
    var(--studio-surface-highlight),
    7px 7px 0 rgba(8, 9, 15, 0.06) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dark .studio-progress-card,
.dark .studio-side-hint,
.dark .studio-header-frame,
.dark .studio-main .space-y-6.rounded-2xl.border[class*="border-slate-200"],
.dark .studio-main > .rounded-2xl.border[class*="border-slate-200"],
.dark .studio-main > form.rounded-2xl.border[class*="border-slate-200"],
.dark .studio-main .rounded-2xl.border[class*="border-slate-200"],
.dark .studio-main .rounded-xl.border[class*="border-slate-200"],
.dark .studio-main .rounded-lg.border[class*="border-slate-200"],
.dark .ba-card,
.dark .landing-card,
.dark .landing-proof-card,
.dark .landing-process-step,
.dark .landing-workflow-card,
.dark .landing-cta-panel {
  box-shadow:
    var(--studio-surface-highlight),
    7px 7px 0 rgba(0, 0, 0, 0.18) !important;
}

.studio-header-frame {
  border: 1px solid var(--studio-border-shell) !important;
  background:
    radial-gradient(circle at 92% 0%, rgba(200, 255, 0, 0.16), transparent 11rem),
    var(--studio-shell-bg) !important;
}

.dark .studio-header-frame {
  background:
    radial-gradient(circle at 92% 0%, rgba(200, 255, 0, 0.12), transparent 11rem),
    var(--studio-shell-bg) !important;
}

.studio-header-frame h1,
.studio-main h1,
.studio-main h2,
.studio-main h3,
.studio-main .text-slate-900,
.studio-main .text-slate-800 {
  color: #08090f !important;
}

.dark .studio-header-frame h1,
.dark .studio-main h1,
.dark .studio-main h2,
.dark .studio-main h3,
.dark .studio-main .text-slate-900,
.dark .studio-main .text-slate-800,
.dark .studio-main .dark\:text-slate-100,
.dark .studio-main .dark\:text-slate-200 {
  color: #fbf7e8 !important;
}

.studio-header-frame .text-slate-500,
.studio-header-frame .text-slate-600,
.studio-main .text-slate-500,
.studio-main .text-slate-600,
.studio-main .text-slate-700 {
  color: rgba(8, 9, 15, 0.66) !important;
}

.dark .studio-header-frame .text-slate-500,
.dark .studio-header-frame .text-slate-600,
.dark .studio-main .text-slate-500,
.dark .studio-main .text-slate-600,
.dark .studio-main .text-slate-700,
.dark .studio-main .dark\:text-slate-300,
.dark .studio-main .dark\:text-slate-400 {
  color: rgba(251, 247, 232, 0.68) !important;
}

.studio-nav-group {
  color: rgba(8, 9, 15, 0.48) !important;
  font-weight: 950;
}

.dark .studio-nav-group {
  color: rgba(251, 247, 232, 0.5) !important;
}

.studio-nav-link {
  border: 1px solid transparent;
  color: rgba(8, 9, 15, 0.72) !important;
  font-weight: 820;
}

.studio-nav-link:hover {
  border-color: rgba(15, 157, 143, 0.28);
  background: rgba(89, 255, 225, 0.14);
}

.studio-nav-link.is-active {
  border-color: rgba(8, 9, 15, 0.16);
  background: #c8ff00 !important;
  color: #08090f !important;
  box-shadow: 5px 5px 0 rgba(8, 9, 15, 0.1);
}

.studio-nav-link:hover .studio-module-icon,
.studio-nav-link.is-active .studio-module-icon {
  color: #0f9d8f !important;
}

.studio-nav-link.is-active .studio-module-icon {
  color: #08090f !important;
}

.dark .studio-nav-link {
  color: rgba(251, 247, 232, 0.72) !important;
}

.dark .studio-nav-link:hover {
  border-color: rgba(89, 255, 225, 0.26);
  background: rgba(89, 255, 225, 0.08);
}

.dark .studio-nav-link.is-active {
  border-color: #c8ff00;
  background: #c8ff00 !important;
  color: #08090f !important;
}

.studio-progress-fill {
  background: linear-gradient(90deg, #59ffe1 0%, #c8ff00 100%);
  box-shadow: 0 0 18px rgba(89, 255, 225, 0.34);
}

.studio-nav-complete {
  border-color: rgba(15, 157, 143, 0.28);
  background: rgba(89, 255, 225, 0.18);
  color: #0f9d8f;
}

.dark .studio-nav-complete {
  border-color: rgba(89, 255, 225, 0.34);
  background: rgba(89, 255, 225, 0.12);
  color: #59ffe1;
}

.studio-main input:not([type="checkbox"]):not([type="radio"]),
.studio-main textarea,
.studio-main select,
.modal-panel input,
.modal-panel textarea,
.modal-panel select {
  border-color: var(--studio-border-field) !important;
  border-radius: 0.8rem !important;
  color: #08090f !important;
  background: var(--studio-field-bg) !important;
  box-shadow: var(--studio-surface-highlight);
}

.dark .studio-main input:not([type="checkbox"]):not([type="radio"]),
.dark .studio-main textarea,
.dark .studio-main select,
.dark .modal-panel input,
.dark .modal-panel textarea,
.dark .modal-panel select {
  color: #fbf7e8 !important;
}

.studio-main input:focus,
.studio-main textarea:focus,
.studio-main select:focus {
  border-color: #0f9d8f !important;
  box-shadow:
    0 0 0 3px rgba(89, 255, 225, 0.24),
    var(--studio-surface-highlight) !important;
}

.studio-main button,
.studio-main a.rounded-xl,
.studio-header-frame a.rounded-xl,
.studio-header-frame button.rounded-xl,
.btn,
.btn-solid,
.btn-outline,
.btn-ghost {
  border-radius: 999px !important;
}

.studio-main [class*="bg-teal-600"],
.studio-header-frame [class*="bg-teal-600"],
.modal-panel [class*="bg-teal-600"],
.btn-solid {
  border-color: #08090f !important;
  background: #c8ff00 !important;
  color: #08090f !important;
  box-shadow: 0 10px 22px rgba(8, 9, 15, 0.12);
}

.dark .studio-main [class*="bg-teal-600"],
.dark .studio-header-frame [class*="bg-teal-600"],
.dark .modal-panel [class*="bg-teal-600"],
.dark .btn-solid {
  border-color: #c8ff00 !important;
  background: #c8ff00 !important;
  color: #08090f !important;
  box-shadow: 0 0 24px rgba(200, 255, 0, 0.18);
}

.studio-main [class*="text-teal-"],
.studio-header-frame [class*="text-teal-"],
.modal-panel [class*="text-teal-"] {
  color: #0f9d8f !important;
}

.dark .studio-main [class*="text-teal-"],
.dark .studio-header-frame [class*="text-teal-"],
.dark .modal-panel [class*="text-teal-"] {
  color: #59ffe1 !important;
}

.studio-main [class*="border-teal-"],
.studio-header-frame [class*="border-teal-"],
.modal-panel [class*="border-teal-"] {
  border-color: #0f9d8f !important;
}

.dark .studio-main [class*="border-teal-"],
.dark .studio-header-frame [class*="border-teal-"],
.dark .modal-panel [class*="border-teal-"] {
  border-color: #59ffe1 !important;
}

.studio-main [class*="bg-teal-50"] {
  background: rgba(89, 255, 225, 0.16) !important;
}

.dark .studio-main [class*="bg-teal-950"] {
  background: rgba(89, 255, 225, 0.1) !important;
}

.studio-main table {
  overflow: hidden;
  border: 1px solid var(--studio-border-card);
  border-radius: 0.8rem;
  background: var(--studio-card-bg);
}

.studio-main th {
  color: rgba(8, 9, 15, 0.64) !important;
  background: rgba(200, 255, 0, 0.16);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dark .studio-main th {
  color: rgba(251, 247, 232, 0.68) !important;
  background: rgba(200, 255, 0, 0.08);
}

.studio-main td {
  border-color: var(--studio-border-card) !important;
}

.modal-backdrop {
  background:
    radial-gradient(circle at 50% 20%, rgba(89, 255, 225, 0.16), transparent 18rem),
    rgba(8, 9, 15, 0.72);
  backdrop-filter: blur(12px);
}

.modal-panel {
  border: 1px solid rgba(251, 247, 232, 0.18);
  border-radius: 1.1rem;
  background:
    radial-gradient(circle at 90% 0%, rgba(200, 255, 0, 0.14), transparent 10rem),
    #08090f;
  color: #fbf7e8;
  box-shadow: 18px 18px 0 rgba(0, 0, 0, 0.22);
}

.modal-close-btn {
  border-color: rgba(251, 247, 232, 0.2);
  border-radius: 999px;
  color: rgba(251, 247, 232, 0.78);
}

.landing-eyebrow,
.landing-section-kicker,
.landing-panel-kicker {
  color: #0f9d8f;
}

.dark .landing-eyebrow,
.dark .landing-section-kicker,
.dark .landing-panel-kicker {
  color: #59ffe1;
}

@media (max-width: 900px) {
  .studio-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--studio-border-card);
  }
}

/* =================================================================================================================
   Studio signal remix pass
   ================================================================================================================= */

body:not(.ba-home-body) .site-header .nav-link,
body:not(.ba-home-body) .site-header [data-auth] {
  min-height: 2.72rem !important;
  border-width: 2px !important;
  border-color: rgba(8, 9, 15, 0.18) !important;
  padding: 0.58rem 0.92rem !important;
  background: rgba(255, 255, 255, 0.56) !important;
  color: #08090f !important;
  box-shadow: 3px 3px 0 rgba(8, 9, 15, 0.05);
}

body:not(.ba-home-body) .site-header .nav-link:hover,
body:not(.ba-home-body) .site-header [data-auth="login"]:hover {
  border-color: #08090f !important;
  background: #59ffe1 !important;
  box-shadow: 5px 5px 0 rgba(8, 9, 15, 0.1);
}

body:not(.ba-home-body) .site-header .nav-link.is-active {
  border-color: #08090f !important;
  background: #59ffe1 !important;
  color: #08090f !important;
  box-shadow: 5px 5px 0 rgba(8, 9, 15, 0.12);
}

body:not(.ba-home-body) .site-header [data-auth="signup"] {
  border-color: #08090f !important;
  background: #c8ff00 !important;
  box-shadow: 5px 5px 0 rgba(8, 9, 15, 0.12);
}

body:not(.ba-home-body) .site-header [data-auth="signup"]:hover {
  background: #ff4f2e !important;
  color: #fbf7e8 !important;
}

html.dark body:not(.ba-home-body) .site-header .nav-link,
html.dark body:not(.ba-home-body) .site-header [data-auth] {
  border-color: rgba(251, 247, 232, 0.24) !important;
  background: rgba(251, 247, 232, 0.06) !important;
  color: #fbf7e8 !important;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.26);
}

html.dark body:not(.ba-home-body) .site-header .nav-link:hover,
html.dark body:not(.ba-home-body) .site-header .nav-link.is-active,
html.dark body:not(.ba-home-body) .site-header [data-auth="login"]:hover {
  border-color: #59ffe1 !important;
  background: #59ffe1 !important;
  color: #08090f !important;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.32);
}

html.dark body:not(.ba-home-body) .site-header [data-auth="signup"] {
  border-color: #c8ff00 !important;
  background: #c8ff00 !important;
  color: #08090f !important;
}

.studio-shell {
  grid-template-columns: 248px minmax(0, 1fr);
  column-gap: 0;
}

.studio-main {
  padding: 1.35rem 1.5rem 1.5rem 1.25rem;
}

.studio-main-inner.studio-main-wide {
  max-width: 1560px;
}

.studio-sidebar {
  position: relative;
  overflow: hidden;
  border-right: 2px solid rgba(8, 9, 15, 0.18);
  background:
    radial-gradient(circle at 86% 8%, rgba(200, 255, 0, 0.2), transparent 9rem),
    radial-gradient(circle at 0% 70%, rgba(89, 255, 225, 0.15), transparent 10rem),
    #08090f !important;
}

.studio-sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(251, 247, 232, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 247, 232, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, black, transparent 84%);
  pointer-events: none;
}

.studio-sidebar::after {
  content: "STUDIO";
  position: absolute;
  right: -1.8rem;
  bottom: 2rem;
  color: rgba(251, 247, 232, 0.045);
  font-size: 6.6rem;
  font-weight: 950;
  line-height: 0.8;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  pointer-events: none;
}

.studio-side-inner {
  position: relative;
  z-index: 1;
}

.studio-nav-group {
  color: #59ffe1 !important;
  text-shadow: 0 0 18px rgba(89, 255, 225, 0.18);
}

.studio-nav-link {
  min-height: 2.75rem;
  border-radius: 999px;
  color: rgba(251, 247, 232, 0.72) !important;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.studio-nav-link:hover {
  border-color: rgba(89, 255, 225, 0.4);
  background: rgba(89, 255, 225, 0.1);
  color: #fbf7e8 !important;
}

.studio-nav-link.is-active {
  border-color: #c8ff00 !important;
  background: #c8ff00 !important;
  color: #08090f !important;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.32);
}

.studio-module-icon {
  color: currentColor !important;
}

.studio-nav-disabled {
  opacity: 1;
  color: rgba(251, 247, 232, 0.56) !important;
}

.studio-nav-disabled .studio-module-icon {
  color: rgba(251, 247, 232, 0.48) !important;
}

.studio-nav-complete {
  border-color: rgba(89, 255, 225, 0.55);
  background: rgba(89, 255, 225, 0.16);
  color: #59ffe1;
}

.studio-nav-link.is-active .studio-nav-complete {
  border-color: rgba(8, 9, 15, 0.25);
  background: #08090f;
  color: #c8ff00;
}

.studio-progress-card {
  border-width: 2px !important;
  border-color: rgba(251, 247, 232, 0.18) !important;
  background:
    linear-gradient(135deg, rgba(251, 247, 232, 0.12), rgba(251, 247, 232, 0.04)) !important;
  color: rgba(251, 247, 232, 0.78) !important;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.28) !important;
}

.studio-progress-card .text-slate-500,
.studio-progress-card .text-slate-400 {
  color: rgba(251, 247, 232, 0.72) !important;
}

.studio-progress-track {
  background: rgba(251, 247, 232, 0.12);
}

.studio-progress-fill {
  background: linear-gradient(90deg, #59ffe1 0%, #c8ff00 72%, #ff4f2e 100%);
  box-shadow: 0 0 20px rgba(200, 255, 0, 0.35);
}

.studio-header-frame {
  position: relative;
  min-height: 9rem;
  border-width: 2px !important;
  border-color: rgba(8, 9, 15, 0.16) !important;
  border-radius: 1.35rem !important;
  background:
    radial-gradient(circle at 82% 16%, rgba(200, 255, 0, 0.3), transparent 13rem),
    radial-gradient(circle at 10% 95%, rgba(89, 255, 225, 0.18), transparent 11rem),
    rgba(255, 253, 242, 0.78) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    10px 10px 0 rgba(8, 9, 15, 0.08) !important;
}

.studio-header-frame::after {
  content: "BRAND SIGNAL";
  position: absolute;
  right: 1.1rem;
  top: 0.65rem;
  color: rgba(8, 9, 15, 0.055);
  font-size: clamp(2.4rem, 6vw, 5.6rem);
  font-weight: 950;
  line-height: 0.84;
  letter-spacing: -0.075em;
  text-transform: uppercase;
  pointer-events: none;
}

.studio-header-frame .studio-onboarding-action {
  position: relative;
  z-index: 2;
  border-width: 2px !important;
  border-color: rgba(8, 9, 15, 0.2) !important;
  background: #fffdf2 !important;
  color: #08090f !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
  box-shadow: 5px 5px 0 rgba(8, 9, 15, 0.1);
}

.studio-header-frame .studio-onboarding-action:hover {
  border-color: #08090f !important;
  background: #ffffff !important;
  box-shadow: 7px 7px 0 rgba(8, 9, 15, 0.12);
}

.studio-header-frame .studio-onboarding-action--primary,
.studio-header-frame .studio-onboarding-action--primary:hover {
  border-color: #08090f !important;
  background: #c8ff00 !important;
  color: #08090f !important;
}

.dark .studio-header-frame {
  border-color: rgba(251, 247, 232, 0.16) !important;
  background:
    radial-gradient(circle at 82% 16%, rgba(200, 255, 0, 0.16), transparent 13rem),
    radial-gradient(circle at 10% 95%, rgba(89, 255, 225, 0.12), transparent 11rem),
    rgba(8, 9, 15, 0.8) !important;
}

.dark .studio-header-frame::after {
  color: rgba(251, 247, 232, 0.05);
}

.dark .studio-header-frame .studio-onboarding-action {
  border-color: rgba(251, 247, 232, 0.32) !important;
  background: #fbf7e8 !important;
  color: #08090f !important;
}

.dark .studio-header-frame .studio-onboarding-action:hover {
  border-color: #59ffe1 !important;
  background: #ffffff !important;
}

.dark .studio-header-frame .studio-onboarding-action--primary,
.dark .studio-header-frame .studio-onboarding-action--primary:hover {
  border-color: #c8ff00 !important;
  background: #c8ff00 !important;
  color: #08090f !important;
}

.studio-header-frame h1 {
  font-weight: 950 !important;
  letter-spacing: -0.045em;
}

.studio-main #studio-name-generator-form.studio-name-generator-panel {
  padding-block: 1.35rem !important;
}

.studio-main .space-y-6.rounded-2xl.border[class*="border-slate-200"],
.studio-main > .rounded-2xl.border[class*="border-slate-200"],
.studio-main > form.rounded-2xl.border[class*="border-slate-200"],
.studio-main .rounded-2xl.border[class*="border-slate-200"] {
  border-width: 2px !important;
  border-radius: 1.35rem !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(238, 253, 248, 0.7)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    10px 10px 0 rgba(8, 9, 15, 0.07) !important;
}

.dark .studio-main .space-y-6.rounded-2xl.border[class*="border-slate-200"],
.dark .studio-main > .rounded-2xl.border[class*="border-slate-200"],
.dark .studio-main > form.rounded-2xl.border[class*="border-slate-200"],
.dark .studio-main .rounded-2xl.border[class*="border-slate-200"] {
  background:
    linear-gradient(135deg, rgba(251, 247, 232, 0.095), rgba(89, 255, 225, 0.055)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    10px 10px 0 rgba(0, 0, 0, 0.22) !important;
}

.studio-main a.group.block.rounded-lg,
.studio-main a.group.block.rounded-2xl {
  position: relative;
  overflow: hidden;
  border-width: 2px !important;
  border-color: rgba(8, 9, 15, 0.14) !important;
  border-radius: 1rem !important;
  background:
    radial-gradient(circle at 96% 0%, rgba(200, 255, 0, 0.18), transparent 7rem),
    rgba(255, 255, 255, 0.8) !important;
  box-shadow: 7px 7px 0 rgba(8, 9, 15, 0.07) !important;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.studio-main a.group.block.rounded-lg::before,
.studio-main a.group.block.rounded-2xl::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.45rem;
  background: #59ffe1;
}

.studio-main a.group.block.rounded-lg:nth-child(3n + 2)::before,
.studio-main a.group.block.rounded-2xl:nth-child(3n + 2)::before {
  background: #c8ff00;
}

.studio-main a.group.block.rounded-lg:nth-child(3n)::before,
.studio-main a.group.block.rounded-2xl:nth-child(3n)::before {
  background: #ff4f2e;
}

.studio-main a.group.block.rounded-lg:hover,
.studio-main a.group.block.rounded-2xl:hover {
  border-color: #08090f !important;
  transform: translate(-2px, -2px);
  box-shadow: 11px 11px 0 rgba(8, 9, 15, 0.1) !important;
}

.dark .studio-main a.group.block.rounded-lg,
.dark .studio-main a.group.block.rounded-2xl {
  border-color: rgba(251, 247, 232, 0.14) !important;
  background:
    radial-gradient(circle at 96% 0%, rgba(200, 255, 0, 0.12), transparent 7rem),
    rgba(251, 247, 232, 0.07) !important;
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.22) !important;
}

.dark .studio-main a.group.block.rounded-lg:hover,
.dark .studio-main a.group.block.rounded-2xl:hover {
  border-color: #59ffe1 !important;
  box-shadow: 11px 11px 0 rgba(0, 0, 0, 0.3) !important;
}

.studio-main .text-xs.font-semibold.uppercase.tracking-\[0\.18em\],
.studio-main .text-xs.font-semibold.uppercase.tracking-\[0\.16em\] {
  color: #0f9d8f !important;
  font-weight: 950 !important;
  letter-spacing: 0.2em !important;
}

.dark .studio-main .text-xs.font-semibold.uppercase.tracking-\[0\.18em\],
.dark .studio-main .text-xs.font-semibold.uppercase.tracking-\[0\.16em\] {
  color: #59ffe1 !important;
}

.studio-main .rounded-full.border {
  border-width: 1.5px !important;
  background: rgba(255, 255, 255, 0.54);
}

.dark .studio-main .rounded-full.border {
  background: rgba(251, 247, 232, 0.055);
}

.studio-main .h-2.overflow-hidden.rounded-full {
  height: 0.56rem;
  background: rgba(8, 9, 15, 0.065) !important;
}

.dark .studio-main .h-2.overflow-hidden.rounded-full {
  background: rgba(251, 247, 232, 0.09) !important;
}

.studio-main .h-full.rounded-full.bg-teal-600 {
  background: linear-gradient(90deg, #59ffe1 0%, #c8ff00 78%, #ff4f2e 100%) !important;
  box-shadow: 0 0 16px rgba(200, 255, 0, 0.34);
}

.studio-main button[type="submit"],
.studio-main button[type="button"],
.studio-main a.inline-flex {
  min-height: 2.65rem;
}

.studio-header-frame a.inline-flex,
.studio-header-frame button.inline-flex,
.studio-main a.inline-flex,
.studio-main button[type="button"],
.studio-main button[type="submit"] {
  position: relative;
  z-index: 2;
  border-width: 2px !important;
  border-color: rgba(8, 9, 15, 0.2) !important;
  background: #fffdf2 !important;
  color: #08090f !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 5px 5px 0 rgba(8, 9, 15, 0.1);
}

.studio-header-frame a.inline-flex:hover,
.studio-header-frame button.inline-flex:hover,
.studio-main a.inline-flex:hover,
.studio-main button[type="button"]:hover,
.studio-main button[type="submit"]:hover {
  border-color: #08090f !important;
  background: #ffffff !important;
  color: #08090f !important;
  box-shadow: 7px 7px 0 rgba(8, 9, 15, 0.12);
}

.studio-main [class*="bg-teal-600"],
.studio-header-frame [class*="bg-teal-600"],
.studio-main button[type="submit"] {
  border: 2px solid #08090f !important;
  background: #c8ff00 !important;
  color: #08090f !important;
  box-shadow: 5px 5px 0 rgba(8, 9, 15, 0.12);
}

.studio-main [class*="bg-teal-600"]:hover,
.studio-header-frame [class*="bg-teal-600"]:hover,
.studio-main button[type="submit"]:hover {
  background: #59ffe1 !important;
  box-shadow: 8px 8px 0 rgba(8, 9, 15, 0.14);
}

.studio-main input:not([type="checkbox"]):not([type="radio"]),
.studio-main textarea,
.studio-main select {
  border-width: 2px !important;
  border-radius: 1rem !important;
  background: rgba(255, 255, 255, 0.9) !important;
}

.dark .studio-main input:not([type="checkbox"]):not([type="radio"]),
.dark .studio-main textarea,
.dark .studio-main select {
  background: rgba(8, 9, 15, 0.82) !important;
}

@media (max-width: 900px) {
  .studio-shell {
    grid-template-columns: 1fr;
  }

  .studio-sidebar {
    border-right: 0;
  }

  .studio-sidebar::after {
    display: none;
  }
}

/* =================================================================================================================
   Studio light sidebar and home-header parity fixes
   ================================================================================================================= */

body:not(.ba-home-body) .site-header .nav-link,
body:not(.ba-home-body) .site-header [data-auth] {
  min-height: 2.45rem !important;
  border-width: 1px !important;
  border-color: rgba(8, 9, 15, 0.18) !important;
  border-radius: 999px !important;
  padding: 0.45rem 0.68rem !important;
  background: #fbf7e8 !important;
  color: rgba(8, 9, 15, 0.78) !important;
  box-shadow: none !important;
  font-size: 0.78rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.08em;
}

body:not(.ba-home-body) .site-header #mobile-menu-toggle {
  border-color: rgba(8, 9, 15, 0.18) !important;
  background: #fbf7e8 !important;
  color: #08090f !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body:not(.ba-home-body) .site-header #mobile-menu-toggle:hover {
  border-color: #0f9d8f !important;
  background: #59ffe1 !important;
}

body:not(.ba-home-body) .site-header [data-auth] {
  padding-left: 0.9rem !important;
  padding-right: 0.9rem !important;
}

body:not(.ba-home-body) .site-header .nav-link:hover,
body:not(.ba-home-body) .site-header .nav-link.is-active,
body:not(.ba-home-body) .site-header [data-auth="login"]:hover {
  border-color: #0f9d8f !important;
  background: #59ffe1 !important;
  color: #08090f !important;
  transform: translateY(-1px);
  box-shadow: none !important;
}

body:not(.ba-home-body) .site-header [data-auth="signup"] {
  border-color: #08090f !important;
  background: #c8ff00 !important;
  color: #08090f !important;
  box-shadow: 0 10px 22px rgba(8, 9, 15, 0.12) !important;
}

body:not(.ba-home-body) .site-header [data-auth="signup"]:hover {
  border-color: #08090f !important;
  background: #59ffe1 !important;
  color: #08090f !important;
  box-shadow: 0 12px 26px rgba(15, 157, 143, 0.18) !important;
}

html.dark body:not(.ba-home-body) .site-header .nav-link,
html.dark body:not(.ba-home-body) .site-header [data-auth] {
  border-color: rgba(251, 247, 232, 0.16) !important;
  background: #fbf7e8 !important;
  color: #08090f !important;
  box-shadow: none !important;
}

html.dark body:not(.ba-home-body) .site-header #mobile-menu-toggle {
  border-color: rgba(251, 247, 232, 0.16) !important;
  background: #fbf7e8 !important;
  color: #08090f !important;
}

html.dark body:not(.ba-home-body) .site-header #mobile-menu-toggle:hover {
  border-color: #59ffe1 !important;
  background: #59ffe1 !important;
}

html.dark body:not(.ba-home-body) .site-header .nav-link:hover,
html.dark body:not(.ba-home-body) .site-header .nav-link.is-active,
html.dark body:not(.ba-home-body) .site-header [data-auth="login"]:hover {
  border-color: #59ffe1 !important;
  background: #59ffe1 !important;
  color: #08090f !important;
  box-shadow: none !important;
}

html.dark body:not(.ba-home-body) .site-header [data-auth="signup"] {
  border-color: #c8ff00 !important;
  background: #c8ff00 !important;
  color: #08090f !important;
  box-shadow: 0 0 24px rgba(200, 255, 0, 0.18) !important;
}

html:not(.dark) .studio-sidebar {
  border-right: 1px solid rgba(8, 9, 15, 0.14);
  background:
    radial-gradient(circle at 86% 8%, rgba(200, 255, 0, 0.24), transparent 9rem),
    radial-gradient(circle at 0% 70%, rgba(89, 255, 225, 0.2), transparent 10rem),
    linear-gradient(180deg, rgba(255, 253, 242, 0.95), rgba(238, 253, 248, 0.88)) !important;
}

html:not(.dark) .studio-sidebar::before {
  background-image:
    linear-gradient(rgba(8, 9, 15, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 9, 15, 0.06) 1px, transparent 1px);
  opacity: 0.72;
}

html:not(.dark) .studio-sidebar::after {
  color: rgba(8, 9, 15, 0.045);
}

html:not(.dark) .studio-nav-group {
  color: #0f9d8f !important;
  text-shadow: none;
}

html:not(.dark) .studio-nav-link {
  color: rgba(8, 9, 15, 0.68) !important;
}

html:not(.dark) .studio-nav-link:hover {
  border-color: rgba(15, 157, 143, 0.28);
  background: rgba(89, 255, 225, 0.16);
  color: #08090f !important;
}

html:not(.dark) .studio-nav-link.is-active {
  border-color: #08090f !important;
  background: #c8ff00 !important;
  color: #08090f !important;
  box-shadow: 6px 6px 0 rgba(8, 9, 15, 0.12);
}

html:not(.dark) .studio-nav-disabled {
  color: rgba(8, 9, 15, 0.5) !important;
}

html:not(.dark) .studio-nav-disabled .studio-module-icon {
  color: rgba(8, 9, 15, 0.44) !important;
}

html:not(.dark) .studio-progress-card {
  border-color: rgba(8, 9, 15, 0.16) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(89, 255, 225, 0.12)) !important;
  color: rgba(8, 9, 15, 0.72) !important;
  box-shadow: 6px 6px 0 rgba(8, 9, 15, 0.08) !important;
}

html:not(.dark) .studio-progress-card .text-slate-500,
html:not(.dark) .studio-progress-card .text-slate-400 {
  color: rgba(8, 9, 15, 0.62) !important;
}

/* =================================================================================================================
   Sidebar shell visibility cleanup
   ================================================================================================================= */

.studio-sidebar,
.admin-sidebar,
html:not(.dark) .studio-sidebar,
html:not(.dark) .admin-sidebar,
html.dark .studio-sidebar,
html.dark .admin-sidebar,
.dark .studio-sidebar,
.dark .admin-sidebar {
  border-color: transparent !important;
  border-right-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.studio-sidebar::before,
html:not(.dark) .studio-sidebar::before,
html.dark .studio-sidebar::before,
.dark .studio-sidebar::before {
  opacity: 0 !important;
}

.studio-shell,
html:not(.dark) .studio-shell,
html.dark .studio-shell,
.dark .studio-shell {
  background: transparent !important;
}

.studio-shell::before,
html:not(.dark) .studio-shell::before,
html.dark .studio-shell::before,
.dark .studio-shell::before {
  opacity: 0 !important;
}

html:not(.dark) .studio-progress-track {
  background: rgba(8, 9, 15, 0.08);
}

html:not(.dark) .studio-nav-complete {
  border-color: rgba(15, 157, 143, 0.3);
  background: rgba(89, 255, 225, 0.18);
  color: #0f9d8f;
}

/* =================================================================================================================
   Sidebar default spec
   Admin is the source design for shared sidebar scale, type, spacing, and active state.
   Studio keeps its locked module rows muted through the Studio-only overrides below.
   ================================================================================================================= */

.studio-shell {
  grid-template-columns: 248px minmax(0, 1fr);
}

.studio-side-inner {
  --sidebar-link-pad-x: var(--ba-shared-inset);
  --sidebar-row-gap: 1px;
  padding: 0;
}

.studio-side-top {
  margin-bottom: 1.25rem;
}

.studio-nav {
  gap: var(--sidebar-row-gap);
}

.studio-nav-group {
  margin: 10px 0 0;
  padding: 8px 10px 4px var(--sidebar-link-pad-x);
  color: #0f9d8f !important;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.32em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: none !important;
}

.studio-nav-group:first-child {
  margin-top: 0;
}

.studio-nav-link {
  min-height: 2.75rem;
  padding: 6px 10px 6px var(--sidebar-link-pad-x);
  border: 2px solid transparent;
  border-radius: 999px;
  color: rgba(8, 9, 15, 0.68) !important;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.studio-nav-label {
  gap: 0.75rem;
}

.studio-module-icon {
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 1.2rem;
  stroke-width: 1.8;
}

.studio-nav-link:hover {
  border-color: rgba(15, 157, 143, 0.28);
  background: rgba(89, 255, 225, 0.16);
  color: #08090f !important;
}

.studio-nav-link.is-active {
  border-color: #08090f !important;
  background: #c8ff00 !important;
  color: #08090f !important;
  box-shadow: 6px 6px 0 rgba(8, 9, 15, 0.12);
}

.studio-nav-link:hover .studio-module-icon,
.studio-nav-link.is-active .studio-module-icon {
  color: currentColor !important;
}

html.dark .studio-nav-group {
  color: #59ffe1 !important;
}

html.dark .studio-nav-link {
  color: rgba(251, 247, 232, 0.72) !important;
}

html.dark .studio-nav-link:hover {
  border-color: rgba(89, 255, 225, 0.32);
  background: rgba(89, 255, 225, 0.09);
  color: #fbf7e8 !important;
}

html.dark .studio-nav-link.is-active {
  border-color: #c8ff00 !important;
  background: #c8ff00 !important;
  color: #08090f !important;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.32);
}

.studio-sidebar:not(.admin-sidebar) .studio-nav-disabled {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(8, 9, 15, 0.34) !important;
  opacity: 1;
}

.studio-sidebar:not(.admin-sidebar) .studio-nav-disabled:hover {
  border-color: transparent !important;
  background: transparent !important;
  color: rgba(8, 9, 15, 0.34) !important;
}

.studio-sidebar:not(.admin-sidebar) .studio-nav-disabled .studio-module-icon,
.studio-sidebar:not(.admin-sidebar) .studio-nav-disabled .studio-lock-icon {
  color: rgba(8, 9, 15, 0.28) !important;
}

html.dark .studio-sidebar:not(.admin-sidebar) .studio-nav-disabled {
  color: rgba(251, 247, 232, 0.38) !important;
}

html.dark .studio-sidebar:not(.admin-sidebar) .studio-nav-disabled:hover {
  color: rgba(251, 247, 232, 0.38) !important;
}

html.dark .studio-sidebar:not(.admin-sidebar) .studio-nav-disabled .studio-module-icon,
html.dark .studio-sidebar:not(.admin-sidebar) .studio-nav-disabled .studio-lock-icon {
  color: rgba(251, 247, 232, 0.32) !important;
}

.admin-github-board {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 0.85rem;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(49, 46, 36, 0.94) 52%, rgba(13, 148, 136, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    8px 8px 0 rgba(8, 9, 15, 0.08);
  color: #f8fafc;
}

.admin-github-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.22;
  pointer-events: none;
}

.admin-github-board::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: linear-gradient(90deg, #facc15, #fb7185, #2dd4bf);
}

.admin-github-board__main,
.admin-github-board__metrics,
.admin-github-board__ladder {
  position: relative;
  z-index: 1;
}

.admin-github-board__main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.85fr);
  gap: 1rem;
  padding: 1.1rem;
}

.admin-github-board__profile {
  display: flex;
  min-width: 0;
  gap: 1rem;
  align-items: center;
}

.admin-github-board__avatar-frame {
  display: grid;
  width: 5rem;
  height: 5rem;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(250, 204, 21, 0.62);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 5px 5px 0 rgba(250, 204, 21, 0.14);
}

.admin-github-board__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-github-board__identity {
  min-width: 0;
}

.admin-github-board__eyebrow,
.admin-github-board__score-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fde68a;
}

.admin-github-board__identity h3 {
  margin: 0.25rem 0 0;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.admin-github-board__identity a {
  color: #ffffff;
  text-decoration: none;
}

.admin-github-board__identity a:hover {
  color: #99f6e4;
}

.admin-github-board__identity p,
.admin-github-board__score-panel p {
  margin: 0.45rem 0 0;
  max-width: 42rem;
  color: rgba(248, 250, 252, 0.75);
  font-size: 0.86rem;
  line-height: 1.5;
}

.admin-github-board__status {
  display: inline-flex;
  margin-top: 0.75rem;
  min-height: 1.55rem;
  align-items: center;
  border: 1px solid rgba(153, 246, 228, 0.34);
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.14);
  padding: 0.22rem 0.62rem;
  color: #ccfbf1;
  font-size: 0.72rem;
  font-weight: 700;
}

.admin-github-board[data-github-status="error"] .admin-github-board__status {
  border-color: rgba(251, 113, 133, 0.46);
  background: rgba(251, 113, 133, 0.14);
  color: #fecdd3;
}

.admin-github-board__score-panel {
  display: grid;
  gap: 0.8rem;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.95rem;
}

.admin-github-board__score {
  margin-top: 0.1rem;
  color: #ffffff;
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.admin-github-board__rank {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: baseline;
}

.admin-github-board__rank span {
  color: #facc15;
  font-size: 1.35rem;
  font-weight: 900;
}

.admin-github-board__rank strong {
  color: #ffffff;
  font-size: 0.95rem;
}

.admin-github-board__meter {
  height: 0.48rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.admin-github-board__meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #facc15, #fb7185, #2dd4bf);
  transition: width 520ms ease;
}

.admin-github-board__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  padding: 0 1.1rem 1.1rem;
}

.admin-github-board__metric {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.07);
  padding: 0.75rem;
}

.admin-github-board__metric span {
  display: block;
  color: rgba(248, 250, 252, 0.62);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-github-board__metric strong {
  display: block;
  min-height: 1.6rem;
  margin-top: 0.28rem;
  overflow: hidden;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-github-board__metric em {
  display: block;
  min-height: 1rem;
  margin-top: 0.15rem;
  overflow: hidden;
  color: rgba(253, 230, 138, 0.86);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-github-board__comparison {
  position: relative;
  z-index: 1;
  margin: 0 1.1rem 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.65rem;
  background: rgba(15, 23, 42, 0.22);
}

.admin-github-board__comparison-head,
.admin-github-board__comparison-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(7rem, 0.7fr) minmax(7rem, 0.7fr) minmax(9rem, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 0.7rem 0.85rem;
}

.admin-github-board__comparison-head {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(248, 250, 252, 0.62);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-github-board__comparison-row {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(248, 250, 252, 0.78);
  font-size: 0.84rem;
}

.admin-github-board__comparison-row strong {
  color: #ffffff;
  font-size: 0.92rem;
}

.admin-github-board__comparison-row em {
  color: #fde68a;
  font-style: normal;
  font-weight: 900;
}

.admin-github-board__comparison-row.is-target-zero em {
  color: #fecdd3;
}

.admin-github-board__cohort {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  padding: 0 1.1rem 1.1rem;
  color: rgba(248, 250, 252, 0.68);
  font-size: 0.76rem;
}

.admin-github-board__cohort span {
  color: rgba(248, 250, 252, 0.58);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-github-board__cohort strong {
  color: #ffffff;
}

.admin-github-board__cohort em {
  font-style: normal;
}

.admin-github-board__ladder {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0 1.1rem 1.1rem;
}

.admin-github-board__rank-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.4rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.55rem;
  background: rgba(15, 23, 42, 0.24);
  padding: 0.55rem 0.65rem;
  color: rgba(248, 250, 252, 0.72);
}

.admin-github-board__rank-row.is-active {
  border-color: rgba(250, 204, 21, 0.84);
  background: rgba(250, 204, 21, 0.16);
  color: #ffffff;
}

.admin-github-board__rank-row span {
  color: #fde68a;
  font-weight: 900;
}

.admin-github-board__rank-row strong {
  min-width: 0;
  overflow: hidden;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-github-board__rank-row em {
  color: rgba(248, 250, 252, 0.56);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .admin-github-board__main,
  .admin-github-board__metrics,
  .admin-github-board__ladder {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .admin-github-board__main,
  .admin-github-board__metrics,
  .admin-github-board__ladder {
    grid-template-columns: 1fr;
  }

  .admin-github-board__comparison-head {
    display: none;
  }

  .admin-github-board__comparison-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .admin-github-board__profile {
    align-items: flex-start;
  }

  .admin-github-board__avatar-frame {
    width: 4.3rem;
    height: 4.3rem;
  }
}

.admin-dashboard-hero-block,
.admin-docs-hero-block,
.admin-accounting-hero-block {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    10px 10px 0 rgba(8, 9, 15, 0.07) !important;
}

html.dark .admin-dashboard-hero-block,
html.dark .admin-docs-hero-block,
html.dark .admin-accounting-hero-block {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    10px 10px 0 rgba(0, 0, 0, 0.28) !important;
}

html.dark .admin-dashboard-hero-block,
html.dark .admin-docs-hero-block,
html.dark .admin-accounting-hero-block {
  border-color: rgba(251, 247, 232, 0.16) !important;
  background:
    radial-gradient(circle at 88% 8%, rgba(200, 255, 0, 0.13), transparent 15rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(8, 9, 15, 0.88)) !important;
  color: #fbf7e8 !important;
}

html.dark .admin-dashboard-hero-block h2,
html.dark .admin-dashboard-hero-block [class*="text-slate-900"],
html.dark .admin-docs-hero-block h2,
html.dark .admin-docs-hero-block [class*="text-slate-900"],
html.dark .admin-accounting-hero-block h2,
html.dark .admin-accounting-hero-block [class*="text-slate-900"] {
  color: #fbf7e8 !important;
}

html.dark .admin-dashboard-hero-block [class*="text-slate-600"],
html.dark .admin-dashboard-hero-block [class*="text-slate-500"],
html.dark .admin-docs-hero-block [class*="text-slate-600"],
html.dark .admin-docs-hero-block [class*="text-slate-500"],
html.dark .admin-accounting-hero-block [class*="text-slate-600"],
html.dark .admin-accounting-hero-block [class*="text-slate-500"] {
  color: rgba(251, 247, 232, 0.68) !important;
}

html.dark .admin-dashboard-hero-block [class*="text-teal-700"],
html.dark .admin-docs-hero-block [class*="text-teal-700"],
html.dark .admin-accounting-hero-block [class*="text-teal-700"] {
  color: #59ffe1 !important;
}

html.dark .admin-dashboard-hero-block .border-t,
html.dark .admin-docs-hero-block .border-t,
html.dark .admin-accounting-hero-block .border-t {
  border-top-color: rgba(251, 247, 232, 0.13) !important;
}

html.dark .admin-dashboard-hero-block [class*="border-teal-100"],
html.dark .admin-docs-hero-block [class*="border-teal-100"],
html.dark .admin-accounting-hero-block [class*="border-teal-100"] {
  border-color: rgba(89, 255, 225, 0.42) !important;
}

html.dark .admin-dashboard-hero-block [class*="bg-teal-50"],
html.dark .admin-docs-hero-block [class*="bg-teal-50"],
html.dark .admin-accounting-hero-block [class*="bg-teal-50"] {
  background: rgba(89, 255, 225, 0.11) !important;
}

html.dark .admin-docs-hero-block [class*="bg-white"],
html.dark .admin-accounting-hero-block [class*="bg-white"] {
  background: rgba(251, 247, 232, 0.07) !important;
}

html.dark .admin-docs-hero-block [class*="text-slate-700"],
html.dark .admin-accounting-hero-block [class*="text-slate-700"] {
  color: rgba(251, 247, 232, 0.72) !important;
}

html.dark .admin-accounting-hero-block select {
  border-color: rgba(251, 247, 232, 0.2) !important;
  background: rgba(8, 9, 15, 0.78) !important;
  color: #fbf7e8 !important;
}

html.dark .admin-accounting-hero-block #admin-csv-export {
  border-color: rgba(251, 247, 232, 0.24) !important;
  background: rgba(251, 247, 232, 0.055) !important;
  color: rgba(251, 247, 232, 0.76) !important;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  color: inherit;
}

.brand-wordmark__word {
  display: inline-block;
}

.site-brand.brand-wordmark .brand-wordmark__word--brand,
.home-footer-brand.brand-wordmark .brand-wordmark__word--brand {
  color: #9271ff !important;
}

.site-brand.brand-wordmark .brand-wordmark__word--signal,
.home-footer-brand.brand-wordmark .brand-wordmark__word--signal {
  color: #ff4f2e !important;
}

.site-brand.brand-wordmark .brand-wordmark__word--bureau,
.home-footer-brand.brand-wordmark .brand-wordmark__word--bureau {
  color: #00b796 !important;
}

.ba-home-body .site-brand.brand-wordmark .brand-wordmark__word--brand,
html:not(.dark) .ba-home-body .site-brand.brand-wordmark .brand-wordmark__word--brand {
  color: #9271ff !important;
}

.ba-home-body .site-brand.brand-wordmark .brand-wordmark__word--signal,
html:not(.dark) .ba-home-body .site-brand.brand-wordmark .brand-wordmark__word--signal {
  color: #ff4f2e !important;
}

.ba-home-body .site-brand.brand-wordmark .brand-wordmark__word--bureau,
html:not(.dark) .ba-home-body .site-brand.brand-wordmark .brand-wordmark__word--bureau {
  color: #00b796 !important;
}

body:not(.ba-home-body) .site-header.site-header--brand .site-brand.brand-wordmark .brand-wordmark__word--brand,
html.dark body:not(.ba-home-body) .site-header.site-header--brand .site-brand.brand-wordmark .brand-wordmark__word--brand {
  color: #9271ff !important;
}

body:not(.ba-home-body) .site-header.site-header--brand {
  border-bottom-color: rgba(8, 9, 15, 0.12) !important;
  background: rgba(251, 247, 232, 0.88) !important;
  color: #08090f;
}

html.dark body:not(.ba-home-body) .site-header.site-header--brand {
  border-bottom-color: rgba(251, 247, 232, 0.14) !important;
  background: rgba(8, 9, 15, 0.84) !important;
  color: #fbf7e8;
}

body:not(.ba-home-body) .site-header.site-header--brand.site-header--scrolled {
  background: rgba(251, 247, 232, 0.94) !important;
  box-shadow: 0 16px 44px rgba(8, 9, 15, 0.1);
  border-bottom-color: rgba(8, 9, 15, 0.16) !important;
}

html.dark body:not(.ba-home-body) .site-header.site-header--brand.site-header--scrolled {
  background: rgba(8, 9, 15, 0.9) !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.34);
  border-bottom-color: rgba(251, 247, 232, 0.16) !important;
}

body:not(.ba-home-body) .site-header.site-header--brand .site-brand.brand-wordmark .brand-wordmark__word--signal,
html.dark body:not(.ba-home-body) .site-header.site-header--brand .site-brand.brand-wordmark .brand-wordmark__word--signal {
  color: #ff4f2e !important;
}

body:not(.ba-home-body) .site-header.site-header--brand .site-brand.brand-wordmark .brand-wordmark__word--bureau,
html.dark body:not(.ba-home-body) .site-header.site-header--brand .site-brand.brand-wordmark .brand-wordmark__word--bureau {
  color: #00b796 !important;
}

.ba-demo-body .site-header .site-brand.brand-wordmark .brand-wordmark__word--brand,
html.dark .ba-demo-body .site-header .site-brand.brand-wordmark .brand-wordmark__word--brand {
  color: #9271ff !important;
}

.ba-demo-body .site-header .site-brand.brand-wordmark .brand-wordmark__word--signal,
html.dark .ba-demo-body .site-header .site-brand.brand-wordmark .brand-wordmark__word--signal {
  color: #ff4f2e !important;
}

.ba-demo-body .site-header .site-brand.brand-wordmark .brand-wordmark__word--bureau,
html.dark .ba-demo-body .site-header .site-brand.brand-wordmark .brand-wordmark__word--bureau {
  color: #00b796 !important;
}

.ba-demo-body .site-footer .footer-brand__brand,
html.dark .ba-demo-body .site-footer .footer-brand__brand,
.ba-demo-body .site-footer .home-footer-brand.brand-wordmark .brand-wordmark__word--brand,
html.dark .ba-demo-body .site-footer .home-footer-brand.brand-wordmark .brand-wordmark__word--brand {
  color: #9271ff !important;
}

.ba-demo-body .site-footer .footer-brand__signal,
html.dark .ba-demo-body .site-footer .footer-brand__signal,
.ba-demo-body .site-footer .home-footer-brand.brand-wordmark .brand-wordmark__word--signal,
html.dark .ba-demo-body .site-footer .home-footer-brand.brand-wordmark .brand-wordmark__word--signal {
  color: #ff4f2e !important;
}

.ba-demo-body .site-footer .footer-brand__studio,
html.dark .ba-demo-body .site-footer .footer-brand__studio,
.ba-demo-body .site-footer .home-footer-brand.brand-wordmark .brand-wordmark__word--bureau,
html.dark .ba-demo-body .site-footer .home-footer-brand.brand-wordmark .brand-wordmark__word--bureau {
  color: #00b796 !important;
}

.site-footer.site-footer--brand {
  border-top-color: rgba(8, 9, 15, 0.14) !important;
  background: #fbf7e8 !important;
  color: rgba(8, 9, 15, 0.72) !important;
  text-align: left;
}

html.dark .site-footer.site-footer--brand {
  border-top-color: rgba(251, 247, 232, 0.16) !important;
  background: #08090f !important;
  color: rgba(251, 247, 232, 0.74) !important;
}

.site-footer.site-footer--brand .home-footer-brand {
  color: #08090f !important;
}

html.dark .site-footer.site-footer--brand .home-footer-brand {
  color: #fbf7e8 !important;
}

.site-footer.site-footer--brand .home-footer-divider {
  color: rgba(8, 9, 15, 0.34) !important;
}

html.dark .site-footer.site-footer--brand .home-footer-divider {
  color: rgba(251, 247, 232, 0.52) !important;
}

.site-footer.site-footer--brand small {
  color: rgba(8, 9, 15, 0.58) !important;
}

html.dark .site-footer.site-footer--brand small {
  color: rgba(251, 247, 232, 0.62) !important;
}

.site-footer.site-footer--brand .home-footer-link span:first-child {
  color: rgba(8, 9, 15, 0.46) !important;
}

html.dark .site-footer.site-footer--brand .home-footer-link span:first-child {
  color: rgba(251, 247, 232, 0.56) !important;
}

body:not(.ba-home-body) .site-footer.site-footer--brand nav .home-footer-link,
body:not(.ba-home-body) .site-footer.site-footer--brand nav button.home-footer-link {
  min-height: 2.65rem;
  border-color: rgba(8, 9, 15, 0.18) !important;
  border-radius: 999px !important;
  color: #08090f !important;
  background: rgba(255, 255, 255, 0.44) !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

html.dark body:not(.ba-home-body) .site-footer.site-footer--brand nav .home-footer-link,
html.dark body:not(.ba-home-body) .site-footer.site-footer--brand nav button.home-footer-link {
  border-color: rgba(251, 247, 232, 0.24) !important;
  color: rgba(251, 247, 232, 0.74) !important;
  background: rgba(251, 247, 232, 0.05) !important;
}

body:not(.ba-home-body) .site-footer.site-footer--brand nav .home-footer-link:hover,
body:not(.ba-home-body) .site-footer.site-footer--brand nav button.home-footer-link:hover {
  border-color: #0f9d8f !important;
  color: #08090f !important;
  background: rgba(89, 255, 225, 0.22) !important;
}

html.dark body:not(.ba-home-body) .site-footer.site-footer--brand nav .home-footer-link:hover,
html.dark body:not(.ba-home-body) .site-footer.site-footer--brand nav button.home-footer-link:hover {
  border-color: #59ffe1 !important;
  color: #fbf7e8 !important;
  background: rgba(89, 255, 225, 0.08) !important;
}

.admin-tax-filter-form,
.admin-audit-filter-form {
  align-items: center;
  grid-template-columns:
    minmax(11rem, 1.05fr)
    minmax(12rem, 1.15fr)
    minmax(8rem, 0.72fr)
    minmax(8rem, 0.72fr)
    minmax(8rem, 0.74fr)
    minmax(6.5rem, 0.58fr)
    max-content !important;
}

.admin-tax-filter-form > input,
.admin-tax-filter-form > select,
.admin-audit-filter-form > input,
.admin-audit-filter-form > select {
  min-width: 0;
  width: 100%;
}

.admin-tax-filter-form > button[type="submit"],
.admin-audit-filter-form > button[type="submit"] {
  justify-self: end;
  min-width: 5.25rem;
  width: auto;
  white-space: nowrap;
}

@media (max-width: 1280px) {
  .admin-tax-filter-form,
  .admin-audit-filter-form {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .admin-tax-filter-form > button[type="submit"],
  .admin-audit-filter-form > button[type="submit"] {
    grid-column: -2 / -1;
  }
}

@media (max-width: 720px) {
  .admin-tax-filter-form,
  .admin-audit-filter-form {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .admin-tax-filter-form > button[type="submit"],
  .admin-audit-filter-form > button[type="submit"] {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .studio-shell {
    grid-template-columns: 1fr;
  }

  .studio-side-inner {
    padding: 1rem 0;
  }

  .studio-nav-link {
    min-height: 2.75rem;
  }
}

/* =================================================================================================================
   Dark-mode button consistency
   Match the home header: compact dark secondary pills with bright primary actions.
   ================================================================================================================= */

html.dark {
  --ba-dark-button-ink: #08090f;
  --ba-dark-button-paper: #fbf7e8;
  --ba-dark-button-muted: rgba(251, 247, 232, 0.72);
  --ba-dark-button-surface: rgba(251, 247, 232, 0.06);
  --ba-dark-button-cyan: #59ffe1;
  --ba-dark-button-lime: #c8ff00;
  --ba-dark-button-border: rgba(251, 247, 232, 0.26);
  --ba-dark-button-shadow: none;
  --ba-dark-button-shadow-strong: 0 0 24px rgba(200, 255, 0, 0.18);
}

html.dark body:not(.ba-home-body) .site-header .nav-link,
html.dark body:not(.ba-home-body) .site-header [data-auth],
html.dark .studio-header-frame a.inline-flex,
html.dark .studio-header-frame button.inline-flex,
html.dark .studio-header-frame .studio-onboarding-action,
html.dark .studio-main a.inline-flex,
html.dark .studio-main button[type="button"],
html.dark .studio-main button[type="submit"] {
  min-height: 2.45rem !important;
  border: 1px solid var(--ba-dark-button-border) !important;
  border-radius: 999px !important;
  padding: 0.45rem 0.9rem !important;
  background: var(--ba-dark-button-surface) !important;
  color: var(--ba-dark-button-paper) !important;
  box-shadow: var(--ba-dark-button-shadow) !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  transform: translateY(0);
}

html.dark body:not(.ba-home-body) .site-header .nav-link {
  display: block !important;
  min-height: auto !important;
  padding-left: 0.68rem !important;
  padding-right: 0.68rem !important;
  border-color: rgba(251, 247, 232, 0.16) !important;
  background: transparent !important;
  color: var(--ba-dark-button-muted) !important;
  font-weight: 850 !important;
  letter-spacing: normal !important;
  line-height: 1.5 !important;
}

html.dark .studio-header-frame a.inline-flex.rounded-xl.border[class*="border-slate-200"],
html.dark .studio-header-frame button.inline-flex.rounded-xl.border[class*="border-slate-200"] {
  background: var(--ba-dark-button-surface) !important;
  color: var(--ba-dark-button-paper) !important;
  border-color: var(--ba-dark-button-border) !important;
  box-shadow: var(--ba-dark-button-shadow) !important;
}

html.dark body:not(.ba-home-body) .site-header .nav-link:hover,
html.dark body:not(.ba-home-body) .site-header [data-auth="login"]:hover,
html.dark .studio-header-frame a.inline-flex:hover,
html.dark .studio-header-frame button.inline-flex:hover,
html.dark .studio-header-frame .studio-onboarding-action:hover,
html.dark .studio-main a.inline-flex:hover,
html.dark .studio-main button[type="button"]:hover,
html.dark .studio-main button[type="submit"]:hover {
  border-color: var(--ba-dark-button-cyan) !important;
  background: rgba(89, 255, 225, 0.1) !important;
  color: var(--ba-dark-button-paper) !important;
  box-shadow: var(--ba-dark-button-shadow) !important;
  transform: translateY(-1px);
}

html.dark body:not(.ba-home-body) .site-header .nav-link:hover,
html.dark body:not(.ba-home-body) .site-header .nav-link:focus,
html.dark body:not(.ba-home-body) .site-header .nav-link:active,
html.dark body:not(.ba-home-body) .site-header .nav-link.is-active {
  border-color: var(--ba-dark-button-cyan) !important;
  background: transparent !important;
  color: var(--ba-dark-button-paper) !important;
  box-shadow: none !important;
  transform: translateY(0) !important;
}

html.dark .studio-header-frame a.inline-flex.rounded-xl.border[class*="border-slate-200"]:hover,
html.dark .studio-header-frame button.inline-flex.rounded-xl.border[class*="border-slate-200"]:hover {
  background: rgba(89, 255, 225, 0.1) !important;
  color: var(--ba-dark-button-paper) !important;
  border-color: var(--ba-dark-button-cyan) !important;
  box-shadow: var(--ba-dark-button-shadow) !important;
}

html.dark body:not(.ba-home-body) .site-header .nav-link.is-active {
  border-color: var(--ba-dark-button-cyan) !important;
  background: transparent !important;
  color: var(--ba-dark-button-paper) !important;
  box-shadow: var(--ba-dark-button-shadow) !important;
}

html.dark body:not(.ba-home-body) .site-header [data-auth="signup"],
html.dark .studio-header-frame a.inline-flex[class*="bg-teal-600"],
html.dark .studio-header-frame button.inline-flex[class*="bg-teal-600"],
html.dark .studio-header-frame .studio-onboarding-action--primary,
html.dark .studio-main [class*="bg-teal-600"],
html.dark .studio-main button[type="submit"] {
  border-color: var(--ba-dark-button-lime) !important;
  background: var(--ba-dark-button-lime) !important;
  color: var(--ba-dark-button-ink) !important;
  box-shadow: var(--ba-dark-button-shadow-strong) !important;
}

html.dark body:not(.ba-home-body) .site-header [data-auth="signup"]:hover,
html.dark .studio-header-frame a.inline-flex[class*="bg-teal-600"]:hover,
html.dark .studio-header-frame button.inline-flex[class*="bg-teal-600"]:hover,
html.dark .studio-header-frame .studio-onboarding-action--primary:hover,
html.dark .studio-main [class*="bg-teal-600"]:hover,
html.dark .studio-main button[type="submit"]:hover {
  border-color: var(--ba-dark-button-cyan) !important;
  background: var(--ba-dark-button-cyan) !important;
  color: var(--ba-dark-button-ink) !important;
  box-shadow: var(--ba-dark-button-shadow) !important;
}

html.dark body:not(.ba-home-body) .site-header .main-header-nav {
  align-items: center !important;
}

body:not(.ba-home-body) .site-header .main-header-nav {
  align-items: center !important;
  gap: 0.5rem !important;
  color: rgba(8, 9, 15, 0.72) !important;
  font-size: 0.78rem !important;
  font-weight: 850 !important;
  line-height: 1.5 !important;
  text-transform: uppercase !important;
}

html.dark body:not(.ba-home-body) .site-header .main-header-nav {
  color: var(--ba-dark-button-muted) !important;
}

body:not(.ba-home-body) .site-header .main-header-nav-link,
body:not(.ba-home-body) .site-header .main-header-nav-link:hover,
body:not(.ba-home-body) .site-header .main-header-nav-link:focus,
body:not(.ba-home-body) .site-header .main-header-nav-link:active,
body:not(.ba-home-body) .site-header .main-header-nav-link.is-active {
  position: relative !important;
  top: 0 !important;
  bottom: auto !important;
  align-self: center !important;
  display: block !important;
  box-sizing: border-box !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  border: 1px solid rgba(8, 9, 15, 0.18) !important;
  border-radius: 999px !important;
  margin: 0 !important;
  padding: 0.45rem 0.68rem !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: normal !important;
  line-height: inherit !important;
  text-decoration: none !important;
  text-transform: inherit !important;
  vertical-align: baseline !important;
  white-space: nowrap !important;
  transform: none !important;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body:not(.ba-home-body) .site-header .main-header-nav-link {
  border-color: rgba(8, 9, 15, 0.18) !important;
  background: rgba(255, 255, 255, 0.44) !important;
  color: inherit !important;
}

body:not(.ba-home-body) .site-header .main-header-nav-link:hover,
body:not(.ba-home-body) .site-header .main-header-nav-link:focus,
body:not(.ba-home-body) .site-header .main-header-nav-link:active,
body:not(.ba-home-body) .site-header .main-header-nav-link.is-active {
  border-color: #0f9d8f !important;
  background: rgba(89, 255, 225, 0.16) !important;
  color: #08090f !important;
  box-shadow: none !important;
  transform: none !important;
}

html.dark body:not(.ba-home-body) .site-header .main-header-nav-link {
  border-color: rgba(251, 247, 232, 0.16) !important;
  background: transparent !important;
  color: inherit !important;
}

html.dark body:not(.ba-home-body) .site-header .main-header-nav-link:hover,
html.dark body:not(.ba-home-body) .site-header .main-header-nav-link:focus,
html.dark body:not(.ba-home-body) .site-header .main-header-nav-link:active,
html.dark body:not(.ba-home-body) .site-header .main-header-nav-link.is-active {
  border-color: var(--ba-dark-button-cyan) !important;
  background: transparent !important;
  color: var(--ba-dark-button-paper) !important;
  box-shadow: none !important;
  transform: none !important;
}

.studio-header-frame button.typography-save-action,
.studio-header-frame button.guidelines-save-action {
  border-color: #ff4f2e !important;
  background: #ff4f2e !important;
  color: #fffdf2 !important;
  box-shadow: 0 10px 22px rgba(255, 79, 46, 0.24) !important;
}

.studio-header-frame button.typography-save-action .typography-save-long,
.studio-header-frame button.guidelines-save-action .guidelines-save-long {
  display: none;
}

.studio-header-frame button.typography-save-action:hover,
.studio-header-frame button.guidelines-save-action:hover {
  border-color: #ffb000 !important;
  background: #ffb000 !important;
  color: #08090f !important;
  box-shadow: 0 12px 24px rgba(255, 176, 0, 0.22) !important;
}

.studio-header-frame button.typography-save-action.is-saved,
.studio-header-frame button.typography-save-action.is-saved:hover,
.studio-header-frame button.guidelines-save-action.is-saved,
.studio-header-frame button.guidelines-save-action.is-saved:hover {
  border-color: #ffb000 !important;
  background: #ffb000 !important;
  color: #08090f !important;
  box-shadow: 0 12px 24px rgba(255, 176, 0, 0.22) !important;
}

.studio-header-frame button.typography-save-action:disabled,
.studio-header-frame button.guidelines-save-action:disabled {
  cursor: not-allowed !important;
  opacity: 0.66 !important;
}

html.dark .studio-header-frame button.typography-save-action,
html.dark .studio-header-frame button.guidelines-save-action {
  border-color: #ff4f2e !important;
  background: #ff4f2e !important;
  color: #fffdf2 !important;
  box-shadow: 0 0 22px rgba(255, 79, 46, 0.22) !important;
}

html.dark .studio-header-frame button.typography-save-action:hover,
html.dark .studio-header-frame button.guidelines-save-action:hover {
  border-color: #ffb000 !important;
  background: #ffb000 !important;
  color: #08090f !important;
  box-shadow: 0 0 18px rgba(255, 176, 0, 0.22) !important;
}

html.dark .studio-header-frame button.typography-save-action.is-saved,
html.dark .studio-header-frame button.typography-save-action.is-saved:hover,
html.dark .studio-header-frame button.guidelines-save-action.is-saved,
html.dark .studio-header-frame button.guidelines-save-action.is-saved:hover {
  border-color: #ffb000 !important;
  background: #ffb000 !important;
  color: #08090f !important;
  box-shadow: 0 0 18px rgba(255, 176, 0, 0.22) !important;
}

#typography-status {
  min-height: 1rem;
}

.studio-main .name-candidate-card {
  position: relative;
}

.studio-main .name-candidate-card.is-final {
  border-color: #ffb000 !important;
  box-shadow: 0 0 0 1px rgba(255, 176, 0, 0.24);
}

.studio-main .name-candidate-choice {
  display: inline-flex;
  min-height: 2.2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(8, 9, 15, 0.18) !important;
  border-radius: 999px !important;
  padding: 0.48rem 0.85rem !important;
  background: rgba(255, 253, 242, 0.66) !important;
  color: #08090f !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

.studio-main .name-candidate-choice:hover {
  border-color: #08090f !important;
  background: #fffdf2 !important;
  color: #08090f !important;
}

.studio-main .name-candidate-choice--draft.is-selected {
  border-color: #59ffe1 !important;
  background: rgba(89, 255, 225, 0.16) !important;
  color: #0f766e !important;
}

.studio-main .name-candidate-choice--final.is-selected,
.studio-main .name-candidate-choice--final.is-selected:hover {
  border-color: #ffb000 !important;
  background: #ffb000 !important;
  color: #08090f !important;
  box-shadow: 0 10px 22px rgba(255, 176, 0, 0.2) !important;
}

html.dark .studio-main .name-candidate-card.is-final {
  box-shadow: 0 0 22px rgba(255, 176, 0, 0.14);
}

html.dark .studio-main .name-candidate-choice {
  border-color: rgba(251, 247, 232, 0.22) !important;
  background: rgba(251, 247, 232, 0.05) !important;
  color: #fbf7e8 !important;
}

html.dark .studio-main .name-candidate-choice:hover {
  border-color: #59ffe1 !important;
  background: rgba(89, 255, 225, 0.1) !important;
  color: #fbf7e8 !important;
}

html.dark .studio-main .name-candidate-choice--draft.is-selected {
  border-color: #59ffe1 !important;
  background: rgba(89, 255, 225, 0.14) !important;
  color: #59ffe1 !important;
}

html.dark .studio-main .name-candidate-choice--final.is-selected,
html.dark .studio-main .name-candidate-choice--final.is-selected:hover {
  border-color: #ffb000 !important;
  background: #ffb000 !important;
  color: #08090f !important;
  box-shadow: 0 0 18px rgba(255, 176, 0, 0.22) !important;
}

@media (min-width: 640px) {
  .studio-header-frame button.typography-save-action .typography-save-short,
  .studio-header-frame button.guidelines-save-action .guidelines-save-short {
    display: none;
  }

  .studio-header-frame button.typography-save-action .typography-save-long,
  .studio-header-frame button.guidelines-save-action .guidelines-save-long {
    display: inline;
  }
}

/* =================================================================================================================
   Studio responsive workflow navigation
   ================================================================================================================= */

.studio-shell--no-project {
  grid-template-columns: minmax(0, 1fr) !important;
}

.studio-shell--no-project .studio-main {
  padding-left: 1.5rem;
}

.studio-mobile-nav-shell {
  display: none;
}

@media (max-width: 900px) {
  .studio-shell {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .studio-sidebar--desktop {
    display: none !important;
  }

  .studio-mobile-nav-shell {
    display: block;
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 0.75rem 0.85rem 0;
  }

  .studio-mobile-nav {
    overflow: hidden;
    border: 1px solid rgba(8, 9, 15, 0.18);
    border-radius: 1.25rem;
    background:
      radial-gradient(circle at 90% 0%, rgba(200, 255, 0, 0.2), transparent 8rem),
      rgba(255, 253, 242, 0.92);
    box-shadow: 0 12px 24px rgba(8, 9, 15, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .dark .studio-mobile-nav {
    border-color: rgba(251, 247, 232, 0.16);
    background:
      radial-gradient(circle at 90% 0%, rgba(200, 255, 0, 0.12), transparent 8rem),
      rgba(8, 9, 15, 0.92);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36);
  }

  .studio-mobile-nav > summary {
    display: flex;
    min-height: 3.25rem;
    cursor: pointer;
    list-style: none;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
  }

  .studio-mobile-nav > summary::-webkit-details-marker {
    display: none;
  }

  .studio-mobile-nav > summary::after {
    content: "+";
    display: inline-flex;
    width: 1.85rem;
    height: 1.85rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(8, 9, 15, 0.22);
    border-radius: 999px;
    color: #08090f;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
  }

  .studio-mobile-nav[open] > summary::after {
    content: "-";
  }

  .dark .studio-mobile-nav > summary::after {
    border-color: rgba(251, 247, 232, 0.22);
    color: #fbf7e8;
  }

  .studio-mobile-nav-title {
    min-width: 0;
    overflow: hidden;
    color: #08090f;
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .studio-mobile-nav-meta {
    flex: 0 0 auto;
    color: rgba(8, 9, 15, 0.58);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .dark .studio-mobile-nav-title {
    color: #fbf7e8;
  }

  .dark .studio-mobile-nav-meta {
    color: rgba(251, 247, 232, 0.56);
  }

  .studio-mobile-nav .studio-side-inner {
    max-height: min(68vh, 36rem);
    overflow-y: auto;
    padding: 0 0.75rem 0.9rem;
  }

  .studio-mobile-nav .studio-progress-card {
    margin-top: 0;
  }

  .studio-main {
    padding: 0.8rem 0.85rem 1.25rem !important;
  }

  .studio-main .md\:grid-cols-2,
  .studio-main .md\:grid-cols-3,
  .studio-main [class*="md:grid-cols-["] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .studio-main .md\:col-span-2,
  .studio-main .md\:col-span-3,
  .studio-main .md\:col-span-5 {
    grid-column: auto !important;
  }

  .studio-main .md\:flex-row {
    flex-direction: column !important;
  }

  .studio-main .md\:items-start,
  .studio-main .md\:items-end,
  .studio-main .md\:items-center {
    align-items: stretch !important;
  }

  .studio-main .md\:justify-between,
  .studio-main .md\:justify-end {
    justify-content: flex-start !important;
  }

  .studio-main .md\:shrink-0 {
    flex-shrink: 1 !important;
  }

  .studio-shell--no-project .studio-main {
    padding-top: 1rem !important;
  }
}

/* =================================================================================================================
   Studio console sidebar
   Keeps the desktop project navigation at one stable width with no rail-to-drawer morphing.
   ================================================================================================================= */

.studio-sidebar-toggle {
  display: none;
}

.studio-sidebar-actions {
  display: none !important;
}

.studio-rail-nav {
  display: none;
}

@media (min-width: 901px) {
  body > main.ba-shell--studio:has(.studio-shell--drawer) {
    width: 100%;
    max-width: none;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .studio-shell--drawer {
    --studio-sidebar-width: clamp(18.25rem, 22vw, 20.75rem);
    --studio-sidebar-closed-width: 3.75rem;
    --studio-sidebar-motion: 190ms ease;
    grid-template-columns: var(--studio-sidebar-width) minmax(0, 1fr) !important;
    column-gap: 0;
    align-items: start;
    transition: grid-template-columns var(--studio-sidebar-motion);
  }

  .studio-shell--drawer.studio-sidebar-is-closed {
    grid-template-columns: var(--studio-sidebar-closed-width) minmax(0, 1fr) !important;
  }

  .studio-shell--drawer .studio-main {
    min-width: 0;
    padding: 1.1rem clamp(1rem, 1.5vw, 1.6rem) 1.5rem;
    transition: none !important;
  }

  .studio-shell--drawer .studio-main-inner,
  .studio-shell--drawer .studio-main-inner.studio-main-wide {
    max-width: none;
    margin: 0;
  }

  .studio-shell--drawer .studio-sidebar {
    position: sticky;
    top: 5.25rem;
    z-index: 35;
    width: 100%;
    min-width: 0;
    height: calc(100vh - 5.25rem);
    min-height: 34rem;
    overflow: hidden;
    border: 0;
    border-right: 1px solid rgba(8, 9, 15, 0.14);
    border-radius: 0;
    background: #fbf7e8 !important;
    box-shadow: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition:
      background-color 120ms ease,
      border-color 120ms ease;
  }

  html:not(.dark) .studio-shell--drawer .studio-sidebar {
    border-right-color: rgba(8, 9, 15, 0.14);
    background: #fbf7e8 !important;
  }

  html.dark .studio-shell--drawer .studio-sidebar {
    border-right-color: rgba(251, 247, 232, 0.14);
    background: #08090f !important;
  }

  .studio-shell--drawer .studio-sidebar::before,
  .studio-shell--drawer .studio-sidebar::after {
    display: none !important;
  }

  .studio-shell--drawer .studio-side-inner {
    --sidebar-link-pad-x: 0;
    position: relative;
    z-index: 1;
    display: flex;
    height: 100%;
    min-height: 0;
    flex-direction: column;
    gap: 0.85rem;
    overflow: hidden;
    padding: 1rem 1rem 0.9rem;
    width: var(--studio-sidebar-width);
    box-sizing: border-box;
    transition: none;
  }

  .studio-shell--drawer .studio-rail-nav {
    position: absolute;
    top: 1rem;
    left: 0.85rem;
    z-index: 3;
    display: flex;
    width: 2rem;
    max-height: calc(100% - 4.85rem);
    flex-direction: column;
    gap: 0.36rem;
    opacity: 0;
    overflow-x: visible;
    overflow-y: auto;
    pointer-events: none;
    transition: opacity 120ms ease 80ms;
    scrollbar-width: none;
  }

  .studio-shell--drawer .studio-rail-nav::-webkit-scrollbar {
    display: none;
  }

  .studio-shell--drawer.studio-sidebar-is-closed .studio-rail-nav {
    position: static;
    top: auto;
    left: auto;
    flex: 0 1 auto;
    margin-left: -0.1rem;
    opacity: 1;
    pointer-events: auto;
  }

  .studio-shell--drawer .studio-rail-gap {
    display: block;
    height: 0.54rem;
    flex: 0 0 0.54rem;
  }

  .studio-shell--drawer .studio-rail-link {
    position: relative;
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 8px;
    color: rgba(8, 9, 15, 0.66) !important;
    text-decoration: none;
    transition:
      background-color 120ms ease,
      border-color 120ms ease,
      color 120ms ease;
  }

  .studio-shell--drawer .studio-rail-link:hover,
  .studio-shell--drawer .studio-rail-link:focus-visible {
    border-color: rgba(8, 9, 15, 0.12);
    background: rgba(8, 9, 15, 0.07);
    color: #08090f !important;
    outline: none;
  }

  .studio-shell--drawer .studio-rail-link.is-active {
    border-color: rgba(8, 9, 15, 0.12) !important;
    background: rgba(8, 9, 15, 0.105) !important;
    color: #08090f !important;
  }

  html.dark .studio-shell--drawer .studio-rail-link {
    color: rgba(251, 247, 232, 0.74) !important;
  }

  html.dark .studio-shell--drawer .studio-rail-link:hover,
  html.dark .studio-shell--drawer .studio-rail-link:focus-visible {
    border-color: rgba(251, 247, 232, 0.14);
    background: rgba(251, 247, 232, 0.09);
    color: #fbf7e8 !important;
  }

  html.dark .studio-shell--drawer .studio-rail-link.is-active {
    border-color: rgba(251, 247, 232, 0.14) !important;
    background: rgba(251, 247, 232, 0.12) !important;
    color: #fbf7e8 !important;
  }

  .studio-shell--drawer .studio-rail-link .studio-module-icon {
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 1.15rem;
  }

  .studio-shell--drawer .studio-rail-complete {
    position: absolute;
    right: 0.18rem;
    bottom: 0.18rem;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 999px;
    background: #0f766e;
    box-shadow: 0 0 0 1px #fbf7e8;
  }

  html.dark .studio-shell--drawer .studio-rail-complete {
    background: #59ffe1;
    box-shadow: 0 0 0 1px #08090f;
  }

  .studio-shell--drawer .studio-rail-disabled {
    color: rgba(8, 9, 15, 0.28) !important;
    cursor: not-allowed;
  }

  html.dark .studio-shell--drawer .studio-rail-disabled {
    color: rgba(251, 247, 232, 0.3) !important;
  }

  .studio-shell--drawer .studio-side-top,
  .studio-shell--drawer .studio-nav {
    transition:
      opacity 120ms ease,
      transform var(--studio-sidebar-motion);
  }

  .studio-shell--drawer.studio-sidebar-is-closed .studio-side-top,
  .studio-shell--drawer.studio-sidebar-is-closed .studio-nav {
    position: absolute;
    width: calc(var(--studio-sidebar-width) - 2rem);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-1.15rem);
  }

  .studio-shell--drawer.studio-sidebar-is-closed .studio-side-top {
    top: 1rem;
    left: 1rem;
  }

  .studio-shell--drawer.studio-sidebar-is-closed .studio-nav {
    top: 6.9rem;
    left: 1rem;
  }

  .studio-shell--drawer .studio-sidebar-actions {
    display: flex !important;
    flex: 0 0 auto;
    justify-content: flex-start;
    margin-top: 0.2rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(8, 9, 15, 0.12);
    transition: border-color 120ms ease;
  }

  html.dark .studio-shell--drawer .studio-sidebar-actions {
    border-top-color: rgba(251, 247, 232, 0.14);
  }

  .studio-shell--drawer.studio-sidebar-is-closed .studio-sidebar-actions {
    width: 2rem;
  }

  .studio-shell--drawer .studio-sidebar-toggle {
    position: relative;
    z-index: 4;
    display: inline-flex;
    width: 100%;
    min-height: 2.65rem;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    padding: 0 0.65rem;
    border: 1px solid rgba(8, 9, 15, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.62);
    color: rgba(8, 9, 15, 0.72);
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 760;
    letter-spacing: 0;
    line-height: 1;
    transition:
      opacity 120ms ease,
      background-color 120ms ease,
      border-color 120ms ease,
      color 120ms ease;
  }

  .studio-shell--drawer .studio-sidebar-toggle:hover,
  .studio-shell--drawer .studio-sidebar-toggle:focus-visible {
    border-color: rgba(8, 9, 15, 0.3);
    background: rgba(8, 9, 15, 0.08);
    color: #08090f;
    outline: none;
  }

  html.dark .studio-shell--drawer .studio-sidebar-toggle {
    border-color: rgba(251, 247, 232, 0.18);
    background: rgba(251, 247, 232, 0.07);
    color: rgba(251, 247, 232, 0.76);
  }

  html.dark .studio-shell--drawer .studio-sidebar-toggle:hover,
  html.dark .studio-shell--drawer .studio-sidebar-toggle:focus-visible {
    border-color: rgba(251, 247, 232, 0.3);
    background: rgba(251, 247, 232, 0.12);
    color: #fbf7e8;
  }

  .studio-shell--drawer.studio-sidebar-is-closed .studio-sidebar-toggle {
    width: 2rem;
    min-height: 2rem;
    justify-content: center;
    gap: 0;
    padding: 0;
  }

  .studio-shell--drawer .studio-sidebar-toggle-icon {
    width: 1.18rem;
    height: 1.18rem;
    flex: 0 0 auto;
  }

  .studio-shell--drawer .studio-sidebar-toggle-arrow {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 140ms ease;
  }

  .studio-shell--drawer.studio-sidebar-is-closed .studio-sidebar-toggle-arrow {
    transform: rotate(180deg);
  }

  .studio-shell--drawer .studio-sidebar-toggle-label {
    max-width: 8rem;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 120ms ease;
    white-space: nowrap;
  }

  .studio-shell--drawer.studio-sidebar-is-closed .studio-sidebar-toggle-label {
    max-width: 0;
    opacity: 0;
  }

  .studio-shell--drawer .studio-side-top {
    flex: 0 0 auto;
    margin-bottom: 0;
  }

  .studio-shell--drawer .studio-progress-card {
    margin-top: 0 !important;
    padding: 0.78rem 0.82rem !important;
    border: 1px solid rgba(8, 9, 15, 0.12) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.58) !important;
    box-shadow: none !important;
    color: rgba(8, 9, 15, 0.7) !important;
    transition: none !important;
  }

  html.dark .studio-shell--drawer .studio-progress-card {
    border-color: rgba(251, 247, 232, 0.14) !important;
    background: rgba(251, 247, 232, 0.055) !important;
    color: rgba(251, 247, 232, 0.76) !important;
  }

  .studio-shell--drawer .studio-progress-summary,
  .studio-shell--drawer .studio-progress-step,
  .studio-shell--drawer .studio-nav-title,
  .studio-shell--drawer .studio-lock-icon {
    max-width: none;
    opacity: 1;
    overflow: hidden;
    transform: none;
    transition: none !important;
    white-space: nowrap;
  }

  .studio-shell--drawer .studio-progress-track {
    height: 0.38rem;
    border-radius: 999px;
    background: rgba(8, 9, 15, 0.1);
  }

  html.dark .studio-shell--drawer .studio-progress-track {
    background: rgba(251, 247, 232, 0.12);
  }

  .studio-shell--drawer .studio-nav {
    min-height: 0;
    flex: 0 1 auto;
    gap: 0.16rem;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0.05rem 0.05rem 0.5rem;
    scrollbar-width: thin;
  }

  .studio-shell--drawer .studio-nav::-webkit-scrollbar {
    width: 0.4rem;
  }

  .studio-shell--drawer .studio-nav::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(8, 9, 15, 0.16);
  }

  html.dark .studio-shell--drawer .studio-nav::-webkit-scrollbar-thumb {
    background: rgba(251, 247, 232, 0.18);
  }

  .studio-shell--drawer .studio-nav-group {
    margin: 0.7rem 0 0.18rem;
    padding: 0 0.5rem;
    color: rgba(8, 9, 15, 0.5) !important;
    font-size: 0.8rem;
    font-weight: 760;
    letter-spacing: 0;
    line-height: 1.2;
    text-shadow: none !important;
    text-transform: none;
    transition: none !important;
  }

  .studio-shell--drawer .studio-nav-group:first-child {
    margin-top: 0;
  }

  html:not(.dark) .studio-shell--drawer .studio-nav-group {
    color: rgba(8, 9, 15, 0.5) !important;
  }

  html.dark .studio-shell--drawer .studio-nav-group {
    color: rgba(251, 247, 232, 0.5) !important;
  }

  .studio-shell--drawer .studio-nav-link {
    position: relative;
    min-height: 2.85rem;
    padding: 0.55rem 0.65rem !important;
    border: 1px solid transparent;
    border-radius: 8px;
    color: rgba(8, 9, 15, 0.68) !important;
    box-shadow: none !important;
    font-size: 1rem;
    font-weight: 730;
    letter-spacing: 0 !important;
    line-height: 1.2;
    transition:
      background-color 120ms ease,
      border-color 120ms ease,
      color 120ms ease;
  }

  .studio-shell--drawer .studio-nav-link:hover {
    border-color: rgba(8, 9, 15, 0.11);
    background: rgba(8, 9, 15, 0.055);
    color: #08090f !important;
  }

  .studio-shell--drawer .studio-nav-link.is-active {
    border-color: rgba(8, 9, 15, 0.1) !important;
    background: rgba(8, 9, 15, 0.095) !important;
    color: #08090f !important;
    box-shadow: none !important;
    font-weight: 820;
  }

  html:not(.dark) .studio-shell--drawer .studio-nav-link:hover {
    border-color: rgba(8, 9, 15, 0.11);
    background: rgba(8, 9, 15, 0.055);
    color: #08090f !important;
  }

  html:not(.dark) .studio-shell--drawer .studio-nav-link.is-active {
    border-color: rgba(8, 9, 15, 0.1) !important;
    background: rgba(8, 9, 15, 0.095) !important;
    color: #08090f !important;
    box-shadow: none !important;
  }

  html.dark .studio-shell--drawer .studio-nav-link {
    color: rgba(251, 247, 232, 0.74) !important;
  }

  html.dark .studio-shell--drawer .studio-nav-link:hover {
    border-color: rgba(251, 247, 232, 0.12);
    background: rgba(251, 247, 232, 0.08);
    color: #fbf7e8 !important;
  }

  html.dark .studio-shell--drawer .studio-nav-link.is-active {
    border-color: rgba(251, 247, 232, 0.1) !important;
    background: rgba(251, 247, 232, 0.12) !important;
    color: #fbf7e8 !important;
    box-shadow: none !important;
  }

  .studio-shell--drawer .studio-nav-label {
    width: 100%;
    gap: 0.75rem;
  }

  .studio-shell--drawer .studio-module-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 1.25rem;
    color: currentColor !important;
  }

  .studio-shell--drawer .studio-nav-title {
    min-width: 0;
    text-overflow: ellipsis;
  }

  .studio-shell--drawer .studio-lock-icon {
    width: 0.95rem;
    height: 0.95rem;
    margin-left: auto;
  }

  .studio-shell--drawer .studio-nav-complete {
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 auto;
    margin-left: auto;
    border-color: rgba(15, 157, 143, 0.28);
    background: rgba(89, 255, 225, 0.14);
    color: #0f766e;
    font-size: 0.68rem;
    transition: none !important;
  }

  .studio-shell--drawer .studio-nav-link.is-active .studio-nav-complete {
    border-color: rgba(8, 9, 15, 0.18);
    background: rgba(255, 255, 255, 0.58);
    color: #0f766e;
  }

  html.dark .studio-shell--drawer .studio-nav-complete {
    border-color: rgba(89, 255, 225, 0.3);
    background: rgba(89, 255, 225, 0.1);
    color: #59ffe1;
  }

  html.dark .studio-shell--drawer .studio-nav-link.is-active .studio-nav-complete {
    border-color: rgba(251, 247, 232, 0.14);
    background: rgba(8, 9, 15, 0.5);
    color: #59ffe1;
  }

  .studio-sidebar:not(.admin-sidebar) .studio-nav-disabled,
  .studio-shell--drawer .studio-nav-disabled:hover {
    border-color: transparent !important;
    background: transparent !important;
    color: rgba(8, 9, 15, 0.32) !important;
    box-shadow: none !important;
    cursor: not-allowed;
  }

  .studio-sidebar:not(.admin-sidebar) .studio-nav-disabled .studio-module-icon,
  .studio-sidebar:not(.admin-sidebar) .studio-nav-disabled .studio-lock-icon {
    color: rgba(8, 9, 15, 0.28) !important;
  }

  html.dark .studio-sidebar:not(.admin-sidebar) .studio-nav-disabled,
  html.dark .studio-shell--drawer .studio-nav-disabled:hover {
    color: rgba(251, 247, 232, 0.36) !important;
  }

  html.dark .studio-sidebar:not(.admin-sidebar) .studio-nav-disabled .studio-module-icon,
  html.dark .studio-sidebar:not(.admin-sidebar) .studio-nav-disabled .studio-lock-icon {
    color: rgba(251, 247, 232, 0.3) !important;
  }

  @media (prefers-reduced-motion: reduce) {
    .studio-shell--drawer,
    .studio-shell--drawer *,
    .studio-shell--drawer *::before,
    .studio-shell--drawer *::after {
      transition-duration: 0.01ms !important;
      animation-duration: 0.01ms !important;
    }
  }
}
