/* ===================================================================
   CineFetch — cinematic editorial landing
   =================================================================== */

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #1c1c1c;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --ink: #f5f5f5;
  --ink-dim: #a3a3a3;
  --ink-faint: #6b6b6b;
  --brand: #e50914;
  --brand-bright: #ff2c3a;
  --amber: #f5a623;

  --display: "Bricolage Grotesque", "Funnel Sans", sans-serif;
  --body: "Funnel Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --maxw: 1120px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--brand); color: #fff; }

/* ── atmosphere: grain + red glow ─────────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.glow {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  filter: blur(80px);
}
.glow--top {
  top: -340px;
  left: 50%;
  width: 900px;
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(229, 9, 20, 0.32) 0%,
    rgba(229, 9, 20, 0.08) 45%,
    transparent 70%
  );
}

main, .nav, .footer { position: relative; z-index: 1; }

/* lucide icons inherit color + sit on the text baseline */
[data-lucide], .lucide { width: 1em; height: 1em; stroke-width: 2; vertical-align: -0.125em; }

/* ── nav ──────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.nav::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  border-bottom: 1px solid var(--line);
  z-index: -1;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { border-radius: 7px; }
.brand__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.brand__accent { color: var(--brand-bright); }
.nav__links {
  margin-left: auto;
  display: flex;
  gap: 28px;
  font-size: 0.93rem;
  color: var(--ink-dim);
}
.nav__links a { transition: color 0.2s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { padding: 9px 16px; font-size: 0.9rem; }
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
}

/* ── buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 30px -10px rgba(229, 9, 20, 0.7);
}
.btn--primary:hover {
  background: var(--brand-bright);
  box-shadow: 0 12px 38px -8px rgba(229, 9, 20, 0.8);
  transform: translateY(-1px);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: var(--ink-faint); }
.btn--block { width: 100%; }
.btn__os { flex: none; }
.btn__sub {
  font-weight: 400;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  margin-left: 2px;
}
.btn--ghost .btn__sub { color: var(--ink-faint); }

/* ── shared section bits ──────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-bright);
  margin-bottom: 18px;
}
.eyebrow--amber { color: var(--amber); }
.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.section-lead {
  margin-top: 18px;
  max-width: 56ch;
  color: var(--ink-dim);
  font-size: 1.06rem;
}
.section-lead a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brand); }

/* ── hero ─────────────────────────────────────────────────────── */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) 24px clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 7.5vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}
.hero__title-accent {
  background: linear-gradient(120deg, var(--brand-bright), #ff7a52);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  max-width: 46ch;
  font-size: 1.12rem;
  color: var(--ink-dim);
}
.hero__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__meta {
  margin-top: 22px;
  font-size: 0.9rem;
  color: var(--ink-faint);
}
.hero__meta a { color: var(--ink-dim); text-decoration: underline; text-underline-offset: 3px; }
.hero__meta a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .appwindow { order: -1; }
}

/* ── faux app window ──────────────────────────────────────────── */
.appwindow {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #181818, #0e0e0e);
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  overflow: hidden;
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
}
.appwindow:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.appwindow__chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--r { background: #ff5f57; }
.dot--y { background: #febc2e; }
.dot--g { background: #28c840; }
.appwindow__search {
  margin-left: 14px;
  flex: 1;
  font-size: 0.78rem;
  color: var(--ink-faint);
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 12px;
  border-radius: 7px;
}
.appwindow__body { padding: 18px; }
.appwindow__rowtitle {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.appwindow__row { margin-bottom: 14px; }
.postergrid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
}
.poster {
  aspect-ratio: 2 / 3;
  border-radius: 7px;
  position: relative;
  background-size: cover;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.8);
}
/* cinematic gradient "posters" — no external assets */
.p1  { background: linear-gradient(150deg, #3a1c71, #d76d77); }
.p2  { background: linear-gradient(150deg, #0f2027, #2c5364); }
.p3  { background: linear-gradient(150deg, #870000, #190a05); }
.p4  { background: linear-gradient(150deg, #232526, #414345); }
.p5  { background: linear-gradient(150deg, #1f1c2c, #928dab); }
.p6  { background: linear-gradient(150deg, #cb2d3e, #ef473a); }
.p7  { background: linear-gradient(150deg, #16222a, #3a6073); }
.p8  { background: linear-gradient(150deg, #42275a, #734b6d); }
.p9  { background: linear-gradient(150deg, #000428, #004e92); }
.p10 { background: linear-gradient(150deg, #2c3e50, #4ca1af); }
.p11 { background: linear-gradient(150deg, #5a3f37, #2c7744); }
.p12 { background: linear-gradient(150deg, #b91d73, #f953c6); }
.poster--active { outline: 2px solid var(--brand); outline-offset: 2px; }
.poster__badge {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 0.6rem;
  font-weight: 600;
  font-family: var(--body);
  background: rgba(0, 0, 0, 0.7);
  padding: 2px 6px;
  border-radius: 5px;
  letter-spacing: 0.03em;
}
.poster__progress {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  height: 4px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.poster__bar {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--brand-bright);
  width: 30%;
  animation: fill 4.5s var(--ease) infinite;
}
@keyframes fill {
  0%   { width: 8%; }
  70%  { width: 100%; }
  100% { width: 100%; }
}
.appwindow__toast {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--ink-dim);
  background: rgba(40, 200, 64, 0.08);
  border: 1px solid rgba(40, 200, 64, 0.25);
  padding: 10px 14px;
  border-radius: 10px;
  animation: toastpulse 4.5s ease-in-out infinite;
}
.toast__check {
  width: 18px; height: 18px;
  display: grid; place-items: center;
  background: #28c840;
  color: #06250c;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
}
@keyframes toastpulse {
  0%, 60% { opacity: 0; transform: translateY(6px); }
  72%, 100% { opacity: 1; transform: translateY(0); }
}

/* ── trust strip ──────────────────────────────────────────────── */
.strip {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-dim);
}
.strip i { color: var(--brand); font-style: normal; }

/* ── trending (live from API) ─────────────────────────────────── */
.trending {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 24px;
}
.trending__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.trending__head .eyebrow { margin-bottom: 12px; }
.trending__note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--ink-faint);
}

/* segmented control (also used in the modal) */
.segmented {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.seg {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-dim);
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.seg i { width: 1.05em; height: 1.05em; }
.seg:hover { color: var(--ink); }
.seg.is-active {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px -8px rgba(229, 9, 20, 0.7);
}

/* horizontal poster rail */
.trackwrap { position: relative; }
.track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(140px, 22vw, 184px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 4px 4px 18px;
  margin: 0 -4px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.track::-webkit-scrollbar { height: 8px; }
.track::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; }
.track.is-hidden { display: none; }
.tcard {
  scroll-snap-align: start;
  display: block;
  text-align: left;
}
.tcard__poster {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px -16px rgba(0, 0, 0, 0.9);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.tcard:hover .tcard__poster { transform: translateY(-4px); border-color: var(--line-strong); }
.tcard__poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcard__rating {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.66);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 3px 8px;
  border-radius: 20px;
}
.tcard__rating i { width: 0.85em; height: 0.85em; color: var(--amber); fill: var(--amber); }
.tcard__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  opacity: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85));
  transition: opacity 0.25s;
}
.tcard:hover .tcard__overlay { opacity: 1; }
.tcard__get {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}
.tcard__get i { width: 1em; height: 1em; color: var(--brand-bright); }
.tcard__title {
  margin-top: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tcard__year { font-size: 0.8rem; color: var(--ink-faint); }

/* skeleton shimmer */
.tcard--skel .tcard__poster { border-color: var(--line); }
.skelbar {
  border-radius: 6px;
  background: linear-gradient(100deg, var(--surface-2) 30%, #262626 50%, var(--surface-2) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.3s linear infinite;
}
.tcard--skel .tcard__poster { animation: shimmer 1.3s linear infinite; background: linear-gradient(100deg, var(--surface-2) 30%, #262626 50%, var(--surface-2) 70%); background-size: 200% 100%; }
.tcard--skel .tcard__title { height: 12px; width: 80%; margin-top: 12px; }
.tcard--skel .tcard__year { height: 10px; width: 45%; margin-top: 7px; display: block; }
@keyframes shimmer { to { background-position: -200% 0; } }

.amber { color: var(--amber); }

/* ── terminal (used inside the install modal) ─────────────────── */
.terminal {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: #0d0d0d;
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.9);
}
.terminal__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
}
.terminal__title {
  margin-left: 8px;
  font-size: 0.78rem;
  color: var(--ink-faint);
  font-family: var(--mono);
}
.terminal__body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}
.terminal__body code {
  flex: 1;
  font-family: var(--mono);
  font-size: 0.84rem;
  color: #9fe6a0;
  word-break: break-all;
  line-height: 1.5;
}
.terminal__body code::before { content: "$ "; color: var(--ink-faint); }
.copy {
  flex: none;
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 7px 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.copy { display: inline-flex; align-items: center; gap: 6px; }
.copy i { width: 0.95em; height: 0.95em; }
.copy:hover { background: rgba(255, 255, 255, 0.14); }
.copy.is-done { background: #28c840; color: #06250c; border-color: #28c840; }

/* ── feature + OS + button icons ──────────────────────────────── */
.feature__ico i { width: 24px; height: 24px; color: var(--brand-bright); stroke-width: 1.75; }
.btn__os { display: inline-flex; }
.btn__os svg { width: 20px; height: 20px; }
.appwindow__search i { width: 0.9em; height: 0.9em; vertical-align: -0.1em; margin-right: 4px; }
.dlcard__logo { display: inline-flex; color: var(--ink); }
.dlcard__logo svg { width: 28px; height: 28px; }

/* ── install modal ────────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: fade 0.25s var(--ease);
}
.modal__panel {
  position: relative;
  width: min(620px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(229, 9, 20, 0.14), transparent 55%),
    linear-gradient(180deg, #161616, #0d0d0d);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.95);
  /* override .reveal so it animates in via JS, not scroll observer */
  opacity: 1;
  transform: none;
  animation: popin 0.34s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes popin { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-dim);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.modal__close:hover { background: rgba(255, 255, 255, 0.1); color: var(--ink); }
.modal__close i { width: 18px; height: 18px; }
.modal__downloading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #9fe6a0;
  background: rgba(40, 200, 64, 0.1);
  border: 1px solid rgba(40, 200, 64, 0.25);
  padding: 7px 13px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.modal__downloading i { width: 1em; height: 1em; }
.modal__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 12px;
}
.modal__lead { color: var(--ink-dim); font-size: 1rem; margin-bottom: 22px; }
.modal__lead strong { color: var(--ink); font-weight: 600; }
.modal__tabs { margin-bottom: 22px; }
.method__intro { color: var(--ink-dim); font-size: 0.97rem; margin-bottom: 16px; }
.method__after { color: var(--ink-faint); font-size: 0.9rem; margin-top: 14px; }

/* numbered steps inside modal */
.mlist { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.mlist li { display: flex; gap: 14px; align-items: flex-start; }
.mlist__n {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(229, 9, 20, 0.14);
  color: var(--brand-bright);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
}
.mlist li div { color: var(--ink-dim); font-size: 0.98rem; padding-top: 2px; }
.mlist strong { color: var(--ink); font-weight: 600; }
.mlist code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 6px;
  border-radius: 5px;
}
.modal__redownload { margin-top: 26px; font-size: 0.92rem; }
.modal__redownload i { width: 1em; height: 1em; }

/* ── features ─────────────────────────────────────────────────── */
.features {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 90px) 24px;
}
.features__head { margin-bottom: 44px; }
.featuregrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 860px) { .featuregrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .featuregrid { grid-template-columns: 1fr; } }
.feature {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), #101010);
  transition: border-color 0.25s, transform 0.25s var(--ease), background 0.25s;
}
.feature:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  background: linear-gradient(180deg, #191919, #101010);
}
.feature__ico {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.feature h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.24rem;
  letter-spacing: -0.02em;
  margin-bottom: 9px;
}
.feature p { color: var(--ink-dim); font-size: 0.97rem; }

/* ── download ─────────────────────────────────────────────────── */
.download {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 90px) 24px clamp(64px, 9vw, 110px);
}
.download__inner {
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: clamp(34px, 5vw, 60px);
  background:
    radial-gradient(ellipse at 50% -20%, rgba(229, 9, 20, 0.16), transparent 60%),
    linear-gradient(180deg, var(--surface), #0c0c0c);
  text-align: center;
}
.download__inner .eyebrow { margin-bottom: 14px; }
.download__inner .section-lead { margin-inline: auto; }
.dlgrid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  text-align: left;
}
@media (max-width: 700px) { .dlgrid { grid-template-columns: 1fr; } }
.dlcard {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s, background 0.25s;
}
.dlcard[data-current="true"] {
  border-color: rgba(229, 9, 20, 0.5);
  background: rgba(229, 9, 20, 0.05);
}
.dlcard__os { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.dlcard__os svg { color: var(--ink); }
.dlcard__os h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.dlcard__hint {
  display: none;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-bright);
  background: rgba(229, 9, 20, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
}
.dlcard[data-current="true"] .dlcard__hint { display: inline-block; }
.dlcard__buttons { display: flex; flex-direction: column; gap: 12px; }
.dlcard__req {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--ink-faint);
}
.download__note {
  margin-top: 28px;
  font-size: 0.88rem;
  color: var(--ink-faint);
}
.download__note a { color: var(--ink-dim); text-decoration: underline; text-underline-offset: 3px; }

/* ── footer ───────────────────────────────────────────────────── */
.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 24px 64px;
  border-top: 1px solid var(--line);
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 30px;
}
.footer__links { display: flex; gap: 24px; font-size: 0.92rem; color: var(--ink-dim); }
.footer__links a:hover { color: var(--ink); }
.footer__legal {
  max-width: 80ch;
  font-size: 0.82rem;
  color: var(--ink-faint);
  line-height: 1.7;
}
.footer__copy {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--ink-faint);
}

/* ── scroll reveal ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .poster__bar, .appwindow__toast { animation: none; }
  .appwindow { transform: none; }
}
