:root {
  --ink: #061107;
  --panel: #0f1d10;
  --line: rgba(199, 255, 47, 0.22);
  --text: #f7ffe8;
  --muted: #bdd7ad;
  --yellow: #fff21f;
  --lime: #9dff19;
  --green: #55f52b;
  --aqua: #16e2bd;
  --danger: #ff3b46;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  background: rgba(6, 17, 7, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand,
nav {
  align-items: center;
  display: flex;
  gap: 12px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
}

.brand-icon {
  border-radius: 8px;
  display: block;
  flex: 0 0 auto;
  height: 34px;
  width: 34px;
}

nav {
  color: var(--muted);
  font-size: 14px;
  gap: clamp(12px, 3vw, 28px);
}

nav a:hover,
footer a:hover {
  color: var(--lime);
}

.hero {
  align-items: center;
  display: grid;
  justify-items: center;
  min-height: min(760px, calc(100vh - 62px));
  overflow: hidden;
  padding: clamp(72px, 12vw, 140px) clamp(18px, 6vw, 96px);
  position: relative;
  text-align: center;
}

.hero-copy {
  max-width: 980px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--aqua);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  color: var(--yellow);
  font-size: clamp(48px, 10vw, 120px);
  line-height: 0.9;
  margin: 0;
  max-width: 920px;
}

h2 {
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1;
  margin: 0;
}

h3 {
  font-size: 20px;
  margin: 18px 0 8px;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.hero-text {
  color: var(--text);
  font-size: clamp(19px, 3vw, 28px);
  margin-left: auto;
  margin-right: auto;
  max-width: 860px;
}

.hero-actions {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  border-radius: 8px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  min-width: 152px;
  padding: 14px 18px;
}

.button-primary {
  background: var(--lime);
  color: #071108;
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--text);
}

.section {
  padding: clamp(64px, 10vw, 110px) clamp(18px, 6vw, 96px);
}

.section-heading,
.workflow,
.privacy,
.install,
.policy .section {
  margin: 0 auto;
  max-width: 1120px;
}

.section-heading {
  text-align: center;
}

.feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 36px auto 0;
  max-width: 1120px;
}

.donation-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 38px;
}

article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 230px;
  padding: 22px;
}

.donation-card {
  min-height: 0;
}

.donation-card h2 {
  color: var(--yellow);
  font-size: 26px;
  margin-top: 22px;
}

.qr-image {
  aspect-ratio: 1;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 260px;
  object-fit: contain;
  padding: 8px;
  width: 100%;
}

.wallet-line {
  overflow-wrap: anywhere;
}

.wallet-line code {
  color: var(--text);
  font-size: 13px;
}

.coffee-card {
  align-content: start;
  display: grid;
}

.coffee-card .button {
  margin-top: 14px;
}

.metric {
  align-items: center;
  background: var(--lime);
  border-radius: 7px;
  color: var(--ink);
  display: inline-flex;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  min-width: 42px;
  padding: 0 10px;
}

.band {
  background: #dfff1b;
  color: var(--ink);
}

.band .eyebrow,
.band p,
.band li {
  color: #1e310d;
}

.band h2 {
  color: var(--ink);
}

.workflow {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
}

ol {
  counter-reset: steps;
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

ol li {
  background: rgba(6, 17, 7, 0.08);
  border-radius: 8px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  padding: 18px;
}

.privacy,
.install {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
}

.green-line {
  border-top: 1px solid var(--line);
  margin: 0 clamp(18px, 6vw, 96px);
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  padding: 28px clamp(18px, 6vw, 96px);
}

.policy {
  min-height: calc(100vh - 152px);
}

.policy h1 {
  font-size: clamp(42px, 7vw, 86px);
  margin-bottom: 14px;
}

.policy h2 {
  color: var(--yellow);
  font-size: 28px;
  margin-top: 38px;
}

.updated {
  color: var(--aqua);
  font-weight: 800;
}

code {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  padding: 2px 5px;
}

ul {
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 860px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .feature-grid,
  .donation-grid,
  .workflow,
  .privacy,
  .install {
    grid-template-columns: 1fr;
  }

  article {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  nav {
    width: 100%;
  }

  nav a {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 8px 10px;
  }
}
