:root {
  --bg: #f8f4ea;
  --surface: rgba(255, 251, 244, 0.82);
  --surface-strong: rgba(255, 253, 248, 0.96);
  --ink: #5a5448;
  --muted: #827867;
  --accent: #6d8660;
  --accent-deep: #6d8660;
  --sage: #93b694;
  --gold: #f0be7a;
  --rose: #d99baa;
  --teal: #9bc7c1;
  --line: rgba(118, 101, 82, 0.12);
  --shadow: 0 24px 60px rgba(170, 148, 120, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(155, 199, 193, 0.38), transparent 24%),
    radial-gradient(circle at 84% 16%, rgba(240, 190, 122, 0.28), transparent 22%),
    radial-gradient(circle at 80% 78%, rgba(217, 155, 170, 0.26), transparent 22%),
    radial-gradient(circle at 20% 72%, rgba(147, 182, 148, 0.28), transparent 24%),
    linear-gradient(180deg, #fbf8f0 0%, #f3ecdf 50%, #efe4d4 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.5), transparent 18%),
    radial-gradient(circle at 50% 18%, rgba(255, 244, 227, 0.3), transparent 32%);
  opacity: 0.75;
}

.page-shell {
  width: min(940px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 64px;
}

.hero,
.section-grid,
.timeline-card,
.footer-banner {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.content-card,
.timeline-card,
.footer-banner {
  backdrop-filter: blur(22px);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 42px 56px 34px;
  text-align: center;
}

.eyebrow,
.section-tag,
.panel-label {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: #8d9b69;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 14ch;
  margin: 0 auto;
  font-size: clamp(2.9rem, 6vw, 4.9rem);
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 16px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(155, 199, 193, 0.34);
  color: #6f7960;
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-text,
.timeline-note,
#footer-copy,
.step p,
.gift-card p,
#payment-note,
#progress-text {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1rem;
}

.hero-text {
  max-width: 68ch;
  margin: 16px auto 0;
  font-size: 0.98rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.button {
  appearance: none;
  border: 1px solid rgba(146, 184, 148, 0.18);
  border-radius: 999px;
  padding: 14px 22px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
  box-shadow: none;
}

.button-primary {
  color: #5f5a4e;
  background: linear-gradient(135deg, #f0be7a 0%, #f3d59f 42%, #c2ddb7 100%);
  box-shadow: 0 14px 26px rgba(214, 181, 120, 0.24);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(155, 199, 193, 0.26);
}

.microcopy {
  margin: 12px 0 0;
  text-align: center;
}

.hero-panel {
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(240, 190, 122, 0.18), transparent 24%),
    radial-gradient(circle at bottom left, rgba(155, 199, 193, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 251, 245, 0.96), rgba(248, 242, 231, 0.92));
}

.goal-value {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 26px;
}

#goal-amount {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.2rem, 7vw, 5rem);
  line-height: 1;
}

.goal-caption {
  color: var(--muted);
  font-weight: 700;
}

.progress-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid var(--line);
}

.progress-topline,
.stats-grid,
.timeline-grid,
.gift-grid,
.section-grid {
  display: grid;
  gap: 16px;
}

.progress-topline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  font-weight: 800;
  margin-bottom: 12px;
}

.progress-bar {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(147, 182, 148, 0.16);
}

#progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal) 0%, var(--gold) 45%, var(--rose) 100%);
  border-radius: inherit;
}

.stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.stats-grid div,
.gift-card,
.week-card,
.step {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.44);
}

.stats-grid div {
  padding: 18px;
}

.stats-grid dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.84rem;
}

.stats-grid dd {
  margin: 0;
  font-weight: 800;
  font-size: 1.18rem;
}

.section-grid {
  grid-template-columns: 1fr;
  margin-top: 24px;
}

.content-card,
.timeline-card,
.footer-banner {
  padding: 34px 32px;
}

.accent-card {
  background:
    radial-gradient(circle at top left, rgba(155, 199, 193, 0.24), transparent 34%),
    radial-gradient(circle at bottom right, rgba(217, 155, 170, 0.16), transparent 28%),
    rgba(255, 250, 242, 0.82);
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(155, 199, 193, 0.3), rgba(240, 190, 122, 0.18));
  color: #76644b;
}

.step p,
.gift-card p {
  margin: 0;
}

.gift-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
}

.gift-card {
  padding: 18px;
}

.gift-card strong,
.week-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.gift-card .gift-amount,
.week-card .week-total {
  display: inline-flex;
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(155, 199, 193, 0.24), rgba(217, 155, 170, 0.18));
  font-weight: 800;
}

.timeline-card {
  margin-top: 24px;
}

.timeline-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.timeline-note {
  max-width: 34ch;
  margin: 0;
}

.timeline-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.week-card {
  padding: 18px;
  min-height: 170px;
}

.week-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.week-card .week-label {
  color: #8d9b69;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-banner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 24px;
  margin-top: 24px;
  background:
    radial-gradient(circle at top center, rgba(240, 190, 122, 0.16), transparent 22%),
    radial-gradient(circle at bottom right, rgba(155, 199, 193, 0.16), transparent 24%),
    rgba(255, 250, 242, 0.84);
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

@media (max-width: 980px) {
  .hero,
  .section-grid,
  .timeline-grid,
  .footer-banner {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel,
  .content-card,
  .timeline-card,
  .footer-banner {
    padding: 26px;
  }

  .timeline-header,
  .footer-banner {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1160px);
    padding-top: 20px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.5rem, 12vw, 3.8rem);
  }

  .gift-grid,
  .stats-grid,
  .progress-topline,
  .timeline-grid {
    grid-template-columns: 1fr;
  }

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

  .step span {
    width: 48px;
    height: 48px;
  }
}
