/* Calm technical surfaces; the terminal remains the focal point. */
body[data-theme="pro"] {
  --paper: #0c1118;
  --paper-deep: #121a24;
  --amber: #8bdacb;
  --amber-soft: #b5c5db;
  --green: #b7ded5;
  --muted: #aab7c8;
  --line: #2a3544;
  background: #0c1118;
}
body[data-theme="pro"] .hero {
  background: radial-gradient(ellipse at 78% 40%, #23433b24, transparent 60%), linear-gradient(180deg, #101720, #0c1118);
}
body[data-theme="pro"] .site-header { background: #0c1118; border-color: var(--line); box-shadow: none; }
body[data-theme="pro"] .brand-mark { background: #b7ded5; box-shadow: none; border-radius: 6px; }
body[data-theme="pro"] h1,
body[data-theme="pro"] .section-heading h2,
body[data-theme="pro"] .lede { text-shadow: none; }
body[data-theme="pro"] h1 em { background: none; color: #8bdacb; -webkit-text-fill-color: currentColor; }
body[data-theme="pro"] .eyebrow { color: #b7ded5; border-color: #354c49; background: #15221f; box-shadow: none; }
body[data-theme="pro"] .eyebrow span { color: inherit; }
body[data-theme="pro"] :is(.feature-card,.product-shot,.detail-shot,.platform-list article,.command-table) {
  background: #131b25; border-color: #354150; border-radius: 10px;
  box-shadow: 0 16px 40px #00000022; backdrop-filter: none; -webkit-backdrop-filter: none;
}
body[data-theme="pro"] :is(.feature-card,.product-shot,.detail-shot,.platform-list article)::before { padding: 1px; opacity: .28; background: conic-gradient(from var(--neon-orbit), #354150 0% 65%, #8bdacb 80%, #354150 95%); animation-duration: 16s; }
body[data-theme="pro"] :is(.feature-card,.platform-list article)::after { content: none; }
body[data-theme="pro"] .product-shot { transform: none; box-shadow: 0 24px 60px #00000040; }
body[data-theme="pro"] .product-shot img { border-radius: 5px; }
body[data-theme="pro"] .feature-icon { text-shadow: none; }
body[data-theme="pro"] .feature-number { color: #aab7c8; }
body[data-theme="pro"] .section-index { color: #b7ded5; }
body[data-theme="pro"] :is(.marquee,.interface-section,.platforms,.final-callout) { background: #101720; border-color: var(--line); box-shadow: none; }
body[data-theme="pro"] :is(.button,.download-link) { border-radius: 6px; box-shadow: none; background: #8bdacb; border-color: #8bdacb; }
body[data-theme="pro"] :is(.button-primary,.button-light) { background: #b7ded5; border-color: #b7ded5; box-shadow: none; }
body[data-theme="pro"] .button-quiet { color: #e1e9f1; background: #17212c; border-color: #415062; box-shadow: none; }
body[data-theme="pro"] :is(.button,.download-link):hover { box-shadow: 0 5px 18px #00000035; }
body[data-theme="pro"] .theme-picker,
body[data-theme="pro"] .theme-picker select { background: #151e29; border-color: #354150; box-shadow: none; }
body[data-theme="pro"] .quick-facts { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.brew-install { margin-top: 2rem; max-width: 100%; }
.install-tabs { display: flex; gap: .5rem; margin-bottom: .65rem; flex-wrap: wrap; }
.install-tab { background: rgba(255, 255, 255, 0.05); border: 1px solid #3b4b5c; color: #91a6bf; padding: .35rem .75rem; border-radius: 6px; font: 600 .75rem/1.3 var(--mono); cursor: pointer; letter-spacing: .05em; transition: all .15s ease; }
.install-tab:hover { color: #e6edf5; border-color: #8bdacb; }
.install-tab.active { background: #1a2736; color: #8bdacb; border-color: #8bdacb; }
.rust-powered { display: inline-flex; align-items: center; gap: .45rem; margin-left: .2rem; padding: .25rem .65rem; border: 1px solid #5b463c; border-radius: 999px; background: rgba(210, 105, 30, .08); color: #d9a07f; font: 700 .68rem/1.3 var(--mono); letter-spacing: .055em; white-space: nowrap; }
.rust-mark { width: 1.25rem; height: 1.25rem; overflow: visible; fill: none; stroke: #e3a17c; stroke-width: 1.65; stroke-linecap: round; }
.rust-mark text { fill: #e3a17c; stroke: none; text-anchor: middle; font: 900 8px var(--mono); }
body[data-theme="archive"] .install-tab { border-color: #49534d; color: #49534d; }
body[data-theme="archive"] .install-tab.active { background: #f0f0eb; color: #755300; border-color: #755300; }
body[data-theme="archive"] .rust-powered { color: #755300; border-color: #755300; background: #f0f0eb; }
.interface-gallery { display: grid; gap: 2.5rem; }
.install-label { display: block; margin-bottom: .65rem; font: 600 .75rem/1.5 var(--mono); letter-spacing: .09em; color: var(--muted); }
.brew-command { display: flex; align-items: center; gap: .75rem; width: fit-content; max-width: 100%; padding: 1rem; border: 1px solid #3b4b5c; border-radius: 8px; background: #111b25; color: #e6edf5; cursor: pointer; text-align: left; }
.brew-command code { font: 500 .875rem/1.6 var(--mono); overflow-wrap: anywhere; min-width: 0; }
.terminal-prompt { color: #8bdacb; }
.copy-label { color: #aab7c8; font: 500 .75rem/1.5 var(--mono); margin-left: .5rem; }
.brew-command:hover { border-color: #8bdacb; }
.brew-command:focus-visible { outline: 2px solid #8bdacb; outline-offset: 4px; }
.brew-install + .hero-actions { margin-top: 1rem; }
.hero-actions { align-items: center; }
.hero-actions .source-note { flex: 1 1 260px; max-width: 38ch; margin: 0 0 0 .35rem; font-size: .78rem; line-height: 1.55; }
@media (min-width: 701px) {
  body .quick-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); text-align: center; justify-content: center; }
  body .quick-facts li { align-items: center; }
  body .marquee div { margin-inline: auto; }
}
@media (max-width: 420px) {
  .brew-command { gap: .5rem; padding: .85rem .65rem; width: 100%; }
  .brew-command code { font-size: .8125rem; }
  .copy-label { margin-left: 0; }
  .rust-powered { white-space: normal; }
  .hero-actions .source-note { max-width: none; margin: .35rem 0 0; }
}

/* An ambient file graph spans the viewport, beneath all page content. */
.file-network { display: none; }
body[data-theme="pro"] { isolation: isolate; }
body[data-theme="pro"] .file-network {
  display: block; position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none;
}
body[data-theme="pro"] .hero {
  background: linear-gradient(90deg, #0c1118bb, #0c111825 65%), radial-gradient(ellipse at 78% 40%, #23433b18, transparent 60%);
}
body[data-theme="pro"] :is(.interface-section,.platforms,.final-callout) { background: #101720c9; }

body[data-theme="pro"] .server-cloud { display: none; }
