/* ========== SUPPORT PAGE ==========
   Download cards, the three-step explainer and the contact channels.
   ================================== */

.support-page { padding-top: 120px; }
.support-page .section-head { margin-bottom: 44px; }

.sup-block { margin-bottom: 56px; }
.sup-block-h {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.sup-block-h h3 { font-size: 22px; letter-spacing: -.015em; margin-bottom: 6px; }
.sup-block-h p { font-size: 14.5px; color: var(--ink-3); line-height: 1.55; max-width: 620px; }
.sup-updated {
  flex: none;
  font-size: 11.5px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--ink-4);
  white-space: nowrap;
  padding-top: 4px;
}

/* ===== download cards ===== */
.sup-dl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1100px) { .sup-dl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .sup-dl-grid { grid-template-columns: 1fr; } }

.sup-dl {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 22px 20px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.sup-dl:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 16px 34px -18px rgba(30,94,255,.35);
}
.sup-dl.best {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(30,94,255,.08);
}
.sup-dl-badge {
  position: absolute;
  top: -9px; left: 16px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sup-dl-os {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
}
.sup-dl-os svg { color: var(--brand); }
.sup-dl-variant { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.sup-dl-note { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; flex: 1; }
.sup-dl-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.sup-dl-size {
  font-size: 11.5px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--ink-4);
}
.sup-dl-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
}
.sup-dl:hover .sup-dl-cta svg { transform: translateX(3px); }
.sup-dl-cta svg { transition: transform .25s var(--ease); }

/* Not published yet: still legible, clearly not clickable. */
.sup-dl.soon { opacity: .58; cursor: default; }
.sup-dl.soon:hover { transform: none; border-color: var(--line); box-shadow: none; }
.sup-dl.soon .sup-dl-cta { color: var(--ink-4); }

.sup-hint { margin-top: 16px; font-size: 12.5px; color: var(--ink-4); }
.sup-empty {
  padding: 30px 24px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  color: var(--ink-3);
  font-size: 14px;
  text-align: center;
}

/* ===== three steps ===== */
.sup-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .sup-steps { grid-template-columns: 1fr; } }
.sup-step {
  position: relative;
  padding: 26px 22px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}
.sup-step-n {
  position: absolute;
  top: 20px; right: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-4);
  letter-spacing: .06em;
}
.sup-step-ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.sup-step h4 { font-size: 16px; margin-bottom: 7px; letter-spacing: -.01em; }
.sup-step p { font-size: 13.5px; color: var(--ink-3); line-height: 1.6; }

/* ===== channels ===== */
.sup-channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 760px) { .sup-channels { grid-template-columns: 1fr; } }

.sup-channel {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.sup-channel:hover {
  transform: translateY(-3px);
  border-color: var(--ink-3);
  box-shadow: 0 14px 30px -18px rgba(10,10,20,.28);
}
.sup-channel-ic {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 11px;
  background: var(--bg-alt);
  color: var(--ink-2);
  display: grid; place-items: center;
}
.sup-channel-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sup-channel-body b { font-size: 15px; letter-spacing: -.01em; }
.sup-channel-body span { font-size: 12.5px; color: var(--ink-3); line-height: 1.45; }
.sup-channel-go {
  margin-left: auto;
  flex: none;
  color: var(--ink-4);
  transition: transform .25s var(--ease), color .25s var(--ease);
}
.sup-channel:hover .sup-channel-go { transform: translateX(3px); color: var(--ink); }

/* The portal is the primary route, so it reads as the filled option. */
.sup-channel.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.sup-channel.primary .sup-channel-ic { background: rgba(255,255,255,.1); color: var(--accent); }
.sup-channel.primary .sup-channel-body span { color: rgba(255,255,255,.6); }
.sup-channel.primary .sup-channel-go { color: rgba(255,255,255,.55); }
.sup-channel.primary:hover { border-color: var(--brand); }
.sup-channel.primary:hover .sup-channel-go { color: #fff; }

@media (max-width: 760px) {
  .support-page { padding-top: 100px; }
  .sup-block-h { flex-direction: column; gap: 10px; }
  .sup-updated { padding-top: 0; }
}
