/* ============================================================================
   TRESSO marketing - shared design system + download page styles.
   Final color system. No per-page muddy navies, no black strips, no dim gray.
   ============================================================================ */
:root {
  /* Final TRESSO color system */
  --bg-header:      #00061E;
  --bg-page:        #0C1D3A;
  --bg-hero:        #0C1D3A;
  --bg-section:     #0C1D3A;
  --bg-section-alt: #0C1D3A;

  --bg-card:        #0C234A;
  --bg-card-soft:   #102B5C;
  --bg-panel:       rgba(5, 18, 42, 0.78);

  --border-soft:    rgba(96, 165, 250, 0.22);
  --border-strong:  rgba(96, 165, 250, 0.44);
  --shadow-card:    0 26px 80px rgba(0, 0, 0, 0.34);
  --shadow-glow:    0 24px 90px rgba(59, 130, 246, 0.18);

  --text-main:      #F8FAFC;
  --text-muted:     #CBD5E1;
  --text-soft:      #9FB0C8;

  --blue:           #0072ff;
  --blue-bright:    #60A5FA;
  --violet:         #00c6ff;
  --violet-bright:  #A78BFA;

  --gradient-main:  #0072ff;
  --gradient-text:  linear-gradient(to right, #0072ff, #00c6ff);

  /* Compatibility aliases so existing markup resolves to the new system. */
  --text-b:      var(--text-muted);
  --text-m:      var(--text-muted);
  --text-s:      var(--text-soft);
  --blue-h:      var(--blue-bright);
  --blue-border: var(--border-soft);
  --border:      var(--border-soft);
  --grad-cta:    var(--gradient-main);
  --r-btn:       999px;
  --r-md:        14px;
  --r-lg:        20px;
}

/* ── Page base ─────────────────────────────────────────────────────────── */
body { scrollbar-gutter: stable; font-family: 'Poppins', sans-serif; color: var(--text-muted); line-height: 1.6; overflow-x: hidden; background: var(--bg-page) !important; }
a { color: var(--blue-bright); text-decoration: none; transition: color 0.2s; }
a:hover:not(.btn-download) { color: var(--blue-bright); }
h1, h2, h3 { color: var(--text-main); line-height: 1.2; font-weight: 700; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 28px; }
.wrap-wide { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.page-hero { text-align: center; }
.page-hero.download-hero {
  padding: 28px 0 36px;
  /* Flat - no radial glow (no violet, nothing that can read green). */
  background: var(--bg-hero);
}
.page-hero.download-hero .hero-eyebrow { margin-bottom: 16px; }
.page-hero.download-hero h1 { margin-bottom: 14px; color: var(--text-main); }
.page-hero.download-hero h1 .grad {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent !important;
}
.page-hero.download-hero p { font-size: 16px; color: var(--text-muted); line-height: 1.6; margin: 0 auto 18px; max-width: 520px; }

/* ── 3-card download grid ──────────────────────────────────────────────── */
/* Top download cards + lower info cards share ONE grid so columns line up. */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1120px;
  margin: 28px auto 0;
  align-items: stretch;
}
/* ONE card style for all three. */
/* "What's included" — premium structured feature list */
.included-block { margin-top: 34px; max-width: 720px; }
.included-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.included-heading h3 { margin: 0; font-size: 1.65rem; line-height: 1.15; font-weight: 800; color: #ffffff; letter-spacing: -0.02em; }
.included-heading-icon { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(65, 139, 255, 0.95), rgba(38, 85, 190, 0.85)); box-shadow: 0 14px 32px rgba(38, 110, 255, 0.25); color: #ffffff; }
.included-list { list-style: none; margin: 0; padding: 0; }
.included-list li { display: grid; grid-template-columns: 40px 1fr; align-items: center; min-height: 48px; color: rgba(255, 255, 255, 0.92); font-size: 1.02rem; line-height: 1.35; }
.included-list li:last-child { border-bottom: 0; }
.included-icon { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; color: #7db1ff; opacity: 0.95; }

.download-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 26px 20px 0;
  background: linear-gradient(180deg, var(--bg-card-soft) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.download-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
/* Recommended = same fill, only a stronger border + glow. */
.download-card.is-recommended {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.recommended-pill {
  display: none;
  white-space: nowrap;
  font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #BFDBFE;
  background: rgba(96,165,250,0.10);
  border: 1px solid var(--border-strong);
  padding: 4px 12px; border-radius: 999px;
  margin-bottom: 2px;
}
.download-card.is-recommended .recommended-pill { display: inline-flex; }
.download-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-bright);
  filter: drop-shadow(0 0 14px rgba(96, 165, 250, 0.28));
}
.download-icon svg { width: 30px; height: 30px; }
/* Proper brand logo colors: Windows = Microsoft blue, Apple = white. */
#dl-windows .download-icon { color: #1FAFF5; filter: drop-shadow(0 0 16px rgba(0,164,239,0.45)) brightness(1.08); }
#dl-mac-arm .download-icon,
#dl-mac-intel .download-icon { color: #F5F5F7; filter: drop-shadow(0 0 12px rgba(255,255,255,0.22)); }
.download-card h2 { font-size: 16px; font-weight: 700; letter-spacing: 0.01em; margin: 0; color: var(--text-main); }
.download-card > p { font-size: 11px; color: var(--text-soft); line-height: 1.4; margin: 0; min-height: 31px; }
/* CTA sits in a clean card footer: inset from the edges, pinned to the bottom,
   aligned across all three cards (margin-top:auto), calmer gradient. */
.download-button {
  margin-top: auto;
  margin-bottom: 22px;
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - 40px);
  height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #0072ff;
  color: var(--text-main);
  font-size: 13px; font-weight: 600;
  padding: 0 18px; border-radius: 999px;
  box-shadow: 0 8px 22px rgba(59,130,246,0.22);
  transition: transform 0.18s ease, box-shadow 0.2s, background 0.2s, opacity 0.2s;
}
.download-card:hover .download-button { box-shadow: 0 14px 34px rgba(59,130,246,0.28); }
.download-note { margin: 18px auto 0; max-width: 420px; font-size: 11px; color: var(--text-soft); line-height: 1.5; text-align: center; }
.download-meta { margin-top: 12px; font-size: 11px; color: var(--text-soft); letter-spacing: 0.01em; line-height: 1.45; }
.download-timing { font-size: 11px; color: var(--text-soft); line-height: 1.45; margin: 10px auto 0; max-width: 340px; text-align: center; }
.btn-sub-label { font-size: 10px; font-weight: 400; color: var(--text-soft); line-height: 1.3; margin: 0; text-align: center; }

/* Download buttons (button-group layout used on some variants) */
.btn-download {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 44px; min-height: 44px;
  background: var(--gradient-main);
  color: var(--text-main);
  font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700;
  padding: 0 14px; border-radius: var(--r-btn);
  border: 1px solid rgba(255,255,255,0.14);
  text-decoration: none; letter-spacing: 0.01em; white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  box-sizing: border-box;
}
.btn-download:hover { transform: translateY(-1px); color: var(--text-main); border-color: rgba(255,255,255,0.22); box-shadow: 0 10px 32px rgba(59,130,246,0.45); }
.btn-download svg { width: 15px; height: 15px; flex-shrink: 0; }
.btn-download .apple-ico { width: 14px; height: 17px; }
.btn-download-soon { background: var(--bg-panel); border: 1px solid var(--border-soft); color: var(--text-soft); box-shadow: none; cursor: not-allowed; pointer-events: none; }
.btn-download-soon:hover { opacity: 1; box-shadow: none; color: var(--text-soft); }
.btn-download.btn-download-alt { background: var(--bg-panel); border: 1px solid var(--border-soft); box-shadow: none; }
.btn-download.btn-download-alt:hover { color: var(--text-main); background: var(--bg-card); border-color: var(--border-strong); box-shadow: 0 8px 24px rgba(59,130,246,0.24); }
.os-reco-badge { display: none; align-self: center; font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #BFDBFE; background: rgba(96,165,250,0.16); border: 1px solid var(--border-strong); padding: 3px 11px; border-radius: 999px; margin: 0 auto 2px; }
.download-btn-group.is-recommended .os-reco-badge { display: inline-flex; }
.mac-btn-stack { display: flex; flex-direction: column; gap: 8px; }
.download-btn-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; max-width: 500px; margin: 0 auto; align-items: start; }
.download-btn-group { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-width: 0; }

/* ── Info cards (below download) ───────────────────────────────────────── */
.dl-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1120px; margin: 28px auto 0; margin-bottom: 0; text-align: left; align-items: stretch; }
.dl-info-card { height: auto; min-height: 100%; background: var(--bg-panel); border: 1px solid var(--border-soft); border-radius: 14px; padding: 18px 20px; }
.dl-info-card h3 { font-size: 13px; font-weight: 700; color: var(--text-main); margin: 0 0 8px; letter-spacing: 0.005em; }
.dl-info-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.6; margin: 0; }
.dl-info-card p + p { margin-top: 8px; }
.dl-info-card strong { color: var(--text-main); }
/* The update note is a normal block that clears the full three-card row and
   sits inside the hero's own background - no margin pushing, no overlap, no seam. */
.download-section,
.page-hero.download-hero { overflow: visible; }

.dl-update-note {
  display: block;
  clear: both;
  max-width: 720px;
  margin: 120px auto 0;
  padding: 0 24px;
  text-align: center;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.65;
  position: static;
  transform: none;
}

.download-hero { padding-bottom: 80px; }

.download-trust-note { margin: 22px auto 0; padding: 18px 20px; border: 1px solid var(--border-soft); border-radius: 18px; background: var(--bg-panel); box-shadow: var(--shadow-card); color: var(--text-muted); max-width: 620px; text-align: left; }
.download-trust-note strong { color: var(--text-main); }
.download-trust-note p { margin: 8px 0 0; line-height: 1.55; font-size: 0.95rem; color: var(--text-muted); }

@media (max-width: 760px) {
  .download-grid { grid-template-columns: 1fr; max-width: 360px; }
  .download-card > p { min-height: 0; }
  .dl-info-grid { grid-template-columns: 1fr; max-width: 420px; }
}

/* ── Requirements (same card style as download cards) ──────────────────── */
.req-section { padding: 64px 0; }
.section-kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(59,130,246,0.09); border: 1px solid var(--border-soft); color: var(--blue-bright); font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 15px; border-radius: var(--r-btn); margin-bottom: 22px; }
.req-section h2 { font-size: clamp(18px, 2.4vw, 22px); font-weight: 800; letter-spacing: 0.015em; line-height: 1.25; margin-bottom: 20px; }
.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.req-card { background: linear-gradient(180deg, var(--bg-card-soft) 0%, var(--bg-card) 100%); border: 1px solid var(--border-soft); border-radius: var(--r-md); padding: 18px 20px; box-shadow: var(--shadow-card); }
.req-card-title { font-size: 10px; font-weight: 700; color: var(--text-soft); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.req-list { display: flex; flex-direction: column; gap: 5px; list-style: none; margin: 0; padding: 0; }
.req-item { font-size: 13px; color: var(--text-muted); display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.req-item::before { content: ''; width: 4px; height: 4px; background: var(--blue-bright); border-radius: 50%; flex-shrink: 0; margin-top: 7px; }
.req-mac-note { font-size: 12px; color: var(--text-soft); line-height: 1.5; margin: 0 0 40px; }

/* ── Install steps ─────────────────────────────────────────────────────── */
.install-steps { margin-bottom: 8px; }
.install-steps h2 { font-size: clamp(18px, 2.4vw, 22px); font-weight: 800; letter-spacing: 0.015em; line-height: 1.25; margin-bottom: 18px; }
.step-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; max-width: 900px; }
.step-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(148,163,184,0.10); align-items: flex-start; }
.step-item:last-child, .step-item:nth-last-child(2) { border-bottom: none; }
@media (max-width: 640px) {
  .step-list { grid-template-columns: 1fr; max-width: 560px; }
  .step-item:nth-last-child(2) { border-bottom: 1px solid rgba(148,163,184,0.10); }
  .step-item:last-child { border-bottom: none; padding-bottom: 0; }
}
.step-num { width: 26px; height: 26px; border-radius: 50%; background: rgba(59,130,246,0.10); border: 1px solid var(--border-soft); color: var(--blue-bright); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.step-body strong { display: block; font-size: 14px; font-weight: 700; color: var(--text-main); margin-bottom: 3px; letter-spacing: 0.005em; }
.step-body span { display: block; font-size: 13px; color: var(--text-muted); line-height: 1.45; max-width: 46ch; }

/* ── Setup notes ───────────────────────────────────────────────────────── */
.setup-notes { max-width: 560px; margin: 28px auto 0; display: flex; flex-direction: column; gap: 8px; }
.setup-note { padding: 12px 16px; border-radius: var(--r-md); background: rgba(59,130,246,0.06); border: 1px solid var(--border-soft); text-align: left; }
.setup-note-title { display: block; font-size: 13px; font-weight: 700; color: var(--text-main); margin-bottom: 4px; letter-spacing: 0.005em; }
.setup-note-body { font-size: 13px; color: var(--text-muted); line-height: 1.45; margin: 0; }
.setup-note-body a { color: var(--blue-bright); text-decoration: none; }
.setup-note-body a:hover { text-decoration: underline; }

/* ── Support strip (section-alt, never black/gray) ─────────────────────── */
.support-strip { background: var(--bg-section-alt); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); padding: 48px 0; margin-bottom: 0; text-align: center; }
.support-strip h2 { font-size: clamp(18px, 2.5vw, 24px); font-weight: 800; letter-spacing: 0.015em; margin-bottom: 10px; }
.support-strip p { font-size: 15px; color: var(--text-muted); margin-bottom: 20px; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border-soft); color: var(--blue-bright); font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600; padding: 11px 26px; border-radius: var(--r-btn); text-decoration: none; letter-spacing: 0.01em; transition: border-color 0.2s, color 0.2s; }
.btn-outline:hover { border-color: var(--border-strong); color: var(--text-main); }

/* ── Footer (matches header / logo dark) ───────────────────────────────── */
.site-footer { border-top: 1px solid var(--border-soft); padding: 48px 0 36px; background: var(--bg-header); }
.site-footer .wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 36px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; text-align: left; align-items: flex-start; }
.footer-links h4 { font-size: 10px; font-weight: 700; color: var(--text-soft); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 4px; }
.footer-links a { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-main); }
.footer-bottom { border-top: 1px solid var(--border-soft); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: var(--text-soft); line-height: 1.7; }
.footer-trademark { font-size: 11px; color: var(--text-soft); margin-top: 3px; }
.footer-disclaimer { font-size: 11px; color: var(--text-soft); margin-top: 2px; }
.footer-legal { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-legal a { font-size: 12px; color: var(--text-soft); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--text-muted); }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; } }
.page-hero h1, .hero-h1 { animation: fadeInUp 0.7s ease-out both; }
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .page-hero.download-hero { padding: 24px 0 32px; }
  .download-btn-row { grid-template-columns: 1fr; max-width: 100%; width: 100%; }
  .download-timing { max-width: 100%; padding: 0 4px; box-sizing: border-box; }
  .download-meta { padding: 0 4px; }
}
@media (max-width: 700px) {
  .req-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

/* ════════════════ Download page - premium split layout (v2) ════════════════
   Appended last so these win over the legacy 3-card-grid rules above. */

/* Split hero: copy on the left, ONE featured download card on the right. */
.download-hero-v2 { padding: 44px 0 40px; background: var(--bg-hero); }
.download-hero-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: start;
}
.download-hero-copy { min-width: 0; text-align: left; }
/* Drop the card so its top sits at the heading line (past the kicker), not above it. */
@media (min-width: 900px) { .download-hero-shell .download-cards { margin-top: 45px; } }
/* Right column: Windows card on top, compact Mac strip directly underneath - both on
   the first screen. Normal flex column so nothing can break out of place. */
.download-cards { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
/* Compact Mac strip - same blue glass, smaller than the Windows card. */
.mac-download {
  border: 1px solid rgba(96,165,250,.20);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15,35,66,.62), rgba(10,29,58,.5));
  box-shadow: 0 12px 36px rgba(0,0,0,.18);
  padding: 16px 18px;
}
.mac-download-label {
  font-size: 12.5px; font-weight: 700; letter-spacing: .03em;
  color: rgba(232,240,255,.72); text-align: center; margin-bottom: 12px;
}
.mac-download-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mac-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; min-height: 54px; padding: 9px 12px; text-align: center;
  border-radius: 14px; border: 1px solid rgba(96,165,250,.34);
  background: linear-gradient(135deg, rgba(96,165,250,.18), rgba(96,165,250,.16));
  color: #F8FBFF; text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.mac-btn:hover { border-color: rgba(96,165,250,.45); transform: translateY(-1px); color: #FFFFFF; }
.mac-btn-main { font-size: 13.5px; font-weight: 700; line-height: 1.2; }
.mac-btn-sub  { font-size: 11px; font-weight: 500; color: rgba(232,240,255,.6); }
/* OS-detection promotes the matching Mac button (keeps the existing dl-mac-* ids). */
.mac-download-actions .is-recommended {
  border-color: rgba(125,211,252,.6);
  box-shadow: 0 0 0 1px rgba(125,211,252,.35), 0 10px 24px rgba(37,99,235,.22);
}
.mac-download-note {
  margin: 12px 0 0; text-align: center; font-size: 11.5px;
  color: rgba(232,240,255,.5); line-height: 1.5;
}
@media (max-width: 700px) {
  .mac-download-actions { grid-template-columns: 1fr; }
}
.download-hero-copy h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800; letter-spacing: -0.015em; line-height: 1.08; margin: 0 0 14px;
}
.download-hero-copy h1 .grad {
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; color: transparent !important;
}
.download-hero-sub {
  font-size: 17px; color: var(--text-muted); line-height: 1.62;
  max-width: 460px; margin: 0 0 26px;
}
.download-hero-points { display: flex; flex-direction: column; gap: 13px; }
.download-hero-points span {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: var(--text-soft); font-weight: 500;
}
.download-hero-points span::before {
  content: '\2713';
  width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; color: #BFDBFE; font-weight: 700;
  background: rgba(96,165,250,0.14); border: 1px solid var(--border-strong);
}

/* Featured (Windows) card = the visual anchor: bigger, more glow, primary button. */
.download-card--featured {
  padding: 20px 32px 0;
  border-color: var(--border-strong);
  background:
    radial-gradient(circle at 50% -10%, rgba(80,150,255,0.18), transparent 60%),
    linear-gradient(180deg, var(--bg-card-soft) 0%, var(--bg-card) 100%);
  box-shadow: var(--shadow-card), 0 0 80px rgba(80,150,255,0.18);
}
.download-card--featured:hover { transform: translateY(-3px); }
.download-card--featured .download-icon { width: 54px; height: 54px; }
.download-card--featured .download-icon svg { width: 40px; height: 40px; }
.download-card--featured h2 { font-size: 22px; margin-top: 2px; }
.download-card--featured > p { font-size: 13px; min-height: 0; }
.download-card--featured .download-button {
  height: 42px; font-size: 14px; width: 76%; margin-bottom: 14px;
  background: #0072ff;
  box-shadow: 0 11px 26px rgba(59,108,232,0.30);
}
.download-card--featured:hover .download-button,
.download-card--featured .download-button:hover {
  background: #2a8bff;
  box-shadow: 0 18px 40px rgba(59,108,232,0.45);
  transform: translateY(-2px);
}
.download-card--featured .download-card-foot {
  display: block; margin: 0 0 16px; font-size: 12px; font-weight: 500; color: #C3D1E8; line-height: 1.5;
}

/* Secondary (Mac) downloads = compact. */
.download-secondary-section { padding: 26px 0 4px; }
.download-secondary-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px;
  max-width: 720px; margin: 0 auto;
}
.download-hero-cards .download-secondary-note {
  text-align: center; margin: 4px 0 0; font-size: 12px; color: var(--text-soft); line-height: 1.5;
}
/* Lighter, glass-button secondary cards - border/glow does the work, not the button. */
.download-card--secondary {
  /* Flex column so the button is anchored to the bottom and the card always grows to
     contain it - a 2-line title (e.g. "Mac (Apple Silicon)") no longer pushes the
     button outside the card border. */
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 200px;
  padding: 24px 22px;
  text-align: center;
  border: 1px solid rgba(96, 165, 250, .20);
  background:
    radial-gradient(circle at 50% 0%, rgba(96, 165, 250, .12), transparent 48%),
    linear-gradient(180deg, rgba(15, 35, 66, .78), rgba(10, 29, 58, .66));
  box-shadow: 0 18px 54px rgba(0, 0, 0, .22);
}
.download-card--secondary .download-icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 16px;
  color: #F8FBFF;
  filter: none;
}
.download-card--secondary h2 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -.03em;
}
.download-card--secondary p {
  margin: 0 0 18px;
  color: rgba(232, 240, 255, .58);
  font-size: 14px;
  min-height: 0;
  flex: 1 0 auto;        /* fills remaining space so the button sits at the bottom */
}
.download-card--secondary .download-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: auto;
  min-width: 200px;
  max-width: 100%;
  height: 48px;
  margin: auto auto 0;   /* anchored to the card bottom, inside the border */
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, .34);
  background:
    linear-gradient(135deg, rgba(96, 165, 250, .18), rgba(96,165,250, .16));
  color: #F8FBFF;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 12px 28px rgba(96, 165, 250, .10);
  font-weight: 700;
}
.download-card--secondary:hover {
  border-color: rgba(96,165,250, .42);
  transform: translateY(-2px);
  box-shadow:
    0 22px 64px rgba(0, 0, 0, .28),
    0 0 34px rgba(96, 165, 250, .10);
}
.download-card--secondary:hover .download-button {
  border-color: rgba(96,165,250, .48);
  background:
    linear-gradient(135deg, rgba(96, 165, 250, .28), rgba(96,165,250, .24));
}
.download-secondary-note {
  max-width: 720px; margin: 16px auto 0; text-align: center;
  font-size: 12px; color: var(--text-soft); line-height: 1.55;
}

/* Slim trust strip (replaces the old three info-card grid). */
.download-trust-strip {
  margin-top: 34px;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-section-alt);
  padding: 22px 0;
}
.download-trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 26px; }
.download-trust-grid > div { display: flex; flex-direction: column; gap: 4px; padding-left: 15px; position: relative; }
.download-trust-grid > div::before {
  content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 2px;
  border-radius: 2px; background: linear-gradient(180deg, #0072ff, #3B82F6);
}
.download-trust-grid strong { font-size: 13px; color: var(--text-main); font-weight: 700; }
.download-trust-grid span { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* Lighter requirements. */
.req-section { padding: 48px 0; }
.req-card { padding: 16px 18px; }

/* Install steps = two-column numbered grid, no row dividers. */
.step-list { grid-template-columns: 1fr 1fr; max-width: 900px; gap: 6px 44px; }
.step-item { padding: 15px 0; border-bottom: none; }
.step-item:nth-last-child(2) { border-bottom: none; }
.step-item:last-child { border-bottom: none; }
@media (max-width: 720px) { .step-list { grid-template-columns: 1fr; max-width: 560px; } }
.step-num {
  width: 30px; height: 30px; font-size: 12px; color: #fff; border: none;
  background: linear-gradient(135deg, #0072ff 0%, #3B82F6 100%);
  box-shadow: 0 5px 14px rgba(80,150,255,0.32);
}

/* Tighter support strip - not another hero. */
.support-strip { padding: 34px 0; }
.support-strip h2 { font-size: clamp(16px, 2vw, 20px); margin-bottom: 8px; }
.support-strip p { font-size: 14px; margin-bottom: 16px; }

@media (max-width: 860px) {
  .download-hero-v2 { padding: 32px 0; }
  .download-hero-shell { grid-template-columns: 1fr; gap: 32px; }
  .download-hero-copy { text-align: center; }
  .download-hero-sub { margin-left: auto; margin-right: auto; }
  .download-hero-points { align-items: center; }
  .download-card--featured { width: 100%; max-width: 420px; margin: 0 auto; }
  .download-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 26px; }
}
@media (max-width: 560px) {
  .download-secondary-grid { grid-template-columns: 1fr; max-width: 360px; }
  .download-trust-grid { grid-template-columns: 1fr; }
}
