:root {
  --plum: #4a2d6b;
  --plum-deep: #32194d;
  --lilac: #b8a0d4;
  --lilac-soft: #e8dff3;
  --olive: #6b7a3a;
  --olive-deep: #4f5c2c;
  --stone: #f3efe6;
  --stone-deep: #e5dfd2;
  --ink: #1c1624;
  --ink-soft: #5a5166;
  --white: #fffdf9;
  --focus: #7a4fb0;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;

  --radius: 1.25rem;
  --shadow: 0 24px 60px rgba(50, 25, 77, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--stone);
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: var(--plum);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--plum-deep);
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(184, 160, 212, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 15%, rgba(107, 122, 58, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(74, 45, 107, 0.1), transparent 55%),
    linear-gradient(165deg, #f7f3eb 0%, #ebe4f2 48%, #e7ecd9 100%);
}

.petal {
  position: absolute;
  border-radius: 70% 30% 70% 30%;
  filter: blur(2px);
  opacity: 0.45;
  animation: drift 18s var(--ease) infinite alternate;
}

.petal-a {
  width: min(42vw, 380px);
  height: min(52vw, 460px);
  top: -8%;
  right: 4%;
  background: linear-gradient(160deg, rgba(184, 160, 212, 0.55), rgba(74, 45, 107, 0.18));
  transform: rotate(18deg);
}

.petal-b {
  width: min(36vw, 300px);
  height: min(44vw, 360px);
  bottom: 8%;
  left: -4%;
  background: linear-gradient(200deg, rgba(107, 122, 58, 0.35), rgba(184, 160, 212, 0.2));
  transform: rotate(-24deg);
  animation-delay: -6s;
}

.petal-c {
  width: min(28vw, 220px);
  height: min(34vw, 280px);
  top: 42%;
  right: 18%;
  background: linear-gradient(140deg, rgba(232, 223, 243, 0.8), rgba(107, 122, 58, 0.15));
  transform: rotate(40deg);
  animation-delay: -11s;
  opacity: 0.35;
}

.wash {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  opacity: 0.7;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) rotate(var(--start, 18deg));
  }
  to {
    transform: translate3d(12px, -18px, 0) rotate(calc(var(--start, 18deg) + 8deg));
  }
}

.topbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  background: #0a0a0a;
  box-shadow: 0 8px 24px rgba(28, 22, 36, 0.18);
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 14ch;
}

.shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .shell {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3.5rem;
    min-height: calc(100vh - 7rem);
    padding-top: 1.5rem;
  }
}

.hero {
  max-width: 34rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-deep);
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--plum-deep);
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--plum);
}

.lede {
  margin: 0;
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 36ch;
}

.give {
  background: color-mix(in srgb, var(--white) 88%, transparent);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(74, 45, 107, 0.1);
  border-radius: calc(var(--radius) + 0.35rem);
  padding: 1.6rem 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}

@media (min-width: 600px) {
  .give {
    padding: 1.85rem 1.75rem 1.7rem;
  }
}

.give-intro h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--plum-deep);
}

.give-intro p {
  margin: 0 0 1.35rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.amount-btn {
  appearance: none;
  border: 1.5px solid rgba(74, 45, 107, 0.18);
  background: var(--white);
  color: var(--plum-deep);
  border-radius: 0.95rem;
  padding: 1rem 0.5rem;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease),
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.35s var(--ease);
}

.amount-btn:hover {
  border-color: var(--lilac);
  transform: translateY(-2px);
}

.amount-btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.amount-btn[aria-checked="true"] {
  background: var(--plum);
  border-color: var(--plum);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(74, 45, 107, 0.28);
  transform: translateY(-2px) scale(1.02);
}

.amount-btn .suffix {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.75;
}

.other-amount {
  margin: -0.35rem 0 1.15rem;
  text-align: center;
  font-size: 0.92rem;
}

.other-amount a {
  color: var(--plum);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.other-amount a:hover {
  color: var(--plum-deep);
}

.monthly {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(232, 223, 243, 0.7), rgba(231, 236, 217, 0.65));
  border: 1px solid rgba(74, 45, 107, 0.1);
  cursor: pointer;
  margin-bottom: 1.25rem;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.monthly:has(input:checked) {
  background: linear-gradient(135deg, rgba(184, 160, 212, 0.45), rgba(107, 122, 58, 0.18));
  box-shadow: inset 0 0 0 1px rgba(74, 45, 107, 0.12);
}

.monthly input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.monthly-ui {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.monthly-track {
  display: block;
  width: 2.75rem;
  height: 1.55rem;
  border-radius: 999px;
  background: rgba(74, 45, 107, 0.22);
  position: relative;
  transition: background 0.25s ease;
}

.monthly-thumb {
  position: absolute;
  top: 0.18rem;
  left: 0.18rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(28, 22, 36, 0.2);
  transition: transform 0.3s var(--ease);
}

.monthly input:checked + .monthly-ui .monthly-track {
  background: var(--olive);
}

.monthly input:checked + .monthly-ui .monthly-thumb {
  transform: translateX(1.2rem);
}

.monthly input:focus-visible + .monthly-ui .monthly-track {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.monthly-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.monthly-copy strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--plum-deep);
}

.monthly-hint {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.summary {
  text-align: center;
  padding: 0.35rem 0 1.15rem;
}

.summary-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.summary-value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--plum-deep);
  line-height: 1.1;
  margin: 0.15rem 0;
  transition: transform 0.35s var(--ease);
}

.summary-value.is-updating {
  transform: scale(1.04);
}

.summary-meta {
  color: var(--olive-deep);
  font-weight: 500;
  font-size: 0.95rem;
}

.cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: none;
  border-radius: 999px;
  padding: 1rem 1.4rem;
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-deep) 100%);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(74, 45, 107, 0.32);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, filter 0.25s ease;
}

.cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 18px 40px rgba(74, 45, 107, 0.38);
}

.cta:active {
  transform: translateY(0);
}

.cta:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.cta-arrow {
  width: 1.15rem;
  height: 1.15rem;
  transition: transform 0.3s var(--ease);
}

.cta:hover .cta-arrow {
  transform: translateX(4px);
}

.secure-note {
  margin: 0.95rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.footer p {
  margin: 0;
}

.animate-in {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.85s var(--ease) forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.32s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-in,
  .petal,
  .amount-btn,
  .cta,
  .cta-arrow,
  .summary-value,
  .monthly-thumb {
    animation: none !important;
    transition: none !important;
  }

  .animate-in {
    opacity: 1;
    transform: none;
  }
}
