:root {
  color-scheme: light;
  --background: #f7f4ef;
  --ink: #302a2c;
  --muted: #766c6e;
  --accent: #65162f;
  --border: #e5ded8;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  width: min(100% - 40px, 720px);
  margin: 0 auto;
  padding-bottom: 40px;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
.intro {
  padding: 64px 0 48px;
  text-align: center;
}
.avatar {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 auto 25px;
  border-radius: 28px;
}
h1 {
  font-size: clamp(42px, 7vw, 56px);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1.2;
}
.role {
  margin-top: 12px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 550;
}
.bio {
  margin-top: 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}
.support {
  text-align: center;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 20px;
}
.line {
  height: 1px;
  flex: 1;
  background: var(--border);
}
h2 {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.025em;
}
.support-note {
  max-width: 560px;
  margin: 18px auto 24px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}
.kofi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 23px;
  border-radius: 12px;
  background: var(--accent);
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.15s,
    transform 0.15s;
}
.kofi:hover {
  background: #7e2340;
  transform: translateY(-2px);
}
.external-arrow {
  font-size: 18px;
}
:focus-visible {
  outline: 3px solid #b66b82;
  outline-offset: 5px;
}
.crypto-label {
  margin: 31px 0 18px;
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--muted);
}
.wallets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.wallet {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fffdfa;
  text-align: left;
}
h3 {
  font-size: 16px;
  font-weight: 650;
}
.wallet-heading p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
}
.qr {
  display: block;
  width: 162px;
  height: 162px;
  max-width: 100%;
  margin: 22px auto;
  object-fit: contain;
  image-rendering: pixelated;
}
.address-label {
  margin-bottom: 8px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.address {
  display: block;
  min-height: 58px;
  padding: 12px;
  border: 1px solid #ece6e0;
  border-radius: 8px;
  background: #f7f4ef;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  user-select: all;
}
.thanks {
  margin-top: 28px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 540px) {
  main {
    width: min(100% - 32px, 380px);
  }
  .intro {
    padding: 40px 0 36px;
  }
  .avatar {
    width: 96px;
    height: 96px;
    border-radius: 24px;
  }
  .bio {
    font-size: 15px;
  }
  .desktop-break {
    display: none;
  }
  .section-heading {
    gap: 10px;
  }
  h2 {
    font-size: 15px;
  }
  .wallets {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .wallet {
    padding: 22px;
  }
  .address {
    min-height: auto;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kofi {
    transition: none;
  }
}
