/* Safeguard's product page (templates/wallet_safeguard.html, WALLET_SAFEGUARD_PAGE=1). Only
   that page links this file; everything else comes from wallet.css. */
.sg-hero .bw-eyebrow svg { color: var(--crimson); flex: none; }
.sg-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin: 0; }
.sg-mark { margin: 0; display: grid; place-items: center; }
.sg-mark svg { width: min(100%, 220px); height: auto; filter: drop-shadow(0 18px 40px color-mix(in srgb, var(--crimson) 25%, transparent)); }

.sg-steps {
  list-style: none; counter-reset: sg-step; margin: 1.5rem 0 0; padding: 0;
  display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.sg-steps li {
  counter-increment: sg-step; position: relative; padding: 3.6rem 1.4rem 1.4rem;
  border-radius: 14px; border: 1px solid var(--line); background: var(--surface);
}
.sg-steps li::before {
  content: counter(sg-step); position: absolute; left: 1.4rem; top: 1.25rem; width: 1.9rem; height: 1.9rem;
  display: grid; place-items: center; border-radius: 50%; font-size: .9375rem; font-weight: 700;
  background: var(--bw-grad); color: var(--bw-on-grad);
}
.sg-steps h3 { margin: 0 0 .5rem; font-size: 1.0625rem; }
.sg-steps p { margin: 0; color: var(--ink-2); font-size: .9375rem; line-height: 1.55; }

.sg-cost-notes { margin-top: 1.5rem; max-width: 860px; }

.sg-links { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .6rem; }
.sg-links a {
  display: flex; flex-direction: column; gap: .15rem; padding: .9rem 2.6rem .9rem 1.1rem; position: relative;
  border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-2); text-decoration: none; font-size: .9375rem; overflow-wrap: anywhere;
}
.sg-links a strong { color: var(--ink); font-size: 1rem; }
.sg-links a::after { content: "\203A"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--crimson); }
.sg-links a:hover { border-color: color-mix(in srgb, var(--crimson) 55%, var(--line)); }
.sg-operator { margin: 1.25rem 0 0; color: var(--ink-3); font-size: .875rem; }

@media (max-width: 900px) {
  .sg-mark { display: none; }
}

/* Five cards: three, then two, rather than four and an orphan. */
.bw-cards.sg-cards3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
