/* ==========================================================================
   Bins for Windows 11 — Ultra-Clean Minimal Styles
   ========================================================================== */

:root {
  --bg: #090b0f;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f3f6fc;
  --text-secondary: #98a3b8;
  --text-muted: #647086;

  --accent: #60cdff;
  --accent-hover: #7fd8ff;
  --accent-ink: #041520;
  --accent-soft: rgba(96, 205, 255, 0.12);
  --header-bg: rgba(9, 11, 15, 0.72);
  --shadow-stage: 0 32px 80px -20px rgba(0, 0, 0, 0.75);

  --showcase-tint: #60cdff;
  --font-sans: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
}

[data-theme="light"] {
  --bg: #f6f8fb;
  --surface: rgba(255, 255, 255, 0.85);
  --surface-hover: #ffffff;
  --border: rgba(15, 23, 42, 0.075);
  --border-strong: rgba(15, 23, 42, 0.14);
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --accent: #0078d4;
  --accent-hover: #106ebe;
  --accent-ink: #ffffff;
  --accent-soft: rgba(0, 120, 212, 0.1);
  --header-bg: rgba(246, 248, 251, 0.8);
  --shadow-stage: 0 28px 70px -20px rgba(15, 23, 42, 0.18);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

kbd {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--surface-hover);
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.container {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

/* Ambient Subtle Glow */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.26;
}

[data-theme="light"] .glow { opacity: 0.12; }

.glow-top {
  width: 680px;
  height: 420px;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, #38bdf8, transparent 70%);
}

.glow-side {
  width: 520px;
  height: 520px;
  top: 120px;
  right: -200px;
  background: radial-gradient(circle, #6366f1, transparent 72%);
  opacity: 0.16;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.brand-icon { border-radius: 6px; }

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.18s ease;
}

.nav-links a:hover { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.icon-btn:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.icon-btn svg { width: 16px; height: 16px; }

[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.18s ease, box-shadow 0.2s ease;
}

.btn svg { width: 17px; height: 17px; }

.btn-sm { height: 34px; padding: 0 14px; font-size: 0.84rem; }
.btn-lg { height: 46px; padding: 0 22px; font-size: 0.94rem; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 24px -8px rgba(96, 205, 255, 0.5);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 72px 0 40px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.text-gradient {
  background: linear-gradient(135deg, #60cdff 0%, #818cf8 60%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-theme="light"] .text-gradient {
  background: linear-gradient(135deg, #0078d4 0%, #4f46e5 65%, #9333ea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 18px 0 28px;
  max-width: 540px;
  font-size: 1.04rem;
  color: var(--text-secondary);
}

.hero-meta {
  margin: 14px 0 40px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.dl-meta strong {
  color: var(--text-secondary);
  font-weight: 600;
}

.dl-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface-hover);
  color: var(--text-secondary);
  font-size: 0.76rem;
}

.dl-pill[hidden],
.dl-meta[hidden] {
  display: none;
}

.dl-pill strong {
  color: var(--text);
  font-weight: 600;
}

.dl-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ==========================================================================
   Interactive Windows 11 Stage
   ========================================================================== */
.stage-wrap {
  width: 100%;
  max-width: 880px;
}

.win11-stage {
  position: relative;
  height: 455px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: var(--shadow-stage);
  background: #0c1424;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #f3f6fc;
  text-align: left;
}

.stage-wallpaper {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 42%, #13254a 0%, #090f1d 76%);
}

.bloom {
  position: absolute;
  border-radius: 50%;
  filter: blur(44px);
  opacity: 0.78;
  animation: floatBloom 14s ease-in-out infinite alternate;
}

.bloom-a {
  width: 420px;
  height: 280px;
  top: 12%;
  left: 24%;
  background: radial-gradient(ellipse at center, #38bdf8 0%, #2563eb 55%, transparent 78%);
}

.bloom-b {
  width: 340px;
  height: 300px;
  top: 20%;
  right: 16%;
  background: radial-gradient(ellipse at center, #60a5fa 0%, #4f46e5 55%, transparent 80%);
  animation-delay: -6s;
}

@keyframes floatBloom {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(16px, -12px) scale(1.05); }
}

/* Floating Stage HUD */
.stage-hud {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}

.segmented {
  display: inline-flex;
  padding: 2px;
  border-radius: 9px;
  background: rgba(15, 20, 30, 0.58);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.seg-btn {
  border: 0;
  background: transparent;
  color: #9ba7bc;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.seg-btn.active {
  background: rgba(96, 205, 255, 0.2);
  color: #7cd6ff;
}

.hud-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 10px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 20, 30, 0.58);
  backdrop-filter: blur(14px);
  color: #d6deec;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.hud-btn:hover {
  border-color: rgba(96, 205, 255, 0.45);
  color: #fff;
}

.hud-btn svg { width: 13px; height: 13px; color: #60cdff; }

/* Toast */
.stage-toast {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 18;
  padding: 7px 12px;
  border-radius: 9px;
  background: rgba(20, 24, 34, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(96, 205, 255, 0.32);
  font-size: 0.76rem;
  color: #f3f6fc;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.stage-toast.show { opacity: 1; transform: translateY(0); }

/* Flyout */
.bin-flyout {
  position: relative;
  z-index: 6;
  width: min(410px, calc(100% - 28px));
  margin: 0 auto 14px;
  border-radius: 15px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.55);
  transition: background 0.25s ease, backdrop-filter 0.25s ease;
}

.win11-stage[data-material="acrylic"] .bin-flyout {
  background: rgba(32, 36, 46, 0.64);
  backdrop-filter: blur(28px) saturate(185%);
  -webkit-backdrop-filter: blur(28px) saturate(185%);
}

.win11-stage[data-material="mica"] .bin-flyout {
  background: linear-gradient(160deg, rgba(38, 46, 62, 0.88), rgba(26, 30, 38, 0.92));
  backdrop-filter: blur(16px);
}

.win11-stage[data-material="solid"] .bin-flyout {
  background: #22252c;
  backdrop-filter: none;
}

.flyout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.flyout-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.flyout-back {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.flyout-back[hidden] { display: none; }
.flyout-back svg { width: 13px; height: 13px; }

.flyout-accent-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #60cdff;
}

.flyout-title { font-size: 0.92rem; font-weight: 600; }

.flyout-badge {
  font-size: 0.68rem;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #c5cfdf;
}

.flyout-mini-btn {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #d6deec;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.flyout-mini-btn:hover { background: rgba(96, 205, 255, 0.2); color: #60cdff; }
.flyout-mini-btn svg { width: 13px; height: 13px; }

.flyout-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.flyout-tab {
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.05);
  color: #aeb8ca;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 7px;
  cursor: pointer;
}

.flyout-tab.active {
  background: rgba(96, 205, 255, 0.16);
  border-color: rgba(96, 205, 255, 0.34);
  color: #7cd6ff;
}

.flyout-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-content: start;
  gap: 7px;
  min-height: 172px;
}

.flyout-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 5px 9px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.045);
  color: #eef3fb;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.15s ease;
}

.flyout-tile:hover {
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-1px);
}

.flyout-tile.running {
  background: rgba(96, 205, 255, 0.12);
  border-color: rgba(96, 205, 255, 0.28);
}

.tile-glyph {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--tile-bg, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

.tile-name {
  font-size: 0.7rem;
  font-weight: 500;
  color: #dde5f3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.tile-unread {
  position: absolute;
  top: 5px;
  right: 5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tile-count {
  position: absolute;
  top: 5px;
  left: 5px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 4px;
  background: rgba(96, 205, 255, 0.24);
  color: #8ee0ff;
  font-size: 0.6rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tile-sub-arrow {
  position: absolute;
  bottom: 4px;
  right: 5px;
  font-size: 0.62rem;
  color: #7cd6ff;
}

/* Taskbar */
.win11-taskbar {
  position: relative;
  z-index: 8;
  height: 52px;
  padding: 0 18px;
  background: rgba(20, 24, 33, 0.78);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.taskbar-center {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tray-time {
  position: absolute;
  right: 16px;
  font-size: 0.72rem;
  color: #cbd5e1;
}

.tb-item {
  position: relative;
  width: 42px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.14s ease;
}

.tb-item:hover { background: rgba(255, 255, 255, 0.08); }
.tb-item.active {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.12);
}

.win-logo {
  display: grid;
  grid-template-columns: repeat(2, 8px);
  gap: 2px;
}

.win-logo i {
  width: 8px;
  height: 8px;
  border-radius: 1.5px;
  background: linear-gradient(135deg, #60cdff, #2563eb);
}

/* Mosaic Icons */
.bin-icon, .mini-sq {
  position: relative;
  display: grid;
  border-radius: 7px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.bin-icon { width: 26px; height: 26px; }
.mini-sq {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  padding: 5px;
  background: color-mix(in srgb, var(--showcase-tint) 18%, transparent);
  border-color: color-mix(in srgb, var(--showcase-tint) 48%, transparent);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.mosaic-2x2 { grid-template-columns: repeat(2, 1fr); gap: 2px; }
.mosaic-2x2 i { border-radius: 2px; background: var(--c); }

.mosaic-3x3 { grid-template-columns: repeat(3, 1fr); gap: 1.5px; padding: 3px; }
.mosaic-3x3 i { border-radius: 1px; background: var(--c); }

.mosaic-stack { display: block; padding: 0; }
.mosaic-stack i {
  position: absolute;
  width: 52%;
  height: 52%;
  border-radius: 3px;
  left: 24%;
  top: 24%;
}
.mosaic-stack .card-back { background: #f59e0b; transform: translate(-18%, -10%) rotate(-12deg); opacity: 0.72; }
.mosaic-stack .card-mid { background: #fb923c; transform: translate(16%, -6%) rotate(10deg); opacity: 0.85; }
.mosaic-stack .card-front { background: #fde047; transform: translate(0, 10%); }

.mosaic-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.85), rgba(99, 102, 241, 0.85));
}

.mini-sq.mosaic-badge {
  font-size: 0.66rem;
  background: linear-gradient(135deg, var(--showcase-tint), color-mix(in srgb, var(--showcase-tint) 55%, #1e1b4b));
}

.tint-cyan { background: rgba(96, 205, 255, 0.2); border-color: rgba(96, 205, 255, 0.45); }
.tint-blue { background: rgba(59, 130, 246, 0.22); border-color: rgba(96, 165, 250, 0.45); }
.tint-amber { background: rgba(245, 158, 11, 0.2); border-color: rgba(251, 191, 36, 0.45); }
.tint-purple { border-color: rgba(192, 132, 252, 0.55); }

.tb-indicators {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3px;
}

.tb-pill { width: 13px; height: 3px; border-radius: 999px; background: #60cdff; }
.tb-dot { width: 4px; height: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.55); }

.tb-unread-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  border: 1.5px solid #1a202c;
}

/* Omni-Search Overlay */
.omni-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(6, 9, 16, 0.54);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 56px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.omni-overlay.open { opacity: 1; pointer-events: auto; }

.omni-modal {
  width: min(430px, calc(100% - 28px));
  border-radius: 14px;
  background: rgba(24, 28, 38, 0.94);
  backdrop-filter: blur(26px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.omni-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.omni-input-row svg { width: 16px; height: 16px; color: #60cdff; flex-shrink: 0; }

.omni-input-row input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
}

.omni-input-row input::placeholder { color: #8290a8; }

.omni-esc {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 5px;
  cursor: pointer;
}

.omni-results {
  max-height: 220px;
  overflow-y: auto;
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.omni-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: #f1f5f9;
  font-family: inherit;
  cursor: pointer;
}

.omni-row:hover { background: rgba(96, 205, 255, 0.14); }
.omni-row-left { display: flex; align-items: center; gap: 9px; }

.omni-badge-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--c, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}

.omni-row-name { font-size: 0.82rem; font-weight: 500; }
.omni-row-bin { font-size: 0.7rem; color: #8e9bb0; }

.stage-caption {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Features Grid
   ========================================================================== */
.section { padding: 80px 0; }

.section-head {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 48px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  padding: 24px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.feature-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon svg { width: 18px; height: 18px; }

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.mini-mosaics { display: flex; gap: 6px; }

.tint-dots { display: flex; gap: 6px; }

.swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  background: var(--sw);
  cursor: pointer;
  padding: 0;
  transition: transform 0.14s ease;
}

.swatch:hover { transform: scale(1.2); }
.swatch.active { border-color: var(--text); }

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.feature-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.58;
}

/* ==========================================================================
   Centered Download Section
   ========================================================================== */
.download-section { padding: 48px 0 96px; }

.download-box {
  text-align: center;
  padding: 56px 28px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-icon {
  border-radius: 13px;
  margin-bottom: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.download-box h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.download-box p {
  margin: 8px 0 26px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.download-sub {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.copy-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface-hover);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.76rem;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.copy-pill:hover { border-color: var(--border-strong); color: var(--text); }
.copy-pill code { font-family: var(--font-mono); color: var(--text); }
.copy-pill span { color: var(--accent); font-weight: 600; }

.sha-link {
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.sha-link:hover { color: var(--text); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 26px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links { display: flex; gap: 18px; }
.footer-links a:hover { color: var(--text); }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 860px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero { padding: 48px 0 28px; }
  .feature-grid { grid-template-columns: 1fr; }
  .win11-stage { height: 430px; }
  .flyout-grid { grid-template-columns: repeat(3, 1fr); }
  .tray-time { display: none; }
  .stage-hud { top: 10px; right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
