/* Reel site: the app's own look. Near-black, warm gold, wide-tracked wordmark, badges like the app's. */
:root {
  --bg: #0b0b0d;
  --panel: #16161a;
  --panel-2: #1c1c21;
  --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.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-optical-sizing: auto;
  -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(11, 11, 13, 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: 800; letter-spacing: 0.24em; color: var(--gold); font-size: 20px; }
.wordmark:hover { text-decoration: none; }
.wordmark--small { font-size: 15px; }
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 */
.hero { position: relative; padding: 56px 0 40px; text-align: center; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(40% 45% at 30% 55%, rgba(179, 38, 42, 0.32), transparent 70%),
    radial-gradient(38% 40% at 72% 50%, rgba(232, 180, 76, 0.18), transparent 70%),
    radial-gradient(60% 60% at 50% 30%, rgba(60, 70, 110, 0.25), transparent 70%);
  filter: blur(20px);
  animation: glow 18s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate3d(3%, 2%, 0) scale(1.06); } }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 0.14em; font-size: 12.5px; font-weight: 700; margin: 0 0 14px; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.025em; margin: 0; }
h1 { font-size: clamp(42px, 7vw, 84px); font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.lede { max-width: 720px; margin: 22px auto 0; color: #cfcfd6; font-size: clamp(17px, 1.6vw, 20px); }
.lede strong { color: var(--text); }
.cta { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.cta-note { color: var(--dim); font-size: 13.5px; margin: 12px 0 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 650; font-size: 15.5px; transition: transform 0.18s cubic-bezier(0.3, 1.4, 0.6, 1), background 0.2s, box-shadow 0.2s; }
.btn:hover { text-decoration: none; transform: translateY(-1px) scale(1.02); }
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--text); color: #000; box-shadow: 0 8px 30px rgba(232, 180, 76, 0.18); }
.btn--primary:hover { background: var(--gold); }
.btn--ghost { background: rgba(255, 255, 255, 0.08); color: var(--text); border: 1px solid var(--line); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); }

/* 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: 11.5px; font-weight: 800; letter-spacing: 0.06em; 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); }

/* Feature sections */
.feature { padding: 110px 0; }
.feature__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.feature__grid--flip { grid-template-columns: 1fr 1fr; }
.feature__text p { color: #c9c9d0; }
.feature__text h2 { margin-bottom: 18px; }
.feature--video { background: radial-gradient(60% 80% at 80% 50%, rgba(232, 180, 76, 0.07), transparent 70%); }
@media (max-width: 900px) { .feature__grid, .feature__grid--flip { grid-template-columns: 1fr; gap: 36px; } .feature { padding: 70px 0; } }

/* Feature cards */
.cards { padding: 30px 0 90px; }
.section-title { text-align: center; margin-bottom: 44px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }
.fcard { position: relative; padding: 26px 24px 24px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); transition: transform 0.25s cubic-bezier(0.3, 1.3, 0.6, 1), border-color 0.25s; }
.fcard:hover { transform: translateY(-3px); border-color: rgba(232, 180, 76, 0.35); }
.fcard svg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.fcard h3 { margin-bottom: 8px; }
.fcard p { margin: 0; color: #b9b9c2; font-size: 15px; }

/* 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: 12px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.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: 700; }
.picks .warn { color: #f2c94c; }
.picks__foot { margin: 6px 14px 10px; color: var(--dim); font-size: 13px; }

/* Screens */
.screens { padding: 40px 0 100px; }
.screens__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 22px; align-items: start; }
.screens__stack { display: grid; gap: 22px; }
@media (max-width: 900px) { .screens__grid { grid-template-columns: 1fr; } }

/* Voice */
.voice { padding: 90px 0; background: linear-gradient(180deg, transparent, rgba(232, 180, 76, 0.04), transparent); text-align: center; }
.phrases { list-style: none; padding: 0; margin: 0 auto 34px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 900px; }
.phrases li { padding: 12px 20px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); font-size: 17px; font-weight: 550; }
.phrases li:first-child { border-color: rgba(232, 180, 76, 0.5); box-shadow: 0 0 40px -10px rgba(232, 180, 76, 0.45); }
.voice__note { color: var(--dim); max-width: 640px; margin: 0 auto 16px; }
.voice pre { max-width: 460px; margin: 0 auto; text-align: left; }

/* Download */
.download { padding: 90px 0 110px; }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .platforms { grid-template-columns: 1fr; } }
.platform { 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: 24px; }
.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__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; }
  .hero__glow { animation: none; }
  .window--hero { transform: none !important; }
  .fcard, .btn { transition: none; }
}
