:root,
[data-theme="night"] {
  --bg: #121212;
  --panel: #1e1e1f;
  --ink: #fcfcfc;
  --mute: #d6d6d6;
  --faint: #9a9a9a;
  --line: #383838;
  --chip: #2a2a2b;
  --step: #202021;
  --gold: #ffdb6e;
  --gold-2: #ffbc5e;
  --on-gold: #1a1408;
  --grad: linear-gradient(135deg, #ffdb6e 0%, #ffbc5e 100%);
  --grad-edge: linear-gradient(155deg, #ffda6d 0%, rgba(255, 191, 96, 0) 50%);
  --grad-edge-gray: linear-gradient(135deg, #404040 0%, rgba(64, 64, 64, 0) 48%);
  --soft: linear-gradient(135deg, rgba(255, 218, 109, .04) 0%, rgba(255, 189, 94, 0) 100%), #1e1e1f;
  --btn-fill: linear-gradient(135deg, rgba(45, 45, 46, .25) 0%, rgba(27, 27, 28, 0) 100%), #202021;
  --ghost-hover: linear-gradient(135deg, rgba(255, 218, 109, .18) 0%, rgba(255, 189, 94, 0) 60%), #202021;
  --step-num: linear-gradient(135deg, rgba(255, 218, 109, .2) 0%, rgba(255, 189, 94, 0) 60%), #2a2a2b;
  --contact-hover: linear-gradient(155deg, #ffda6d 0%, rgba(255, 191, 96, .25) 45%, rgba(255, 191, 96, 0) 70%);
  --shadow: 0 16px 40px rgba(0, 0, 0, .28);
  --shadow-sm: 0 16px 30px rgba(0, 0, 0, .18);
  --r: 18px;
  --font: "Poppins", system-ui, sans-serif;
}

[data-theme="day"] {
  --bg: #f6f3ec;
  --panel: #ffffff;
  --ink: #171411;
  --mute: #4f4942;
  --faint: #7a736a;
  --line: #e4ddd2;
  --chip: #efe9df;
  --step: #fffdf9;
  --gold: #c9971a;
  --gold-2: #a87a0f;
  --on-gold: #1a1408;
  --grad: linear-gradient(135deg, #ffdb6e 0%, #f0b84a 100%);
  --grad-edge: linear-gradient(155deg, #e8c56a 0%, rgba(232, 197, 106, 0) 55%);
  --grad-edge-gray: linear-gradient(135deg, #d9d1c4 0%, rgba(217, 209, 196, 0) 48%);
  --soft: linear-gradient(135deg, rgba(255, 219, 110, .12) 0%, rgba(255, 189, 94, 0) 100%), #ffffff;
  --btn-fill: linear-gradient(135deg, rgba(255, 255, 255, .9) 0%, rgba(246, 243, 236, .95) 100%), #fff;
  --ghost-hover: linear-gradient(135deg, rgba(255, 218, 109, .35) 0%, rgba(255, 189, 94, 0) 60%), #fffaf0;
  --step-num: linear-gradient(135deg, rgba(255, 218, 109, .45) 0%, rgba(255, 189, 94, .05) 60%), #efe9df;
  --contact-hover: linear-gradient(155deg, #ffe08a 0%, rgba(255, 219, 110, .35) 45%, rgba(255, 219, 110, 0) 70%);
  --shadow: 0 14px 32px rgba(40, 30, 10, .08);
  --shadow-sm: 0 10px 22px rgba(40, 30, 10, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
[data-theme="day"] { color-scheme: light; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--mute);
  font: 300 15px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  transition: background .2s ease, color .2s ease;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-2); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(1040px, calc(100% - 40px)); margin: 0 auto; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 8px;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}
.mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: none;
  box-shadow: var(--shadow-sm);
  background: var(--chip);
}
.mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; font-weight: 400; }
.nav a { color: var(--faint); }
.nav a:hover, .nav a.is-on { color: var(--gold); }

.theme-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--gold);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  padding: 0;
}
.theme-toggle:hover { border-color: var(--gold); }
.theme-toggle svg { width: 18px; height: 18px; display: none; }
[data-theme="night"] .theme-toggle .icon-sun { display: block; }
[data-theme="day"] .theme-toggle .icon-moon { display: block; }

.hero { padding: 48px 0 28px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--gold);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .04em;
}
h1 {
  margin: 18px 0 14px;
  color: var(--ink);
  font-size: clamp(34px, 6vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  max-width: 16ch;
}
.lead {
  max-width: 58ch;
  margin: 0 0 28px;
  color: var(--mute);
  font-size: 17px;
  font-weight: 300;
}
.row { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 14px;
  border: 0;
  text-decoration: none;
  font: 400 15px/1 var(--font);
  cursor: pointer;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 0;
  transition: .15s filter, .15s transform;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--grad);
  color: var(--on-gold);
  font-weight: 500;
}
.btn-primary:hover { color: var(--on-gold); filter: brightness(1.05); }
.btn-ghost {
  background: var(--grad-edge-gray);
  color: var(--gold);
}
.btn-ghost::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--btn-fill);
  z-index: -1;
}
.btn-ghost:hover { color: var(--gold); background: var(--grad-edge); }
.btn-ghost:hover::before { background: var(--ghost-hover); }
.btn-donate { color: var(--gold); background: var(--grad-edge-gray); }
.btn-donate::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--btn-fill);
  z-index: -1;
}
.btn-donate:hover { color: var(--gold); background: var(--grad-edge); }

section { padding: 28px 0 10px; }
.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
}
.section-title h2 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  font-weight: 600;
  position: relative;
  padding-bottom: 14px;
}
.section-title h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 4px;
  border-radius: 8px;
  background: var(--grad);
}
.section-title span {
  color: var(--faint);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.card {
  background: var(--grad-edge);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 24px 26px;
  position: relative;
  z-index: 0;
}
.card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--soft);
  z-index: -1;
}
.about p { margin: 0 0 12px; }
.about p:last-child { margin: 0; }
.about strong { color: var(--ink); font-weight: 500; }

.contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border-radius: 16px;
  background: var(--grad-edge);
  text-decoration: none;
  color: inherit;
  min-height: 120px;
  position: relative;
  z-index: 0;
  box-shadow: var(--shadow-sm);
}
.contact::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--soft);
  z-index: -1;
}
.contact strong { color: var(--ink); font-size: 17px; font-weight: 500; }
.contact span { color: var(--faint); font-size: 14px; }
.contact:hover { background: var(--contact-hover); }

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.product {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: 18px;
  background: var(--grad-edge);
  text-decoration: none;
  color: inherit;
  min-height: 210px;
  position: relative;
  z-index: 0;
  box-shadow: var(--shadow);
  transition: .15s transform;
}
.product::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--soft);
  z-index: -1;
}
.product:hover { transform: translateY(-2px); }
.tag {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--gold);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.product h3 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 500;
}
.product p {
  margin: 0;
  color: var(--faint);
  font-size: 14px;
  flex: 1;
}
.product .go { font-weight: 500; font-size: 14px; color: var(--gold); }

.foot {
  margin: 48px 0 28px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--faint);
  font-size: 13px;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  font-weight: 400;
  color: var(--faint);
}
.back:hover { color: var(--gold); }

.privacy {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--grad-edge);
  color: var(--mute);
  font-size: 14px;
  position: relative;
  z-index: 0;
}
.privacy::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--soft);
  z-index: -1;
}
.privacy strong { color: var(--ink); font-weight: 500; }

.bm-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 18px 0;
}
.bm {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-radius: 14px;
  background: var(--grad);
  color: var(--on-gold);
  font: 500 16px/1 var(--font);
  text-decoration: none;
  cursor: grab;
  user-select: none;
  box-shadow: var(--shadow);
}
.bm:hover { color: var(--on-gold); filter: brightness(1.04); }
.bm:active { cursor: grabbing; }

.note { color: var(--faint); font-size: 14px; max-width: 52ch; }
.note code { color: var(--gold); font-size: 12px; }

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
}
.steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--step);
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--step-num);
  color: var(--gold);
  font: 500 12px/36px var(--font);
  text-align: center;
}
.steps strong { color: var(--ink); font-weight: 500; }
.steps span { color: var(--faint); }

.donate-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--grad-edge);
  position: relative;
  z-index: 0;
  box-shadow: var(--shadow);
}
.donate-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--soft);
  z-index: -1;
}
.donate-card h3 { margin: 0 0 6px; color: var(--ink); font-size: 18px; font-weight: 500; }
.donate-card p { margin: 0; color: var(--faint); font-size: 14px; max-width: 46ch; }

@media (max-width: 720px) {
  .contacts { grid-template-columns: 1fr; }
  h1 { max-width: none; }
  .top { align-items: flex-start; flex-direction: column; }
  .top-actions { width: 100%; justify-content: space-between; }
  .wrap { width: min(100% - 24px, 1040px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { transition: none; }
  .btn, .product, .bm { transition: none; }
}
