/* PiWalletSV marketing-site overrides on top of mkdocs-material.
 *
 * Scope is intentionally narrow: the docs nav, content layout, and
 * Material theme defaults stay untouched. Everything below targets
 * the front-page hero and the "Launch wallet" call-to-action buttons
 * so a brand-new visitor lands on something marketing-shaped instead
 * of a wall of dev-doc prose. */

/* ---- Hero on the front page (.pwsv-hero) ----------------------------- */

.pwsv-hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0 1rem;
  flex-wrap: wrap;
}

.pwsv-hero img {
  width: 220px;
  max-width: 36vw;
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}

.pwsv-hero .pwsv-hero-copy {
  flex: 1 1 320px;
  min-width: 0;
}

.pwsv-hero h1 {
  margin: 0 0 0.4rem 0;
  font-size: 2.4rem;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.pwsv-hero .pwsv-tagline {
  font-size: 1.15rem;
  margin: 0 0 1.1rem 0;
  color: var(--md-default-fg-color--light);
}

@media (max-width: 600px) {
  .pwsv-hero {
    text-align: center;
    flex-direction: column;
  }
  .pwsv-hero img {
    max-width: 50vw;
  }
  .pwsv-hero h1 {
    font-size: 2rem;
  }
}

/* ---- "Launch wallet" call-to-action button --------------------------- */
/*
 * Renders the Markdown link `[Launch wallet ↗]{.pwsv-cta}` (or
 * `[…](url){.pwsv-cta}` via attr_list) as a solid pill button in the
 * theme's accent gradient. Used on the front page hero and at the
 * bottom of the architecture / security pages so a reader who has
 * just been convinced to try it has the obvious next click in reach.
 */
.pwsv-cta {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0b90b, #51cf66);
  color: #061018 !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.pwsv-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  color: #061018 !important;
}

.pwsv-cta-secondary {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--md-default-fg-color--lightest);
  color: var(--md-default-fg-color);
  text-decoration: none !important;
  margin-left: 0.6rem;
}

.pwsv-cta-secondary:hover {
  background: var(--md-default-bg-color--lighter, rgba(255, 255, 255, 0.05));
}

@media (max-width: 600px) {
  .pwsv-cta-secondary {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}
