/* Minicine site: a dark house and one projector beam. True black, the app's gold, Archivo condensed for title cards. */
:root {
  --bg: #000;
  --panel: #141416;
  --panel-2: #1b1b1e;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2f2f4;
  --dim: #9a9aa3;
  --gold: #e8b44c;
  --gold-soft: rgba(232, 180, 76, 0.14);
  --red: #b3262a;
  --radius: 14px;
  --shell: 1180px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.62 Archivo, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, video { display: block; max-width: 100%; height: auto; }
code { overflow-wrap: anywhere; font: 0.88em ui-monospace, "SF Mono", Menlo, Consolas, monospace; background: rgba(255, 255, 255, 0.06); padding: 0.1em 0.35em; border-radius: 5px; }
pre { margin: 0; overflow-x: auto; background: #0f0f12; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
pre code { background: none; padding: 0; font-size: 13.5px; line-height: 1.7; color: #d7d7dc; }
.shell { width: min(var(--shell), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* Masthead: clear over the hero, frosted once you scroll (like the app's top bar). */
.masthead { position: sticky; top: 0; z-index: 20; transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.masthead.scrolled { background: rgba(0, 0, 0, 0.72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom-color: var(--line); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { font-weight: 900; font-stretch: 62%; letter-spacing: 0.01em; color: var(--gold); font-size: 30px; line-height: 1; }
.wordmark:hover { text-decoration: none; }
.wordmark--small { font-size: 24px; }
nav { display: flex; gap: 6px; align-items: center; }
nav a { color: var(--dim); font-size: 14.5px; padding: 7px 12px; border-radius: 999px; transition: color 0.2s, background 0.2s; }
nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); text-decoration: none; }
nav .nav-gh { color: var(--text); border: 1px solid var(--line); }
@media (max-width: 760px) { nav a:not(.nav-gh) { display: none; } }

/* Hero: a dark house, one projector beam lighting the screen. The beam is the page's single load moment. */
.hero { position: relative; padding: 64px 0 40px; text-align: center; overflow: hidden; isolation: isolate; }
.beam {
  position: absolute; z-index: -1; left: 50%; top: -80px; width: min(1500px, 160vw); height: 1150px; translate: -50% 0;
  background:
    radial-gradient(28% 22% at 50% 0%, rgba(255, 240, 210, 0.5), transparent),
    conic-gradient(from 180deg at 50% 0%, transparent 150deg, rgba(232, 180, 76, 0.2) 165deg, rgba(255, 238, 200, 0.3) 180deg, rgba(232, 180, 76, 0.2) 195deg, transparent 210deg);
  -webkit-mask-image: linear-gradient(#000 35%, transparent 95%); mask-image: linear-gradient(#000 35%, transparent 95%);
  filter: blur(18px);
  animation: lights 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both;
}
@keyframes lights { from { opacity: 0; } }
.screen-wrap { animation: lights 1.6s ease-out 0.9s both; position: relative; }
.hero__phone { position: absolute; right: clamp(4px, 3vw, 44px); bottom: -22px; width: clamp(96px, 17vw, 212px); border-radius: clamp(14px, 2.6vw, 32px); z-index: 2; }
h1, h2, h3 { margin: 0; font-stretch: 72%; line-height: 0.98; letter-spacing: -0.012em; text-wrap: balance; }
h1 { font-size: clamp(48px, 8.4vw, 116px); font-weight: 850; }
h2 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 820; }
h3 { font-size: 21px; font-weight: 760; font-stretch: 85%; line-height: 1.15; letter-spacing: 0; }
.lede { max-width: 62ch; margin: 26px auto 0; color: #c9c9cf; font-size: clamp(17px, 1.5vw, 19.5px); text-wrap: pretty; }
.cta { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.cta-note { color: var(--dim); font-size: 14px; margin: 14px 0 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 10px; font-weight: 700; font-size: 16px; transition: background 0.2s, transform 0.15s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--gold); color: #000; }
.btn--primary:hover { background: #f3c766; }
.btn--ghost { background: rgba(255, 255, 255, 0.09); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.16); }

/* Mac-style window frames around screenshots */
.window { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.6); }
.window__bar { height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 13px; background: linear-gradient(#1f1f24, #18181c); border-bottom: 1px solid rgba(0, 0, 0, 0.5); }
.window__bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.window__bar i:nth-child(2) { background: #febc2e; }
.window__bar i:nth-child(3) { background: #28c840; }
.window__bar--gnome { justify-content: flex-end; }
.window__bar--gnome i { width: 14px; height: 14px; background: rgba(255, 255, 255, 0.14); }
.window figcaption { padding: 10px 14px; font-size: 13px; color: var(--dim); border-top: 1px solid var(--line); }
.window--hero { margin-top: 54px; perspective-origin: top; transform: perspective(1800px) rotateX(10deg) scale(0.96); transform-origin: 50% 0; transition: transform 0.2s linear; will-change: transform; }
.window--hero::after { content: ""; position: absolute; }

/* Format badges, styled like the app's */
.badges { list-style: none; padding: 0; margin: 34px auto 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.badges li { font-size: 12px; font-weight: 800; letter-spacing: 0.04em; padding: 3px 8px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.28); color: #e9e9ee; text-transform: uppercase; }
.badges li.hdr { border-color: var(--gold); color: var(--gold); }

/* Sections: one rhythm for all of them. A header, then the thing itself. */
.section { padding: clamp(80px, 11vw, 140px) 0; border-top: 1px solid var(--line); }
.section--alt { background: linear-gradient(180deg, #08080a, #000); }
.section__head { text-align: center; margin: 0 auto clamp(48px, 6vw, 80px); max-width: 900px; }
.section__head h2 { margin: 0; }
.section__head p { color: var(--dim); font-size: 18px; margin: 16px auto 0; max-width: 44ch; }
.section__head--left { text-align: left; margin: 0; max-width: 520px; }
.section__head--left p { margin-left: 0; }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .terminal code { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; } }

/* Icons */
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Feature lists: three columns, an icon per line */
.fcols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.fcol h3 { font-size: 30px; font-weight: 820; font-stretch: 72%; color: var(--text); padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.fcol ul { list-style: none; margin: 0; padding: 0; }
.fcol li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; }
.fcol li .ic { margin-top: 2px; }
.fcol b { display: block; font-weight: 680; font-size: 16.5px; line-height: 1.3; }
.fcol span a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.25); text-underline-offset: 3px; }
.fcol span a:hover { color: var(--text); }
.fcol span { display: block; color: var(--dim); font-size: 14.5px; line-height: 1.45; margin-top: 2px; }
@media (max-width: 900px) { .fcols { grid-template-columns: minmax(0, 1fr); } }

/* Chips and the app's own badges, shown rather than described */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); font-size: 13.5px; font-weight: 600; color: #d6d6dc; }
.chip .ic { width: 16px; height: 16px; stroke: currentColor; }
.badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; padding: 3px 8px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.3); color: #e9e9ee; }
.badge.hdr { border-color: var(--gold); color: var(--gold); }
.badge.imdb { background: #f5c518; border-color: #f5c518; color: #000; }
.pill { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 7px; background: #fff; color: #000; font-size: 13px; font-weight: 700; }

/* Short facts with icons */
.facts { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: center; color: #c9c9d0; font-size: 15.5px; }

/* Track picks table */
.picks { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; font-size: 14.5px; }
.picks__row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; padding: 12px 14px; border-radius: 9px; align-items: center; }
.picks__row:not(.picks__head):hover { background: rgba(255, 255, 255, 0.035); }
.picks__row + .picks__row { border-top: 1px solid var(--line); }
.picks__head { color: var(--dim); font-size: 13.5px; font-weight: 650; }
.picks i { font-style: normal; font-size: 11px; color: var(--dim); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 3px; padding: 0 4px; margin-left: 2px; }
.picks b { color: var(--gold); font-weight: 720; }
.picks .warn { color: #f2c94c; }
.picks__foot { margin: 6px 14px 10px; color: var(--dim); font-size: 13px; }

/* Tour: chapters scroll normally on the left; the window on the right stays pinned and crossfades between them. */
.tour { padding: 40px 0 clamp(60px, 8vw, 100px); }
.tour__grid { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: 72px; }
.step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.28; transition: opacity 0.5s; }
.step.is-on { opacity: 1; }
.step h2 { font-size: clamp(36px, 4.4vw, 58px); margin-bottom: 20px; }
.step p { color: #c4c4cb; max-width: 40ch; margin: 0; font-size: 18px; }
.step p + p { margin-top: 14px; }
.step .aside { color: var(--dim); font-size: 15px; }
.step__shot { display: none; }
.tour__stage { isolation: isolate; position: sticky; top: calc(50vh - min(26vw, 300px)); align-self: start; margin-top: 14vh; }
.tour__glow { position: absolute; inset: 8% 6%; z-index: -1; border-radius: 40%; background: #5f8a4a; opacity: 0.32; filter: blur(90px); transition: background-color 1.2s ease; }
.tour__shots { position: relative; aspect-ratio: 1600 / 1029; background: #000; }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.025); transition: opacity 0.7s ease, transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.shot.is-on { opacity: 1; transform: none; }
.tour__window .window__bar { transition: background 0.4s; }
.tour__window[data-os="linux"] .window__bar { justify-content: flex-end; }
.tour__window[data-os="linux"] .window__bar i { width: 14px; height: 14px; background: rgba(255, 255, 255, 0.14); }
.tour__dots { list-style: none; display: flex; gap: 8px; justify-content: center; padding: 0; margin: 22px 0 0; }
.tour__dots li { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); transition: width 0.4s, background 0.4s; }
.tour__dots li.is-on { width: 22px; background: var(--gold); }
@media (max-width: 900px) {
  .tour__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tour__stage { display: none; }
  .step { min-height: 0; opacity: 1; padding: 36px 0; }
  .step__shot { display: block; margin-top: 26px; }
  .step__shot img, .step__shot video { width: 100%; aspect-ratio: 1600 / 1029; object-fit: cover; object-position: top; }
}

.terminal { margin: 0; border-radius: 12px; background: #0c0c0d; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 40px 100px -40px rgba(232, 180, 76, 0.25); }
.terminal pre { background: none; border: 0; padding: 26px 28px; }
.terminal code { font-size: 14.5px; line-height: 1.85; color: #9d9da6; }
.terminal .p { color: var(--gold); user-select: none; }
.terminal .c { color: #f2f2f4; }

/* Download */
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .platforms { grid-template-columns: 1fr; } }
.platforms--two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
@media (max-width: 960px) { .platforms--two { grid-template-columns: 1fr; } }

/* Phones: two screens side by side, the second set a little lower. */
.phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(14px, 2.5vw, 28px); }
.phone { margin: 0; flex: 0 1 270px; min-width: 0; border-radius: 34px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.phone:nth-child(2) { margin-top: clamp(24px, 5vw, 64px); }
.phone img { display: block; width: 100%; height: auto; }
.phone__note { color: var(--dim); font-size: 15px; }
.platform { min-width: 0; padding: 26px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.platform.current { border-color: rgba(232, 180, 76, 0.55); box-shadow: 0 0 60px -20px rgba(232, 180, 76, 0.35); }
.platform h3 { font-size: 30px; font-stretch: 72%; font-weight: 820; display: flex; align-items: center; gap: 10px; }
.platform .os { width: 26px; height: 26px; fill: none; stroke: var(--text); stroke-width: 1.5; stroke-linejoin: round; }
.platform__sub { margin: -8px 0 0; color: var(--dim); font-size: 14px; }
.platform__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.platform__btns .btn { padding: 10px 18px; font-size: 14.5px; }
.platform pre code { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12.5px; }
.platform__note code { font-size: 0.85em; }
.platform__note { margin: 0; color: var(--dim); font-size: 13.5px; }
.download__more { text-align: center; color: var(--dim); font-size: 14px; margin-top: 28px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 60px; color: var(--dim); font-size: 14px; }
.footer__inner { display: grid; gap: 6px; justify-items: center; text-align: center; }
.footer p { margin: 0; }
.footer__credits { font-size: 12.5px; opacity: 0.8; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .beam, .screen-wrap { animation: none; }
  .window--hero { transform: none !important; }
  .btn, .step, .shot, .tour__dots li { transition: none; }
}

/* Hero pillars and the why cards */
.pillars { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; max-width: 1120px; margin: 44px auto 0; padding: 0; text-align: left; }
.pillars li { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(20, 20, 24, 0.7); }
.pillars b { color: var(--gold); font-size: 16px; font-weight: 700; }
.pillars span { color: var(--dim); font-size: 14.5px; line-height: 1.5; }
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.app { display: flex; flex-direction: column; gap: 8px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 16px; background: #141418; }
.app b { font-size: 21px; font-weight: 740; }
.app span:last-child { color: var(--dim); font-size: 15.5px; line-height: 1.5; }
.app__tag { color: var(--gold); font-size: 12px; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; }
.apps--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
