/* nestegg-cache-bust-2026-10-22 */
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin.20261007.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-latin.20261007.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
:root {
  --cream: #faf3e3;
  --cream-light: #fffbf3;
  --butter: #f7d17a;
  --terracotta: #d96a4e;
  --sage: #8fa87a;
  --brown: #9a6b3f;
  --brown-dark: #5c4126;
  --ink: #4a3b2a;
  --muted: rgba(74, 59, 42, 0.62);
  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body: "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 70% at 72% 22%, rgba(247, 209, 122, 0.32) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 10% 85%, rgba(143, 168, 122, 0.16) 0%, transparent 50%),
    linear-gradient(165deg, var(--cream-light) 0%, var(--cream) 48%, #f0e4cc 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 3.5vw, 2rem) clamp(1.25rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2.5rem);
}

.topbar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto 0.5rem;
  animation: rise 0.55s ease both;
}
.mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.mark-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--brown-dark);
  letter-spacing: -0.02em;
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.copy { max-width: 32rem; animation: rise 0.7s ease 0.05s both; }
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.8rem, 7vw, 4.4rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 1rem;
  color: var(--brown-dark);
}
.headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  line-height: 1.25;
  margin: 0 0 0.85rem;
  color: var(--ink);
  max-width: 18ch;
}
.support {
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 36ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}
.cta {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--cream-light);
  background: var(--brown-dark);
  text-decoration: none;
  padding: 0.85rem 1.35rem;
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.cta:hover { background: var(--ink); transform: translateY(-1px); }
.cta.copied { background: var(--sage); }
.cta-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--brown-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(92, 65, 38, 0.35);
  padding-bottom: 2px;
}
.cta-link:hover { color: var(--terracotta); border-bottom-color: var(--terracotta); }
.email-line {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
  user-select: all;
}
.email-line strong {
  color: var(--brown-dark);
  font-weight: 600;
}

.plaid-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.35rem;
  padding: 0.4rem 0.65rem 0.4rem 0.45rem;
  border-radius: 10px;
  border: 1px solid rgba(92, 65, 38, 0.14);
  background: rgba(255, 251, 243, 0.65);
  text-decoration: none;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.plaid-badge:hover {
  border-color: rgba(92, 65, 38, 0.28);
  color: var(--brown-dark);
}
.plaid-badge img {
  width: 22px;
  height: 22px;
  display: block;
  border-radius: 50%;
}
.plaid-badge .plaid-name {
  font-weight: 600;
  color: var(--brown-dark);
}

.stage {
  position: relative;
  min-height: min(62vh, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rise 0.8s ease 0.08s both;
}

.glow {
  position: absolute;
  width: min(78%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 209, 122, 0.5) 0%, rgba(250, 243, 227, 0) 70%);
  filter: blur(8px);
  z-index: 0;
  animation: breathe 5s ease-in-out infinite;
}

.cast {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  aspect-ratio: 1;
}

.bubble {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  max-width: min(92%, 280px);
  background: var(--cream-light);
  border: 1px solid rgba(92, 65, 38, 0.1);
  border-radius: 22px;
  padding: 0.95rem 1.1rem;
  box-shadow: 0 10px 28px rgba(92, 65, 38, 0.1);
  animation: rise 0.75s ease 0.2s both;
}
.bubble p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--brown-dark);
  text-align: left;
}
.bubble::after {
  content: "";
  position: absolute;
  right: 28%;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: var(--cream-light);
  border-right: 1px solid rgba(92, 65, 38, 0.1);
  border-bottom: 1px solid rgba(92, 65, 38, 0.1);
  transform: rotate(45deg);
}

.egg-wrap {
  position: absolute;
  left: 0;
  bottom: 2%;
  width: 48%;
  z-index: 1;
  animation: float-egg 6s ease-in-out infinite;
}
.egg-wrap img,
.gayle-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.gayle-wrap {
  position: absolute;
  right: -4%;
  top: 10%;
  width: 62%;
  z-index: 2;
  animation: float-gayle 3.2s ease-in-out infinite;
  transform-origin: 50% 80%;
}

.flock {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.55rem;
  max-width: 1100px;
  width: 100%;
  margin: 0.5rem auto 0;
  padding: 0.5rem 0 0.25rem;
  animation: rise 0.7s ease 0.18s both;
}
.flock img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.foot {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
  align-items: baseline;
  max-width: 1100px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.88rem;
  color: var(--muted);
  animation: rise 0.7s ease 0.15s both;
}
.foot a { color: var(--brown-dark); text-decoration: none; }
.foot a:hover { color: var(--terracotta); }
.legal { max-width: 42ch; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float-gayle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-6px) rotate(-1.2deg); }
  66% { transform: translateY(-2px) rotate(1.2deg); }
}
@keyframes float-egg {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}
@keyframes breathe {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 0.25rem;
  }
  .copy { margin: 0 auto; order: 2; }
  .stage { order: 1; min-height: min(48vh, 380px); }
  .headline, .support { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .plaid-badge { margin-left: auto; margin-right: auto; }
  .brand { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .bubble { max-width: min(88%, 260px); }
  .bubble p { font-size: 0.92rem; }
  .gayle-wrap { right: 10%; width: 48%; top: 16%; }
  .egg-wrap { left: 2%; width: 46%; }
  .flock img { width: 48px; height: 48px; }
  .foot { flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; }
  .legal { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .gayle-wrap, .egg-wrap, .glow,
  .copy, .stage, .foot, .topbar, .flock { animation: none; }
}
