body.theme-mom {
  --bg: #fff4ec;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-2: rgba(255, 245, 236, 0.92);
  --accent: #f07c7c;
  --accent-2: #f5ad72;
  --accent-3: #f7d56b;
  --text: #2b1a1f;
  --muted: #6d5660;
  --border: rgba(43, 26, 31, 0.14);
  --pill: rgba(240, 124, 124, 0.14);
  --shadow: 0 24px 50px rgba(88, 38, 50, 0.18);
  --hero-img: radial-gradient(640px at 70% 20%, rgba(240, 124, 124, 0.28), transparent 60%);
  color-scheme: light;
  font-family: "Manrope", "Space Grotesk", system-ui, sans-serif;
}

body.theme-mom h1,
body.theme-mom h2,
body.theme-mom h3,
body.theme-mom .mom-signature,
body.theme-mom .mom-wish {
  font-family: "Fraunces", "Times New Roman", serif;
  letter-spacing: -0.4px;
}

body.theme-mom .nav {
  background: rgba(255, 248, 242, 0.9);
  border-bottom: 1px solid rgba(43, 26, 31, 0.08);
  box-shadow: 0 10px 30px rgba(88, 38, 50, 0.08);
}

body.theme-mom .nav a.active {
  color: var(--text);
}

body.theme-mom .btn.solid {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #341820;
  box-shadow: 0 16px 40px rgba(240, 124, 124, 0.25);
}

body.theme-mom .btn.solid:hover {
  box-shadow: 0 20px 45px rgba(240, 124, 124, 0.35);
}

body.theme-mom .btn.ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  border-color: rgba(43, 26, 31, 0.12);
}

body.theme-mom .btn.ghost:hover {
  border-color: rgba(43, 26, 31, 0.24);
}

body.theme-mom .pill {
  background: var(--pill);
  border-color: rgba(43, 26, 31, 0.12);
  color: var(--text);
}

body.theme-mom .card,
body.theme-mom .hero-card {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.92), rgba(255, 245, 236, 0.9));
  border-color: rgba(43, 26, 31, 0.12);
  box-shadow: var(--shadow);
}

body.theme-mom .card:hover {
  box-shadow: 0 20px 50px rgba(88, 38, 50, 0.2);
}

body.theme-mom .hero-card::before {
  background: radial-gradient(400px at 50% 50%, rgba(240, 124, 124, 0.22), transparent 70%);
}

body.theme-mom .hero::after {
  background: radial-gradient(520px at 82% 34%, rgba(240, 124, 124, 0.2), transparent),
              radial-gradient(420px at 76% 62%, rgba(245, 173, 114, 0.2), transparent);
}

body.theme-mom .bg-grad {
  background: radial-gradient(900px at 15% 15%, rgba(245, 173, 114, 0.35), transparent 60%),
              radial-gradient(800px at 80% 5%, rgba(240, 124, 124, 0.32), transparent 60%),
              radial-gradient(700px at 70% 80%, rgba(247, 213, 107, 0.38), transparent 60%);
  filter: blur(36px);
  opacity: 0.9;
}

body.theme-mom .bg-grid {
  opacity: 0.35;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(200, 140, 120, 0.25), transparent 60%),
    radial-gradient(1.5px 1.5px at 70% 20%, rgba(240, 124, 124, 0.3), transparent 60%),
    radial-gradient(1.5px 1.5px at 82% 70%, rgba(245, 173, 114, 0.28), transparent 60%),
    linear-gradient(rgba(43, 26, 31, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 26, 31, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 140px 140px, 140px 140px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7), transparent 70%);
}

body.theme-mom .vignette {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.7), rgba(255, 244, 236, 0) 68%);
  opacity: 0.7;
}

.mom-bloom {
  position: fixed;
  inset: 0;
  background: radial-gradient(700px at 18% 70%, rgba(240, 124, 124, 0.2), transparent 70%),
              radial-gradient(620px at 90% 60%, rgba(245, 173, 114, 0.18), transparent 70%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.mom-petals {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(10px 10px at 12% 18%, rgba(240, 124, 124, 0.18), transparent 60%),
    radial-gradient(12px 12px at 26% 60%, rgba(245, 173, 114, 0.18), transparent 60%),
    radial-gradient(8px 8px at 44% 30%, rgba(247, 213, 107, 0.22), transparent 60%),
    radial-gradient(10px 10px at 68% 40%, rgba(240, 124, 124, 0.2), transparent 60%),
    radial-gradient(12px 12px at 80% 70%, rgba(245, 173, 114, 0.2), transparent 60%),
    radial-gradient(8px 8px at 90% 20%, rgba(247, 213, 107, 0.2), transparent 60%);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  animation: petalDrift 28s ease-in-out infinite alternate;
}

@keyframes petalDrift {
  from { transform: translateY(0); }
  to { transform: translateY(-26px); }
}

.mom-hero {
  min-height: auto;
  padding: 110px 0 60px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
}

.mom-hero .hero-copy h1 {
  font-size: clamp(44px, 6vw, 70px);
  line-height: 1.08;
}

.mom-hero .hero-copy .lede {
  font-size: 17px;
}

.mom-badges {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mom-letter {
  position: relative;
  padding: 26px 28px 92px;
  border-radius: 26px;
  border: 1px solid rgba(224, 170, 150, 0.5);
  box-shadow: var(--shadow);
  animation: none;
}

.mom-letter::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(224, 170, 150, 0.45);
  border-radius: 18px;
  pointer-events: none;
}

.mom-letter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--muted);
}

.mom-stamp {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(240, 124, 124, 0.35);
  background: rgba(240, 124, 124, 0.18);
  color: #5a2b2b;
  font-weight: 700;
}

.mom-letter p {
  margin: 14px 0;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.mom-signature {
  margin-top: 12px;
  font-size: 28px;
  font-style: italic;
  color: #5a2b2b;
  position: relative;
  z-index: 1;
}

.mom-seal {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(240, 124, 124, 0.4));
  border: 1px solid rgba(240, 124, 124, 0.45);
  color: #5a2b2b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mom-card {
  position: relative;
  overflow: hidden;
}

.mom-card::after {
  content: "";
  position: absolute;
  inset: -60%;
  background: radial-gradient(140px at 20% 20%, rgba(240, 124, 124, 0.18), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

.mom-quote blockquote {
  margin: 0;
  padding: 26px 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.5;
  position: relative;
  color: var(--text);
}

.mom-quote blockquote::before {
  content: "\"";
  position: absolute;
  top: -8px;
  left: 18px;
  font-size: 48px;
  color: var(--accent);
}

.mom-quote cite {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.mom-gratitude {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: start;
}

.mom-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.mom-list li {
  position: relative;
  padding: 14px 16px 14px 48px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.mom-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 16px rgba(240, 124, 124, 0.3);
}

.mom-note {
  display: grid;
  gap: 12px;
}

.mom-wish {
  font-size: 24px;
  font-style: italic;
  color: #5a2b2b;
}

.mom-thanks-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: start;
}

.mom-form {
  display: grid;
  gap: 14px;
}

.mom-label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
}

.mom-label input,
.mom-label textarea {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font: 600 14px/1.4 "Manrope", "Space Grotesk", system-ui, sans-serif;
}

.mom-label textarea {
  min-height: 120px;
  resize: vertical;
}

.mom-label input::placeholder,
.mom-label textarea::placeholder {
  color: var(--muted);
}

.mom-label input:focus,
.mom-label textarea:focus {
  outline: 2px solid rgba(240, 124, 124, 0.4);
  outline-offset: 2px;
}

.mom-form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mom-status {
  font-size: 12px;
  color: var(--muted);
}

.mom-status[data-state="error"] {
  color: #a74f4f;
}

.mom-status[data-state="success"] {
  color: #2f6d4f;
}

.mom-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.mom-wall-list {
  display: grid;
  gap: 12px;
  margin-top: 10px;
  max-height: 360px;
  overflow: auto;
  padding-right: 6px;
}

.mom-wall-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.7);
}

.mom-wall-name {
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.mom-wall-message {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.mom-wall-empty {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed var(--border);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
}

body.theme-mom .steps li {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(43, 26, 31, 0.12);
}

body.theme-mom .step-dot {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 6px rgba(240, 124, 124, 0.14);
}

.mom-finale-card {
  text-align: center;
  padding: 32px;
}

.mom-finale-card h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.mom-finale-card .eyebrow {
  letter-spacing: 3px;
}

body.theme-mom .footer {
  border-top: 1px solid rgba(43, 26, 31, 0.1);
}

@media (max-width: 900px) {
  .mom-hero {
    grid-template-columns: 1fr;
    padding: 86px 0 40px;
  }

  .mom-gratitude {
    grid-template-columns: 1fr;
  }

  .mom-thanks-grid {
    grid-template-columns: 1fr;
  }

  .mom-seal {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 600px) {
  .mom-letter {
    padding: 24px 22px 28px;
  }

  .mom-letter::before {
    inset: 10px;
  }

  .mom-seal {
    position: static;
    margin-top: 12px;
    margin-left: auto;
    margin-right: 0;
  }

  .mom-wish {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mom-petals {
    animation: none;
  }
}
