:root {
  --bg-ground: #07080a;
  --text-primary: #ffffff;
  --text-muted: #9c9c9d;
  --text-soft: rgba(255, 255, 255, 0.72);
  --border-hairline: rgba(255, 255, 255, 0.1);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --warm-crimson: #ff2f3a;
  --warm-coral: #ff6b4a;
  --warm-amber: #ffb347;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-ground);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg-ground);
  overflow-x: hidden;
  position: relative;
}

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

code,
kbd {
  font-family: var(--font-mono);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

/* =========================================================
   LIVING ANIMATED WARM AURORA BACKGROUND (STRICTLY WARM)
   ========================================================= */
.aurora-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg-ground);
}

.aurora-blade {
  position: absolute;
  border-radius: 999px;
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

.aurora-blade-1 {
  width: 1180px;
  height: 360px;
  top: -85px;
  left: -10%;
  background: linear-gradient(
    112deg,
    rgba(255, 47, 58, 0) 6%,
    rgba(255, 47, 58, 0.42) 34%,
    rgba(255, 107, 74, 0.36) 62%,
    rgba(255, 179, 71, 0.24) 84%,
    rgba(255, 179, 71, 0) 98%
  );
  filter: blur(56px);
  animation: bladeDriftOne 17s ease-in-out infinite;
}

.aurora-blade-2 {
  width: 1040px;
  height: 310px;
  top: 40px;
  right: -14%;
  background: linear-gradient(
    248deg,
    rgba(255, 179, 71, 0) 8%,
    rgba(255, 179, 71, 0.28) 30%,
    rgba(255, 107, 74, 0.34) 56%,
    rgba(255, 47, 58, 0.4) 80%,
    rgba(255, 47, 58, 0) 98%
  );
  filter: blur(62px);
  animation: bladeDriftTwo 20s ease-in-out infinite;
}

.aurora-blade-3 {
  width: 900px;
  height: 280px;
  top: 230px;
  left: 16%;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(255, 47, 58, 0.34) 0%,
    rgba(255, 107, 74, 0.24) 44%,
    rgba(255, 179, 71, 0.14) 72%,
    rgba(7, 8, 10, 0) 95%
  );
  filter: blur(68px);
  animation: bladeBreathe 15.5s ease-in-out infinite;
}

.aurora-blade-4 {
  width: 820px;
  height: 230px;
  top: 460px;
  right: 8%;
  background: linear-gradient(
    130deg,
    rgba(255, 47, 58, 0) 10%,
    rgba(255, 47, 58, 0.26) 40%,
    rgba(255, 107, 74, 0.22) 68%,
    rgba(255, 179, 71, 0.16) 86%,
    rgba(7, 8, 10, 0) 98%
  );
  filter: blur(58px);
  animation: bladeDriftFour 22s ease-in-out infinite;
}

/* 0% and 100% locked at full bloom so a static frame is always complete */
@keyframes bladeDriftOne {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-14deg) scale(1);
    opacity: 0.94;
  }
  50% {
    transform: translate3d(52px, 28px, 0) rotate(-10deg) scale(1.06);
    opacity: 0.72;
  }
}

@keyframes bladeDriftTwo {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(16deg) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translate3d(-48px, 34px, 0) rotate(12deg) scale(1.07);
    opacity: 0.68;
  }
}

@keyframes bladeBreathe {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-6deg) scale(1);
    opacity: 0.88;
  }
  50% {
    transform: translate3d(-24px, -18px, 0) rotate(-3deg) scale(1.09);
    opacity: 0.62;
  }
}

@keyframes bladeDriftFour {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-18deg) scale(1);
    opacity: 0.82;
  }
  50% {
    transform: translate3d(38px, -26px, 0) rotate(-14deg) scale(1.05);
    opacity: 0.56;
  }
}

.aurora-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 74% 58% at 50% 34%, rgba(7, 8, 10, 0.22) 0%, rgba(7, 8, 10, 0.76) 72%, #07080a 100%),
    linear-gradient(to bottom, transparent 48%, rgba(7, 8, 10, 0.92) 86%, #07080a 100%);
}

.aurora-grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.055;
  mix-blend-mode: overlay;
}

@media (prefers-reduced-motion: reduce) {
  .aurora-blade {
    animation: none;
  }
}

/* =========================================================
   FLOATING TRANSLUCENT PILL NAV
   ========================================================= */
.floating-nav-wrap {
  position: sticky;
  top: 16px;
  z-index: 30;
  display: flex;
  justify-content: center;
  padding-inline: 16px;
  pointer-events: none;
}

.floating-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  width: fit-content;
  max-width: 100%;
  padding: 7px 8px 7px 14px;
  border-radius: 999px;
  background: rgba(14, 15, 18, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-hairline);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 16px 42px rgba(0, 0, 0, 0.58);
}

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

.nav-wordmark {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

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

.nav-center a,
.nav-muted-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.16s ease;
  white-space: nowrap;
}

.nav-center a:hover,
.nav-muted-link:hover {
  color: var(--text-primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e6e6e6;
  color: #1c1d1f;
  font-size: 13px;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: background 0.15s ease, transform 0.12s ease;
  white-space: nowrap;
}

.nav-cta-pill:hover {
  background: #ffffff;
  transform: translateY(-0.5px);
}

/* =========================================================
   CENTERED HERO (1440px DESKTOP VIEWPORT)
   ========================================================= */
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 0 42px;
}

.eyebrow-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border-hairline);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-soft);
  margin-bottom: 20px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--warm-amber), var(--warm-crimson));
  box-shadow: 0 0 10px rgba(255, 107, 74, 0.85);
}

/* Class-scoped with !important so external host CSS never overrides h1 */
.hero-headline {
  margin: 0 auto 18px !important;
  font-family: var(--font-sans) !important;
  font-size: 64px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
  color: #ffffff !important;
  max-width: 960px;
}

.hero-accent {
  background: linear-gradient(115deg, #ffb347 0%, #ff6b4a 46%, #ff2f3a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 auto 28px;
  max-width: 640px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.72);
}

/* =========================================================
   KEYCAP-RAISED OS DOWNLOAD BUTTON ROW
   ========================================================= */
.keycap-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.keycap-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: 8px;
  background: #e6e6e6;
  color: #2f3031;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  box-shadow:
    0 0 0 2px #07080a,
    0 0 16px rgba(255, 255, 255, 0.19),
    0 10px 24px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -2px 0 rgba(0, 0, 0, 0.22);
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.keycap-btn:hover {
  background: #f2f2f2;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 2px #07080a,
    0 0 22px rgba(255, 255, 255, 0.26),
    0 12px 28px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.keycap-btn:active {
  transform: translateY(1px);
  box-shadow:
    0 0 0 2px #07080a,
    0 0 10px rgba(255, 255, 255, 0.14),
    0 4px 10px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 1px 2px rgba(0, 0, 0, 0.14);
}

.install-caption {
  margin: 14px auto 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.caption-sep {
  opacity: 0.45;
}

.caption-link {
  color: rgba(255, 255, 255, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.caption-link:hover {
  color: #ffffff;
  border-color: var(--warm-coral);
}

/* Shortcut keycap chip (used in shortcut table) */
.shortcut-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-hairline);
  border-radius: 5px;
  padding: 2px 7px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* =========================================================
   SINGLE CENTERED GHOST PILL
   ========================================================= */
.ghost-pill {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.ghost-pill:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.04);
}

/* =========================================================
   BELOW-THE-FOLD SECTIONS (NEUTRAL OBSIDIAN + WARM ACCENTS)
   ========================================================= */
.section {
  padding: 40px 0 8px;
}

.copy-mini {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-hairline);
  border-radius: 6px;
  padding: 4px 10px;
  white-space: nowrap;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.copy-mini:hover {
  background: rgba(255, 107, 74, 0.18);
  border-color: rgba(255, 107, 74, 0.45);
}

.section-head {
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.section-head p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.glass-card {
  background: rgba(13, 14, 17, 0.76);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 20px;
}

.glass-card h3 {
  margin: 0 0 12px;
  font-size: 15.5px;
  font-weight: 600;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.os-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.fact-list,
.step-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-soft);
}

.fact-list strong,
.step-list strong {
  color: #ffffff;
  font-weight: 600;
}

.fact-list code,
.step-list code {
  font-size: 0.88em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  padding: 1px 5px;
  border-radius: 4px;
}

/* Install tabs */
.tab-bar {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(14, 15, 19, 0.8);
  border: 1px solid var(--border-subtle);
  margin-bottom: 12px;
}

.tab-btn {
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 7px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tab-btn.active {
  background: rgba(255, 47, 58, 0.14);
  border-color: rgba(255, 107, 74, 0.28);
  color: #ffffff;
}

.install-panel {
  display: none;
}

.install-panel.active {
  display: block;
}

/* Shortcut Table */
.table-wrap {
  overflow-x: auto;
}

.shortcut-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.shortcut-table th,
.shortcut-table td {
  text-align: left;
  padding: 7px 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.shortcut-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.shortcut-table td {
  color: var(--text-soft);
}

.shortcut-table tr:last-child td {
  border-bottom: none;
}

/* Donate Card */
.donate-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
}

.qr-trigger {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.14s ease;
}

.qr-trigger:hover {
  transform: scale(1.02);
}

.qr-trigger img {
  display: block;
  border-radius: 6px;
  object-fit: contain;
}

.qr-hint {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: #07080a;
}

.mono-accent {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: linear-gradient(115deg, var(--warm-amber), var(--warm-coral), var(--warm-crimson));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.donate-body h2 {
  margin: 4px 0 8px;
  font-size: 20px;
  font-weight: 600;
}

.donate-body p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--text-soft);
}

.donate-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.channel-box {
  padding: 12px;
  border-radius: 10px;
  background: rgba(7, 8, 10, 0.56);
  border: 1px solid var(--border-subtle);
}

.channel-head {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.channel-name {
  margin: 2px 0 8px;
  font-size: 13.5px;
  font-weight: 600;
}

.channel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.channel-foot code {
  font-size: 12px;
  color: var(--text-soft);
}

.warm-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: #07080a;
  background: linear-gradient(120deg, var(--warm-amber), var(--warm-coral));
  transition: filter 0.15s ease;
}

.warm-btn:hover {
  filter: brightness(1.08);
}

/* Footer */
.site-footer {
  margin-top: 40px;
  padding: 20px 0 34px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-muted);
}

.site-footer a:hover {
  color: #ffffff;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(7, 8, 10, 0.86);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-card {
  text-align: center;
}

.lightbox-card img {
  display: block;
  margin-inline: auto;
  background: #ffffff;
  padding: 10px;
  border-radius: 14px;
  max-width: min(320px, 82vw);
  height: auto;
}

.lightbox-meta {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}

.lightbox-sub {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 70;
  background: rgba(14, 15, 19, 0.94);
  color: #ffffff;
  border: 1px solid rgba(255, 107, 74, 0.45);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

/* =========================================================
   RESPONSIVE RULES
   ========================================================= */
@media (max-width: 960px) {
  .hero-headline {
    font-size: clamp(38px, 7vw, 54px) !important;
  }

  .nav-center {
    gap: 12px;
  }

  .two-col,
  .donate-card,
  .donate-channels {
    grid-template-columns: 1fr;
  }

  .qr-trigger {
    width: fit-content;
  }
}

@media (max-width: 720px) {
  .floating-nav {
    gap: 12px;
    padding: 6px 8px 6px 12px;
  }

  .nav-center {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 36px 0 28px;
  }

  .hero-headline {
    font-size: clamp(32px, 8.6vw, 44px) !important;
  }

  .hero-br {
    display: none;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .keycap-row {
    width: 100%;
    flex-direction: column;
  }

  .keycap-btn {
    width: 100%;
  }

  .row-arg {
    display: none;
  }
}
