/* Ovumcy support page. Builds on marketing-shell.css + home.css primitives. */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ============ Intro + donate ============ */

.support-hero {
  position: relative;
  overflow: hidden;
}

.support-hero-inner {
  position: relative;
  padding: 80px 0 72px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.support-intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 720px;
}

.support-intro h1 {
  margin: 0;
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 1.04;
  text-wrap: balance;
}

.support-lead {
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
  text-wrap: pretty;
}

.donate-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 820px;
  background: var(--card);
  border: 1.5px solid var(--accent);
  border-radius: 26px;
  padding: 28px 30px;
  box-shadow: var(--shadow);
}

.donate-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.donate-title {
  font-size: 30px;
  line-height: 1.15;
}

.donate-desc {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.5;
  max-width: 60ch;
}

.coin-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.coin-chip {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.2s;
}

.coin-chip img {
  display: block;
  width: 22px;
  height: 22px;
}

.donate-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.donate-button {
  min-height: 54px;
  padding: 0 28px;
  font-size: 17px;
  gap: 9px;
}

.star-button {
  gap: 8px;
}

@media (hover: hover) {
  .coin-chip:hover {
    border-color: var(--accent);
  }
}

/* ============ Crypto wallets ============ */

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  text-wrap: pretty;
}

.wallet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.wallet-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px 26px 28px;
}

.wallet-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Brand marks need a light ground in both themes to stay recognisable. */
.coin-badge {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
}

.wallet-heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.wallet-title {
  font-size: 28px;
  line-height: 1.1;
}

.wallet-network {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  line-height: 1.2;
}

.wallet-network-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.wallet-network strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.wallet-warning {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--accent-soft);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.45;
}

.wallet-warning-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--card);
  font-size: 13px;
  font-weight: 800;
}

.wallet-body {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

/* QR stays dark-on-white in both themes: many scanners reject inverted codes. */
.wallet-qr {
  width: 168px;
  height: 168px;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.wallet-qr-bg {
  fill: #fff;
}

.wallet-qr-modules {
  fill: #1b1420;
}

.wallet-address-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.wallet-address-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.wallet-address {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-all;
  user-select: all;
}

.copy-button {
  display: none;
  min-height: 44px;
  padding: 0 18px;
  font-size: 14.5px;
}

/* Reserve the button's box from the first paint (no shift when the deferred
   script arrives); without that script the slot stays blank and the address
   stays selectable. Without JS at all the slot is not rendered. */
.js-ready .copy-button {
  display: inline-flex;
  visibility: hidden;
}

.js-interactive .copy-button {
  visibility: visible;
}

.copy-check {
  display: none;
}

.copy-button.is-copied {
  color: var(--card);
  background: var(--sage);
  border-color: var(--sage);
}

.copy-button.is-copied .copy-check {
  display: inline;
}

.support-contact {
  margin: 36px 0 0;
  padding: 20px 24px;
  border-radius: 18px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  text-align: center;
  text-wrap: pretty;
}

.support-contact a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

/* ============ Non-monetary help ============ */

#help .container {
  padding-top: 84px;
  padding-bottom: 96px;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.help-link {
  margin-top: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14.5px;
}

@media (hover: hover) {
  .help-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

/* ============ Small screens ============ */

@media (max-width: 900px) {
  .wallet-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .support-hero-inner {
    padding: 52px 0 56px;
    gap: 28px;
  }

  .support-lead {
    font-size: 17px;
  }

  .donate-card {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .donate-title {
    font-size: 25px;
  }

  .donate-actions > a {
    width: 100%;
    justify-content: center;
  }

  .coin-jump {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coin-chip {
    min-height: 44px;
    padding: 6px 10px 6px 8px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.25;
    white-space: normal;
  }

  .wallet-card {
    padding: 22px 18px 24px;
  }

  .wallet-title {
    font-size: 24px;
  }

  .wallet-body {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .wallet-qr {
    width: 196px;
    height: 196px;
  }

  .wallet-address-block {
    width: 100%;
  }

  .copy-button {
    width: 100%;
  }

  #help .container {
    padding-top: 60px;
    padding-bottom: 64px;
  }
}
