@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --azure: #4aa6e8;
  --azure-dark: #3592da;
  --azure-soft: #e8f4fd;
  --pink: #f08fb8;
  --pink-dark: #e76fa3;
  --pink-soft: #fdeaf2;
  --ink: #34404f;
  --muted: #76828f;
  --line: #eaf0f6;
  --card: #ffffff;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  color: var(--ink);
  background: #fbfdff;
  font-family: "Inter", -apple-system, system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* soft pastel paint washes behind everything */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(42% 38% at 14% 10%, rgba(140, 200, 245, 0.55), transparent 70%),
    radial-gradient(40% 34% at 88% 14%, rgba(247, 190, 220, 0.5), transparent 70%),
    radial-gradient(46% 42% at 84% 86%, rgba(160, 212, 248, 0.5), transparent 70%),
    radial-gradient(42% 38% at 10% 90%, rgba(250, 205, 228, 0.5), transparent 70%),
    radial-gradient(30% 26% at 50% 50%, rgba(255, 244, 210, 0.35), transparent 70%),
    #fbfdff;
}

h1, h3 { font-weight: 700; letter-spacing: -0.01em; margin: 0; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.brand__logo { width: 32px; height: 32px; border-radius: 9px; display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  padding: 12px 24px;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.08s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--azure); color: #fff; box-shadow: 0 10px 22px rgba(74, 166, 232, 0.32); }
.btn--solid:hover { background: var(--azure-dark); }
.btn--line { background: rgba(255, 255, 255, 0.7); color: var(--azure); border-color: var(--line); backdrop-filter: blur(6px); }
.btn--line:hover { border-color: var(--azure); }
.btn--block { width: 100%; padding: 14px; }

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 660px;
  margin: 0 auto;
  padding: 30px 28px 24px;
}
.bg__rainbow {
  position: absolute;
  left: 50%;
  top: -50px;
  transform: translateX(-50%);
  width: min(1600px, 175%);
  height: auto;
  opacity: 0.28;
  filter: blur(2px);
  -webkit-mask-image: radial-gradient(135% 92% at 50% -12%, #000 30%, transparent 76%);
  mask-image: radial-gradient(135% 92% at 50% -12%, #000 30%, transparent 76%);
}
.nav__cta { display: flex; gap: 10px; align-items: center; }
.nav__link { color: var(--azure); font-weight: 600; text-decoration: none; font-size: 15px; padding: 8px 6px; }
.nav__link:hover { color: var(--azure-dark); }
.hero__logo {
  width: 96px;
  height: 96px;
  border-radius: 26px;
  margin-bottom: 24px;
  box-shadow: 0 18px 40px rgba(74, 166, 232, 0.34);
}
.hero h1 { font-size: clamp(33px, 5.4vw, 52px); line-height: 1.08; margin-bottom: 18px; }
.hero p { font-size: 18px; color: var(--muted); margin: 0 0 16px; max-width: 540px; }
.proof {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 2px 0 26px;
  max-width: 500px;
}
.proof__cite { color: var(--azure); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.section-title { text-align: center; font-size: clamp(22px, 4vw, 28px); font-weight: 700; margin: 18px auto 2px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1060px;
  margin: 16px auto 56px;
  padding: 0 28px;
}
@media (max-width: 940px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  padding: 26px 24px;
  box-shadow: 0 10px 30px rgba(52, 64, 79, 0.07);
}
.step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--azure-soft);
  color: var(--azure);
  margin-bottom: 14px;
}
.step:nth-child(even) .step__icon { background: var(--pink-soft); color: var(--pink-dark); }
.step__icon svg { width: 24px; height: 24px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.footer { text-align: center; color: var(--muted); font-size: 14px; padding: 24px; margin-top: auto; }

/* auth + account */
.auth__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 56px;
}
.card {
  width: 100%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  padding: 34px 30px;
  box-shadow: 0 24px 50px rgba(52, 64, 79, 0.12);
}
.card--center { text-align: center; }
.card__logo { width: 62px; height: 62px; border-radius: 17px; display: block; margin: 0 auto 18px; box-shadow: 0 12px 26px rgba(74, 166, 232, 0.3); }
.card__title { font-size: 26px; margin-bottom: 6px; text-align: center; }
.card__sub { color: var(--muted); text-align: center; margin: 0 0 26px; font-size: 15px; }
.dl-hint { color: var(--muted); text-align: center; font-size: 13.5px; line-height: 1.5; margin: 16px 0 0; }

.segment {
  display: flex;
  background: var(--azure-soft);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 24px;
}
.segment__item {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  color: var(--muted);
  padding: 9px;
  border-radius: 999px;
  cursor: pointer;
}
.segment__item.is-active { background: #fff; color: var(--azure); box-shadow: 0 2px 8px rgba(52, 64, 79, 0.1); }

.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  outline: none;
}
.field input:focus { border-color: var(--azure); box-shadow: 0 0 0 3px rgba(74, 166, 232, 0.16); }

.error { background: var(--pink-soft); color: #c2415f; border-radius: 12px; padding: 10px 12px; font-size: 14px; margin: 0 0 16px; }
.switch { text-align: center; color: var(--muted); margin: 18px 0 0; font-size: 14px; }
.switch a { color: var(--azure); font-weight: 600; }

.amounts { display: flex; gap: 10px; justify-content: center; margin: 0 0 18px; }
.amount {
  flex: 1;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  background: var(--azure-soft);
  border: 1.5px solid transparent;
  border-radius: 14px;
  padding: 12px 0;
  cursor: pointer;
}
.amount.is-active { border-color: var(--azure); color: var(--azure); background: #fff; }
.donate-note { text-align: center; color: var(--muted); font-size: 14px; margin: 14px 0 0; }

@media (max-width: 600px) {
  .nav { padding: 16px 18px; }
  .nav__cta { gap: 8px; }
  .btn { padding: 10px 16px; font-size: 14px; }
  .hero { padding: 20px 22px 16px; }
  .hero__logo { width: 78px; height: 78px; border-radius: 22px; margin-bottom: 20px; }
  .hero h1 { margin-bottom: 14px; }
  .hero p { font-size: 16px; }
  .steps { grid-template-columns: 1fr; gap: 14px; margin: 20px auto 40px; }
  .step { padding: 22px 20px; }
  .card { padding: 28px 22px; }
}

@media (max-width: 430px) {
  .brand span { display: none; }
}
