/* ============================================================
   Kemnile — Shared Design Tokens & Utilities
   Import this file in every HTML page:
     <link rel="stylesheet" href="/static/theme.css">
   ============================================================ */

/* ---------- Google Fonts (loaded once) ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Outfit:wght@700;800;900&family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --k-panel-bg: rgba(255,255,255,0.82);
  --k-panel-border: rgba(255,255,255,0.5);
  --k-panel-shadow: 0 14px 40px rgba(15,23,42,0.10);
  --k-radius: 1.5rem;            /* 24px – bubbly, modern */
  --k-radius-lg: 2rem;           /* 32px – hero cards */
  --k-transition-fast: 180ms ease;
  --k-transition: 280ms ease;
  --k-midnight: #050510;
  --k-neon-purple: #a855f7;
  --k-neon-cyan: #22d3ee;
  --k-neon-amber: #fbbf24;
  --k-spring: cubic-bezier(0.34,1.56,0.64,1);
  --k-font-primary: 'Inter', 'Poppins', system-ui, sans-serif;
}

.dark {
  --k-panel-bg: rgba(10,14,30,0.55);
  --k-panel-border: rgba(139,92,246,0.1);
  --k-panel-shadow: 0 16px 46px rgba(2,8,23,0.45);
}

/* ---------- Base ---------- */
*, *::before, *::after {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body {
  font-family: var(--k-font-primary, 'Inter', 'Poppins', system-ui, sans-serif);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Panel / Glass card ---------- */
.k-panel {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--k-panel-border);
  background: var(--k-panel-bg);
  box-shadow: var(--k-panel-shadow);
  border-radius: var(--k-radius-lg);
  transition: transform var(--k-transition-fast), box-shadow var(--k-transition);
}

.k-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(15,23,42,0.14);
}

.dark .k-panel:hover {
  box-shadow: 0 18px 50px rgba(2,8,23,0.60);
}

/* ---------- Legal pages panel ---------- */
.k-legal-panel {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--k-panel-border);
  background: var(--k-panel-bg);
  box-shadow: var(--k-panel-shadow);
  border-radius: var(--k-radius-lg);
}

.k-legal-content h2,
.k-legal-content h3 { color: inherit; }

.k-legal-content p,
.k-legal-content li { color: rgb(55 65 81); }

.dark .k-legal-content p,
.dark .k-legal-content li { color: rgb(203 213 225); }

/* ---------- Brand gradient text ---------- */
.k-brand-gradient {
  background: linear-gradient(135deg, #c084fc, #818cf8 40%, #22d3ee 80%, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.k-gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dark .k-gradient-text {
  background: linear-gradient(135deg, #a78bfa 0%, #c084fc 50%, #2dd4bf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Background patterns (set accent via data-attr or class) ---------- */
.k-bg-blue-purple {
  background:
    radial-gradient(1200px 460px at 8% -10%, rgba(59,130,246,0.18), transparent 55%),
    radial-gradient(1200px 460px at 95% -18%, rgba(168,85,247,0.16), transparent 55%),
    linear-gradient(160deg, #eff6ff, #f8fafc);
}
.dark .k-bg-blue-purple {
  background:
    radial-gradient(ellipse 900px 700px at 50% 20%, rgba(88,28,135,0.14), transparent 70%),
    radial-gradient(ellipse 600px 400px at 80% 60%, rgba(6,182,212,0.04), transparent 60%),
    radial-gradient(ellipse 400px 300px at 20% 80%, rgba(139,92,246,0.06), transparent 60%),
    radial-gradient(ellipse 100% 100% at 50% 50%, #0a0818 0%, #050510 100%);
}

.k-bg-green-blue {
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(16,185,129,0.18), transparent 45%),
    radial-gradient(1200px 500px at 100% -20%, rgba(59,130,246,0.16), transparent 50%),
    linear-gradient(160deg, #f0f4ff, #f7fffc);
}
.dark .k-bg-green-blue {
  background:
    radial-gradient(900px 450px at 5% -10%, rgba(16,185,129,0.14), transparent 55%),
    radial-gradient(900px 450px at 95% -20%, rgba(59,130,246,0.14), transparent 55%),
    linear-gradient(170deg, #050b17, #0a1224 50%, #061323);
}

.k-bg-orange-blue {
  background:
    radial-gradient(900px 420px at 5% -10%, rgba(249,115,22,0.16), transparent 55%),
    radial-gradient(900px 420px at 95% -20%, rgba(59,130,246,0.14), transparent 55%),
    linear-gradient(160deg, #fff7ed, #f8fafc);
}
.dark .k-bg-orange-blue {
  background:
    radial-gradient(900px 420px at 5% -10%, rgba(249,115,22,0.14), transparent 55%),
    radial-gradient(900px 420px at 95% -20%, rgba(59,130,246,0.14), transparent 55%),
    linear-gradient(165deg, #050b17, #0a1224 50%, #061323);
}

.k-bg-blue-green {
  background:
    radial-gradient(900px 420px at 7% -8%, rgba(59,130,246,0.16), transparent 55%),
    radial-gradient(900px 420px at 95% -15%, rgba(16,185,129,0.14), transparent 55%),
    linear-gradient(160deg, #eff6ff, #f8fafc);
}
.dark .k-bg-blue-green {
  background:
    radial-gradient(900px 420px at 7% -8%, rgba(59,130,246,0.14), transparent 55%),
    radial-gradient(900px 420px at 95% -15%, rgba(16,185,129,0.12), transparent 55%),
    linear-gradient(165deg, #050b17, #0a1224 50%, #061323);
}

/* ---------- Animations ---------- */
@keyframes k-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-20px); }
}
@keyframes k-fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes k-slide-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes k-scale-in {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes k-slide-in {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes k-pulse-soft {
  0%, 100% { opacity: 1; }
  50%      { opacity: .55; }
}
@keyframes k-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes k-ripple {
  to { transform: scale(4); opacity: 0; }
}

.k-float      { animation: k-float 6s ease-in-out infinite; }
.k-fade-in    { animation: k-fade-in 0.6s ease-out both; }
.k-slide-up   { animation: k-slide-up 0.6s ease-out both; }
.k-scale-in   { animation: k-scale-in 0.5s ease-out both; }
.k-slide-in   { animation: k-slide-in 0.8s ease-out both; }

/* ---------- Micro-interactions ---------- */

/* Button ripple */
.k-ripple {
  position: relative;
  overflow: hidden;
}
.k-ripple::after {
  content: '';
  position: absolute;
  width: 100%;
  padding-top: 100%;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0);
  opacity: 0;
  pointer-events: none;
}
.k-ripple:active::after {
  animation: k-ripple 0.5s ease-out;
}

/* Loading skeleton */
.k-skeleton {
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: k-shimmer 1.5s ease-in-out infinite;
  border-radius: 0.5rem;
}
.dark .k-skeleton {
  background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
  background-size: 200% 100%;
}

/* Hover lift */
.k-hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.k-hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Focus ring */
.k-focus:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.45);
}

/* Scroll reveal (needs JS observer) */
.k-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.k-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Animated counter helper ---------- */
/* JS sets --k-counter-end and calls the class */
.k-counter {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* ---------- Custom scrollbar ---------- */
.k-scrollbar::-webkit-scrollbar { width: 6px; }
.k-scrollbar::-webkit-scrollbar-track { background: transparent; }
.k-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(148,163,184,0.35);
  border-radius: 3px;
}
.dark .k-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(148,163,184,0.2);
}

/* ---------- Toast ---------- */
.k-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  animation: k-slide-up 0.35s ease-out both;
}
.k-toast-success { background: #059669; color: #fff; }
.k-toast-error   { background: #dc2626; color: #fff; }
.k-toast-info    { background: #2563eb; color: #fff; }

/* ---------- Neon Glow Utilities ---------- */
.k-glow-purple { text-shadow: 0 0 20px rgba(139,92,246,0.5), 0 0 60px rgba(139,92,246,0.2); }
.k-glow-cyan { text-shadow: 0 0 20px rgba(6,182,212,0.5), 0 0 60px rgba(6,182,212,0.2); }
.k-glow-amber { text-shadow: 0 0 20px rgba(245,158,11,0.5); }

/* ---------- Spring Animation Utility ---------- */
.k-spring { transition-timing-function: cubic-bezier(0.34,1.56,0.64,1); }

/* ---------- Glassmorphism Card (Enhanced) ---------- */
.k-glass-deep {
  background: rgba(8,10,24,0.75);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(139,92,246,0.15);
  border-radius: var(--k-radius-lg);
  box-shadow: 0 16px 48px rgba(139,92,246,0.08), 0 0 0 1px rgba(139,92,246,0.05);
}

/* ============================================================
   Accessibility & layering tokens (added 2026-05)
   ------------------------------------------------------------
   These are additive — nothing in the existing rules above
   depends on them, so it's safe to drop them in alongside.
   ============================================================ */

/* z-index scale — use these instead of magic numbers */
:root {
  --z-base: 1;
  --z-sticky: 30;
  --z-sidebar: 40;
  --z-fab: 50;
  --z-drawer: 60;
  --z-modal: 70;
  --z-toast: 80;
  --z-tooltip: 90;
}

/* Visually hidden, still announced by screen readers */
.k-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Skip-to-content link — invisible until keyboard-focused */
.k-skip-link {
  position: absolute;
  top: -100px; left: 0;
  z-index: var(--z-toast);
  padding: 0.75rem 1rem;
  background: #4f46e5;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 0.75rem 0;
  transition: top 0.2s ease;
}
.k-skip-link:focus,
.k-skip-link:focus-visible {
  top: 0;
  outline: 3px solid #fbbf24;
  outline-offset: 2px;
}

/* Stronger, theme-consistent focus ring on every interactive
   element. Only shows for keyboard navigation (focus-visible). */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Active sidebar / nav item — pair with aria-current="page" so
   the state is visible to assistive tech, not only color. */
[aria-current="page"]::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-block: 25%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #a855f7, #6366f1);
}

/* Respect users who request reduced motion. We keep transitions
   functional (so layout doesn't freeze) but cap their duration
   and disable decorative animations like floats / marquees. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.05ms !important;
    scroll-behavior: auto !important;
  }
  .k-float,
  .marquee-inner,
  .float-anim,
  .float-anim-slow,
  .float-anim-d1,
  .float-anim-d2,
  .animate-float,
  .animate-pulse-glow,
  .orb,
  .cta-bg {
    animation: none !important;
  }
}

/* iOS / Android safe-area helpers for fixed UI */
.k-safe-bottom { padding-bottom: max(0.5rem, env(safe-area-inset-bottom)); }
.k-safe-top    { padding-top: max(0.5rem, env(safe-area-inset-top)); }

/* Prefer dynamic viewport units where available so mobile chat
   inputs don't get cropped by the address bar. */
@supports (height: 100dvh) {
  .k-min-h-screen-d { min-height: 100dvh; }
}
.k-min-h-screen-d { min-height: 100vh; }

/* Reusable show/password toggle button used on auth forms. */
.k-pw-wrap { position: relative; }
.k-pw-toggle {
  position: absolute;
  inset-inline-end: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  padding: 0.4rem 0.55rem;
  border-radius: 0.5rem;
  cursor: pointer;
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.k-pw-toggle:hover { background: rgba(99,102,241,0.08); color: #4f46e5; }
.dark .k-pw-toggle { color: #9ca3af; }
.dark .k-pw-toggle:hover { background: rgba(165,180,252,0.12); color: #c4b5fd; }

/* ---------- SVG icon system ---------- */
/* Use as: <svg class="k-icon" aria-hidden="true"><use href="/static/icons.svg#i-home"/></svg>
   The icon inherits text color, so changing the parent's color recolours it. */
.k-icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -0.18em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.k-icon-sm { width: 1em;    height: 1em; }
.k-icon-lg { width: 1.5em;  height: 1.5em; }
.k-icon-xl { width: 2rem;   height: 2rem; }

/* ============================================================
   PREMIUM GLASSMORPHISM LAYER (added 2026-05)
   ------------------------------------------------------------
   Opt-in classes only. Existing pages are unaffected unless
   they add these classes. Dark-mode-first palette anchored
   on #0F172A (Deep Navy) per design brief.
   ============================================================ */

:root {
  /* Premium palette */
  --kp-navy: #0F172A;
  --kp-navy-2: #0b1224;
  --kp-ink: #0a0f1f;
  --kp-line: rgba(255,255,255,0.10);
  --kp-line-strong: rgba(255,255,255,0.18);
  --kp-glass: rgba(255,255,255,0.05);
  --kp-glass-2: rgba(255,255,255,0.07);
  --kp-grad-a: #60A5FA;   /* sky-400 */
  --kp-grad-b: #C084FC;   /* purple-400 */
  --kp-grad-c: #22D3EE;   /* cyan-400 */
  --kp-glow: 0 0 0 1px rgba(96,165,250,0.35), 0 0 24px rgba(96,165,250,0.25), 0 0 64px rgba(192,132,252,0.18);
  --kp-shadow: 0 20px 60px rgba(2,6,23,0.55), 0 2px 0 rgba(255,255,255,0.05) inset;
  --kp-font: 'Plus Jakarta Sans','Inter',system-ui,-apple-system,Segoe UI,sans-serif;
}

/* Optional opt-in body class for the dark-first hero/canvas */
.k-premium-bg {
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(96,165,250,0.18), transparent 55%),
    radial-gradient(1200px 600px at 88% -8%, rgba(192,132,252,0.18), transparent 55%),
    radial-gradient(900px 500px at 50% 110%, rgba(34,211,238,0.10), transparent 60%),
    linear-gradient(180deg, var(--kp-navy) 0%, var(--kp-navy-2) 60%, var(--kp-ink) 100%);
  color: #e6ecff;
}

/* Glass card — semi-transparent + 12px blur + 1px hairline border */
.k-glass {
  background: var(--kp-glass);
  border: 1px solid var(--kp-line);
  border-radius: 1.25rem;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: var(--kp-shadow);
  transition: transform .35s var(--k-spring), box-shadow .35s ease, border-color .35s ease;
  position: relative;
  isolation: isolate;
}
.k-glass::before {
  /* gentle top-edge highlight */
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent 30%);
  z-index: -1;
}
.k-glass.k-glass-strong { background: var(--kp-glass-2); border-color: var(--kp-line-strong); }

/* Hover lift (use on cards) */
.k-lift { transition: transform .35s var(--k-spring), box-shadow .35s ease; }
.k-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(2,6,23,0.6), 0 0 0 1px rgba(192,132,252,0.25);
}
@media (prefers-reduced-motion: reduce) {
  .k-lift:hover { transform: none; }
}

/* Press / tap feedback (scale 0.95 on active) */
.k-press { transition: transform .12s ease; }
.k-press:active { transform: scale(0.95); }

/* Gradient heading text (sky→purple per brief) */
.k-gradient-heading {
  background: linear-gradient(135deg, var(--kp-grad-a) 0%, var(--kp-grad-b) 60%, var(--kp-grad-c) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-family: var(--kp-font);
  letter-spacing: -0.02em;
}

/* Glowing input — perfect for the AI command bar */
.k-glow-input {
  background: rgba(15,23,42,0.6);
  border: 1px solid var(--kp-line-strong);
  color: #e6ecff;
  border-radius: 9999px;
  padding: 0.9rem 1.25rem;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.k-glow-input::placeholder { color: rgba(230,236,255,0.45); }
.k-glow-input:focus,
.k-glow-input:focus-visible {
  outline: none;
  border-color: rgba(96,165,250,0.6);
  box-shadow: var(--kp-glow);
  background: rgba(15,23,42,0.75);
}

/* Floating command-center wrapper (centers an input bar with glow ring) */
.k-command-center {
  position: relative;
  border-radius: 9999px;
  padding: 4px;
  background: linear-gradient(135deg, rgba(96,165,250,0.5), rgba(192,132,252,0.5), rgba(34,211,238,0.5));
  background-size: 200% 200%;
  animation: kp-shift 8s ease infinite;
}
@keyframes kp-shift {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}
.k-command-center > .k-glow-input { width: 100%; border: 0; background: rgba(10,15,31,0.85); }

/* Scroll-triggered fade-in-up (paired with premium.js IntersectionObserver) */
[data-fade-up] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s var(--k-spring);
  will-change: opacity, transform;
}
[data-fade-up].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-fade-up] { opacity: 1; transform: none; transition: none; }
}

/* Streak flame — animates on hover */
.k-flame {
  display: inline-block;
  transform-origin: 50% 90%;
  filter: drop-shadow(0 0 6px rgba(251,146,60,0.45));
  transition: transform .25s ease, filter .25s ease;
}
.k-flame:hover,
.k-flame-host:hover .k-flame {
  animation: kp-flicker 1.1s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(251,146,60,0.85)) drop-shadow(0 0 24px rgba(244,63,94,0.4));
}
@keyframes kp-flicker {
  0%,100% { transform: scale(1) rotate(-2deg); }
  25%     { transform: scale(1.08) rotate(2deg); }
  50%     { transform: scale(0.96) rotate(-1deg); }
  75%     { transform: scale(1.06) rotate(3deg); }
}
@media (prefers-reduced-motion: reduce) {
  .k-flame:hover, .k-flame-host:hover .k-flame { animation: none; }
}

/* Radial subject mastery ring — pure CSS conic gradient
   Set --p (0–100) inline: <div class="k-radial" style="--p:72"></div> */
.k-radial {
  --p: 0;
  --size: 96px;
  --thickness: 10px;
  width: var(--size); height: var(--size);
  border-radius: 50%;
  background:
    conic-gradient(from -90deg,
      var(--kp-grad-a) 0%,
      var(--kp-grad-b) calc(var(--p) * 1%),
      rgba(255,255,255,0.08) calc(var(--p) * 1%) 100%);
  display: grid; place-items: center;
  position: relative;
}
.k-radial::before {
  content: '';
  position: absolute; inset: var(--thickness);
  border-radius: 50%;
  background: var(--kp-navy);
}
.k-radial > * { position: relative; z-index: 1; }

/* Bottom-sheet (mobile) — slide up from bottom on small screens */
.k-bottom-sheet {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: var(--z-modal, 70);
  transform: translateY(100%);
  transition: transform .35s var(--k-spring);
  background: rgba(15,23,42,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--kp-line-strong);
  border-radius: 1.5rem 1.5rem 0 0;
  padding: 0.75rem 1rem max(1rem, env(safe-area-inset-bottom));
  box-shadow: 0 -20px 60px rgba(2,6,23,0.55);
  max-height: 85vh;
  overflow-y: auto;
  color: #e6ecff;
}
.k-bottom-sheet[aria-hidden="false"] { transform: translateY(0); }
.k-bottom-sheet-grabber {
  width: 40px; height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.25);
  margin: 4px auto 12px;
}
.k-bottom-sheet-backdrop {
  position: fixed; inset: 0;
  background: rgba(2,6,23,0.55);
  backdrop-filter: blur(2px);
  z-index: calc(var(--z-modal, 70) - 1);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.k-bottom-sheet-backdrop[aria-hidden="false"] { opacity: 1; pointer-events: auto; }

/* Ambient orb decorations for hero (purely decorative) */
.k-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  pointer-events: none;
  animation: k-float 9s ease-in-out infinite;
}
.k-orb-a { background: radial-gradient(circle, #60A5FA, transparent 70%); }
.k-orb-b { background: radial-gradient(circle, #C084FC, transparent 70%); }
.k-orb-c { background: radial-gradient(circle, #22D3EE, transparent 70%); }
