/* ==========================================================================
   Cave Recorder (caverec) - Dark Heritage Console Website Stylesheet
   Shared across site/index.html and site/privacy/index.html
   Zero external fonts, zero trackers, pure self-contained studio CSS.
   ========================================================================== */

:root {
  --bg-chassis: #0f1115;
  --bg-deck: #171a21;
  --bg-faceplate: #1c2028;
  --bg-well: #0a0c10;
  --bg-elevated: #242934;
  --border-outer: #2c323d;
  --border-highlight: #3a4252;
  --walnut-dark: #22140c;
  --walnut-mid: #382214;
  --walnut-border: #52331f;
  --text-primary: #e6eaf0;
  --text-secondary: #b4bcc8;
  --text-muted: #848e9c;
  --accent-burgundy: #962836;
  --accent-burgundy-dark: #721c27;
  --accent-burgundy-bright: #d95362;
  --accent-emerald: #10b981;
  --accent-emerald-dim: rgba(16, 185, 129, 0.14);
  --accent-amber: #f59e0b;
  --accent-amber-dim: rgba(245, 158, 11, 0.14);
  --accent-cyan: #38bdf8;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg-chassis);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(150, 40, 54, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, #0c0e12 0%, #0f1115 100%);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.58;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent-burgundy-bright);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

a:hover {
  color: #f47280;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

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

code {
  font-size: 0.86em;
  background-color: var(--bg-well);
  border: 1px solid var(--border-outer);
  color: #f1f5f9;
  padding: 0.1rem 0.36rem;
  border-radius: 4px;
}

kbd.keycap {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76em;
  font-weight: 700;
  line-height: 1.2;
  color: #f8fafc;
  background: linear-gradient(180deg, #323846 0%, #222630 100%);
  border: 1px solid #4a5366;
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 0.12rem 0.4rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

/* ==========================================================================
   Sticky Top Hardware Deck Header (.top-deck)
   ========================================================================== */

.top-deck {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 56px;
  background: linear-gradient(180deg, #1f232c 0%, #15181f 100%);
  border-bottom: 1px solid var(--border-highlight);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0.4rem 1.5rem;
  gap: 0.75rem 1rem;
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
}

.brand-title {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
}

.brand-title code {
  font-size: 0.86em;
  color: var(--accent-burgundy-bright);
  background: var(--bg-well);
  border-color: var(--border-outer);
}

.brand-title:hover {
  color: #ffffff;
}

.deck-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.deck-btn {
  font-family: var(--font-mono);
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--text-primary);
  background: linear-gradient(180deg, #2c313c 0%, #20242d 100%);
  border: 1px solid var(--border-highlight);
  border-radius: 4px;
  padding: 0.34rem 0.72rem;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  cursor: pointer;
}

.deck-btn:hover {
  background: linear-gradient(180deg, #353b48 0%, #272c37 100%);
  border-color: #556075;
  color: #ffffff;
}

.deck-btn-primary {
  background: linear-gradient(180deg, var(--accent-burgundy) 0%, var(--accent-burgundy-dark) 100%);
  border-color: #b83848;
  color: #ffffff;
}

.deck-btn-primary:hover {
  background: linear-gradient(180deg, #ab3040 0%, #84212e 100%);
  border-color: var(--accent-burgundy-bright);
  color: #ffffff;
}

/* ==========================================================================
   Main Studio Console Container & Walnut Cheek Frame
   ========================================================================== */

.studio-shell {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.15rem 1.25rem 3.25rem;
  flex: 1;
}

.console-frame {
  background-color: var(--bg-deck);
  border: 1px solid var(--border-highlight);
  border-left: 8px solid var(--walnut-mid);
  border-right: 8px solid var(--walnut-mid);
  border-radius: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 42px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  margin-bottom: 2rem;
}

/* Top silk-screened hardware status strip inside console frame */
.chassis-silk-bar {
  background: linear-gradient(180deg, #14171d 0%, #101318 100%);
  border-bottom: 1px solid var(--border-outer);
  padding: 0.42rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.silk-cluster {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.rec-tally {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: #fca5a5;
  background: rgba(217, 83, 98, 0.14);
  border: 1px solid rgba(217, 83, 98, 0.4);
  padding: 0.1rem 0.46rem;
  border-radius: 3px;
  font-weight: 700;
}

.rec-tally-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  display: inline-block;
}

.ram-tally {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #6ee7b7;
  background: var(--accent-emerald-dim);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 0.1rem 0.46rem;
  border-radius: 3px;
  font-weight: 700;
}

.silk-spec {
  color: var(--text-secondary);
  font-weight: 600;
}

.silk-sep {
  color: var(--border-highlight);
}

/* Segmented mini LED meter decoration */
.led-meter-strip {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px 5px;
  background: var(--bg-well);
  border: 1px solid var(--border-outer);
  border-radius: 3px;
}

.led-seg {
  width: 5px;
  height: 10px;
  border-radius: 1px;
}

.led-seg.g {
  background-color: #10b981;
  box-shadow: 0 0 4px rgba(16, 185, 129, 0.45);
}

.led-seg.y {
  background-color: #f59e0b;
  box-shadow: 0 0 4px rgba(245, 158, 11, 0.45);
}

.led-seg.r {
  background-color: #ef4444;
}

.led-seg.off {
  background-color: #1e232b;
}

/* ==========================================================================
   Hero Faceplate Section (Balanced for Above-the-Fold 1440x900 Viewports)
   ========================================================================== */

.hero-faceplate {
  padding: 1.25rem 1.6rem 1.15rem;
  background: linear-gradient(180deg, #1c2028 0%, #161920 100%);
  border-bottom: 1px solid var(--border-outer);
}

.hero-top-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.35rem;
  align-items: center;
}

.hero-visual-well {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background-color: var(--bg-well);
  border: 1px solid var(--border-highlight);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.75);
}

.hero-app-icon {
  width: 82px;
  height: 82px;
  border-radius: 14px;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.65);
}

pre.logo {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(0.42rem, 0.62vw, 0.54rem);
  line-height: 1.2;
  color: var(--text-primary);
  text-align: left;
  overflow-x: auto;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-amber);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.hero-copy h1 {
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  line-height: 1.18;
  margin: 0 0 0.45rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.hero-copy h1 code {
  font-size: 0.82em;
  color: var(--accent-burgundy-bright);
  background: var(--bg-well);
  border-color: var(--border-highlight);
}

.hero-lead {
  margin: 0 0 0.55rem;
  color: var(--text-primary);
  font-size: 0.98rem;
  line-height: 1.5;
}

.hero-cave-note {
  margin: 0;
  padding: 0.48rem 0.8rem;
  background-color: rgba(10, 12, 16, 0.65);
  border-left: 3px solid var(--accent-amber);
  border-radius: 0 5px 5px 0;
  color: var(--text-secondary);
  font-size: 0.87rem;
  line-height: 1.46;
}

.hero-cave-note strong {
  color: var(--text-primary);
}

/* ==========================================================================
   Above-the-Fold Download Deck (#download)
   ========================================================================== */

.download-deck {
  padding: 1.15rem 1.6rem 1.3rem;
  background-color: var(--bg-deck);
}

.download-deck-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.download-deck-title-group {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.download-deck-title {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin: 0;
}

.version-badge {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: #fde68a;
  background: var(--accent-amber-dim);
  border: 1px solid rgba(245, 158, 11, 0.45);
  padding: 0.15rem 0.54rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.download-deck-meta {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Three Primary Platform Download Cards */
.platform-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 0.85rem;
}

.platform-card {
  background: linear-gradient(180deg, #212631 0%, #181c24 100%);
  border: 1px solid var(--border-highlight);
  border-radius: 7px;
  padding: 0.95rem 1.05rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  position: relative;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.platform-card:hover {
  border-color: #55627a;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.platform-card.is-detected {
  border-color: var(--accent-emerald);
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.25),
    0 10px 24px rgba(0, 0, 0, 0.5);
  background: linear-gradient(180deg, #232b36 0%, #181d25 100%);
}

.platform-card-top {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.platform-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.platform-name {
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.42rem;
}

.platform-arch {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-well);
  border: 1px solid var(--border-outer);
  padding: 0.08rem 0.4rem;
  border-radius: 3px;
}

.detected-pill {
  display: none;
  align-items: center;
  gap: 0.32rem;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6ee7b7;
  background: var(--accent-emerald-dim);
  border: 1px solid rgba(16, 185, 129, 0.45);
  padding: 0.1rem 0.42rem;
  border-radius: 3px;
}

.platform-card.is-detected .detected-pill {
  display: inline-flex;
}

.detected-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 6px var(--accent-emerald);
}

.platform-subtitle {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.42;
}

.download-cta-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.81rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(180deg, var(--accent-burgundy) 0%, var(--accent-burgundy-dark) 100%);
  border: 1px solid #b83848;
  border-radius: 5px;
  padding: 0.55rem 0.8rem;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.download-cta-btn:hover {
  background: linear-gradient(180deg, #b03242 0%, #872230 100%);
  border-color: var(--accent-burgundy-bright);
  color: #ffffff;
}

.platform-card.is-detected .download-cta-btn {
  background: linear-gradient(180deg, #aa2e3e 0%, #7d1f2b 100%);
  border-color: #d95362;
}

.download-cta-ext {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.28);
  padding: 0.08rem 0.36rem;
  border-radius: 3px;
}

/* Direct Manual & Release Notes Bar right below the 3 cards */
.manual-quick-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  background-color: var(--bg-well);
  border: 1px solid var(--border-outer);
  border-radius: 6px;
  padding: 0.55rem 0.9rem;
}

.manual-quick-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.quick-bar-link {
  font-family: var(--font-mono);
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-faceplate);
  border: 1px solid var(--border-highlight);
  border-radius: 4px;
  padding: 0.32rem 0.68rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.quick-bar-link:hover {
  border-color: var(--accent-burgundy-bright);
  color: #ffffff;
  background: var(--bg-elevated);
}

.quick-bar-link.primary-doc {
  border-color: rgba(56, 189, 248, 0.45);
  color: #e0f2fe;
}

.quick-bar-link.primary-doc:hover {
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.quick-bar-checksum {
  font-family: var(--font-mono);
  font-size: 0.77rem;
  color: var(--text-secondary);
}

.quick-bar-checksum:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Post-Download "Thank You & Quick Start" Panel (#download-thank-you) */
.thank-you-panel {
  display: none;
  margin-top: 0.9rem;
  background: linear-gradient(180deg, #162220 0%, #12181c 100%);
  border: 1px solid var(--accent-emerald);
  border-radius: 7px;
  padding: 0.95rem 1.15rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.thank-you-panel.is-open {
  display: block;
  animation: panelFadeIn 0.2s ease-out;
}

@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.thank-you-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.thank-you-title {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: #6ee7b7;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.thank-you-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.thank-you-toggle-all,
.thank-you-close {
  background: transparent;
  border: 1px solid var(--border-highlight);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
}

.thank-you-toggle-all:hover,
.thank-you-close:hover {
  color: #ffffff;
  border-color: var(--text-secondary);
}

/* By default, show only the clicked OS tip; expand to 3 columns if toggled */
.os-tips-list {
  display: block;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.os-tips-list.show-all-tips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.os-tip-item {
  display: none;
  background-color: rgba(10, 12, 16, 0.65);
  border: 1px solid var(--border-outer);
  border-radius: 5px;
  padding: 0.6rem 0.8rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.os-tip-item.active-os-tip {
  display: block;
  border-color: var(--accent-emerald);
  background-color: rgba(16, 185, 129, 0.08);
  color: var(--text-primary);
}

.os-tips-list.show-all-tips .os-tip-item {
  display: block;
}

.os-tip-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.18rem;
}

.thank-you-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.79rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.thank-you-links a {
  color: #6ee7b7;
}

.thank-you-links a:hover {
  color: #ecfdf5;
  text-decoration: underline;
}

/* ==========================================================================
   Section Headers & Studio Panels
   ========================================================================== */

.studio-section {
  margin-bottom: 2.25rem;
}

.section-header-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-outer);
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-burgundy-bright);
  display: block;
  margin-bottom: 0.2rem;
}

.section-title {
  font-size: 1.38rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   Concise Visual Studio Tour (#features)
   ========================================================================== */

.tour-showcase-well {
  background-color: var(--bg-well);
  border: 1px solid var(--border-highlight);
  border-radius: 8px;
  padding: 0.85rem;
  margin-bottom: 1.15rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.tour-tabs {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-outer);
}

.tour-tab-btn {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-faceplate);
  border: 1px solid var(--border-outer);
  border-radius: 4px;
  padding: 0.36rem 0.72rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tour-tab-btn:hover {
  color: #ffffff;
  border-color: var(--border-highlight);
  background: var(--bg-elevated);
}

/* High-contrast recessed studio emerald tab (>11:1 WCAG AAA contrast) */
.tour-tab-btn.active {
  background: linear-gradient(180deg, #16382e 0%, #102820 100%);
  border-color: var(--accent-emerald);
  color: #ecfdf5;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(52, 211, 153, 0.22);
}

.tour-stage-figure {
  margin: 0;
}

.tour-stage-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
  border: 1px solid var(--border-outer);
}

.tour-stage-caption {
  margin-top: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 0 0.25rem;
}

/* 2x2 Feature Grid (Clean console spec modules without duplicate thumbnails) */
.feature-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  background: linear-gradient(180deg, #1c2028 0%, #161920 100%);
  border: 1px solid var(--border-outer);
  border-radius: 8px;
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover {
  border-color: var(--border-highlight);
}

.feature-card.is-active-tour {
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.15);
}

.feature-card-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-emerald);
}

.feature-card h3 {
  font-size: 1.06rem;
  color: #ffffff;
  margin: 0.25rem 0 0.45rem;
}

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

.feature-card p strong {
  color: var(--text-primary);
}

.feature-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.77rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stage-preview-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-well);
  border: 1px solid var(--border-outer);
  border-radius: 4px;
  padding: 0.24rem 0.58rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.stage-preview-btn:hover,
.feature-card.is-active-tour .stage-preview-btn {
  color: #ecfdf5;
  border-color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.14);
}

/* ==========================================================================
   Feedback, Bug Reports & Voluntary Support (#feedback-support)
   ========================================================================== */

.free-uncrippled-banner {
  background: linear-gradient(180deg, #1b2029 0%, #151921 100%);
  border: 1px solid var(--border-highlight);
  border-left: 4px solid var(--accent-emerald);
  border-radius: 6px;
  padding: 0.85rem 1.15rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.free-uncrippled-banner p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.free-uncrippled-banner strong {
  color: #ffffff;
}

.support-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.support-card {
  background: linear-gradient(180deg, #1c2028 0%, #161920 100%);
  border: 1px solid var(--border-outer);
  border-radius: 8px;
  padding: 1.3rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.support-card:hover {
  border-color: var(--border-highlight);
}

#feedback-card:target {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35), 0 8px 24px rgba(0, 0, 0, 0.45);
}

#voluntary-support-card:target {
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.35), 0 8px 24px rgba(0, 0, 0, 0.45);
}

.support-card-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  margin-bottom: 0.28rem;
  display: block;
}

.support-card.voluntary-card .support-card-badge {
  color: var(--accent-amber);
}

.support-card h3 {
  font-size: 1.1rem;
  color: #ffffff;
  margin: 0 0 0.45rem;
}

.support-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.52;
}

.support-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.deck-btn-sponsor {
  border-color: rgba(245, 158, 11, 0.42);
}

.deck-btn-sponsor:hover {
  border-color: var(--accent-amber);
  background: linear-gradient(180deg, #2d251b 0%, #201a13 100%);
}

.sponsor-heart {
  color: var(--accent-amber);
}

/* ==========================================================================
   Privacy Policy & Documentation Prose Panel
   ========================================================================== */

.prose-panel {
  max-width: 820px;
  margin: 1rem auto 2.5rem;
  background-color: var(--bg-faceplate);
  border: 1px solid var(--border-highlight);
  border-left: 6px solid var(--walnut-mid);
  border-right: 6px solid var(--walnut-mid);
  border-radius: 8px;
  padding: 2.2rem 2.2rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
}

.prose-panel h1 {
  font-size: 1.85rem;
  margin: 0 0 0.3rem;
  color: #ffffff;
}

.prose-updated {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-outer);
}

.prose-panel h2 {
  font-size: 1.2rem;
  margin: 1.75rem 0 0.55rem;
  color: #f8fafc;
}

.prose-panel p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
}

.prose-panel p strong {
  color: var(--text-primary);
}

.prose-footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-outer);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border-outer);
  background-color: #0b0d11;
  padding: 1.4rem 1.5rem;
  margin-top: auto;
}

.site-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Breakpoints (1680px+ Desktop down to 375px Mobile)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-top-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual-well {
    justify-content: center;
  }
}

@media (max-width: 860px) {
  .platform-card-grid {
    grid-template-columns: 1fr;
  }

  .os-tips-list.show-all-tips {
    grid-template-columns: 1fr;
  }

  .feature-grid-2x2,
  .support-grid-2col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  pre.logo {
    display: none;
  }

  .hero-visual-well {
    justify-content: center;
    padding: 0.65rem;
  }

  .top-deck {
    padding: 0.5rem 0.9rem;
  }

  .studio-shell {
    padding: 0.9rem 0.75rem 2.5rem;
  }

  .console-frame {
    border-left-width: 4px;
    border-right-width: 4px;
  }

  .hero-faceplate,
  .download-deck {
    padding: 1.1rem 1rem;
  }

  .prose-panel {
    padding: 1.4rem 1.1rem;
  }
}

@media (max-width: 760px) {
  .top-deck {
    position: static;
  }
}
