/*
 * Support page — layout only.
 *
 * Everything visual comes from /tools/tools.css: tokens, header, footer,
 * buttons, cards, the input control and both themes. This file adds no colour
 * of its own, so the page cannot drift from the rest of the site.
 */

.section { padding-block: clamp(22px, 4vw, 34px); }

.support-grid {
  display: grid;
  gap: 18px;
  align-items: start;
}
@media (min-width: 900px) {
  .support-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
}

.support-main,
.support-side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.support-card {
  border: 1px solid var(--ink-600);
  border-radius: var(--radius-card);
  background: var(--ink-800);
  padding: clamp(18px, 3vw, 26px);
}
.support-card h2 { font-size: clamp(16px, 2.4vw, 19px); }
.support-copy {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--fog-300);
}

/* ------------------------------------------------------------- amounts */

.amount-fieldset {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.amount-fieldset legend {
  padding: 0;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--fog-500);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

/*
 * A radio styled as a card.
 *
 * The input stays in the accessibility tree and keeps arrow-key group
 * behaviour; only its appearance is replaced. display:none would remove it from
 * the tab order and break both.
 */
.amount-chip { position: relative; display: block; }
.amount-chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.amount-chip > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 62px;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--ink-600);
  border-radius: var(--radius-control);
  background: var(--ink-850);
}
.amount-chip input:checked + span {
  border-color: var(--brand-500);
  background: color-mix(in srgb, var(--brand-500) 10%, var(--ink-800));
}
.amount-chip input:focus-visible + span {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
}
.amount-value { font-size: 18px; font-weight: 600; color: var(--fog-50); }
.amount-name { font-size: 12px; color: var(--fog-500); }
.amount-chip input:checked + span .amount-name { color: var(--fog-300); }

.custom-amount { margin-top: 16px; }
.url-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--fog-500);
}
.custom-row { display: flex; align-items: center; gap: 10px; }
.custom-symbol { font-size: 17px; font-weight: 600; color: var(--fog-300); }
.custom-row .url-input { max-width: 200px; }

.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

.pay-note {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--fog-500);
}

/* --------------------------------------------------------------- lists */

.free-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}
.free-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: var(--fog-100);
}
.free-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pass-500);
}
