:root { --bg: #0c0913; --rail: rgba(14, 10, 21, .72); --panel: rgba(20, 15, 29, .38); --line: #2a2039; --text: #c8bedc; --dim: #8a7ea0; --bright: #ece6f7; --wave: #a35cf0; --accent: #e04cd8; --green: #7ad69a; }
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--bright); }

/* the scenes behind everything, as the loading veil shows them: one fading into the next, pushed in slowly */
/* stills at full strength so a fade never dips; the dim lives in the shade, since opacity on the frame redraws the whole screen offscreen each frame */
.stills { position: fixed; inset: 0; overflow: hidden; contain: strict; }
.stills img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 2.6s cubic-bezier(.45, 0, .55, 1); will-change: opacity, transform; animation: push 16s linear both; }
.stills img.on { opacity: 1; z-index: 1; }
.stills img.under { opacity: 1; }
@keyframes push { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.shade { position: fixed; inset: 0; background: linear-gradient(rgba(12, 9, 19, .38), rgba(12, 9, 19, .38)), linear-gradient(90deg, var(--bg) 0%, rgba(12, 9, 19, .9) 30%, rgba(12, 9, 19, .55) 70%, rgba(12, 9, 19, .35) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(12, 9, 19, 0) 40%); }
.where { position: fixed; right: 18px; bottom: 12px; color: rgba(236, 230, 247, .5); font-size: 11px; letter-spacing: .04em; transition: opacity 1s; }

.page { position: relative; display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
nav { background: var(--rail); padding: 28px 14px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 12px; margin: 0 6px 26px; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand b { color: var(--bright); font-weight: 400; font-size: 20px; }
.brand small { display: block; color: var(--dim); font-size: 12px; }
.tab { position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 8px 12px; margin: 2px 0; border: 0; border-radius: 5px; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.tab small { color: var(--dim); font-size: 11px; }
.tab:hover { background: rgba(163, 92, 240, .07); }
.tab.on { background: rgba(163, 92, 240, .13); color: var(--bright); }
/* the mark is its own rounded stroke, not an inset shadow bent round the corner, so it stays smooth */
.tab::before { content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 0; border-radius: 3px; background: linear-gradient(#c79bff, var(--wave)); box-shadow: 0 0 8px rgba(163, 92, 240, .55); transform: translateY(-50%); opacity: 0; transition: height .18s ease, opacity .18s ease; }
.tab.on::before { height: 60%; opacity: 1; }
.line { margin: auto 6px 0; color: var(--dim); font-size: 12px; }

main { padding: 34px clamp(16px, 5vw, 64px) 60px; max-width: 980px; }
h1 { margin: 0 0 4px; color: var(--bright); font-weight: 300; font-size: 30px; display: flex; align-items: baseline; gap: 12px; }
h1 small { color: var(--dim); font-size: 13px; font-weight: 400; }
h2 { margin: 26px 0 4px; color: var(--bright); font-weight: 400; font-size: 18px; }
h3 { margin: 14px 0 4px; color: var(--text); font-weight: 500; font-size: 14px; }
.lead { margin: 0 0 22px; max-width: 620px; }
.dim { color: var(--dim); font-size: 12px; }

.hero { display: flex; align-items: center; gap: clamp(28px, 5vw, 64px); margin: 6vh 0 36px; }
.hero .name { font-size: clamp(48px, 7vw, 84px); letter-spacing: -.02em; margin: 0; }
.hero .lead { margin: 8px 0 0; max-width: 460px; }
.hero .mark { width: 220px; height: 220px; object-fit: contain; flex: none; animation: rise .9s ease-out both; }
.get-row { display: flex; align-items: baseline; gap: 12px; margin-top: 22px; }
/* plain words with a line under them, as the rest of the ui does it */
.get { color: var(--bright); text-decoration: none; padding: 2px 0; border-bottom: 1px solid var(--wave); }
.get:hover { color: #fff; border-color: var(--accent); }
.get::after { content: "  \2193"; color: var(--wave); }
.fine { margin: 10px 0 0; color: var(--dim); font-size: 12px; }
.fine a { color: var(--text); }

/* see-through, with no blur behind: a blur over moving stills is redrawn every frame, and that is what made the page lag */
.card { border: 1px solid rgba(236, 230, 247, .07); background: var(--panel); border-radius: 18px; padding: 14px 20px; margin: 0 0 12px; }
.card h2 { margin: 0 0 6px; font-size: 15px; font-weight: 500; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.card h2 span { color: var(--dim); font-size: 12px; font-weight: 400; }
.card h2 .new { color: var(--green); }
.card p { margin: 0 0 6px; }
.card h3 { margin: 0 0 6px; }
ul { margin: 0; padding-left: 18px; }
li { margin: 3px 0; }
kbd { font: 12px ui-monospace, Consolas, monospace; color: var(--bright); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: 0 5px; background: rgba(255, 255, 255, .03); }
.tag { font-size: 11px; margin-left: 6px; white-space: nowrap; }
.more { border: 0; background: none; color: var(--dim); font: inherit; font-size: 13px; cursor: pointer; padding: 4px 0; }
.more:hover { color: var(--bright); }
.hidden { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .page { grid-template-columns: 1fr; }
  nav { position: static; height: auto; padding: 18px 16px 8px; }
  .tabs { display: flex; gap: 4px; overflow-x: auto; }
  .tab { width: auto; white-space: nowrap; }
  .tab small, .line { display: none; }
  .tab::before { left: 50%; top: auto; bottom: 0; width: 0; height: 2px; transform: translateX(-50%); transition: width .18s ease, opacity .18s ease; }
  .tab.on::before { width: 50%; height: 2px; }
  .hero { flex-direction: column-reverse; align-items: flex-start; margin-top: 2vh; }
  .hero .mark { width: 140px; height: 140px; }
  .shade { background: linear-gradient(0deg, var(--bg) 10%, rgba(12, 9, 19, .7) 100%); }
}
@media (prefers-reduced-motion: reduce) { .stills img { animation: none; } .hero .mark { animation: none; } .tab::before { transition: none; } }
.hue-amber { color: #e0a050; } .hue-blue { color: #6fa8f0; } .hue-teal { color: #4fc8b8; } .hue-rose { color: #f07a9a; }
.hue-green { color: #7ad69a; } .hue-orchid { color: #d08ae8; } .hue-slate { color: #9aa4b8; } .hue-dim { color: var(--dim); }
