:root {
  color-scheme: light;
  --paper: #f6f3eb;
  --ink: #1d2925;
  --muted: #65716a;
  --line: #dfded3;
  --forest: #293d34;
  --gold: #efb85b;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
  --mono: "Cascadia Mono", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px max(6.5vw, calc((100vw - 1200px) / 2));
}

.site-header {
  min-height: 82px;
  border-bottom: 1px solid rgb(29 41 37 / 8%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-mark {
  color: #be8141;
  font-size: 22px;
  line-height: 1;
}

.header-link,
.back-to-top {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.header-link span {
  margin-left: 5px;
  color: #a76e36;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  align-items: center;
  gap: 7vw;
  max-width: 1440px;
  min-height: 615px;
  margin: 0 auto;
  padding: 70px 8.5vw 88px;
}

.hero-copy {
  max-width: 475px;
  padding-bottom: 15px;
}

.eyebrow,
.card-kicker {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #72916d;
  box-shadow: 0 0 0 4px rgb(114 145 109 / 13%);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.045em;
}

h1 {
  margin: 25px 0 18px;
  font-size: clamp(58px, 6vw, 82px);
  line-height: 0.99;
}

h1 em,
h2 em,
.closing-note em {
  color: #a76e36;
  font-weight: 500;
}

.hero-description {
  max-width: 390px;
  margin-bottom: 27px;
  color: #5f6b64;
  font-size: 15px;
  line-height: 1.8;
}

.primary-link {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  gap: 22px;
  padding: 0 19px;
  border-radius: 3px;
  background: var(--forest);
  color: #fffdf6;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.primary-link:hover {
  transform: translateY(-2px);
  background: #1e3028;
}

.primary-link span {
  color: #ecc17e;
  font-size: 16px;
}

.no-pressure {
  margin: 12px 0 0;
  color: #828980;
  font-size: 10px;
}

.beacon-scene {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: 4px;
  background:
    radial-gradient(ellipse at 68% 25%, rgb(91 114 103 / 32%), transparent 39%),
    linear-gradient(145deg, #273a35, #1a2c2d 58%, #1a292b);
  isolation: isolate;
}

.scene-stars {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 14% 21%, #ebd8a4 99%, transparent),
    radial-gradient(1px 1px at 29% 42%, #f5e8c1 99%, transparent),
    radial-gradient(1.5px 1.5px at 41% 15%, #ebd8a4 99%, transparent),
    radial-gradient(1px 1px at 58% 34%, #f5e8c1 99%, transparent),
    radial-gradient(1px 1px at 78% 12%, #f5e8c1 99%, transparent),
    radial-gradient(1.5px 1.5px at 89% 39%, #ebd8a4 99%, transparent);
}

.scene-glow {
  position: absolute;
  top: 21%;
  left: 47%;
  width: 215px;
  height: 215px;
  border-radius: 50%;
  background: rgb(244 188 101 / 11%);
  filter: blur(35px);
}

.moon {
  position: absolute;
  top: 52px;
  right: 57px;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: #e9d8b3;
  box-shadow: 0 0 35px rgb(233 216 179 / 20%);
}

.beam {
  position: absolute;
  z-index: -1;
  top: 33%;
  left: 48%;
  width: 48%;
  height: 24%;
  background: linear-gradient(90deg, rgb(244 188 101 / 19%), transparent);
  filter: blur(8px);
  transform-origin: left center;
}

.beam-left {
  transform: rotate(-17deg);
}

.beam-right {
  transform: rotate(17deg);
}

.beacon {
  position: absolute;
  bottom: 69px;
  left: 48%;
  display: flex;
  width: 85px;
  height: 185px;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
}

.beacon-light {
  width: 23px;
  height: 23px;
  margin-bottom: -2px;
  border-radius: 50%;
  background: #ffda8a;
  box-shadow: 0 0 10px 6px rgb(255 205 119 / 26%), 0 0 45px 19px rgb(248 183 89 / 18%);
}

.beacon-top {
  z-index: 1;
  width: 51px;
  height: 10px;
  border: 2px solid #e1c594;
  border-radius: 3px 3px 0 0;
  background: #ae7f4e;
}

.beacon-body {
  display: flex;
  width: 45px;
  height: 48px;
  justify-content: center;
  gap: 5px;
  padding-top: 8px;
  border: 2px solid #e1c594;
  border-top: 0;
  background: #c7945a;
}

.beacon-window {
  width: 10px;
  height: 25px;
  border-radius: 8px 8px 0 0;
  background: #f9d38a;
  box-shadow: 0 0 8px rgb(255 217 142 / 45%);
}

.beacon-base {
  width: 70px;
  height: 98px;
  border: 2px solid #c9955d;
  border-top: 0;
  background: linear-gradient(90deg, #786145, #a67d50 47%, #6f5c43);
  clip-path: polygon(16% 0, 84% 0, 100% 100%, 0 100%);
}

.horizon {
  position: absolute;
  right: -10%;
  bottom: -86px;
  left: -10%;
  height: 170px;
  border-radius: 50% 50% 0 0;
  background:
    radial-gradient(ellipse at 51% 0%, rgb(117 144 116 / 45%), transparent 50%),
    linear-gradient(180deg, #435949, #273e37 70%);
  box-shadow: 0 -12px 50px rgb(115 141 109 / 12%);
}

.scene-caption {
  position: absolute;
  right: 19px;
  bottom: 17px;
  color: rgb(255 249 234 / 67%);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.support-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  column-gap: 8vw;
  max-width: 1220px;
  margin: 0 auto;
  padding: 82px 6.5vw 93px;
  border-top: 1px solid var(--line);
}

.section-intro h2 {
  margin: 16px 0 15px;
  font-size: clamp(42px, 4.5vw, 58px);
  line-height: 1.05;
}

.section-intro > p:not(.eyebrow) {
  max-width: 325px;
  margin-bottom: 15px;
  color: #65716a;
  font-size: 13px;
  line-height: 1.8;
}

.section-intro .wallet-note {
  font-size: 11px !important;
}

.donation-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 13px;
}

.donation-card {
  min-width: 0;
  padding: 22px 19px 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgb(255 255 255 / 42%);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.donation-card:hover {
  transform: translateY(-3px);
  border-color: #c9c4b4;
  box-shadow: 0 12px 35px rgb(50 56 48 / 6%);
}

.coin-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  font-size: 17px;
}

.bitcoin-icon {
  background: #f5e6ca;
  color: #a96a21;
}

.ethereum-icon {
  background: #e5e9e9;
  color: #586d78;
}

.card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 17px;
}

.card-kicker {
  margin-bottom: 5px;
  font-size: 8px;
  letter-spacing: 0.06em;
}

.card-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.card-heading h3 span {
  margin-left: 4px;
  color: #8d958d;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.03em;
}

.card-arrow {
  color: #9c784a;
  font-size: 17px;
}

.wallet-address {
  display: block;
  overflow: hidden;
  margin-bottom: 15px;
  color: #65716a;
  font-family: var(--mono);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid #d7d6ca;
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: 600 9px var(--sans);
  transition: background 160ms ease, border-color 160ms ease;
}

.copy-button:hover,
.copy-button:focus-visible {
  border-color: #9b9d8e;
  background: #f0eee5;
}

.copy-button:focus-visible,
a:focus-visible {
  outline: 2px solid #a76e36;
  outline-offset: 3px;
}

.copy-icon {
  color: #a76e36;
  font-size: 14px;
}

.copy-status {
  grid-column: 2;
  min-height: 15px;
  margin: 10px 0 0;
  color: #526a4d;
  font-size: 11px;
}

.copy-status[data-error="true"] {
  color: #9b4239;
}

.closing-note {
  display: flex;
  min-height: 137px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 30px 6vw;
  border-top: 1px solid var(--line);
  text-align: center;
}

.closing-note p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(18px, 2.4vw, 24px);
  letter-spacing: -0.025em;
}

.closing-star {
  color: #c28b4d;
  font-size: 15px;
}

.site-footer {
  min-height: 79px;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  font-size: 12px;
}

.footer-brand .brand-mark {
  font-size: 18px;
}

.site-footer > p {
  margin: 0;
  color: #7a8179;
  font-size: 10px;
}

.back-to-top {
  color: #65716a;
  font-size: 10px;
}

@media (min-width: 1500px) {
  .hero {
    padding-right: 120px;
    padding-left: 120px;
  }
}

@media (max-width: 850px) {
  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
    gap: 4vw;
    padding-right: 6vw;
    padding-left: 6vw;
  }

  .support-section {
    column-gap: 5vw;
  }

  .donation-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .site-header,
  .site-footer {
    padding-right: 6vw;
    padding-left: 6vw;
  }

  .site-header {
    min-height: 68px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 39px;
    padding-top: 57px;
    padding-bottom: 61px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  h1 {
    font-size: clamp(59px, 14vw, 76px);
  }

  .beacon-scene {
    min-height: 310px;
  }

  .beacon {
    bottom: 39px;
    transform: translateX(-50%) scale(0.85);
    transform-origin: bottom center;
  }

  .horizon {
    bottom: -106px;
  }

  .support-section {
    grid-template-columns: 1fr;
    row-gap: 25px;
    padding-top: 59px;
    padding-bottom: 57px;
  }

  .section-intro > p:not(.eyebrow) {
    max-width: 430px;
  }

  .donation-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .donation-card {
    padding: 17px 13px 15px;
  }

  .copy-button {
    gap: 6px;
    padding: 0 7px;
    font-size: 8px;
  }

  .copy-status {
    grid-column: 1;
  }

  .closing-note {
    gap: 12px;
  }

  .site-footer {
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .site-footer > p {
    order: 1;
    width: 100%;
  }
}

@media (max-width: 380px) {
  .header-link {
    font-size: 10px;
  }

  .donation-cards {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
