@font-face {
  font-family: 'Chakra Petch';
  src: url('../assets/fonts/chakra-petch-latin-ext-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Chakra Petch';
  src: url('../assets/fonts/chakra-petch-latin-ext-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-latin-ext.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --bg: #05070B;
  --bg-alt: #080B12;
  --surface: #0D121D;
  --surface-2: #121826;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #F8FAFC;
  --text-muted: #94A3B8;
  --amber: #F59E0B;
  --amber-deep: #D97706;
  --cyan: #06B6D4;
  --emerald: #10B981;
  --red: #EF4444;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Chakra Petch', 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
}

body.landing-body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

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

code {
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1px 6px;
  border-radius: 5px;
  color: #E2E8F0;
}

.container {
  width: min(1220px, 92vw);
  margin: 0 auto;
}

/* Returning Session Ribbon */
.saved-session-ribbon {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.14), rgba(6, 182, 212, 0.14));
  border-bottom: 1px solid rgba(16, 185, 129, 0.32);
  padding: 8px 0;
  font-size: 13px;
}
.ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.ribbon-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #D1FAE5;
}
.ribbon-info strong {
  color: #34D399;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
}
.ribbon-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-ribbon-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #10B981;
  color: #04130D;
  font-weight: 700;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 8px;
}
.btn-ribbon-clear {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-muted);
  border-radius: 8px;
  padding: 4px 6px;
  cursor: pointer;
  display: inline-flex;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(5, 7, 11, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-logo img {
  border-radius: 9px;
  object-fit: cover;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.brand-title strong {
  color: var(--amber);
}
.brand-sub {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.main-nav a:hover {
  color: var(--text);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-lg {
  padding: 13px 20px;
  font-size: 14.5px;
  border-radius: 12px;
}
.btn small {
  font-weight: 600;
  opacity: 0.85;
}
.btn-amber {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #090A0F;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.28);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn-dark {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: 9px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer {
  padding: 14px 20px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-drawer[hidden] {
  display: none !important;
}
.mobile-drawer a {
  padding: 8px 4px;
  font-weight: 600;
  color: var(--text-muted);
}
.drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 6px;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 54px 0 44px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.14;
  pointer-events: none;
}
.hero-glow-amber {
  top: -180px;
  left: -120px;
  background: var(--amber);
}
.hero-glow-cyan {
  top: -120px;
  right: -140px;
  background: var(--cyan);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
}

.release-pill-row {
  margin-bottom: 16px;
}
.release-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  font-size: 12.5px;
  color: #CBD5E1;
}
.pill-badge {
  background: rgba(245, 158, 11, 0.2);
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.4);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.08;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.grad-text {
  background: linear-gradient(90deg, #F59E0B 0%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  color: var(--text-muted);
  font-size: 15.5px;
  margin: 0 0 22px;
  max-width: 580px;
}
.hero-desc strong {
  color: var(--text);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

/* Quick Code Connect */
.quick-connect-box {
  background: rgba(13, 18, 29, 0.9);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 22px;
  max-width: 540px;
}
.qc-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: #E2E8F0;
  margin-bottom: 10px;
}
.qc-input-wrap {
  display: flex;
  align-items: stretch;
  background: #060911;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  overflow: hidden;
}
.qc-prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.qc-input-wrap input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 10px 12px;
  text-transform: uppercase;
}
.btn-qc-submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #06B6D4 0%, #0284C7 100%);
  color: #FFFFFF;
  border: none;
  padding: 0 16px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.qc-hint {
  margin: 8px 0 0;
  font-size: 11.5px;
  color: var(--text-muted);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--text);
}
.stat-item span {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Right Stage Visual */
.device-stage {
  position: relative;
  padding-bottom: 24px;
}
.stage-desktop-frame {
  background: #0A0E17;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}
.frame-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: #0F1522;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-muted);
}
.dots {
  display: flex;
  gap: 5px;
}
.dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.frame-live {
  background: rgba(16, 185, 129, 0.16);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 1px 7px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 10px;
}

.showcase-real-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.synthetic-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 1fr;
  gap: 10px;
  padding: 14px;
  background: radial-gradient(circle at 50% 0%, #111827 0%, #070A10 85%);
}
.sp-col {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px;
}
.sp-head {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.sp-bar-row {
  margin-bottom: 7px;
  font-size: 9px;
}
.sp-bar-row span {
  color: var(--text-muted);
}
.sp-bar-row em {
  font-style: normal;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 10px;
}
.sp-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  margin: 3px 0 2px;
  overflow: hidden;
}
.sp-bar i {
  display: block;
  height: 100%;
  background: var(--amber);
}
.sp-rpm-leds {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 4px;
  margin-bottom: 12px;
}
.sp-rpm-leds i {
  height: 6px;
  border-radius: 3px;
}
.sp-rpm-leds i.g { background: #10B981; box-shadow: 0 0 8px #10B981; }
.sp-rpm-leds i.a { background: #F59E0B; box-shadow: 0 0 8px #F59E0B; }
.sp-rpm-leds i.r { background: #EF4444; box-shadow: 0 0 8px #EF4444; }
.sp-gear-speed {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8px;
  margin-bottom: 10px;
}
.sp-box {
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  background: rgba(0, 0, 0, 0.55);
}
.sp-gear { border: 1px solid rgba(245, 158, 11, 0.45); }
.sp-speed { border: 1px solid rgba(6, 182, 212, 0.45); }
.sp-box span {
  display: block;
  font-size: 8.5px;
  color: var(--text-muted);
}
.sp-box strong {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.1;
}
.sp-gear strong { color: var(--amber); }
.sp-speed strong { color: #FFFFFF; }
.sp-mfd {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px;
  border-radius: 8px;
}
.sp-mfd small { display: block; font-size: 8px; color: var(--text-muted); }
.sp-mfd b { font-size: 10px; font-family: var(--font-display); color: #38BDF8; }
.sp-btn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.sp-btn-grid span {
  font-size: 7.5px;
  font-weight: 700;
  text-align: center;
  padding: 7px 2px;
  border-radius: 6px;
  background: #141B29;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
}
.sp-btn-grid span.on-g { border-color: rgba(16, 185, 129, 0.55); color: #34D399; }
.sp-btn-grid span.on-r { border-color: rgba(239, 68, 68, 0.55); color: #FCA5A5; }
.sp-btn-grid span.on-c { border-color: rgba(6, 182, 212, 0.55); color: #67E8F9; }

.stage-floating-carplay {
  position: absolute;
  right: 14px;
  bottom: 0;
  width: min(310px, 86%);
  background: rgba(13, 18, 29, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
}
.sfc-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: #E2E8F0;
  margin-bottom: 8px;
}
.sfc-head em {
  margin-left: auto;
  font-style: normal;
  font-size: 9.5px;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.14);
  padding: 1px 6px;
  border-radius: 5px;
}
.sfc-body {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sfc-thumb {
  width: 48px;
  height: 34px;
  border-radius: 7px;
  background: linear-gradient(135deg, #1E293B, #0F172A);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sfc-meta strong {
  display: block;
  font-size: 12px;
}
.sfc-meta span {
  font-size: 10.5px;
  color: var(--text-muted);
}

/* Arch Strip */
.arch-strip {
  padding: 12px 0 32px;
}
.arch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.arch-card {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.arch-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.arch-local .arch-icon { background: rgba(16, 185, 129, 0.14); color: var(--emerald); }
.arch-cloud .arch-icon { background: rgba(6, 182, 212, 0.14); color: var(--cyan); }
.arch-info h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 16px;
}
.arch-info p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 64px 0;
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-header {
  max-width: 720px;
  margin-bottom: 34px;
}
.section-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 8px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 10px;
}
.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* Ecosystem Cards (3 columns x 2 rows = perfect symmetry) */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.eco-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.eco-featured {
  border-color: rgba(245, 158, 11, 0.45);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, var(--surface) 45%);
}
.eco-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.eco-badge {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}
.badge-amber { background: rgba(245, 158, 11, 0.16); color: var(--amber); }
.badge-red { background: rgba(239, 68, 68, 0.16); color: #F87171; }
.badge-cyan { background: rgba(6, 182, 212, 0.16); color: #38BDF8; }
.badge-emerald { background: rgba(16, 185, 129, 0.16); color: #34D399; }
.badge-purple { background: rgba(168, 85, 247, 0.16); color: #C084FC; }
.badge-muted { background: rgba(148, 163, 184, 0.14); color: #CBD5E1; }

.eco-tag {
  font-size: 11px;
  color: var(--text-muted);
}
.eco-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
}
.eco-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
}
.eco-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: #CBD5E1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.eco-footer {
  margin-top: auto;
  padding-top: 6px;
}
.eco-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--amber);
}

/* Features Matrix (3 x 2 symmetry) */
.features-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.feature-group h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 16.5px;
}
.feature-group ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* Gallery */
.gallery-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.g-tab {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 10px;
  padding: 10px 8px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}
.g-tab.active, .g-tab:hover {
  border-color: rgba(245, 158, 11, 0.5);
  color: var(--text);
  background: rgba(245, 158, 11, 0.1);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.shot-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.shot-card:hover {
  border-color: rgba(6, 182, 212, 0.45);
  transform: translateY(-2px);
}
.shot-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #070B13;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.shot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shot-placeholder {
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}
.shot-placeholder strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 15px;
}
.shot-placeholder code {
  font-size: 11px;
  color: var(--cyan);
}
.shot-caption {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
}
.shot-caption strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 3px;
}
.shot-caption span {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* GitHub-Style Releases Card */
.release-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 24px;
}
.release-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.release-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.badge-latest {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34D399;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
}
.badge-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  background: rgba(245, 158, 11, 0.16);
  color: var(--amber);
  padding: 2px 9px;
  border-radius: 6px;
}
.badge-date {
  font-size: 12px;
  color: var(--text-muted);
}
.release-title-block h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 21px;
}
.release-summary {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
  max-width: 720px;
}
.release-changelog {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.release-changelog h4 {
  margin: 0 0 10px;
  font-size: 14px;
  font-family: var(--font-display);
}
.release-changelog ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
  color: #CBD5E1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.assets-panel {
  margin-top: 18px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  overflow: hidden;
  background: #080C14;
}
.assets-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
}
.assets-head h4 {
  margin: 0;
  font-size: 13.5px;
}
.assets-sec-note {
  font-size: 11.5px;
  color: #34D399;
}
.asset-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.asset-row:last-child {
  border-bottom: none;
}
.asset-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.asset-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  color: #38BDF8;
}
.asset-name:hover {
  text-decoration: underline;
}
.asset-sub {
  font-size: 12px;
  color: var(--text-muted);
}
.asset-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.asset-size {
  font-size: 12px;
  color: var(--text-muted);
  font-family: ui-monospace, monospace;
}
.btn-sha-copy {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: #CBD5E1;
  font-size: 11px;
  font-family: ui-monospace, monospace;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
}
.btn-asset-dl {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 7px;
}
.asset-loading {
  padding: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.release-history {
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
}
.release-history summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 13.5px;
  color: #CBD5E1;
}
.history-items {
  display: grid;
  gap: 12px;
  padding-top: 12px;
}
.h-item {
  border-top: 1px solid var(--border);
  padding-top: 10px;
}
.h-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  font-size: 13px;
}
.h-meta strong {
  font-family: var(--font-display);
  color: var(--amber);
}
.h-item p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--amber);
  margin-bottom: 8px;
}
.step-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
}
.step-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 26px 0;
  background: #04060A;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
}
.footer-brand span {
  font-size: 12px;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--text);
}

/* Lightbox Modal */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 6, 12, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox-overlay[hidden] {
  display: none !important;
}
.lightbox-card {
  width: min(980px, 94vw);
  max-height: 90vh;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.lightbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.lightbox-head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
}
.lightbox-head span {
  font-size: 12.5px;
  color: var(--text-muted);
}
.lightbox-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: 9px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-body {
  padding: 16px;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.lightbox-body img {
  max-width: 100%;
  max-height: 74vh;
  border-radius: 10px;
}

.landing-toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 99999;
  background: #0F172A;
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.45);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .ecosystem-grid,
  .features-matrix,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-tabs {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .main-nav,
  .header-cta .btn {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .arch-grid,
  .ecosystem-grid,
  .features-matrix,
  .gallery-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .synthetic-hero {
    grid-template-columns: 1fr;
  }
}

/* Footer Legal & Non-Affiliation Disclaimer Bar */
.footer-links {
  flex-wrap: wrap;
}
.footer-divider {
  width: 1px;
  height: 14px;
  background: var(--border-strong);
  align-self: center;
}
.footer-disclaimer-bar {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-muted);
}
.footer-disclaimer-bar a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Standalone Legal Pages (/privacy, /terms, /disclaimer) */
.legal-main {
  padding: 48px 0 64px;
  min-height: calc(100vh - 180px);
}
.legal-hero {
  max-width: 820px;
  margin-bottom: 28px;
}
.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.15;
  margin: 0 0 10px;
}
.legal-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
.legal-nav-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 720px;
  margin-bottom: 28px;
}
.legal-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  text-align: center;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.legal-pill:hover {
  color: var(--text);
  border-color: var(--border-strong);
}
.legal-pill.active {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.45);
  color: var(--amber);
}
.legal-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 880px;
}
.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
}
.legal-card h2 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--text);
}
.legal-card p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.65;
  color: #CBD5E1;
}
.legal-card p:last-child {
  margin-bottom: 0;
}
.legal-card ul {
  margin: 8px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13.8px;
  line-height: 1.6;
  color: #CBD5E1;
}
.legal-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 5px;
  color: #38BDF8;
}
.legal-callout {
  border-color: rgba(245, 158, 11, 0.35);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.06) 0%, var(--surface) 100%);
}
@media (max-width: 640px) {
  .legal-nav-pills {
    grid-template-columns: 1fr;
  }
  .legal-card {
    padding: 18px;
  }
  .footer-divider {
    display: none;
  }
}

