:root {
  --rose: #f85f89;
  --rose-dark: #be123c;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #fff1f4;
  --blue-soft: #eff6ff;
  --blue: #2563eb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #f9fafb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand,
.nav-pill {
  color: inherit;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--rose);
}

.brand-mark {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
}

.nav-pill {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #ec4899);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.18;
}

h1 {
  max-width: 760px;
  font-size: 44px;
}

h2 {
  font-size: 28px;
}

.hero-text {
  max-width: 680px;
  margin: 20px 0 28px;
  color: #ffe4e8;
  font-size: 17px;
  line-height: 1.8;
}

.primary-button,
.submit-button {
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

.primary-button {
  display: inline-flex;
  padding: 13px 24px;
  color: var(--rose-dark);
  background: #fff;
}

.hero-panel {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 30px 22px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  text-align: center;
  box-shadow: 0 20px 50px rgba(127, 29, 29, 0.18);
}

.heart {
  font-size: 44px;
}

.donation-section {
  max-width: 920px;
  margin: 0 auto;
  padding: 42px 24px 64px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading .eyebrow {
  color: var(--rose);
}

.donation-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.item-row,
.field-grid {
  display: grid;
  grid-template-columns: 1fr 190px 100px;
  gap: 14px;
  align-items: end;
}

.field-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

label {
  display: block;
  margin-bottom: 7px;
  color: #374151;
  font-size: 14px;
  font-weight: 700;
}

label span {
  color: #9ca3af;
  font-weight: 500;
}

.required {
  color: #ef4444;
}

input,
textarea,
.fixed-item {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input,
textarea {
  padding: 10px 12px;
}

textarea {
  resize: vertical;
}

.fixed-item {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
}

.stepper {
  display: flex;
  height: 44px;
}

.stepper button {
  width: 42px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  color: #374151;
  font-size: 20px;
  cursor: pointer;
}

.stepper button:first-child {
  border-right: 0;
  border-radius: 8px 0 0 8px;
}

.stepper button:last-child {
  border-left: 0;
  border-radius: 0 8px 8px 0;
}

.stepper input {
  min-width: 0;
  border-radius: 0;
  text-align: center;
}

.checkbox-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 2px 0;
  padding: 14px;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  background: #f9fafb;
}

.checkbox-line input {
  width: 16px;
  min-height: 16px;
  margin-top: 2px;
}

.submit-button {
  min-height: 48px;
  color: #fff;
  background: #f59e0b;
  font-size: 16px;
}

.submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-message.success {
  color: #047857;
}

.form-message.error {
  color: #dc2626;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  background: #111827;
  color: #9ca3af;
  font-size: 14px;
}

@media (max-width: 760px) {
  .site-header {
    padding: 0 16px;
  }

  .hero-inner,
  .item-row,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 28px;
    padding: 44px 18px;
  }

  h1 {
    font-size: 32px;
  }

  .donation-section {
    padding: 30px 16px 48px;
  }

  .site-footer {
    flex-direction: column;
  }
}
