@font-face {
  font-family: "Nunito Sans";
  src: url("assets/fonts/NunitoSans-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("assets/fonts/NunitoSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("assets/fonts/NunitoSans-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #292448;
  --muted: #626173;
  --indigo: #42406A;
  --coral: #FF806B;
  --coral-hover: #ff866c;
  --coral-dark: #b83f2c;
  --paper: #fff8ef;
  --canvas: #FCF0E5;
  --blush: #fde4d6;
  --sky: #dce7f0;
  --mint: #e2f0e7;
  --butter: #fff0c4;
  --border: #e8dad4;
  --shadow: 0 18px 50px rgba(81, 87, 174, 0.11);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  background-color: var(--canvas);
  color: var(--ink);
  font-family: "Nunito Sans", "Avenir Next", Avenir, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.62;
}

a { color: var(--coral-dark); }
a:hover { color: var(--indigo); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 4px;
}

.site-shell {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 94px;
  padding-block: 16px;
}

.wordmark,
h1,
h2,
h3 {
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-weight: 800;
}

.wordmark {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1;
  text-decoration: none;
}

.wordmark img {
  display: block;
  width: 4.8em;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.72);
  box-shadow: 0 8px 24px rgba(81, 87, 174, 0.06);
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 17px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--paper);
  color: var(--coral-dark);
}

main { padding-bottom: 84px; }

.home-site,
.invitation-site { background: radial-gradient(ellipse at 0% 35%, #DCE7F080, transparent 42%), radial-gradient(ellipse at 100% 60%, #FFDCD380, transparent 42%), var(--canvas); }
.site-nav { background: var(--mint); border-color: var(--mint); box-shadow: none; }

.home-hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 16px;
  padding: clamp(36px, 6vw, 70px) 0 82px;
}
.home-hero h1 { font-size: clamp(2.8rem, 5.2vw, 4.5rem); line-height: 1.08; }
.home-hero .hero-intro { max-width: 430px; font-size: 1.125rem; margin: 24px 0 0; }
.home-hero .actions { justify-content: flex-start; }
.home-hero .button { gap: 18px; border: 0; box-shadow: none; }
.home-illustration { display: block; width: 100%; height: auto; }
.home-site main { padding-bottom: 0; }
.home-site .site-nav { background: transparent; border: 0; }
.home-site .site-footer { margin-top: 0; }
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 6vw, 80px);
  padding: 54px clamp(24px, 6vw, 72px);
  border-radius: 40px;
  margin-bottom: 36px;
  scroll-margin-top: 24px;
}
.feature-listen { background: #DCEBF4; }
.feature-species { background: #EEE6EF; }
.feature-map { background: var(--mint); }
.feature-copy { max-width: 400px; }
.feature-copy h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.12; letter-spacing: -.025em; }
.feature-copy p { margin: 22px 0 0; color: var(--muted); }
.feature-copy .feature-label { margin: 0 0 16px; color: var(--indigo); font-size: .85rem; font-weight: 800; }
.feature-copy .feature-detail { font-size: .95rem; }
.feature-visual { display: grid; place-items: center; position: relative; isolation: isolate; }
.feature-collection .feature-visual::before { content: ''; position: absolute; z-index: -1; width: 115%; max-width: 420px; aspect-ratio: 1; border-radius: 50%; background: var(--butter); }
.phone { width: min(246px, 100%); padding: 7px; border: 1px solid #757085; border-radius: 38px; background: #292448; box-shadow: 0 22px 36px -18px #29244860; }
.phone img { display: block; width: 100%; height: auto; border-radius: 31px; }
.phone-left { transform: rotate(-4deg); }
.phone-right { transform: rotate(4deg); }
.home-closing { max-width: 620px; margin: 80px auto 72px; text-align: center; }
.home-closing h2 { font-size: clamp(1.9rem, 4vw, 2.5rem); }
.home-closing p { color: var(--muted); margin: 22px auto; max-width: 470px; }
.home-closing a { font-weight: 700; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--indigo);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 { margin: 0; line-height: 1.06; }

h1 {
  max-width: 920px;
  font-size: clamp(3.15rem, 8vw, 6.7rem);
  letter-spacing: -0.035em;
}

h2 { font-size: clamp(2rem, 4.5vw, 3.45rem); }
h3 { font-size: 1.45rem; }

.hero-intro,
.lead {
  max-width: 650px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.page-hero {
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(44px, 7vw, 84px) 0 46px;
  text-align: center;
}

.page-hero h1 { font-size: clamp(3rem, 7vw, 5.8rem); }

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border: 3px solid var(--paper);
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(184, 63, 44, 0.16);
}

.button:hover { background: var(--coral-hover); color: var(--ink); }

.invite-page { max-width: 760px; }
.invite-art { position: relative; isolation: isolate; width: min(450px, 100%); margin: 0 auto 26px; padding: 20px 0; }
.invite-art::before { content: ""; position: absolute; z-index: -1; inset: 4% 3%; background: #B9DFF7; border-radius: 46% 54% 43% 57% / 54% 46% 54% 46%; transform: rotate(-5deg); }
.invite-art::after { content: ""; position: absolute; z-index: -1; width: 72px; height: 72px; border-radius: 50%; background: #FFD978; top: 0; right: 12%; }
.invite-bird { display: block; width: min(390px, 90%); height: auto; margin: 0 auto 24px; }
.invite-art .invite-bird { margin-bottom: 0; }
.invite-page .page-hero { padding-top: 30px; }
.invite-page h1 { font-size: clamp(2.5rem, 7vw, 3.6rem); letter-spacing: -.025em; }
.invite-page .eyebrow { display: inline-block; letter-spacing: .06em; background: #FFF0C4; border-radius: 18px; padding: 8px 15px; }
.invite-page .button { border: 0; font: 800 1rem "Nunito Sans", sans-serif; padding: 15px 32px; box-shadow: none; cursor: pointer; }
.invite-help { margin: 28px 0; padding: 24px; border-radius: 24px; background: #E2F0E7; border: 1px solid #BFDCC9; text-align: left; }
.invite-help summary { cursor: pointer; font-weight: bold; padding-block: 8px; }
.invite-help code { overflow-wrap: anywhere; user-select: all; }
.invite-note { font-size: .94rem; }
[hidden] { display: none !important; }
.draft-contact { cursor: not-allowed; opacity: 0.72; pointer-events: none; }

.content-card {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(28px, 6vw, 66px);
  border: 2px solid rgba(255, 255, 255, 0.84);
  border-radius: 38px;
  background: rgba(255, 248, 239, 0.93);
  box-shadow: var(--shadow);
}

.content-card h2 {
  margin-top: 48px;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.content-card h2:first-child { margin-top: 0; }
.content-card p, .content-card li { color: #33344c; }
.content-card .meta { color: var(--muted); font-size: 0.93rem; }

.faq { display: grid; gap: 14px; margin-top: 28px; }
.faq details {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.65);
}
.faq details[open] { background: var(--blush); }
.faq summary { cursor: pointer; color: var(--ink); font-weight: 700; }
.faq details p { margin-bottom: 0; }

.site-footer {
  margin-top: 20px;
  padding: 30px 0 42px;
  border-top: 1px solid rgba(98, 97, 115, 0.18);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 760px) {
  body { background-attachment: scroll; }
  .site-shell { width: min(100% - 28px, 1080px); }
  .site-header { min-height: 82px; }
  .wordmark { font-size: 2.1rem; }
  .site-nav a { min-height: 42px; padding-inline: 13px; }
  .home-hero { grid-template-columns: 1fr; text-align: center; padding: 32px 0 40px; gap: 32px; }
  .home-hero h1 { font-size: clamp(2.5rem, 9.5vw, 4rem); }
  .home-hero .hero-intro { margin-inline: auto; }
  .home-hero .actions { justify-content: center; }
  .home-illustration { width: min(460px, 100%); margin: 0 auto; }
  .feature { grid-template-columns: 1fr; padding: 36px 26px 40px; gap: 32px; border-radius: 30px; margin-bottom: 20px; }
  .feature-copy { grid-row: 1; max-width: 430px; margin: auto; text-align: center; }
  .feature-visual { grid-row: 2; }
  .phone { width: 220px; }
  .feature-collection .feature-visual::before { width: 290px; max-width: 105%; }
  .home-closing { margin: 56px auto; padding-inline: 12px; }

  h1 { font-size: clamp(3rem, 15vw, 4.9rem); }
  .page-hero h1 { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .content-card { border-radius: 30px; }
  .footer-row { display: grid; }
}

@media (max-width: 440px) {
  body { font-size: 16px; }
  .site-header { align-items: flex-start; }
  .site-nav { margin-top: -2px; }
  .site-nav a { padding-inline: 11px; }
  .site-header { gap: 10px; }
  .wordmark { font-size: 1.75rem; }
  .site-nav a { padding-inline: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.feature-house { background: var(--blush); margin-top: 36px; }
.house-art { display: block; width: 100%; height: auto; }
.site-nav a[hreflang] { font-size: .85rem; }
@media(max-width: 440px) { .site-nav a { padding-inline: 7px; font-size: .875rem; } .site-nav { gap: 0; padding: 2px; } .wordmark { font-size: 1.65rem; } .feature-house .house-art { grid-row: 2; } }

@media (max-width: 440px) {
  .wordmark img { width: 4.3em; }
}
