/* ===== RS AI Hardware Store ===== */
:root {
  --teal: #2fa872;
  --offwhite: #f2f4f3;
  --navy: #0c2d35;
  --bg: #f2f3f4;
  --ink: #17282c;
  --muted: #5a6f74;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif; line-height: 1.55;
}
.michroma { font-family: 'Michroma', sans-serif; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.2; }

/* ---- Header ---- */
.site-header {
  background: var(--navy); border-top: 3px solid var(--teal);
  position: sticky; top: 0; z-index: 500;
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logotype {
  font-family: 'Michroma', sans-serif; text-decoration: none;
  letter-spacing: 0.28em; font-size: 17px; white-space: nowrap;
  display: flex; align-items: baseline;
}
.logo-rs { color: var(--teal); }
.logo-rest { color: var(--offwhite); }
.logo-sub { color: var(--muted); font-size: 9px; letter-spacing: 0.5em; margin-left: 10px; }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  color: #b9cdd0; text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 6px 10px; position: relative; transition: color .3s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px;
  height: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.quote-badge {
  background: var(--teal); color: #fff; border-radius: 10px;
  font-size: 11px; padding: 1px 7px; margin-left: 4px; font-weight: 700;
}
.nav-burger { display: none; background: none; border: 1px solid #3d5a61; color: #fff;
  font-size: 18px; border-radius: 6px; padding: 4px 10px; cursor: pointer; }

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 24px 20px 60px; }
.container.narrow { max-width: 760px; }
.page-hero { max-width: 1200px; margin: 0 auto; padding: 48px 20px 8px; }
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 10px; }
.section-title { margin: 44px 0 18px; font-size: 26px; }
.verified-note { color: var(--muted); font-size: 14px; }
.michroma-name { font-family: 'Michroma', sans-serif; font-size: clamp(22px, 3vw, 34px); }

/* ---- Cards ---- */
.card {
  background: #fff; border-radius: 14px; padding: 22px;
  box-shadow: 0 2px 10px rgba(12, 45, 53, .07);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(12, 45, 53, .13); }
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px;
}
.card-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--teal); background: #e6f4ed;
  border-radius: 6px; padding: 3px 9px; margin-bottom: 8px;
}
.product-card h3 { margin: 4px 0 10px; font-size: 20px; }
.product-card h3 a { color: var(--ink); text-decoration: none; }
.product-card h3 a:hover { color: var(--teal); }
.card-media { background: var(--navy); border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
.card-media img, .card-media .svg-slot svg { width: 100%; display: block; }
.card-media.big img { max-height: 340px; object-fit: contain; }
.photo-credit { font-size: 11px; color: #8fb0b5; padding: 5px 10px; background: var(--navy); }
.spec-mini { list-style: none; padding: 0; margin: 0 0 10px; font-size: 14px; }
.spec-mini li { padding: 3px 0; }
.hint { color: var(--muted); font-size: 13px; }
.card-price { font-size: 22px; font-weight: 800; margin: 6px 0; }
.todo-flag {
  background: #fff3cd; color: #8a6d1a; border: 1px solid #e7d391;
  font-size: 11px; font-weight: 700; border-radius: 5px; padding: 1px 7px;
  margin-left: 8px; vertical-align: middle;
}
.plain-words { font-size: 14px; background: #f4f9f6; border-left: 3px solid var(--teal);
  padding: 10px 12px; border-radius: 0 8px 8px 0; }
.card-video { margin: 10px 0; border-radius: 10px; overflow: hidden; aspect-ratio: 16/9; background: #000; }
.card-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.card-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.card-actions.center { justify-content: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 14px;
  border-radius: 8px; padding: 10px 18px; border: 0; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--teal); color: #fff; }
.btn-green:hover { background: #27935f; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-outline { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline-light { background: transparent; color: var(--offwhite); border: 1.5px solid var(--offwhite); }
.btn-wide { width: 100%; text-align: center; }
.btn-video { width: 100%; text-align: center; margin: 6px 0; }

/* ---- Detail page ---- */
.detail-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: start; }
.spec-full { margin: 0; }
.spec-row { padding: 12px 0; border-bottom: 1px solid #eef1f2; }
.spec-row dt { font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--teal); margin-bottom: 3px; }
.spec-row dd { margin: 0; }
.spec-row .hint { margin: 5px 0 0; }

/* ---- Model advisor ---- */
.model-card { margin-bottom: 22px; }
.model-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.model-head h2 { margin: 0; }
.math-box {
  background: var(--navy); color: var(--offwhite); border-radius: 10px;
  padding: 14px 18px; margin: 14px 0; font-size: 18px;
}
.math-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #8fb0b5; margin-bottom: 4px; }
.math-line { font-weight: 700; font-variant-numeric: tabular-nums; }
.rec-box { background: #f4f9f6; border: 1.5px solid var(--teal); border-radius: 10px; padding: 16px 18px; }
.rec-box.rec-tight { border-color: #d9a521; background: #fdf8ea; }
.rec-title { font-size: 17px; margin-bottom: 8px; }
.tight-warning { background: #fff3cd; border-left: 3px solid #d9a521; padding: 10px 12px;
  border-radius: 0 8px 8px 0; font-size: 14px; }

/* ---- Cluster box ---- */
.cluster-box {
  background: var(--navy); color: #cfe0e2; border-radius: 14px;
  padding: 20px 24px; margin: 22px 0;
}
.cluster-oneliner { color: #fff; font-size: 19px; font-weight: 700; margin: 0 0 8px; }

/* ---- Choose page ---- */
.choose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.reasoning li { margin-bottom: 8px; font-size: 14.5px; }

/* ---- Forms / requests ---- */
.quote-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.quote-form input, .quote-form textarea {
  width: 100%; margin-top: 5px; padding: 10px 12px; border: 1.5px solid #d5dde0;
  border-radius: 8px; font: inherit; font-weight: 400;
}
.quote-form input:focus, .quote-form textarea:focus { outline: none; border-color: var(--teal); }
.form-error { background: #fdecea; color: #90322c; border-radius: 8px; padding: 12px 16px; margin-bottom: 14px; }
.confirm-card { text-align: center; }
.req-number { font-family: 'Michroma', sans-serif; font-size: 30px; color: var(--teal); margin: 12px 0; letter-spacing: .1em; }
.build-echo { background: #f4f9f6; border-radius: 8px; padding: 12px; text-align: left; white-space: pre-wrap; }
.table-card { overflow-x: auto; }
.req-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.req-table th { text-align: left; border-bottom: 2px solid var(--navy); padding: 8px 10px; }
.req-table td { border-bottom: 1px solid #eef1f2; padding: 8px 10px; vertical-align: top; }
.req-no-cell { font-weight: 700; color: var(--teal); white-space: nowrap; }

/* ---- Glossary ---- */
.glossary-card { margin-bottom: 14px; }
.glossary-card h3 { margin: 0 0 6px; color: var(--navy); }

/* ---- Footer ---- */
.site-footer { background: var(--navy); color: #b9cdd0; margin-top: 40px; }
.footer-grid {
  max-width: 1200px; margin: 0 auto; padding: 44px 20px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; font-size: 14px;
}
.footer-grid h4 { color: #fff; margin: 0 0 10px; }
.footer-grid a { display: block; color: #b9cdd0; text-decoration: none; padding: 3px 0; }
.footer-grid a:hover { color: var(--teal); }
.footer-logo { font-size: 14px; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid #1d444d; text-align: center; padding: 14px; font-size: 12px; }

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===================== FLY-THROUGH ===================== */
#journey { height: 750vh; position: relative; background: #050505; }
body.no-webgl #journey { display: none; }
#stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#labels { position: absolute; inset: 0; overflow: hidden; }

.zone-word {
  position: absolute; font-family: 'Michroma', sans-serif; color: #2fa872;
  opacity: .07; white-space: nowrap; pointer-events: none; font-size: 120px;
  transform: translate(-50%, -50%); will-change: transform, opacity;
}
.node-label {
  position: absolute; transform: translate(-50%, -130%);
  color: var(--offwhite); cursor: pointer; text-align: center;
  will-change: transform, opacity; user-select: none;
  text-shadow: 0 2px 8px rgba(0,0,0,.8); pointer-events: auto;
}
.node-label .nl-name { font-family: 'Michroma', sans-serif; font-size: 13px; letter-spacing: .08em; }
.node-label .nl-price { font-size: 11px; color: #8fd4b8; }
.node-label:hover .nl-name { color: var(--teal); }

#intro-overlay, #final-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  pointer-events: none; transition: opacity .5s; padding: 20px;
}
#final-overlay { opacity: 0; }
#final-overlay.on { opacity: 1; pointer-events: auto; }
#final-overlay h2 { color: var(--offwhite); font-size: clamp(20px, 3vw, 34px); letter-spacing: .1em; }
.final-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
#decode-logo { font-size: clamp(26px, 5.5vw, 58px); letter-spacing: .3em; color: var(--offwhite); min-height: 1.3em; }
#decode-logo .g { color: var(--offwhite); }
#decode-logo .g.green { color: var(--teal); }
#decode-logo .g.scramble { opacity: .55; }
#intro-sub { color: #9fbcc1; font-size: clamp(13px, 1.6vw, 18px); margin-top: 14px; }
#scroll-hint { margin-top: 48px; color: #8fb0b5; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.drop-line { width: 2px; height: 44px; margin: 10px auto 0; background: linear-gradient(var(--teal), transparent);
  animation: dropline 1.6s infinite; transform-origin: top; }
@keyframes dropline { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

#hover-panel {
  position: absolute; width: 320px; background: rgba(8, 28, 34, .96);
  border: 1px solid var(--teal); border-radius: 12px; padding: 14px;
  color: var(--offwhite); font-size: 13px; z-index: 40;
  box-shadow: 0 10px 40px rgba(0,0,0,.6); will-change: transform;
}
#hover-panel .hp-media { border-radius: 8px; overflow: hidden; margin-bottom: 8px; background: #0c2d35; }
#hover-panel .hp-media img, #hover-panel .hp-media svg { width: 100%; display: block; }
#hover-panel .hp-credit { font-size: 10px; color: #8fb0b5; padding: 3px 6px; }
#hover-panel .hp-video { position: relative; margin: 8px 0; border-radius: 8px; overflow: hidden;
  aspect-ratio: 16/9; background: #000; cursor: pointer; }
#hover-panel .hp-video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
#hover-panel .hp-video iframe { width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 41px; pointer-events: none; }
#hover-panel h4 { font-family: 'Michroma', sans-serif; margin: 4px 0 8px; font-size: 14px; color: #fff; }
.hp-specs { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin-bottom: 8px; }
.hp-specs .k { color: #8fb0b5; }
.hp-specs .v { text-align: right; font-variant-numeric: tabular-nums; }
.hp-price { font-size: 18px; font-weight: 800; color: var(--teal); margin: 6px 0; }
.hp-note { color: #8fb0b5; font-size: 11px; margin-top: 8px; }

#progress-dots { position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 12px; z-index: 30; }
#progress-dots button { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #6f959b;
  background: transparent; cursor: pointer; padding: 0; transition: background .3s, border-color .3s; }
#progress-dots button.on { background: var(--teal); border-color: var(--teal); }

/* Background music: hidden 1px player + fixed toggle bottom-left. */

/* ---- Modal ---- */
#product-modal { position: fixed; inset: 0; z-index: 900; }
/* Nearly transparent backdrop — the other products stay visible behind it. */
#modal-backdrop { position: absolute; inset: 0; background: rgba(4, 16, 20, .12); }
/* Docked to the right edge instead of covering the center of the scene. */
#modal-panel { position: absolute; top: 50%; right: 24px; transform: translateY(-50%);
  width: min(400px, 88vw); max-height: 88vh; overflow-y: auto;
  background: rgba(10, 34, 42, .96); border: 2px solid var(--teal); border-radius: 14px;
  padding: 22px; color: var(--offwhite); box-shadow: 0 14px 50px rgba(0,0,0,.55); }
#modal-panel h3 { font-family: 'Michroma', sans-serif; letter-spacing: .06em; margin: 0 34px 12px 0; color: #fff; }
#modal-close { position: absolute; top: 10px; right: 14px; background: none; border: 0;
  color: var(--offwhite); font-size: 28px; cursor: pointer; }
#modal-close:hover { color: var(--teal); }
.modal-specs { display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; font-size: 14px; margin: 12px 0; }
.modal-specs .k { color: #8fb0b5; }
.modal-specs .v { text-align: right; font-variant-numeric: tabular-nums; }
.modal-price { font-size: 24px; font-weight: 800; color: var(--teal); }
.modal-blurb { font-size: 14px; color: #cfe0e2; }
.modal-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

/* ---- Home CTA ---- */
.home-cta { text-align: center; margin: 56px 0 20px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .detail-grid, .choose-grid, .footer-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy); flex-direction: column; padding: 10px 20px 16px; }
  .main-nav.open { display: flex; }
  .nav-burger { display: block; }
  .zone-word { font-size: 64px; }
  #hover-panel { width: 260px; }
}

/* ---- Background music player ---- */
.music-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: none;
  border-radius: 999px;
  background: var(--navy);
  color: var(--offwhite);
  font: 600 14px/1 'Inter', sans-serif;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(12, 45, 53, 0.28);
  transition: transform 0.15s ease, background 0.2s ease;
}
.music-toggle:hover { transform: translateY(-2px); }
.music-toggle.playing { background: var(--teal); }
.music-toggle .music-icon {
  font-size: 16px;
  display: inline-block;
}
.music-toggle.playing .music-icon {
  animation: music-pulse 1s ease-in-out infinite;
}
@keyframes music-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}
@media (max-width: 520px) {
  .music-toggle .music-label { display: none; }
  .music-toggle { padding: 12px; right: 14px; bottom: 14px; }
}

/* ===================================================================
   Shared dark theme — same palette as the Learn More page.
   Applied via <body class="dark"> on every page EXCEPT the home page.
   Palette: #000 background · #101010 cards · #76b900 accent · #e8e8e8 text
   =================================================================== */
/* Black like the Learn More page (#000), lightened 2% per design request. */
body.dark { background: #050505; color: #e8e8e8; }
body.dark h1, body.dark h2, body.dark h3, body.dark h4 { color: #fff; }
body.dark main a { color: #76b900; }
body.dark .page-hero p, body.dark .verified-note { color: #b7bfc2; }
body.dark .section-title { color: #fff; }
body.dark .hint { color: #9aa4a8; }
body.dark .plain-words { color: #cdd4d6; }
body.dark .photo-credit { color: #8a9599; }

body.dark .card {
  background: #101010; color: #e8e8e8;
  border: 1px solid #222; box-shadow: none;
}
body.dark .card:hover { box-shadow: 0 0 0 1px #2c3a00, 0 12px 32px rgba(118,185,0,.10); }
body.dark .card-tag { color: #76b900; }
body.dark .card-price { color: #fff; }
body.dark .card-media { background: #0a0f10; border: 1px solid #1c1c1c; }
body.dark .todo-flag { background: #3a2f00; color: #ffd75e; }

/* Buttons */
body.dark .btn-green { background: #76b900; color: #000; }
body.dark .btn-green:hover { background: #8fd415; }
body.dark .btn-navy { background: #fff; color: #000; }
body.dark .btn-outline { background: transparent; color: #fff; border-color: #555; }

/* Product detail */
body.dark .spec-row { border-bottom-color: #1e1e1e; }
body.dark .spec-row dt { color: #76b900; }

/* Model advisor */
body.dark .math-box { background: #141414; border: 1px solid #222; color: #e8e8e8; }
body.dark .math-label { color: #9aa4a8; }
body.dark .rec-box { background: rgba(118,185,0,.08); border-color: #76b900; }
body.dark .rec-box.rec-tight { background: #201a00; border-color: #d9a521; }
body.dark .tight-warning { background: #201a00; color: #ffd75e; }

/* Cluster box */
body.dark .cluster-box { background: #141414; border: 1px solid #222; color: #b7bfc2; }

/* Glossary */
body.dark .glossary-card h3 { color: #fff; }

/* Forms / quotes / requests */
body.dark .quote-form input, body.dark .quote-form textarea {
  background: #0d0d0d; color: #fff; border-color: #2a2a2a;
}
body.dark .quote-form input:focus, body.dark .quote-form textarea:focus { border-color: #76b900; }
body.dark .form-error { background: #2a0f0d; color: #ff9d94; }
body.dark .req-number { color: #76b900; }
body.dark .build-echo { background: #141414; color: #e8e8e8; }
body.dark .req-table th { border-bottom-color: #76b900; color: #fff; }
body.dark .req-table td { border-bottom-color: #1e1e1e; }
body.dark .req-no-cell { color: #76b900; }

/* ===================================================================
   UX additions — lite video embeds, skip link, focus states, breadcrumbs
   =================================================================== */

/* Click-to-load YouTube facade (thumbnail + play button; iframe loads on click) */
.yt-lite { position: relative; cursor: pointer; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-lite-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 48px; background: rgba(0, 0, 0, .75); border-radius: 12px;
  transition: background .2s;
}
.yt-lite-btn::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-40%, -50%);
  border-style: solid; border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
}
.yt-lite:hover .yt-lite-btn, .yt-lite:focus-visible .yt-lite-btn { background: #76b900; }
.yt-lite iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Keyboard accessibility: always-visible focus indicator */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid #76b900; outline-offset: 2px;
}

/* Skip-to-content link for keyboard/screen-reader users */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: #76b900; color: #000; font-weight: 700;
  padding: 10px 18px; border-radius: 0 0 10px 0; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* Breadcrumbs (product detail etc.) */
.crumbs { font-size: .85rem; margin-bottom: 10px; color: #9aa4a8; }
.crumbs a { text-decoration: none; }
.crumbs .sep { margin: 0 6px; opacity: .6; }

/* Form niceties */
.form-note { font-size: .82rem; color: #9aa4a8; margin-top: 10px; text-align: center; }

/* ===================================================================
   LM design tokens — the Learn More page's design language, shared by
   every page except Home's fly-through: green badge chips, kickers,
   and larger hero typography on the dark theme.
   =================================================================== */
.rs-badge {
  display: inline-block; background: #76b900; color: #0a0a0a;
  font-weight: 800; padding: 4px 12px; border-radius: 4px;
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 12px;
}
.rs-kicker {
  display: block; font-size: .8rem; text-transform: uppercase;
  letter-spacing: .1em; color: #76b900; font-weight: 800; margin-bottom: 6px;
}
body.dark .page-hero h1 { font-size: clamp(30px, 4.2vw, 48px); }
body.dark .page-hero { padding-top: 52px; }

/* ===================================================================
   Constellation look — graded sky, big watermark zone words, richer
   node labels (kicker + name + memory chip + price).
   =================================================================== */
#journey, #stage {
  background: linear-gradient(160deg, #04101d 0%, #072430 40%, #0a3226 78%, #0d3d2b 100%);
}
#gl { background: transparent; }

.zone-word { font-size: 220px; }
@media (max-width: 900px) { .zone-word { font-size: 96px; } }

.node-label { max-width: 260px; }
.node-label .nl-kicker {
  font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
  color: #76b900; font-weight: 700; opacity: .9;
}
.node-label .nl-name { font-family: 'Michroma', sans-serif; font-size: 15px; letter-spacing: .06em; }
.node-label .nl-meta { display: flex; gap: 7px; align-items: center; justify-content: center; margin-top: 3px; }
.node-label .nl-chip {
  min-width: 22px; height: 22px; padding: 0 4px; border-radius: 50%;
  background: #2fa872; color: #04121a; font-size: 9px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.node-label .nl-price { font-size: 12px; color: #8fd4b8; }

/* ===================================================================
   RS emblem — motorsport-badge treatment for the logotype: bold italic
   "RS" overlapping a skewed green block (our own mark, in brand colors).
   =================================================================== */
.logo-rs {
  position: relative; display: inline-block; z-index: 1;
  font-style: italic; font-weight: 800; letter-spacing: .1em;
  color: #fff; padding: 1px 6px 1px 9px;
}
.logo-rs::before {
  content: ""; position: absolute; z-index: -1;
  top: -3px; bottom: -3px; left: 0; right: 38%;
  background: linear-gradient(120deg, #2fa872, #76b900);
  transform: skewX(-18deg); border-radius: 2px;
  box-shadow: 0 2px 10px rgba(47, 168, 114, .35);
}
.footer-logo .logo-rs { color: #fff; }

/* ===================================================================
   RS emblem on the home intro logo — the giant decode animation's "RS"
   rides the same skewed green block as the header logotype. Sized in
   em so it scales with the responsive logo type.
   =================================================================== */
#decode-logo .rs-emblem {
  position: relative; display: inline-block; z-index: 1;
  font-style: italic; padding: 0 .14em 0 .18em; margin-right: .08em;
}
#decode-logo .rs-emblem::before {
  content: ""; position: absolute; z-index: -1;
  top: .04em; bottom: -.06em; left: 0; right: 42%;
  background: linear-gradient(120deg, #2fa872, #76b900);
  transform: skewX(-18deg); border-radius: .05em;
  box-shadow: 0 .08em .4em rgba(47, 168, 114, .45);
}
#decode-logo .rs-emblem .g,
#decode-logo .rs-emblem .g.green { color: #fff; }

/* ===================================================================
   Darker sky — the home fly-through gradient, each stop dimmed ~30%
   (same navy→teal→green sweep, lower brightness).
   =================================================================== */
#journey, #stage {
  background: linear-gradient(160deg, #030b14 0%, #051922 40%, #07231b 78%, #092b1e 100%);
}

/* ===================================================================
   HOME PAGE PALETTE — near-black + NVIDIA green (per design screenshot,
   2026-07-13). Scoped to body.home-page so all other pages keep their
   current look. Palette:
     Background #0A0A0A · Nav #111111 / border #222222
     Accent green #76B900 (black #000 text on green fills)
     Main text #FFFFFF / #EDEDED · Dim text #8A8A8A
     Dimmed constellation labels #4D5C33
     Secondary button: transparent, border #333333, text #CFCFCF
   =================================================================== */
body.home-page.dark { background: #050505; color: #EDEDED; }

/* ---- Header / nav bar ---- */
body.home-page .site-header {
  background: #111111;
  border-top: 1px solid #222222;
  border-bottom: 1px solid #222222;
}
body.home-page .logo-rest { color: #EDEDED; }
body.home-page .logo-sub  { color: #8A8A8A; }
/* Emblem block → solid brand green; "RS" letters stay light (they overhang
   the block onto the dark bar, so black text would vanish there). */
body.home-page .logo-rs::before {
  background: #76B900;
  box-shadow: 0 2px 10px rgba(118, 185, 0, .35);
}
body.home-page .main-nav a { color: #8A8A8A; }
body.home-page .main-nav a:hover,
body.home-page .main-nav a.active { color: #FFFFFF; }
body.home-page .main-nav a::after { background: #76B900; }
body.home-page .quote-badge { background: #76B900; color: #000; }
body.home-page .nav-burger { border-color: #333333; color: #EDEDED; }

/* ---- Buttons ---- */
body.home-page .btn-green { background: #76B900; color: #000; }
body.home-page .btn-green:hover { background: #8FD415; }
body.home-page .btn-outline-light {
  background: transparent; border-color: #333333; color: #CFCFCF;
}

/* ---- Fly-through sky ---- */
body.home-page #journey, body.home-page #stage { background: #050505; }

/* ---- Watermark zone words + constellation node labels ---- */
body.home-page .zone-word { color: #4D5C33; }
body.home-page .node-label .nl-kicker { color: #76B900; }
body.home-page .node-label .nl-name { color: #EDEDED; }
body.home-page .node-label:hover .nl-name { color: #76B900; }
body.home-page .node-label .nl-price { color: #8A8A8A; }
body.home-page .node-label .nl-chip { background: #76B900; color: #000; }

/* ---- Intro decode logo ---- */
body.home-page #decode-logo,
body.home-page #decode-logo .g { color: #EDEDED; }
body.home-page #decode-logo .g.green { color: #76B900; }
/* Intro "name in the middle": drop the green box behind RS — it was hiding
   the letter R. Render "RS" as plain brand-green text instead. */
body.home-page #decode-logo .rs-emblem::before { display: none; }
body.home-page #decode-logo .rs-emblem .g { color: #EDEDED; }
body.home-page #decode-logo .rs-emblem .g.green { color: #76B900; }
body.home-page #intro-sub,
body.home-page #scroll-hint { color: #8A8A8A; }
body.home-page .drop-line { background: linear-gradient(#76B900, transparent); }

/* ---- Final overlay ---- */
body.home-page #final-overlay h2 { color: #EDEDED; }

/* ---- Progress dots ---- */
body.home-page #progress-dots button { border-color: #333333; }
body.home-page #progress-dots button.on { background: #76B900; border-color: #76B900; }

/* ---- Hover panel ---- */
body.home-page #hover-panel { border-color: #76B900; }
body.home-page #hover-panel .hp-price { color: #76B900; }
body.home-page #hover-panel .hp-credit,
body.home-page #hover-panel .hp-note,
body.home-page .hp-specs .k { color: #8A8A8A; }

/* ---- Product modal ---- */
body.home-page #modal-panel { border-color: #76B900; }
body.home-page .modal-price { color: #76B900; }
body.home-page .modal-specs .k { color: #8A8A8A; }

/* ---- Music toggle ---- */
body.home-page .music-toggle { background: #111111; color: #EDEDED; border: 1px solid #222222; }
body.home-page .music-toggle.playing { background: #76B900; color: #000; }

/* ---- Shared inner-page container ----
   Badge, H1, subtitle and the content column live in ONE centered 1140px
   container and start on the same left edge; extra whitespace falls right. */
.page-wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.page-wrap .page-hero, .page-wrap .container {
  max-width: none; margin: 0; padding-left: 0; padding-right: 0;
}
.page-wrap .container.narrow { max-width: 740px; }
