/* Home page only. Loaded after styles.css; shared tokens come from there. */

:root {
  --accent: var(--btn-bg);
  --accent-hover: var(--btn-bg-hover);
  --hl: var(--brand-2);
  --accent-soft: color-mix(in srgb, var(--brand-2) 8%, transparent);
  --hairline: #d0d7de;
  --hero-dark: url('lab-hero-dark.webp');
  --hero-light: url('lab-hero-light.webp');
  --what-dark: url('lab-trades-dark.webp');
  --what-light: url('lab-trades-light.webp');
  --what-ratio: 1600 / 1050;
  --grid-line: rgba(31, 35, 40, 0.06);
}

.dark {
  --hl: var(--brand-1);
  --accent-soft: color-mix(in srgb, var(--brand-1) 12%, transparent);
  --hairline: #21262d;
  --grid-line: rgba(139, 148, 158, 0.11);
}

.home {
  font-feature-settings: 'cv11', 'ss01';
}

.home .btn-primary {
  background: var(--accent);
  box-shadow: none;
}

.home .btn-primary::after { display: none; }

.home .btn-primary:hover {
  background: var(--accent-hover);
  transform: none;
  box-shadow: none;
}

.dark .home .btn-primary,
.dark.home .btn-primary { color: #0d1117; }

.home .btn-lg {
  padding: 14px 26px;
  font-size: 15px;
  border-radius: 10px;
}

.home .logo {
  background: none;
  -webkit-text-fill-color: var(--text-bright);
  color: var(--text-bright);
}

/* ── Hero: words left, the Lab and a few real moments right ───── */

.lp-hero {
  position: relative;
  padding: 128px 0 60px;
  overflow: hidden;
}

/* A faint grid behind the window, fading out at the edges */
.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.lp-split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  align-items: center;
  gap: 60px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

.lp-hero h1 {
  font-size: clamp(44px, 4.8vw, 70px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--text-bright);
}

.lp-h1-accent {
  display: block;
  margin-top: 22px;
  padding-left: 16px;
  border-left: 4px solid var(--hl);
  font-size: 0.46em;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-bright);
}

.lp-lead {
  max-width: 460px;
  margin: 24px 0 32px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  text-wrap: pretty;
}

.lp-actions {
  display: flex;
  gap: 12px;
}

.lp-hero .btn-lg { border-radius: 999px; }

.lp-platforms {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* The window reaches past the content edge but never the screen edge */
.lp-shot-stage {
  position: relative;
  margin: 34px -76px 34px 0;
}

.lp-shot {
  aspect-ratio: 2033 / 1192;
  border-radius: 12px;
  background-color: #0a0d12;
  background-image: var(--hero-light);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--hairline);
  box-shadow: 0 40px 80px -30px rgba(31, 35, 40, 0.35);
}

.dark .lp-shot {
  background-image: var(--hero-dark);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
}

/* Floating cards: real product moments */
.lp-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 15px 11px 11px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--bg);
  box-shadow: 0 18px 40px -18px rgba(31, 35, 40, 0.35), 0 2px 6px -2px rgba(31, 35, 40, 0.08);
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-secondary);
  white-space: nowrap;
}

.dark .lp-card {
  background: #161b22;
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.9);
}

.lp-card b { display: block; font-size: 13px; font-weight: 600; color: var(--text-bright); }
.lp-card time { margin-left: 6px; font-weight: 400; font-size: 11.5px; color: var(--text-muted); }

.lp-card-msg {
  display: block;
  margin-top: 2px;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  color: var(--text-primary);
}

.lp-card-ico {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: #fff;
}

.lp-ico-tg { background: #2aa3df; border-radius: 50%; }
.lp-ico-fast { background: var(--hl); }
.dark .lp-ico-fast { color: #fff; }
.lp-ico-wd { background: var(--hl); }

.lp-card-dot {
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-radius: 50%;
  background: var(--hl);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hl) 20%, transparent);
}

.lp-card-fast { top: -24px; right: 36px; }
.lp-card-tg { top: 47%; left: -72px; align-items: flex-start; }
.lp-card-wd { bottom: -26px; right: 28px; }

/* ── Sections (compact) ─────────────────────────────────────── */

.lp-section { padding: 64px 0; }

.lp-section + .lp-section { border-top: 1px solid var(--hairline); }

.lp-h2 {
  max-width: 720px;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-bright);
  text-wrap: balance;
}

.lp-sub {
  margin-top: 8px;
  font-size: 15.5px;
  color: var(--text-secondary);
}

/* How it works: one row of three */
.lp-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 28px;
}

.lp-item {
  padding-top: 16px;
  border-top: 2px solid var(--hairline);
}

.lp-cols .lp-item:first-child { border-top-color: var(--accent); }

.lp-item h3 {
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-bright);
}

.lp-item p {
  max-width: 440px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── Pricing ────────────────────────────────────────────────── */

.lp-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.lp-plan {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 20px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--bg);
}

.lp-plan-main {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent) inset;
}

.lp-plan h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-bright);
}

.lp-price {
  margin: 8px 0 4px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-bright);
}

.lp-price small {
  margin-left: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-secondary);
}

.lp-plan-desc {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.lp-plan ul {
  flex: 1 1 auto;
  margin: 14px 0 18px;
  padding: 12px 0 0;
  list-style: none;
  border-top: 1px solid var(--hairline);
}

.lp-plan li {
  position: relative;
  padding: 4px 0 4px 22px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
}

.lp-plan li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 11px;
  width: 8px;
  height: 4px;
  border-left: 1.6px solid var(--hl);
  border-bottom: 1.6px solid var(--hl);
  transform: rotate(-45deg);
}

.lp-plan .btn-primary,
.lp-plan .btn-secondary {
  width: 100%;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 10px;
}

.lp-fine {
  max-width: 760px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* ── FAQ ────────────────────────────────────────────────────── */

.lp-faq {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.lp-faq .faq-list {
  max-width: none;
  margin: 0;
  border-top-color: var(--hairline);
}

.lp-faq .faq-list details { border-bottom-color: var(--hairline); }
.lp-faq .faq-list summary { font-size: 16px; padding: 13px 0; }
.lp-faq .faq-list summary:hover { color: var(--hl); }
.lp-faq .faq-list details p { padding: 0 0 14px; font-size: 15px; }

/* ── Closing ────────────────────────────────────────────────── */

.lp-end {
  padding: 64px 0 72px;
  text-align: center;
  border-top: 1px solid var(--hairline);
}

.lp-end .lp-h2 { margin: 0 auto; }
.lp-end .lp-sub { margin: 8px auto 24px; }

.home .footer { border-top-color: var(--hairline); }

/* ── What you get: one grid of cards ────────────────────────── */

.lp-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.lp-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 20px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: color-mix(in srgb, var(--hl) 2%, var(--bg));
}

.lp-feature h3 {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-bright);
}

.lp-feature:has(.lp-soon) h3 { padding-right: 52px; }

.lp-feature p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.lp-soon {
  position: absolute;
  top: 17px;
  right: 14px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  border: 1px solid var(--hairline);
  border-radius: 999px;
}

/* ── Speed card ─────────────────────────────────────────────── */

.lp-speed {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 32px;
  margin-top: 12px;
  padding: 32px 44px;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: color-mix(in srgb, var(--hl) 3%, var(--bg));
  overflow: hidden;
}

.lp-speed h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-bright);
}

.lp-speed p {
  max-width: 440px;
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.lp-speed-art {
  position: relative;
  height: 190px;
}

.lp-bolt {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  color: #fff;
  background: var(--hl);
  box-shadow: 0 0 0 16px var(--accent-soft), 0 0 0 34px color-mix(in srgb, var(--hl) 4%, transparent);
  transform: translate(-50%, -50%);
}

.lp-bolt svg { width: 54px; height: 54px; }

.dark .lp-bolt { color: #fff; }

.lp-stats {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 188px;
  padding: 10px 14px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--bg);
  box-shadow: 0 14px 34px -14px rgba(31, 35, 40, 0.3);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.dark .lp-stats { box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.8); }

.lp-stats div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 3px 0;
  color: var(--text-secondary);
}

.lp-stats b { font-weight: 600; color: var(--text-bright); }

.lp-pill {
  position: absolute;
  bottom: 4px;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--bg);
  font-size: 13px;
  color: var(--text-secondary);
  box-shadow: 0 10px 26px -14px rgba(31, 35, 40, 0.3);
}

.lp-pill b { font-weight: 600; color: var(--text-bright); }

.lp-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hl);
}

/* ── Exchanges: one strip ───────────────────────────────────── */

.lp-exchanges {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.lp-ex {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  column-gap: 10px;
  padding: 9px 12px 9px 10px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
}

.lp-ex-mark { grid-row: span 2; }

.lp-ex-on { border-color: color-mix(in srgb, #f0b90b 50%, transparent); }

.lp-ex-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--accent-soft);
}

.lp-ex-mark svg { width: 16px; height: 16px; }
.lp-ex-on .lp-ex-mark { background: rgba(240, 185, 11, 0.12); }
.lp-ex-name { font-size: 14px; line-height: 1.25; font-weight: 600; color: var(--text-bright); }
.lp-ex-status { font-size: 12px; line-height: 1.3; color: var(--text-secondary); }
.lp-ex-on .lp-ex-status { color: var(--hl); font-weight: 600; }

/* ── Live results ───────────────────────────────────────────── */

.lp-live {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 32px;
  margin-top: 24px;
}

.lp-live-label {
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

.lp-row {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.9fr 1fr 1.1fr;
  gap: 12px;
  padding: 10px 0;
  font-size: 14.5px;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
  border-top: 1px solid var(--hairline);
}

.lp-row > span:not(:first-child) { text-align: right; }

.lp-row-head {
  font-size: 12.5px;
  color: var(--text-secondary);
  border-top: none;
}

.lp-row-name { font-weight: 600; color: var(--text-bright); }

.lp-tick {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  padding: 9px 0;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
  border-top: 1px solid var(--hairline);
}

.lp-tick-time { color: var(--text-secondary); }

.lp-pos { color: var(--positive-color); }
.lp-neg { color: var(--negative-color); }

/* ── Tablet / phone ─────────────────────────────────────────── */

@media (max-width: 1100px) {
  .lp-split { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; }
  .lp-shot-stage { margin-right: 0; }
  .lp-card-fast, .lp-card-wd { right: -10px; }
  .lp-card-tg { left: -10px; }
  .lp-features { grid-template-columns: repeat(3, 1fr); }
  .lp-exchanges { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .lp-cols, .lp-plans { grid-template-columns: 1fr; gap: 14px; }
  .lp-plans { max-width: 460px; }
  .lp-cols { gap: 20px; }
  .lp-faq { grid-template-columns: 1fr; gap: 16px; }
  .lp-features { grid-template-columns: 1fr 1fr; }
  .lp-speed { grid-template-columns: 1fr; padding: 28px 28px; }
  .lp-live { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root {
    --hero-dark: url('lab-hero-phone-dark.webp');
    --hero-light: url('lab-hero-phone-light.webp');
    --what-dark: url('lab-trades-phone-dark.webp');
    --what-light: url('lab-trades-phone-light.webp');
    --what-ratio: 1180 / 840;
  }

  .lp-hero { padding: 104px 0 56px; }
  .lp-split { padding: 0 20px; }
  .lp-lead { font-size: 16.5px; margin-bottom: 28px; }
  .lp-actions { flex-direction: column; align-items: stretch; }
  .lp-shot-stage { margin: 34px 0 30px; }
  .lp-shot { aspect-ratio: 1000 / 706; border-radius: 10px; }
  .lp-card { padding: 7px 10px 7px 7px; gap: 8px; font-size: 10.5px; border-radius: 11px; }
  .lp-card b { font-size: 11px; }
  .lp-card time { font-size: 10px; }
  .lp-card-msg { font-size: 9.5px; }
  .lp-card-ico { width: 24px; height: 24px; border-radius: 7px; }
  .lp-card-ico svg { width: 13px; height: 13px; }
  .lp-card-tg { top: 30%; left: -8px; max-width: 300px; }
  .lp-card-fast { top: -20px; right: -6px; }
  .lp-card-wd { display: none; }

  .lp-section { padding: 40px 0; }
  .lp-h2 { font-size: 26px; }
  .lp-cols, .lp-features, .lp-plans { margin-top: 20px; }
  .lp-features { grid-template-columns: 1fr; gap: 10px; }
  .lp-speed { padding: 24px 20px 20px; border-radius: 16px; }
  .lp-speed-art { height: 190px; }
  .lp-stats { min-width: 168px; font-size: 12.5px; }
  .lp-exchanges { grid-template-columns: 1fr 1fr; }
  .lp-row { grid-template-columns: 1.4fr 0.7fr 1fr; font-size: 14px; }
  .lp-row > span:nth-child(2), .lp-row > span:nth-child(3) { display: none; }
  .lp-end { padding: 44px 0 52px; }
}

/* ── Card icons: one set, accent tint ───────────────────────── */

.lp-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 9px;
  color: var(--hl);
  background: color-mix(in srgb, var(--hl) 11%, transparent);
}

.dark .lp-ico { background: color-mix(in srgb, var(--hl) 16%, transparent); }

.lp-feature .lp-ico { align-self: flex-start; }
.lp-feature:has(.lp-soon) h3 { padding-right: 0; }
.lp-cols .lp-item { padding-top: 18px; }

/* ── What is algorithmic trading ────────────────────────────── */

.lp-what {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  align-items: start;
  gap: 0 48px;
}

.lp-what-text {
  max-width: 460px;
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.lp-what-list {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.lp-what-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--text-primary);
}

.lp-what-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--hl) 14%, transparent);
}

.lp-what-list li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  width: 8px;
  height: 4px;
  border-left: 1.8px solid var(--hl);
  border-bottom: 1.8px solid var(--hl);
  transform: rotate(-45deg);
}

/* The picture reaches past the content edge, like the hero window */
.lp-what-shot {
  aspect-ratio: var(--what-ratio);
  border-radius: 12px;
  background-color: var(--surface-solid);
  background-image: var(--what-light);
  background-size: cover;
  background-position: center top;
  border: 1px solid var(--hairline);
  box-shadow: 0 24px 56px -28px rgba(31, 35, 40, 0.3);
}

.dark .lp-what-shot {
  background-image: var(--what-dark);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.8);
}

@media (max-width: 900px) {
  .lp-what { grid-template-columns: 1fr; gap: 24px 0; }
}

/* Phone: the tighter render runs edge to edge so its text stays readable */
@media (max-width: 640px) {
  .lp-what-shot { border-radius: 0; border-left: none; border-right: none; }
}

/* Trade moments around the trades picture */
.lp-what-stage { position: relative; margin-bottom: 40px; }
.lp-what-stage .lp-card time { margin-left: 6px; }
.lp-wcard-placed { top: -22px; right: -28px; }
.lp-wcard-closed { top: 40%; left: -64px; }
.lp-wcard-sum { bottom: -50px; right: 24px; }

@media (max-width: 1100px) {
  .lp-wcard-placed { right: -8px; }
  .lp-wcard-closed { left: -8px; }
}

@media (max-width: 640px) {
  .lp-what-stage { margin: 24px -24px 46px; }
  .lp-what-stage .lp-what-shot { margin: 0; }
  .lp-wcard-placed { top: -20px; right: 8px; }
  .lp-wcard-closed { top: auto; bottom: -44px; left: 8px; }
  .lp-wcard-sum { display: none; }
}

.lp-what-note {
  grid-column: 2;
  margin-top: 22px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .lp-what-note { grid-column: 1; margin-top: -20px; }
}

/* ── Download page (download.html): one card per system ─────── */

.dl-hero { padding-bottom: 24px; }
.dl-hero::before { -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, #000 10%, transparent 70%); }
.dl-hero .lp-lead { max-width: 560px; margin-bottom: 0; }
.dl-section { padding-top: 32px; }

.dl-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.dl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 22px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--bg);
}

/* The visitor's system (set by the detection script). */
.dl-card.os-card-detected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent) inset;
}

.dl-detected {
  display: none;
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 2px 8px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}
.os-card-detected .dl-detected { display: inline-block; }

.dl-os {
  width: 32px;
  height: 32px;
  color: var(--text-bright);
}

.dl-card h3 {
  margin-top: 16px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--text-bright);
}

.dl-meta {
  margin: 4px 0 20px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.dl-meta code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  border-radius: 999px;
}

.dl-link { color: var(--hl); }
.dl-link:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .dl-cards { grid-template-columns: 1fr; max-width: 460px; }
  .dl-card.os-card-detected { order: -1; }
}
