/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
::selection { background: #0A0A0A; color: #fff; }

body {
  background: #FFFFFF;
  color: #0A0A0A;
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
img { display: block; max-width: 100%; }

/* ── Tokens ──────────────────────────────────── */
:root {
  --ink:     #0A0A0A;
  --ink-2:   #56564F;
  --ink-3:   #8A8A85;
  --ink-4:   #A6A6A0;
  --ink-5:   #52524E;
  --rule:    #ECECE9;
  --rule-2:  #E2E2DD;
  --bg-off:  #F4F4F1;
  --dark-bg: #0A0A0A;
  --mono:    'JetBrains Mono', 'Fira Mono', monospace;
}

/* ── Layout ──────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.grid-3-tight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

/* ── Typography helpers ───────────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.section-title {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-top: 14px;
}

.section-body {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  margin-top: 22px;
  max-width: 520px;
}

/* ── Nav ─────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  flex-shrink: 0;
}

.nav-logo span {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 17px;
}

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

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-5);
  white-space: nowrap;
}

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

.nav-links a.active {
  color: var(--ink);
  font-weight: 600;
}

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: opacity 0.15s, border-color 0.15s;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.btn-sm  { padding: 9px 18px;  font-size: 14px; }
.btn-md  { padding: 14px 26px; font-size: 15px; }
.btn-lg  { padding: 15px 28px; font-size: 16px; }

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { opacity: 0.82; }

.btn-outline {
  background: #fff;
  color: var(--ink);
  border: 1px solid #D6D6D1;
}
.btn-outline:hover { border-color: var(--ink); }

.btn-ghost-dark {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
}
.btn-ghost-dark:hover { border-color: rgba(255,255,255,0.6); }

.btn-white {
  background: #fff;
  color: var(--ink);
}
.btn-white:hover { opacity: 0.88; }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* ── Feature list ────────────────────────────── */
.feature-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  font-size: 17px;
  font-weight: 500;
}

.feature-list.on-dark li {
  border-top-color: rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.92);
}

.feature-list.on-off li {
  border-top-color: var(--rule-2);
}

/* ── Image placeholder ───────────────────────── */
.img-slot {
  background: var(--bg-off);
  border: 2px dashed #DEDED9;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-4);
  font-family: var(--mono);
  font-size: 13px;
  text-align: center;
  padding: 20px;
}

/* ── Hero (homepage) ─────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.drone-vision-bg {
  position: relative;
  z-index: 1;
  width: 100%;
  line-height: 0;
  background: #fff;
}

.drone-vision-bg svg {
  display: block;
  width: 100%;
  height: clamp(360px, 48vw, 640px);
}

html.dark .drone-vision-bg { filter: invert(1); }

.hero-caps-strip {
  background: rgba(255,255,255,0.86);
}
html.dark .hero-caps-strip {
  background: rgba(15,15,14,0.88);
}

.hero-ctas {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: center;
  align-items: center;
}

.hero-links {
  margin-top: 20px;
  display: flex;
  gap: 22px;
  justify-content: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
}

.hero-links a {
  border-bottom: 1px solid #D6D6D1;
  padding-bottom: 2px;
}
.hero-links a:hover { color: var(--ink); border-color: var(--ink); }

.hero-image-wrap {
  margin-top: clamp(46px, 6vw, 84px);
}

/* ── Page hero (inner pages) ─────────────────── */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 100px) 0 clamp(56px, 7vw, 88px);
  border-bottom: 1px solid var(--rule);
}

.page-hero .eyebrow { margin-bottom: 14px; }

.page-hero h1 {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  max-width: 820px;
}

.page-hero p {
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 620px;
  margin-top: 22px;
}

/* ── Sections ────────────────────────────────── */
.section {
  padding: clamp(80px, 11vw, 140px) 0;
}

.section-off { background: var(--bg-off); }
.section-dark { background: var(--dark-bg); color: #fff; }
.section-dark .eyebrow { color: rgba(255,255,255,0.5); }
.section-dark .section-body { color: rgba(255,255,255,0.66); }
.section-dark .section-title { color: #fff; }

/* ── Stat strip ──────────────────────────────── */
.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.stat-strip.on-dark {
  border-color: rgba(255,255,255,0.14);
}

.stat-item {}

.stat-num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 6px;
}

.section-dark .stat-label { color: rgba(255,255,255,0.45); }

/* ── Product cards ───────────────────────────── */
.product-card {
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-card-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.product-card h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.product-price {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.product-price .price-sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-3);
  font-family: var(--mono);
  letter-spacing: 0;
}

.product-desc {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
}

.product-features {
  font-size: 14px;
  color: var(--ink-5);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.product-features li svg { flex-shrink: 0; margin-top: 2px; }

.product-card.featured {
  background: var(--ink);
  color: #fff;
  border-color: transparent;
}

.product-card.featured .product-card-tag { color: rgba(255,255,255,0.5); }
.product-card.featured .product-desc { color: rgba(255,255,255,0.7); }
.product-card.featured .product-features { color: rgba(255,255,255,0.85); }
.product-card.featured .product-price { color: #fff; }

/* ── Kit includes ────────────────────────────── */
.kit-includes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.kit-item {
  padding: 24px;
  background: var(--bg-off);
  border-radius: 16px;
}

.kit-item-icon {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.kit-item h4 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.kit-item p {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* ── Repo cards ──────────────────────────────── */
.repo-card {
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.15s;
}

.repo-card:hover { border-color: #BDBDB7; }

.repo-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.repo-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.repo-stars {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
}

.repo-desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  flex: 1;
}

.repo-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.repo-lang {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-5);
  background: var(--bg-off);
  border-radius: 999px;
  padding: 3px 10px;
}

.repo-license {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}

/* ── Why OSS cards ───────────────────────────── */
.why-card {
  padding: 32px;
  border: 1px solid var(--rule);
  border-radius: 16px;
}

.why-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ── Process steps ───────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
}

.step {
  padding: 32px 28px;
  border-right: 1px solid var(--rule);
  position: relative;
}

.step:last-child { border-right: none; }

.step-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}

.step h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ── Industry grid ───────────────────────────── */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
}

.industry-cell {
  background: #fff;
  padding: 32px;
}

.section-off .industry-grid { background: var(--rule-2); }
.section-off .industry-cell { background: var(--bg-off); }

.industry-cell h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.industry-cell p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ── Terminal card ───────────────────────────── */
.terminal {
  background: #111110;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.terminal-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
}

.terminal-title {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.terminal-body {
  padding: 22px 20px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 2;
  color: rgba(255,255,255,0.78);
}

.t-prompt { color: rgba(255,255,255,0.38); }
.t-arrow  { color: #fff; }
.t-comment { color: rgba(255,255,255,0.38); margin-top: 10px; display: block; }

/* ── Video cards ─────────────────────────────── */
.video-featured {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
}

.video-featured-thumb {
  width: 100%;
  height: clamp(320px, 46vw, 580px);
  background: #1A1A1A;
  display: block;
  object-fit: cover;
  border-radius: 22px;
}

.video-featured-placeholder {
  width: 100%;
  height: clamp(320px, 46vw, 580px);
  background: #1A1A1A;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-family: var(--mono);
  font-size: 13px;
  border: 2px dashed rgba(255,255,255,0.1);
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.play-lg {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

.play-sm {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.62), transparent);
  pointer-events: none;
}

.video-caption-title {
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.video-caption-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  margin-top: 4px;
  max-width: 480px;
}

.video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.vtag {
  font-family: var(--mono);
  font-size: 11px;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  padding: 4px 10px;
}

.chip {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-5);
  background: var(--bg-off);
  border-radius: 999px;
  padding: 4px 10px;
}

.video-card {
  cursor: pointer;
}

.video-card-thumb {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.video-card-thumb-img {
  width: 100%;
  height: 200px;
  background: #1A1A1A;
  display: block;
  object-fit: cover;
  border-radius: 16px;
}

.video-card-placeholder {
  width: 100%;
  height: 200px;
  background: var(--bg-off);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-4);
  font-family: var(--mono);
  font-size: 12px;
  border: 2px dashed #DEDED9;
}

.video-card-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 14px;
  margin-bottom: 4px;
}

.video-card-desc {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.5;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.community-card {
  border-radius: 16px;
  overflow: hidden;
}

.community-attr {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 8px;
}

/* ── World cards ─────────────────────────────── */
.world-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.world-card-preview {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 220px;
  background: #0E1A12;
  transition: opacity 0.18s;
}

.world-card:hover .world-card-preview { opacity: 0.88; }

.world-enter {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(255,255,255,0.92);
  color: #0A0A0A;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 7px 13px;
  border-radius: 999px;
}

.world-card-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 14px;
  margin-bottom: 4px;
}

.world-card-desc {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* ── Section sub-header ──────────────────────── */
.section-sub-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.section-sub-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.025em;
}

/* ── CTA band ────────────────────────────────── */
.cta-band {
  padding: clamp(80px, 11vw, 140px) 0;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(40px, 6.5vw, 92px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.cta-band p {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-2);
  max-width: 560px;
  margin: 22px auto 0;
  line-height: 1.5;
}

.cta-band-btns {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: center;
}

/* ── Price display ───────────────────────────── */
.price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
}

.price-from {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.price-big {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* ── Footer ──────────────────────────────────── */
footer {
  border-top: 1px solid var(--rule);
  padding: clamp(56px, 7vw, 84px) 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
}

.footer-brand {
  grid-column: 1 / -1;
  max-width: 340px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-logo span {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 17px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.6;
  margin-top: 14px;
}

.footer-col-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 16px;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 15px;
  color: #3A3A36;
}

.footer-col-links a:hover { color: var(--ink); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-4);
  font-family: var(--mono);
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .two-col { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--rule); }
  .step:last-child { border-bottom: none; }
  .footer-brand { grid-column: 1 / -1; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .price-block { flex-direction: column; align-items: flex-start; }
}

/* ── Dark mode toggle button ─────────────────── */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  flex-shrink: 0;
  transition: color 0.15s, border-color 0.15s;
  padding: 0;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink-3); }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }

/* ── Dark mode ───────────────────────────────── */
html.dark {
  color-scheme: dark;
  --ink:    #F0F0ED;
  --ink-2:  #A8A8A2;
  --ink-3:  #686864;
  --ink-4:  #4E4E4A;
  --ink-5:  #9A9A94;
  --rule:   #2C2C2A;
  --rule-2: #232321;
  --bg-off: #161615;
  --dark-bg: #050504;
}

html.dark ::selection { background: #F0F0ED; color: #0A0A0A; }

html.dark body {
  background: #0F0F0E;
  color: #F0F0ED;
}

html.dark .nav {
  background: rgba(15,15,14,0.88);
}

html.dark .theme-toggle .icon-sun  { display: block; }
html.dark .theme-toggle .icon-moon { display: none; }

html.dark .btn-dark {
  background: #F0F0ED;
  color: #0A0A0A;
}

html.dark .btn-outline {
  background: transparent;
  border-color: #3A3A38;
  color: #F0F0ED;
}

html.dark .btn-outline:hover { border-color: #F0F0ED; }

html.dark .btn-white { color: #0A0A0A; }

html.dark .industry-cell { background: #0F0F0E; }
html.dark .section-off .industry-cell { background: #161615; }

html.dark .kit-item-icon {
  background: #2C2C2A;
  box-shadow: none;
}

html.dark .footer-col-links { color: #9A9A94; }

html.dark .hero-links a { border-bottom-color: #3A3A38; }

html.dark .img-slot {
  background: #161615;
  border-color: #2C2C2A;
}

html.dark .product-card.featured {
  background: #F0F0ED;
  color: #0A0A0A;
  border-color: transparent;
}
html.dark .product-card.featured .product-card-tag { color: rgba(10,10,10,0.5); }
html.dark .product-card.featured .product-desc     { color: rgba(10,10,10,0.7); }
html.dark .product-card.featured .product-features { color: rgba(10,10,10,0.85); }
html.dark .product-card.featured .product-price    { color: #0A0A0A; }

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]):not(.dark) { /* auto-apply if JS hasn't run yet */ }
}
