:root {
  color-scheme: dark;
  --bg: #07090c;
  --panel: rgba(12, 16, 21, .82);
  --line: rgba(255, 255, 255, .14);
  --text: #f4ead8;
  --muted: #aeb7c0;
  --accent: #e7b85c;
  --accent-2: #97d0c5;
  --danger: #ff8c7a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text);
}

button,
input,
textarea {
  font: inherit;
}

.shell {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(7, 9, 12, .96) 0%, rgba(7, 9, 12, .82) 42%, rgba(7, 9, 12, .2) 100%),
    url("/images/hero-desktop.png") center / cover fixed;
}

.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(340px, 480px);
  gap: 32px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0;
}

.brand-mark {
  width: 86px;
  height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .45));
}

.eyebrow,
.panel-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(44px, 8vw, 92px);
  line-height: .94;
}

.lead {
  max-width: 680px;
  color: #d1d7de;
  font-size: 19px;
  line-height: 1.75;
}

.notice-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.notice-line span {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .06);
  border-radius: 6px;
  padding: 9px 12px;
  color: #e6edf3;
}

.donation-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .38);
}

.amount-grid,
.pay-grid {
  display: grid;
  gap: 10px;
}

.amount-grid {
  grid-template-columns: repeat(3, 1fr);
}

.amount-grid button,
.pay-grid span,
.submit-button,
.home-link {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 50px;
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  cursor: pointer;
}

.amount-grid button {
  font-weight: 900;
  font-size: 18px;
}

.amount-grid button.active,
.pay-grid input:checked + span {
  border-color: var(--accent);
  background: rgba(231, 184, 92, .16);
  box-shadow: 0 0 0 2px rgba(231, 184, 92, .12) inset;
}

.field {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.field span {
  color: var(--muted);
  font-size: 13px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, .25);
  color: var(--text);
  padding: 13px 14px;
  outline: 0;
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.pay-grid {
  grid-template-columns: 1fr 1fr;
}

.pay-grid label {
  display: block;
}

.pay-grid input {
  position: absolute;
  opacity: 0;
}

.pay-grid span {
  display: grid;
  place-items: center;
  font-weight: 800;
}

.fine-print {
  color: #9ea8b2;
  font-size: 13px;
  line-height: 1.6;
}

.submit-button,
.home-link {
  display: grid;
  width: 100%;
  place-items: center;
  margin-top: 14px;
  border-color: rgba(231, 184, 92, .72);
  background: var(--accent);
  color: #11110f;
  font-weight: 900;
  text-decoration: none;
}

.submit-button:disabled {
  opacity: .55;
  cursor: wait;
}

.form-error {
  min-height: 22px;
  color: var(--danger);
}

.statement {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 40px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 64px;
}

.statement h2 {
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.05;
}

.statement p {
  color: #c7ced6;
  font-size: 18px;
  line-height: 1.75;
}

.success-body,
.mock-body {
  background:
    linear-gradient(90deg, rgba(7, 9, 12, .96), rgba(7, 9, 12, .72)),
    url("/images/success-bg.png") center / cover fixed;
}

.success-screen {
  min-height: 100vh;
  display: grid;
  align-items: center;
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0;
}

.success-card,
.mock-card {
  border: 1px solid var(--line);
  background: rgba(8, 11, 15, .84);
  backdrop-filter: blur(18px);
  border-radius: 10px;
  padding: clamp(26px, 6vw, 52px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .4);
}

.check {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: #101010;
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 24px;
}

.success-card h1,
.mock-card h1 {
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.05;
}

.receipt,
.mock-summary {
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.receipt div,
.mock-summary div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  padding-bottom: 10px;
}

.receipt dt,
.mock-summary span {
  color: var(--muted);
}

.receipt dd {
  margin: 0;
  font-weight: 900;
}

.mock-card {
  width: min(620px, calc(100% - 40px));
  margin: 12vh auto 0;
}

.mock-card p {
  color: #c8d0d8;
  line-height: 1.65;
}

@media (max-width: 860px) {
  .shell {
    background:
      linear-gradient(180deg, rgba(7, 9, 12, .96), rgba(7, 9, 12, .72)),
      url("/images/hero-mobile.png") center top / cover fixed;
  }

  .hero,
  .statement {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .amount-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
