:root {
  --ink: #243329;
  --muted-ink: #5d6c62;
  --forest: #496b50;
  --sage: #dfeadb;
  --cream: #fff8ee;
  --paper: #fffcf6;
  --sun: #f5c766;
  --clay: #bd694a;
  --coral: #db8a69;
  --sky: #d8ebef;
  --lavender: #ddd5ea;
  --border: rgba(36, 51, 41, 0.14);
  --shadow: 0 22px 70px rgba(49, 60, 43, 0.14);
  --accent-1: #bd694a;
  --accent-2: #496b50;
  --accent-3: #d59f45;
  --accent-4: #658aa0;
  --accent-5: #8b6f9f;
  --accent-6: #6e8464;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
p,
li,
label,
button,
a,
span {
  overflow-wrap: anywhere;
}

button,
a,
select {
  touch-action: manipulation;
}

.onboard-field,
.onboard-form-grid > *,
.story-card,
.belief-card,
.meet-card,
.family-preview-card,
.preview-discovery-grid > *,
.identity-discovery-grid > * {
  min-width: 0;
}

body.is-route-loading {
  cursor: progress;
}

body.mobile-village-menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.route-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(255, 252, 246, 0.72);
  backdrop-filter: blur(10px);
}

.route-loading-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 360px;
  padding: 24px 26px;
  border: 1px solid rgba(73, 107, 80, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(255, 248, 238, 0.88)),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(49, 60, 43, 0.16);
  color: var(--forest);
  font-weight: 850;
  text-align: center;
}

.route-loading-mark {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(73, 107, 80, 0.18);
  border-top-color: var(--clay);
  border-radius: 50%;
  animation: village-spin 900ms linear infinite;
}

@keyframes village-spin {
  to {
    transform: rotate(360deg);
  }
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 72px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: #fffaf1;
  font-size: 1rem;
  font-weight: 800;
}

.brand-mark {
  width: 44px;
  height: 44px;
  padding: 3px;
  border: 1px solid rgba(255, 250, 241, 0.78);
  border-radius: 50%;
  background: rgba(255, 252, 246, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  object-fit: contain;
}

.nav-links {
  gap: clamp(16px, 3vw, 34px);
  color: rgba(255, 250, 241, 0.9);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.7);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 0.9;
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(560px, 84svh, 760px);
  align-items: center;
  overflow: hidden;
  padding: 110px clamp(20px, 5vw, 72px) 72px;
  background:
    linear-gradient(90deg, rgba(36, 51, 41, 0.78) 0%, rgba(36, 51, 41, 0.52) 36%, rgba(36, 51, 41, 0.08) 68%),
    linear-gradient(0deg, rgba(36, 51, 41, 0.32), rgba(36, 51, 41, 0.04) 44%),
    url("assets/village-hero.jpg") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 130px;
  background: linear-gradient(180deg, transparent, rgba(255, 248, 238, 0.96));
  content: "";
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
  color: #fffaf1;
}

.hero-logo-mark {
  display: block;
  width: clamp(76px, 9vw, 112px);
  height: clamp(76px, 9vw, 112px);
  margin: 0 0 18px;
  padding: 7px;
  border: 1px solid rgba(255, 250, 241, 0.5);
  border-radius: 50%;
  background: rgba(255, 252, 246, 0.9);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.final-cta .eyebrow {
  color: #f5d68a;
}

.hero h1 {
  max-width: 18ch;
  font-size: clamp(2.8rem, 6.2vw, 5.05rem);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

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

h1 {
  max-width: 15ch;
  font-size: clamp(3rem, 7vw, 5.55rem);
  font-weight: 900;
}

h2 {
  color: var(--ink);
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  font-weight: 900;
}

h3 {
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 850;
}

.hero-subheadline {
  max-width: 680px;
  margin: 18px 0 0;
  color: #fff2dc;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.18;
}

.hero-body {
  max-width: 610px;
  margin: 14px 0 0;
  color: rgba(255, 250, 241, 0.88);
  font-size: clamp(1.02rem, 2vw, 1.25rem);
}

.hero-body p {
  margin: 0;
}

.hero-body p + p {
  margin-top: 10px;
}

.primary-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: var(--sun);
  color: #32261a;
  font-weight: 850;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: #ffd77a;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.primary-button-light {
  border-color: rgba(255, 250, 241, 0.5);
  background: #fff8ee;
  color: var(--forest);
  box-shadow: 0 20px 46px rgba(24, 48, 32, 0.24);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.hero-actions .primary-button {
  margin-top: 0;
}

.hero-secondary-cta {
  display: grid;
  width: fit-content;
  max-width: min(470px, 100%);
  gap: 4px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.1);
  color: rgba(255, 250, 241, 0.86);
  backdrop-filter: blur(6px);
}

.hero-secondary-cta p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 720;
}

.button-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.section {
  padding: clamp(72px, 10vw, 126px) clamp(20px, 5vw, 72px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.pause-section {
  padding: clamp(86px, 12vw, 152px) clamp(20px, 5vw, 72px);
  background: var(--paper);
}

.pause-inner {
  width: min(930px, 100%);
  margin: 0 auto;
  text-align: center;
}

.pause-inner h2 {
  max-width: 13ch;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(2.35rem, 5.6vw, 5.15rem);
  font-weight: 900;
  line-height: 1.03;
}

.pause-inner p {
  max-width: 820px;
  margin: 28px auto 0;
  color: var(--muted-ink);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.62;
}

.problem-section {
  background: var(--cream);
}

.problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

.section-copy h2 {
  max-width: 10ch;
}

.problem-text {
  display: grid;
  gap: 22px;
  color: var(--muted-ink);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.problem-text p {
  margin: 0;
}

.possibility-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  font-weight: 760;
  list-style: none;
}

.possibility-list li {
  position: relative;
  padding-left: 24px;
}

.possibility-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
  content: "";
}

.flourish-lines {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.flourish-lines p {
  width: fit-content;
  padding: 10px 14px;
  border: 1px solid rgba(73, 107, 80, 0.16);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.82);
  color: var(--forest);
  font-weight: 850;
}

.gifts-section {
  background:
    linear-gradient(180deg, rgba(216, 235, 239, 0.45), rgba(255, 252, 246, 0) 55%),
    var(--paper);
}

.insight-section,
.what-is-section,
.parent-outcomes-section {
  background: var(--paper);
}

.section-heading {
  display: grid;
  max-width: 820px;
  gap: 10px;
}

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: var(--muted-ink);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.55;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.outcome-card {
  display: grid;
  min-height: 190px;
  align-content: start;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(73, 107, 80, 0.16);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.88);
  box-shadow: 0 18px 52px rgba(73, 107, 80, 0.09);
}

.outcome-card span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--forest);
  font-weight: 900;
}

.outcome-card p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.04rem, 1.8vw, 1.22rem);
  font-weight: 780;
  line-height: 1.35;
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.gift-chip {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 42px rgba(73, 107, 80, 0.09);
  color: var(--ink);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  font-weight: 820;
}

.gift-marker {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.72), rgba(255, 248, 238, 0.52)),
    color-mix(in srgb, var(--chip-accent), white 76%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--chip-accent), transparent 64%);
  color: var(--chip-accent);
  font-size: 1.05rem;
  line-height: 1;
}

.gift-title {
  min-width: 0;
}

.how-section {
  background: linear-gradient(180deg, #fffaf1, #eef5ea);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 56px;
}

.step-card {
  display: grid;
  min-height: 268px;
  align-content: start;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(73, 107, 80, 0.18);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.86);
  box-shadow: var(--shadow);
}

.step-number {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
}

.step-card p {
  margin: 0;
  color: var(--muted-ink);
  font-size: 1rem;
}

.invitation-lines {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.invitation-lines p {
  margin: 0;
  color: var(--forest);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
  font-weight: 850;
  line-height: 1.2;
}

.invitation-lines p:last-child {
  margin-top: 10px;
  color: var(--clay);
}

.step-flow-arrow {
  color: var(--clay);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.imagine-section {
  background:
    linear-gradient(180deg, rgba(238, 245, 234, 0.9), rgba(255, 248, 238, 0.86)),
    var(--cream);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

.story-card {
  display: grid;
  min-height: 250px;
  align-content: start;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(189, 105, 74, 0.18);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.9);
  box-shadow: 0 22px 60px rgba(73, 107, 80, 0.12);
}

.story-card p {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.55;
}

.story-card h3 {
  font-size: clamp(1.22rem, 2vw, 1.48rem);
  line-height: 1.18;
}

.story-number {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--sun), white 54%);
  color: #715132;
  font-size: 0.78rem;
  font-weight: 900;
}

.manifesto-section {
  background:
    linear-gradient(180deg, rgba(255, 248, 238, 0.92), rgba(255, 252, 246, 0.96)),
    var(--paper);
}

.manifesto-inner {
  text-align: center;
}

.manifesto-inner h2 {
  color: var(--ink);
}

.belief-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(960px, 100%);
  margin: 58px auto 0;
}

.belief-card {
  display: grid;
  min-height: 132px;
  align-items: center;
  padding: 26px;
  border: 1px solid rgba(73, 107, 80, 0.15);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.82);
  box-shadow: 0 18px 52px rgba(73, 107, 80, 0.09);
}

.belief-card.offset {
  transform: translateY(18px);
}

.belief-card p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.2vw, 1.72rem);
  font-weight: 780;
  line-height: 1.26;
  text-align: left;
}

.belief-closing {
  max-width: 760px;
  margin: 62px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(73, 107, 80, 0.16);
  color: var(--forest);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 850;
  line-height: 1.34;
}

.communities-section {
  background:
    linear-gradient(180deg, rgba(216, 235, 239, 0.34), rgba(255, 252, 246, 0)),
    var(--paper);
}

.community-type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.community-type-grid span {
  display: grid;
  min-height: 98px;
  place-items: center;
  padding: 20px;
  border: 1px solid rgba(73, 107, 80, 0.16);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.86);
  color: var(--forest);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  font-weight: 880;
  box-shadow: 0 18px 48px rgba(73, 107, 80, 0.08);
}

.final-cta {
  padding: clamp(76px, 11vw, 132px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(36, 51, 41, 0.9), rgba(73, 107, 80, 0.84)),
    radial-gradient(circle at 75% 20%, rgba(245, 199, 102, 0.28), transparent 34%);
  color: #fffaf1;
}

.final-cta-inner {
  width: min(960px, 100%);
  margin: 0 auto;
  text-align: center;
}

.final-cta h2 {
  color: #fffaf1;
}

.final-cta-subtext {
  max-width: 620px;
  margin: 22px auto 0;
  color: rgba(255, 250, 241, 0.86);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
}

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

.cta-actions .primary-button {
  margin-top: 0;
}

.secondary-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid rgba(255, 250, 241, 0.62);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.08);
  color: #fffaf1;
  font-weight: 850;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.secondary-button:hover,
.secondary-button:focus-visible {
  border-color: rgba(255, 250, 241, 0.9);
  background: rgba(255, 250, 241, 0.15);
  transform: translateY(-2px);
}

.onboarding-shell {
  min-height: 100svh;
  padding: 22px clamp(18px, 4vw, 54px) clamp(34px, 5vw, 64px);
  background:
    linear-gradient(180deg, rgba(255, 248, 238, 0.98), rgba(238, 245, 234, 0.92)),
    var(--paper);
  color: var(--ink);
}

.auth-shell {
  background:
    linear-gradient(180deg, rgba(255, 248, 238, 0.98), rgba(238, 245, 234, 0.92)),
    var(--paper);
}

.auth-topbar {
  grid-template-columns: 1fr;
}

.auth-stage {
  width: min(760px, 100%);
}

.auth-card {
  display: grid;
  gap: 28px;
}

.auth-form {
  display: grid;
  gap: 18px;
}

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

.auth-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 760;
  line-height: 1.45;
}

.auth-status.error {
  border: 1px solid rgba(189, 105, 74, 0.28);
  background: rgba(255, 248, 238, 0.9);
  color: var(--clay);
}

.auth-status.success {
  border: 1px solid rgba(73, 107, 80, 0.18);
  background: rgba(238, 245, 234, 0.86);
  color: var(--forest);
}

.onboard-topbar {
  display: grid;
  grid-template-columns: auto minmax(220px, 380px);
  gap: 24px;
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.onboard-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--ink);
  font-weight: 850;
}

.onboard-brand .brand-mark {
  width: 42px;
  height: 42px;
  border-color: rgba(73, 107, 80, 0.34);
  box-shadow: 0 10px 26px rgba(73, 107, 80, 0.16);
}

.onboard-progress {
  display: grid;
  gap: 8px;
}

.onboard-stage-label {
  color: var(--ink);
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  font-weight: 900;
}

.onboard-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted-ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.onboard-progress-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(73, 107, 80, 0.14);
}

.onboard-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--clay), var(--sun));
  transition: width 260ms ease;
}

.onboard-stage {
  display: grid;
  width: min(980px, 100%);
  min-height: calc(100svh - 108px);
  align-items: center;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px) 0 0;
}

.onboard-card {
  width: 100%;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid rgba(73, 107, 80, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.95), rgba(255, 248, 238, 0.9)),
    var(--paper);
  box-shadow: 0 28px 86px rgba(49, 60, 43, 0.14);
  animation: onboard-enter 260ms ease both;
}

.completion-seed-animation {
  position: relative;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: rgba(245, 199, 102, 0.18);
  box-shadow: inset 0 0 0 1px rgba(73, 107, 80, 0.14);
}

.completion-seed-animation::before {
  content: "";
  position: absolute;
  bottom: 24px;
  width: 4px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--sage), var(--forest));
  transform-origin: bottom;
  animation: seed-stem-grow 780ms ease both;
}

.completion-seed-animation span::before,
.completion-seed-animation span::after {
  content: "";
  position: absolute;
  top: 28px;
  width: 22px;
  height: 14px;
  border-radius: 999px 999px 999px 0;
  background: rgba(129, 143, 92, 0.86);
  opacity: 0;
  animation: seed-leaf-appear 520ms ease 420ms both;
}

.completion-seed-animation span::before {
  left: 46px;
  --leaf-transform: rotate(-26deg);
  transform: var(--leaf-transform);
}

.completion-seed-animation span::after {
  right: 46px;
  --leaf-transform: scaleX(-1) rotate(-26deg);
  transform: var(--leaf-transform);
}

@keyframes seed-stem-grow {
  from {
    transform: scaleY(0);
    opacity: 0.2;
  }

  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes seed-leaf-appear {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.7) var(--leaf-transform);
  }

  to {
    opacity: 1;
    transform: var(--leaf-transform);
  }
}

@keyframes onboard-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.onboard-copy {
  max-width: 760px;
}

.onboard-copy.centered {
  margin: 0 auto;
  text-align: center;
}

.onboard-copy h1 {
  max-width: 13ch;
  color: var(--ink);
  font-size: clamp(2.35rem, 5.6vw, 5rem);
  line-height: 1.04;
}

.onboard-copy.centered h1 {
  margin: 0 auto;
}

.onboard-copy p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted-ink);
  font-size: clamp(1.04rem, 1.8vw, 1.24rem);
}

.onboard-copy.centered p {
  margin-right: auto;
  margin-left: auto;
}

.reflection-copy h1 {
  max-width: 14ch;
}

.onboard-helper {
  margin: 18px 0 0;
  color: var(--forest);
  font-size: 0.98rem;
  font-weight: 780;
}

.onboard-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.onboard-choice-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.onboard-choice-grid.single {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.onboard-choice {
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid rgba(73, 107, 80, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 780;
  text-align: left;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.onboard-choice:hover,
.onboard-choice:focus-visible {
  border-color: rgba(189, 105, 74, 0.36);
  background: rgba(255, 248, 238, 0.96);
  transform: translateY(-1px);
}

.onboard-choice.selected {
  border-color: rgba(189, 105, 74, 0.68);
  background:
    linear-gradient(180deg, rgba(245, 199, 102, 0.32), rgba(255, 248, 238, 0.9)),
    var(--cream);
  box-shadow: inset 0 0 0 1px rgba(189, 105, 74, 0.18);
}

.other-answer-field {
  margin-top: 16px;
}

.onboard-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.onboard-form-grid.two {
  margin-top: 22px;
}

.onboard-form-grid.one {
  grid-template-columns: minmax(0, 1fr);
  max-width: 560px;
}

.onboard-field {
  display: grid;
  gap: 8px;
}

.onboard-field.full {
  grid-column: 1 / -1;
}

.onboard-field span,
.field-group-label {
  margin: 0;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 850;
}

.onboard-field input,
.onboard-field select,
.onboard-field textarea {
  width: 100%;
  border: 1px solid rgba(73, 107, 80, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.onboard-field input,
.onboard-field select {
  min-height: 52px;
  padding: 0 14px;
}

.onboard-field textarea {
  min-height: 168px;
  padding: 14px;
  resize: vertical;
}

.village-join-preview {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(73, 107, 80, 0.14);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.74);
}

.village-join-preview div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.village-join-preview span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(129, 143, 92, 0.12);
  color: var(--forest);
  font-size: 0.84rem;
  font-weight: 800;
}

.onboard-field input:focus,
.onboard-field select:focus,
.onboard-field textarea:focus {
  border-color: rgba(189, 105, 74, 0.68);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(189, 105, 74, 0.12);
}

.onboard-field small {
  color: var(--muted-ink);
  font-size: 0.84rem;
}

.character-counter {
  justify-self: end;
  font-weight: 800;
}

.photo-field {
  padding: 18px;
  border: 1px dashed rgba(73, 107, 80, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
}

.photo-field input {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.photo-field strong {
  color: var(--forest);
  font-size: 1rem;
}

.prompt-list {
  margin-top: 18px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(73, 107, 80, 0.14);
}

.story-wisdom {
  max-width: 760px;
  margin: 28px 0 14px;
  padding: 18px 20px;
  border-left: 4px solid rgba(189, 105, 74, 0.58);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--forest);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 800;
  line-height: 1.45;
}

.child-story-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.child-story-card {
  display: grid;
  gap: 20px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(73, 107, 80, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
}

.child-story-card-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.child-story-card-heading h2 {
  margin-top: 5px;
  color: var(--forest);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.child-story-reflections {
  margin-top: 0;
}

.child-story-prompt {
  display: grid;
  gap: 7px;
}

.child-story-prompt h3 {
  color: var(--forest);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.child-story-prompt p,
.child-story-examples {
  margin: 0;
  color: var(--muted-ink);
  line-height: 1.55;
}

.add-child-button {
  width: fit-content;
}

.trust-notice-card,
.visibility-defaults {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(73, 107, 80, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(238, 245, 234, 0.76), rgba(255, 252, 246, 0.88)),
    rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 44px rgba(73, 107, 80, 0.08);
}

.trust-notice-card h2 {
  max-width: 15ch;
  color: var(--forest);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.trust-notice-card p {
  margin: 0;
  color: var(--muted-ink);
  font-size: 1rem;
  font-weight: 720;
  line-height: 1.5;
}

.safety-trust-copy {
  max-width: 820px;
}

.safety-trust-copy h1 {
  max-width: none;
}

.safety-trust-body {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.safety-trust-body p {
  margin-top: 0;
  font-size: clamp(1rem, 1.55vw, 1.16rem);
}

.safety-privacy-reminder {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin: 30px auto 0;
  padding: 20px clamp(18px, 3vw, 26px);
  border: 1px solid rgba(73, 107, 80, 0.18);
  border-radius: 8px;
  background: rgba(238, 245, 234, 0.78);
  box-shadow: 0 16px 38px rgba(73, 107, 80, 0.08);
  color: var(--muted-ink);
  text-align: left;
}

.safety-privacy-reminder p {
  margin: 0;
  line-height: 1.55;
}

.safety-privacy-reminder strong {
  color: var(--forest);
}

.visibility-defaults {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.profile-visibility-choice {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.visibility-defaults .field-group-label {
  width: 100%;
}

.visibility-defaults span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(73, 107, 80, 0.14);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.86);
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 850;
}

.prompt-list p {
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 850;
}

.prompt-list ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted-ink);
}

.sharing-details {
  display: grid;
  gap: 26px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(73, 107, 80, 0.14);
}

.sharing-details .onboard-choice-grid {
  margin-top: 12px;
}

.onboard-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 38px;
}

.onboard-footer.centered {
  justify-content: center;
}

.onboard-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.onboard-button.primary {
  border: 1px solid rgba(245, 199, 102, 0.78);
  background: var(--sun);
  color: #32261a;
  box-shadow: 0 18px 44px rgba(73, 107, 80, 0.16);
}

.onboard-button.ghost {
  border: 1px solid rgba(73, 107, 80, 0.22);
  background: rgba(255, 255, 255, 0.52);
  color: var(--forest);
}

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

.onboard-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.onboard-button.primary:hover,
.onboard-button.primary:focus-visible {
  background: #ffd77a;
  box-shadow: 0 22px 54px rgba(73, 107, 80, 0.2);
}

.onboard-button.ghost:hover,
.onboard-button.ghost:focus-visible {
  border-color: rgba(73, 107, 80, 0.38);
  background: rgba(255, 252, 246, 0.92);
}

.onboard-microcopy {
  margin: 24px 0 0;
  color: var(--muted-ink);
  font-size: 0.92rem;
  font-weight: 720;
  text-align: center;
}

.village-identity-card {
  display: grid;
  gap: 24px;
  margin-top: 34px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(73, 107, 80, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.94), rgba(255, 248, 238, 0.82)),
    rgba(255, 255, 255, 0.56);
  box-shadow: 0 22px 64px rgba(73, 107, 80, 0.12);
}

.village-identity-card h2 {
  max-width: 16ch;
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.identity-discovery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  border-top: 1px solid rgba(73, 107, 80, 0.12);
}

.identity-discovery {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 112px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(73, 107, 80, 0.12);
}

.identity-discovery.wide {
  grid-column: 1 / -1;
}

.identity-discovery h3 {
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.identity-discovery p {
  margin: 0;
  color: var(--ink);
  font-weight: 760;
  line-height: 1.45;
}

.identity-empty {
  color: var(--muted-ink);
  font-style: italic;
}

.identity-note {
  max-width: 70ch;
  color: var(--ink);
}

.identity-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.identity-chip-list span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(189, 105, 74, 0.2);
  border-radius: 999px;
  background: rgba(255, 248, 238, 0.88);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 820;
  line-height: 1.2;
}

.identity-closing {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--forest);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  font-weight: 780;
  line-height: 1.5;
  text-align: center;
}

.meet-village-shell {
  min-height: 100svh;
  padding: 22px clamp(18px, 4vw, 54px) clamp(52px, 6vw, 86px);
  background:
    linear-gradient(180deg, rgba(255, 248, 238, 0.98), rgba(238, 245, 234, 0.94) 62%, rgba(255, 252, 246, 0.98)),
    var(--paper);
  color: var(--ink);
}

.meet-village-topbar {
  display: block;
}

.desktop-village-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.meet-village-back {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(73, 107, 80, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 850;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.meet-village-back:hover,
.meet-village-back:focus-visible {
  border-color: rgba(73, 107, 80, 0.34);
  background: rgba(255, 252, 246, 0.92);
  transform: translateY(-1px);
}

.village-nav-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.village-selector {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(73, 107, 80, 0.16);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.72);
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 850;
}

.village-selector select {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  outline: none;
}

.village-user-greeting {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(73, 107, 80, 0.12);
  border-radius: 999px;
  background: rgba(238, 245, 234, 0.62);
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 850;
}

.logout-button {
  border-color: rgba(189, 105, 74, 0.18);
  color: var(--clay);
}

.mobile-village-header,
.mobile-village-menu-backdrop {
  display: none;
}

.mobile-village-current {
  min-width: 0;
  overflow: hidden;
  padding: 8px 10px;
  border: 1px solid rgba(73, 107, 80, 0.14);
  border-radius: 999px;
  background: rgba(238, 245, 234, 0.66);
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-menu-button {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  gap: 4px;
  padding: 11px;
  border: 1px solid rgba(73, 107, 80, 0.18);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.82);
  color: var(--forest);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.mobile-menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-menu-button:hover,
.mobile-menu-button:focus-visible,
.mobile-menu-close:hover,
.mobile-menu-close:focus-visible,
.mobile-logout-button:hover,
.mobile-logout-button:focus-visible {
  border-color: rgba(73, 107, 80, 0.34);
  background: rgba(255, 248, 238, 0.96);
  transform: translateY(-1px);
}

.mobile-village-menu-backdrop {
  position: fixed;
  z-index: 80;
  inset: 0;
  justify-items: end;
  padding: 12px;
  background: rgba(31, 45, 34, 0.42);
  backdrop-filter: blur(8px);
}

.mobile-village-menu {
  display: grid;
  align-content: start;
  gap: 18px;
  width: min(380px, 100%);
  max-height: calc(100svh - 24px);
  overflow-y: auto;
  padding: 20px;
  border: 1px solid rgba(73, 107, 80, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(255, 248, 238, 0.94)),
    var(--paper);
  box-shadow: 0 28px 90px rgba(31, 45, 34, 0.28);
}

.mobile-village-menu-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(73, 107, 80, 0.12);
}

.mobile-village-menu-heading h2 {
  max-width: 14ch;
  font-size: clamp(1.5rem, 7vw, 2.15rem);
  line-height: 1.06;
}

.mobile-menu-close,
.mobile-logout-button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(73, 107, 80, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--forest);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.mobile-village-nav-list {
  display: grid;
  gap: 10px;
}

.mobile-village-nav-list a {
  display: grid;
  gap: 3px;
  min-height: 58px;
  justify-content: stretch;
  padding: 12px 14px;
  border: 1px solid rgba(73, 107, 80, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
}

.mobile-village-nav-list a.current {
  border-color: rgba(189, 105, 74, 0.3);
  background: rgba(245, 199, 102, 0.18);
}

.mobile-village-nav-list span {
  font-weight: 900;
}

.mobile-village-nav-list small {
  color: var(--muted-ink);
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1.35;
}

.mobile-village-switcher {
  display: grid;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(73, 107, 80, 0.12);
}

.mobile-village-switcher h3 {
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mobile-village-switcher .village-selector {
  width: 100%;
  justify-content: space-between;
  border-radius: 8px;
  background: rgba(238, 245, 234, 0.66);
}

.mobile-village-switcher .village-selector select {
  min-width: 0;
  flex: 1;
  text-overflow: ellipsis;
}

.mobile-logout-button {
  width: 100%;
  border-color: rgba(189, 105, 74, 0.2);
  color: var(--clay);
}

.grow-home-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.grow-home-nav a,
.grow-home-nav span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(73, 107, 80, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--forest);
  font-size: 0.88rem;
  font-weight: 850;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.grow-home-nav span {
  border-color: rgba(189, 105, 74, 0.28);
  background: rgba(245, 199, 102, 0.18);
  color: var(--ink);
}

.grow-home-nav a:hover,
.grow-home-nav a:focus-visible {
  border-color: rgba(73, 107, 80, 0.34);
  background: rgba(255, 252, 246, 0.92);
  transform: translateY(-1px);
}

.meet-village-main {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-top: clamp(42px, 7vw, 88px);
}

.meet-village-hero {
  max-width: 920px;
  padding: clamp(18px, 4vw, 30px) 0 clamp(52px, 7vw, 84px);
}

.meet-village-hero h1 {
  max-width: 12ch;
  color: var(--ink);
  font-size: clamp(2.75rem, 7vw, 5.45rem);
  line-height: 1.02;
}

.meet-village-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted-ink);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  line-height: 1.58;
}

.meet-village-hero .dashboard-welcome {
  color: var(--clay);
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  font-weight: 860;
}

.meet-village-hero .dashboard-village {
  margin-top: 8px;
  color: var(--forest);
  font-size: 0.98rem;
  font-weight: 820;
}

.my-village-hero-action {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  justify-items: start;
}

.meet-village-hero .my-village-hero-action p {
  max-width: 620px;
  margin: 0;
  color: var(--forest);
  font-size: 1rem;
  font-weight: 780;
  line-height: 1.48;
}

.my-village-hero-action .onboard-button {
  width: fit-content;
}

.village-forming-note {
  max-width: 720px;
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 4px solid rgba(189, 105, 74, 0.58);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.78);
  color: var(--forest);
  font-size: 1rem;
  font-weight: 820;
  box-shadow: 0 14px 38px rgba(73, 107, 80, 0.08);
}

.meet-village-section {
  padding: clamp(52px, 7vw, 86px) 0;
  border-top: 1px solid rgba(73, 107, 80, 0.12);
}

.my-village-main {
  padding-top: clamp(34px, 5vw, 68px);
}

.my-village-main .meet-village-hero {
  padding-bottom: clamp(30px, 5vw, 46px);
}

.my-village-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "seed profile"
    "discover opportunities"
    "people connections";
  align-items: start;
  gap: clamp(16px, 2vw, 22px);
}

.my-village-dashboard-grid .today-village-seed-section {
  grid-area: seed;
}

.my-village-dashboard-grid .my-family-story-section {
  grid-area: profile;
}

.my-village-dashboard-grid .discover-gifts-section {
  grid-area: discover;
}

.my-village-dashboard-grid .village-people-section {
  grid-area: people;
}

.my-village-dashboard-grid .discover-opportunities-section {
  grid-area: opportunities;
}

.my-village-dashboard-grid .my-connections-section {
  grid-area: connections;
}

.my-village-dashboard-grid .meet-village-section {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid rgba(73, 107, 80, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.94), rgba(255, 248, 238, 0.8)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 58px rgba(73, 107, 80, 0.1);
}

.my-village-dashboard-grid .meet-section-heading {
  max-width: none;
  gap: 6px;
}

.my-village-dashboard-grid .meet-section-heading h2 {
  max-width: none;
  font-size: clamp(1.38rem, 2.3vw, 2.05rem);
  line-height: 1.12;
}

.my-village-dashboard-grid .meet-section-heading p:not(.eyebrow) {
  max-width: none;
  font-size: 0.96rem;
  line-height: 1.45;
}

.heard-section {
  padding-top: clamp(34px, 5vw, 62px);
}

.meet-section-heading {
  display: grid;
  max-width: 760px;
  gap: 10px;
}

.meet-section-heading h2 {
  max-width: 11ch;
  font-size: clamp(2rem, 4.6vw, 4.2rem);
}

.meet-section-heading p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted-ink);
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
}

.village-preview-card {
  display: grid;
  gap: 24px;
  margin-top: 34px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(73, 107, 80, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(255, 248, 238, 0.86)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(73, 107, 80, 0.12);
}

.village-preview-card h3 {
  max-width: 18ch;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.preview-discovery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.preview-discovery-grid section {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 170px;
  padding: 20px;
  border: 1px solid rgba(73, 107, 80, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
}

.preview-discovery-grid h4 {
  margin: 0;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-card-content {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.profile-card-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(73, 107, 80, 0.12);
}

.profile-card-heading > div:first-child {
  display: grid;
  gap: 6px;
  max-width: 420px;
}

.profile-card-heading h3 {
  font-size: clamp(1.22rem, 2vw, 1.62rem);
  line-height: 1.12;
}

.profile-card-heading p {
  margin: 0;
  color: var(--muted-ink);
  font-size: 0.92rem;
  font-weight: 720;
  line-height: 1.42;
}

.profile-completeness {
  display: grid;
  gap: 7px;
  min-width: min(190px, 100%);
}

.profile-completeness strong {
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 900;
  text-align: right;
}

.profile-completeness span {
  display: block;
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(73, 107, 80, 0.12);
}

.profile-completeness i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(129, 143, 92, 0.86), rgba(245, 199, 102, 0.88));
}

.profile-discovery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-discovery-grid > section {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(73, 107, 80, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
}

.profile-discovery-grid h4 {
  margin: 0;
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-discovery-full {
  grid-column: 1 / -1;
}

.trust-journey-section {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding-top: 22px;
  border-top: 1px solid rgba(73, 107, 80, 0.14);
}

.trust-journey-section h4 {
  margin: 0;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.trust-journey-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.trust-journey-list span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(73, 107, 80, 0.14);
  border-radius: 999px;
  background: rgba(238, 245, 234, 0.74);
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.2;
}

.preview-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.preview-chip-list span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(189, 105, 74, 0.2);
  border-radius: 999px;
  background: rgba(255, 248, 238, 0.9);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 820;
  line-height: 1.2;
}

.village-search-transition {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: clamp(42px, 7vw, 74px) 0;
  border-top: 1px solid rgba(73, 107, 80, 0.12);
  text-align: center;
}

.village-search-transition h2 {
  max-width: none;
  color: var(--forest);
  font-size: clamp(1.8rem, 3.6vw, 3.3rem);
}

.search-line-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.search-line-list p {
  margin: 0;
  padding: 9px 13px;
  border: 1px solid rgba(73, 107, 80, 0.12);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.78);
  color: var(--muted-ink);
  font-size: 0.94rem;
  font-weight: 800;
  animation: search-line-breathe 2200ms ease-in-out infinite;
  animation-delay: calc(var(--line-index) * 180ms);
}

@keyframes search-line-breathe {
  0%,
  100% {
    opacity: 0.72;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.meet-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.meet-card {
  display: grid;
  min-height: 286px;
  align-content: start;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(73, 107, 80, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.95), rgba(255, 248, 238, 0.84)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 62px rgba(73, 107, 80, 0.11);
}

.today-village-seed-card {
  display: grid;
  gap: 10px;
  max-width: 780px;
  padding: 24px;
  border: 1px solid rgba(73, 107, 80, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.95), rgba(255, 248, 238, 0.86)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 62px rgba(73, 107, 80, 0.1);
}

.today-village-seed-card p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.55;
}

.my-village-dashboard-grid .today-village-seed-card {
  max-width: none;
  padding: 18px;
  box-shadow: none;
}

.my-village-dashboard-grid .today-village-seed-card p {
  font-size: 1rem;
}

.my-village-dashboard-grid .meet-card-grid,
.my-village-dashboard-grid .family-grid {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 0;
}

.my-village-dashboard-grid .meet-card {
  min-height: 0;
  gap: 12px;
  padding: 18px;
  box-shadow: none;
}

.my-village-dashboard-grid .meet-card h3 {
  font-size: 1.18rem;
}

.meet-card-marker {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(245, 199, 102, 0.28);
  box-shadow: inset 0 0 0 1px rgba(189, 105, 74, 0.14);
  font-size: 1.16rem;
}

.meet-card-kicker {
  margin: 0;
  color: var(--clay);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.placeholder-label {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 2px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(129, 143, 92, 0.13);
  color: var(--forest);
  font-size: 0.74rem;
  font-weight: 850;
}

.meet-card h3 {
  font-size: clamp(1.12rem, 1.9vw, 1.42rem);
  line-height: 1.22;
}

.trust-label-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-label-list span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 9px;
  border: 1px solid rgba(73, 107, 80, 0.14);
  border-radius: 999px;
  background: rgba(238, 245, 234, 0.68);
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.2;
}

.community-discovery-section {
  border-top: 1px solid rgba(73, 107, 80, 0.12);
}

.family-grid {
  margin-top: 30px;
}

.family-profile-card {
  align-content: start;
}

.family-card-meta,
.family-share-note {
  margin: 0;
  color: var(--muted-ink);
  font-size: 0.96rem;
  font-weight: 740;
  line-height: 1.42;
}

.family-card-discoveries {
  display: grid;
  gap: 14px;
}

.family-card-discoveries section {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(73, 107, 80, 0.1);
}

.family-card-discoveries h4 {
  margin: 0;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.family-gift-offer-list {
  display: grid;
  gap: 10px;
}

.family-gift-offer {
  display: grid;
  gap: 9px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(238, 245, 234, 0.68);
}

.family-gift-offer h5 {
  color: var(--forest);
  font-size: 1rem;
}

.family-gift-offer dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.family-gift-offer dl div {
  display: grid;
  grid-template-columns: minmax(90px, 0.45fr) 1fr;
  gap: 10px;
}

.family-gift-offer dt,
.family-gift-offer dd,
.family-gift-offer p {
  margin: 0;
  color: var(--muted-ink);
  font-size: 0.88rem;
  line-height: 1.4;
}

.family-gift-offer dt {
  color: var(--forest);
  font-weight: 850;
}

.my-shared-gifts,
.share-gift-invitation {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(73, 107, 80, 0.14);
}

.my-shared-gifts h4,
.share-gift-invitation h3 {
  color: var(--forest);
}

.my-shared-gift-list {
  display: grid;
  gap: 10px;
}

.my-shared-gift-list article {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(238, 245, 234, 0.66);
}

.my-shared-gift-list span,
.share-gift-heading p {
  color: var(--muted-ink);
  font-weight: 720;
}

.share-gift-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.share-gift-heading > div {
  display: grid;
  gap: 8px;
  max-width: 650px;
}

.share-gift-heading p {
  margin: 0;
  line-height: 1.5;
}

.share-gift-form {
  display: grid;
  gap: 20px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(73, 107, 80, 0.16);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.76);
}

.share-gift-form .onboard-form-grid {
  margin-top: 0;
}

.share-gift-form .onboard-button {
  width: fit-content;
}

.family-story-summary,
.story-text-block p {
  margin: 0;
  color: var(--muted-ink);
  font-size: 0.95rem;
  font-weight: 720;
  line-height: 1.48;
}

.family-preview-card {
  min-height: 0;
  align-content: start;
}

.family-preview-card > section {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(73, 107, 80, 0.1);
}

.family-preview-card h4,
.family-story-modal-grid h4 {
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.family-preview-match {
  display: grid;
  gap: 4px;
  margin: 0;
  color: var(--ink);
  font-weight: 850;
}

.family-preview-match span {
  color: var(--muted-ink);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.family-preview-story {
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid rgba(73, 107, 80, 0.1);
  border-bottom: 1px solid rgba(73, 107, 80, 0.1);
  color: var(--muted-ink);
  font-size: 0.95rem;
  font-weight: 720;
  line-height: 1.5;
}

.family-preview-interest {
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid rgba(189, 105, 74, 0.5);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 248, 238, 0.7);
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
}

.family-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.discovery-invitation {
  margin: 22px 0 0;
  color: var(--muted-ink);
  font-weight: 760;
}

.family-story-modal-backdrop {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  overflow-y: auto;
  place-items: center;
  padding: 24px;
  background: rgba(31, 45, 34, 0.56);
  backdrop-filter: blur(8px);
}

.family-story-modal {
  display: grid;
  gap: 26px;
  width: min(820px, 100%);
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(73, 107, 80, 0.18);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 34px 100px rgba(31, 45, 34, 0.3);
}

.family-story-modal-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.family-story-modal-heading h2 {
  margin-top: 7px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.family-story-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.family-story-modal-grid > section {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(73, 107, 80, 0.12);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.72);
}

.family-story-modal-summary,
.family-story-modal-grid .family-gift-offers,
.family-children-story-section,
.child-light-up-section {
  grid-column: 1 / -1;
}

.family-story-modal-summary p,
.family-story-visibility-note {
  margin: 0;
  color: var(--muted-ink);
  line-height: 1.55;
}

.family-children-story-section,
.child-light-up-section {
  display: grid;
  gap: 12px;
}

.family-child-story-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.family-child-story-card {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(73, 107, 80, 0.12);
  border-radius: 8px;
  background: rgba(238, 245, 234, 0.6);
}

.family-child-story-card h5 {
  color: var(--forest);
  font-size: 1rem;
}

.family-child-story-card p {
  margin: 0;
  color: var(--muted-ink);
  font-size: 0.94rem;
  line-height: 1.55;
}

.family-story-visibility-note {
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(238, 245, 234, 0.72);
  font-weight: 760;
}

.discover-gift-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.my-village-dashboard-grid .discover-gift-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
}

.discover-gift-card {
  display: grid;
  min-height: 116px;
  align-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(73, 107, 80, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.94), rgba(255, 248, 238, 0.82)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(73, 107, 80, 0.09);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.my-village-dashboard-grid .discover-gift-card {
  min-height: 82px;
  gap: 10px;
  padding: 14px;
  box-shadow: none;
}

.my-village-dashboard-grid .discover-gift-card span {
  font-size: 1rem;
}

.my-village-dashboard-grid .discover-gift-card strong {
  min-width: 34px;
  min-height: 28px;
  padding: 4px 10px;
  font-size: 0.86rem;
}

.discover-gift-card:hover,
.discover-gift-card:focus-visible,
.discover-gift-card.selected {
  border-color: rgba(189, 105, 74, 0.42);
  box-shadow: 0 22px 58px rgba(73, 107, 80, 0.13);
  transform: translateY(-2px);
}

.discover-gift-card span {
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  font-weight: 900;
  line-height: 1.16;
}

.discover-gift-card strong {
  display: inline-flex;
  width: fit-content;
  min-width: 42px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(245, 199, 102, 0.32);
  color: var(--forest);
  font-size: 0.98rem;
  font-weight: 900;
}

.gift-family-reveal {
  display: grid;
  gap: 8px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(73, 107, 80, 0.12);
}

.my-village-dashboard-grid .gift-family-reveal {
  margin-top: 0;
  padding-top: 18px;
}

.meet-section-heading.compact h3 {
  max-width: 18ch;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.1;
}

.my-village-dashboard-grid .meet-section-heading.compact h3 {
  max-width: none;
  font-size: 1.2rem;
}

.connection-discovery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.my-village-dashboard-grid .connection-discovery-grid {
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 0;
}

.connection-discovery-grid > section {
  display: grid;
  align-content: start;
  gap: 16px;
}

.connection-discovery-grid h3 {
  font-size: clamp(1.18rem, 2vw, 1.48rem);
}

.connection-card-list {
  display: grid;
  gap: 16px;
}

.village-empty-state {
  margin-top: 26px;
  padding: 22px;
  border: 1px solid rgba(73, 107, 80, 0.14);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.72);
  color: var(--muted-ink);
  font-weight: 760;
  line-height: 1.45;
}

.my-village-dashboard-grid .village-empty-state {
  margin-top: 0;
  padding: 16px;
  font-size: 0.94rem;
  line-height: 1.42;
}

.village-empty-state p {
  margin: 0;
}

.village-empty-state p + p {
  margin-top: 10px;
}

.request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.soft-action {
  align-self: end;
  width: fit-content;
  min-height: 42px;
  margin-top: auto;
  padding: 0 16px;
  border: 1px solid rgba(73, 107, 80, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--forest);
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 850;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.soft-action:hover,
.soft-action:focus-visible {
  border-color: rgba(189, 105, 74, 0.4);
  background: rgba(255, 248, 238, 0.96);
  transform: translateY(-1px);
}

.soft-action:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.soft-action.filled {
  border-color: rgba(245, 199, 102, 0.7);
  background: var(--sun);
  color: #32261a;
}

.signal-section {
  background:
    linear-gradient(180deg, rgba(216, 235, 239, 0.22), rgba(255, 252, 246, 0));
}

.village-signal-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.village-signal-chip {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid rgba(189, 105, 74, 0.2);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.82);
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 850;
  box-shadow: 0 12px 32px rgba(73, 107, 80, 0.08);
}

.opportunity-card {
  min-height: 340px;
}

.opportunity-details {
  display: grid;
  gap: 12px;
  margin: 0;
}

.opportunity-details div {
  display: grid;
  gap: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(73, 107, 80, 0.12);
}

.opportunity-details dt {
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.opportunity-details dd {
  margin: 0;
  color: var(--muted-ink);
  font-weight: 730;
  line-height: 1.35;
}

.conversation-start-section {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-top: clamp(26px, 5vw, 48px);
  padding: clamp(42px, 7vw, 74px) clamp(22px, 5vw, 68px);
  border: 1px solid rgba(189, 105, 74, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.95), rgba(255, 248, 238, 0.82)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 64px rgba(73, 107, 80, 0.11);
  text-align: center;
}

.conversation-start-section h2 {
  max-width: 11ch;
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.conversation-start-section p {
  max-width: 720px;
  margin: 0;
  color: var(--muted-ink);
  font-size: clamp(1.04rem, 1.9vw, 1.24rem);
}

.ecosystem-bridge {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-top: clamp(26px, 5vw, 48px);
  padding: clamp(42px, 7vw, 74px) clamp(22px, 5vw, 68px);
  border: 1px solid rgba(73, 107, 80, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(238, 245, 234, 0.82), rgba(255, 252, 246, 0.9)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 64px rgba(73, 107, 80, 0.1);
  text-align: center;
}

.ecosystem-bridge h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.ecosystem-bridge p {
  max-width: 720px;
  margin: 0;
  color: var(--muted-ink);
  font-size: clamp(1.04rem, 1.9vw, 1.24rem);
}

.trust-first-step {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-top: clamp(28px, 5vw, 54px);
  padding: clamp(46px, 7vw, 78px) clamp(22px, 5vw, 72px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(36, 51, 41, 0.92), rgba(73, 107, 80, 0.86)),
    var(--forest);
  color: #fffaf1;
  text-align: center;
}

.trust-first-step .eyebrow {
  color: #f5d68a;
}

.trust-first-step h2 {
  max-width: 12ch;
  color: #fffaf1;
}

.trust-first-step p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 250, 241, 0.88);
  font-size: clamp(1.04rem, 1.9vw, 1.25rem);
}

.children-safety-section {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-top: clamp(26px, 5vw, 48px);
  padding: clamp(42px, 7vw, 74px) clamp(22px, 5vw, 68px);
  border: 1px solid rgba(73, 107, 80, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(238, 245, 234, 0.86), rgba(255, 252, 246, 0.9)),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 22px 64px rgba(73, 107, 80, 0.1);
  text-align: center;
}

.children-safety-section h2 {
  max-width: 11ch;
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.children-safety-section p:not(.eyebrow) {
  max-width: 740px;
  margin: 0;
  color: var(--muted-ink);
  font-size: clamp(1.04rem, 1.9vw, 1.24rem);
  font-weight: 720;
}

.ecosystem-shell {
  background:
    linear-gradient(180deg, rgba(255, 248, 238, 0.98), rgba(238, 245, 234, 0.88) 54%, rgba(255, 252, 246, 0.98)),
    var(--paper);
}

.ecosystem-hero {
  padding-bottom: clamp(38px, 6vw, 70px);
}

.ecosystem-chip-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: clamp(52px, 7vw, 84px);
}

.ecosystem-chip-panel {
  display: grid;
  align-content: start;
  gap: 20px;
  min-height: 260px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(73, 107, 80, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(255, 248, 238, 0.86)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 62px rgba(73, 107, 80, 0.11);
}

.ecosystem-chip-panel h2 {
  max-width: 13ch;
  font-size: clamp(1.42rem, 2.7vw, 2.45rem);
  line-height: 1.08;
}

.ecosystem-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ecosystem-chip-list span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(189, 105, 74, 0.2);
  border-radius: 999px;
  background: rgba(255, 248, 238, 0.9);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 830;
}

.ecosystem-visual-section {
  padding: clamp(54px, 8vw, 94px) 0 0;
  border-top: 1px solid rgba(73, 107, 80, 0.12);
}

.ecosystem-heading h2 {
  max-width: 10ch;
}

.ecosystem-network {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  margin-top: clamp(36px, 5vw, 58px);
}

.ecosystem-network::before {
  position: absolute;
  top: 50%;
  right: 6%;
  left: 6%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(73, 107, 80, 0.24), transparent);
  content: "";
  pointer-events: none;
}

.ecosystem-network::after {
  position: absolute;
  top: 16%;
  right: 12%;
  bottom: 16%;
  left: 12%;
  border: 1px solid rgba(73, 107, 80, 0.12);
  border-radius: 999px;
  content: "";
  pointer-events: none;
}

.ecosystem-node-card {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 270px;
  padding: 20px;
  border: 1px solid rgba(73, 107, 80, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(255, 248, 238, 0.86)),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 48px rgba(73, 107, 80, 0.1);
}

.ecosystem-node-card.center-node {
  border-color: rgba(189, 105, 74, 0.32);
  background:
    linear-gradient(180deg, rgba(245, 199, 102, 0.32), rgba(255, 248, 238, 0.92)),
    var(--cream);
}

.ecosystem-node-marker {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(245, 199, 102, 0.28);
  box-shadow: inset 0 0 0 1px rgba(189, 105, 74, 0.16);
  color: var(--forest);
  font-size: 1.08rem;
  font-weight: 900;
}

.ecosystem-node-card h3 {
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
  line-height: 1.18;
}

.ecosystem-node-card p {
  margin: 0;
  color: var(--muted-ink);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.46;
}

.ecosystem-message-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.ecosystem-message-row p {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(73, 107, 80, 0.14);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.78);
  color: var(--forest);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  font-weight: 820;
  line-height: 1.38;
  box-shadow: 0 14px 38px rgba(73, 107, 80, 0.08);
}

.grow-village-shell {
  background:
    linear-gradient(180deg, rgba(255, 248, 238, 0.98), rgba(238, 245, 234, 0.9) 58%, rgba(255, 252, 246, 0.98)),
    var(--paper);
}

.grow-hero {
  padding-bottom: clamp(42px, 6vw, 76px);
}

.grow-hero h1 {
  max-width: 11ch;
}

.grow-hero-subtitle {
  color: var(--forest) !important;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem) !important;
  font-weight: 850;
}

.today-seed-section {
  padding: clamp(48px, 7vw, 84px) 0;
  border-top: 1px solid rgba(73, 107, 80, 0.12);
}

.today-seed-card {
  display: grid;
  gap: 18px;
  max-width: 880px;
  margin-top: 34px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(189, 105, 74, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(245, 199, 102, 0.22), rgba(255, 248, 238, 0.88)),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 26px 72px rgba(73, 107, 80, 0.12);
}

.today-seed-card p {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.9vw, 1.34rem);
  font-weight: 760;
  line-height: 1.5;
}

.seed-response-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.seed-response-row a,
.seed-response-row button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(73, 107, 80, 0.18);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.84);
  color: var(--forest);
  cursor: pointer;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 850;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.seed-response-row a:hover,
.seed-response-row a:focus-visible,
.seed-response-row button:hover,
.seed-response-row button:focus-visible {
  border-color: rgba(189, 105, 74, 0.4);
  background: rgba(255, 248, 238, 0.96);
  transform: translateY(-1px);
}

.seed-response-row a.seed-primary,
.seed-response-row button.seed-primary {
  border-color: rgba(73, 107, 80, 0.72);
  background: var(--forest);
  color: #fffaf1;
  box-shadow: 0 14px 34px rgba(73, 107, 80, 0.2);
}

.seed-response-row a.seed-primary:hover,
.seed-response-row a.seed-primary:focus-visible,
.seed-response-row button.seed-primary:hover,
.seed-response-row button.seed-primary:focus-visible {
  border-color: rgba(36, 51, 41, 0.74);
  background: var(--ink);
}

.week-in-village-section {
  border-top: 1px solid rgba(73, 107, 80, 0.12);
}

.week-story-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.week-story-card {
  display: grid;
  gap: 14px;
  min-height: 150px;
  align-content: start;
  padding: 20px;
  border: 1px solid rgba(73, 107, 80, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(238, 245, 234, 0.76)),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 48px rgba(73, 107, 80, 0.08);
}

.week-story-card span {
  color: var(--clay);
  font-size: 1.18rem;
  line-height: 1;
}

.week-story-card p {
  margin: 0;
  color: var(--forest);
  font-size: 0.98rem;
  font-weight: 820;
  line-height: 1.35;
}

.grow-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.grow-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.grow-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 330px;
  padding: 22px;
  border: 1px solid rgba(73, 107, 80, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(255, 248, 238, 0.84)),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 20px 56px rgba(73, 107, 80, 0.1);
}

.grow-card h3 {
  font-size: clamp(1.08rem, 1.8vw, 1.34rem);
  line-height: 1.2;
}

.grow-card p {
  margin: 0;
  color: var(--muted-ink);
  font-size: 0.98rem;
  font-weight: 720;
  line-height: 1.45;
}

.growth-signal-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.growth-signal-card {
  display: grid;
  gap: 12px;
  min-height: 178px;
  padding: 22px;
  border: 1px solid rgba(73, 107, 80, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(238, 245, 234, 0.78)),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 48px rgba(73, 107, 80, 0.09);
}

.growth-signal-card span {
  font-size: 1.35rem;
  line-height: 1;
}

.growth-signal-card h3 {
  max-width: 18ch;
  color: var(--forest);
  font-size: 1.02rem;
  line-height: 1.3;
}

.grow-action-card {
  min-height: 260px;
}

.stories-waiting-section {
  display: grid;
  gap: 18px;
  padding: clamp(46px, 7vw, 74px) 0;
  border-top: 1px solid rgba(73, 107, 80, 0.12);
}

.stories-waiting-section h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.story-line-list {
  display: grid;
  gap: 14px;
  max-width: 720px;
}

.story-line-list p {
  margin: 0;
  padding: 18px 20px;
  border-left: 3px solid rgba(189, 105, 74, 0.34);
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.68);
  color: var(--muted-ink);
  font-size: clamp(1.04rem, 1.8vw, 1.22rem);
  font-weight: 760;
  line-height: 1.5;
}

.grow-reflection-section {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: clamp(52px, 8vw, 92px) clamp(22px, 5vw, 72px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(36, 51, 41, 0.92), rgba(73, 107, 80, 0.86)),
    var(--forest);
  color: #fffaf1;
  text-align: center;
}

.grow-reflection-section .reflection-opening {
  max-width: 860px;
  margin: 0;
  color: #fffaf1;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 850;
  line-height: 1.18;
}

.reflection-lines {
  display: grid;
  gap: 8px;
  max-width: 720px;
}

.reflection-lines p,
.grow-reflection-section .reflection-close {
  margin: 0;
  color: rgba(255, 250, 241, 0.88);
  font-size: clamp(1.04rem, 1.9vw, 1.24rem);
  font-weight: 760;
  line-height: 1.5;
}

.grow-reflection-section .reflection-close {
  color: #fffaf1;
  font-size: clamp(1.28rem, 2.4vw, 1.78rem);
  font-weight: 880;
  line-height: 1.28;
}

.plant-seed-shell {
  background:
    linear-gradient(180deg, rgba(255, 248, 238, 0.98), rgba(238, 245, 234, 0.94) 62%, rgba(255, 252, 246, 0.98)),
    var(--paper);
}

.plant-seed-hero h1 {
  max-width: 9ch;
}

.plant-seed-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.plant-seed-option-card {
  min-height: 292px;
}

.plant-seed-option-card.selected {
  border-color: rgba(189, 105, 74, 0.5);
  background:
    linear-gradient(180deg, rgba(245, 199, 102, 0.26), rgba(255, 248, 238, 0.92)),
    rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 0 0 1px rgba(189, 105, 74, 0.14), 0 22px 58px rgba(73, 107, 80, 0.12);
}

.plant-form-preview,
.plant-confirmation-section,
.trust-reminder-section,
.plant-final-reflection {
  padding: clamp(48px, 7vw, 82px) 0;
  border-top: 1px solid rgba(73, 107, 80, 0.12);
}

.plant-form-preview.empty {
  display: grid;
  gap: 16px;
}

.plant-form-preview h2,
.trust-reminder-section h2 {
  max-width: 13ch;
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.plant-form-preview > p,
.trust-reminder-section > p {
  max-width: 760px;
  margin: 0;
  color: var(--muted-ink);
  font-size: clamp(1.04rem, 1.8vw, 1.22rem);
  font-weight: 720;
  line-height: 1.55;
}

.plant-form-preview .plant-privacy-note {
  max-width: 720px;
  margin-top: 14px;
  padding: 14px 16px;
  border-left: 4px solid rgba(73, 107, 80, 0.45);
  border-radius: 8px;
  background: rgba(238, 245, 234, 0.78);
  color: var(--forest);
  font-size: 0.98rem;
  font-weight: 850;
}

.plant-seed-form {
  max-width: 960px;
  margin-top: 30px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(73, 107, 80, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(255, 248, 238, 0.84)),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 22px 58px rgba(73, 107, 80, 0.1);
}

.plant-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.plant-confirmation-card {
  display: grid;
  gap: 18px;
  max-width: 820px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(189, 105, 74, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(245, 199, 102, 0.24), rgba(255, 248, 238, 0.88)),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 24px 68px rgba(73, 107, 80, 0.12);
}

.plant-confirmation-card h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.plant-confirmation-card p {
  max-width: 700px;
  margin: 0;
  color: var(--muted-ink);
  font-size: clamp(1.04rem, 1.8vw, 1.2rem);
  font-weight: 740;
  line-height: 1.55;
}

.plant-confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.plant-final-reflection {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding-right: clamp(18px, 5vw, 64px);
  padding-left: clamp(18px, 5vw, 64px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(36, 51, 41, 0.92), rgba(73, 107, 80, 0.86)),
    var(--forest);
  color: #fffaf1;
  text-align: center;
}

.plant-final-reflection p {
  max-width: 860px;
  margin: 0;
  color: #fffaf1;
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  font-weight: 850;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .desktop-village-header {
    display: none;
  }

  .mobile-village-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .mobile-village-header .onboard-brand {
    min-width: 0;
  }

  .mobile-village-header .onboard-brand span {
    white-space: nowrap;
  }

  .mobile-village-menu-backdrop {
    display: grid;
  }
}

@media (max-width: 980px) {
  .gift-grid,
  .outcome-grid,
  .steps-grid,
  .story-grid,
  .belief-card-grid,
  .community-type-grid,
  .meet-card-grid,
  .discover-gift-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ecosystem-chip-section,
  .ecosystem-message-row,
  .connection-discovery-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-network {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grow-card-grid,
  .grow-action-grid,
  .growth-signal-grid,
  .week-story-grid,
  .plant-seed-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ecosystem-network::before,
  .ecosystem-network::after {
    display: none;
  }

  .preview-discovery-grid {
    grid-template-columns: 1fr;
  }

  .problem-layout {
    grid-template-columns: 1fr;
  }

  .section-copy h2 {
    max-width: 14ch;
  }

  .onboard-topbar {
    grid-template-columns: 1fr;
  }

  .onboard-progress {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .meet-village-topbar {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .village-nav-cluster {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    width: 100%;
    gap: 10px;
    justify-content: stretch;
  }

  .village-user-greeting {
    min-width: 0;
  }

  .village-selector {
    grid-column: 1 / -1;
    width: 100%;
  }

  .village-selector select {
    min-width: 0;
    max-width: 100%;
    flex: 1;
    text-overflow: ellipsis;
  }

  .grow-home-nav {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }

  .grow-home-nav a,
  .grow-home-nav span,
  .meet-village-back {
    min-height: 46px;
  }

  .grow-home-nav a,
  .grow-home-nav span {
    padding: 8px;
    font-size: 0.82rem;
    line-height: 1.2;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    padding: 18px 18px 0;
  }

  .brand {
    font-size: 0.96rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .nav-links {
    gap: 14px;
    justify-content: flex-end;
    max-width: 190px;
    flex-wrap: wrap;
    font-size: 0.82rem;
  }

  .hero {
    min-height: max(680px, 100svh);
    align-items: end;
    padding: 142px 18px 64px;
    background:
      linear-gradient(180deg, rgba(36, 51, 41, 0.34) 0%, rgba(36, 51, 41, 0.74) 52%, rgba(36, 51, 41, 0.82) 100%),
      url("assets/village-hero.jpg") 57% center / cover no-repeat;
  }

  .hero-content {
    width: 100%;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 10vw, 3.25rem);
    line-height: 1.06;
  }

  .hero h1 {
    max-width: 14ch;
    font-size: clamp(2.45rem, 10.7vw, 3.5rem);
    line-height: 1.04;
  }

  .hero-body {
    max-width: 34rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .primary-button {
    width: 100%;
    max-width: 320px;
  }

  .secondary-button {
    width: 100%;
    max-width: 320px;
  }

  .section {
    padding: 60px 18px;
  }

  .pause-section {
    padding: 72px 18px;
  }

  .gift-grid,
  .outcome-grid,
  .steps-grid,
  .story-grid,
  .belief-card-grid,
  .community-type-grid,
  .meet-card-grid,
  .discover-gift-grid {
    grid-template-columns: 1fr;
  }

  .gift-chip {
    min-height: 64px;
  }

  .step-card {
    min-height: auto;
  }

  .story-card {
    min-height: auto;
    gap: 18px;
    padding: 22px 20px;
  }

  .belief-card-grid {
    gap: 12px;
    margin-top: 36px;
  }

  .belief-card.offset {
    transform: none;
  }

  .belief-card {
    min-height: auto;
    padding: 20px;
  }

  .belief-card p {
    font-size: 1.08rem;
    line-height: 1.4;
  }

  .belief-closing {
    margin-top: 40px;
  }

  .final-cta {
    padding: 68px 18px;
  }

  .final-cta h2 {
    font-size: clamp(2.15rem, 9.5vw, 3.15rem);
    line-height: 1.08;
  }

  .cta-actions,
  .cta-actions .primary-button,
  .cta-actions .secondary-button {
    width: 100%;
  }

  .belief-list li {
    gap: 16px;
    padding: 20px 4px;
  }

  .onboarding-shell {
    padding: 16px 14px 32px;
  }

  .onboard-stage {
    min-height: auto;
    padding-top: 34px;
  }

  .onboard-card {
    padding: 24px 16px;
  }

  .onboard-copy h1 {
    max-width: none;
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.08;
  }

  .onboard-copy p {
    font-size: 1rem;
    line-height: 1.58;
  }

  .onboard-progress-meta span:last-child {
    display: none;
  }

  .onboard-choice-grid,
  .onboard-choice-grid.compact,
  .onboard-choice-grid.single {
    grid-template-columns: 1fr;
  }

  .onboard-form-grid,
  .onboard-form-grid.two {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 26px;
  }

  .onboard-choice-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .onboard-choice {
    min-width: 0;
    min-height: 54px;
    padding: 12px;
    line-height: 1.35;
  }

  .onboard-field input,
  .onboard-field select {
    min-height: 54px;
  }

  .onboard-field textarea {
    min-height: 144px;
  }

  .other-answer-field {
    width: 100%;
    margin-top: 14px;
  }

  .trust-notice-card,
  .visibility-defaults,
  .safety-privacy-reminder {
    margin-top: 22px;
    padding: 18px 16px;
  }

  .child-story-card-heading,
  .share-gift-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .add-child-button,
  .share-gift-heading .soft-action,
  .share-gift-form .onboard-button {
    width: 100%;
  }

  .family-gift-offer dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .family-preview-actions {
    display: grid;
  }

  .family-preview-actions .soft-action {
    width: 100%;
  }

  .family-story-modal-backdrop {
    align-items: end;
    padding: 8px;
  }

  .family-story-modal {
    width: 100%;
    max-height: calc(100svh - 16px);
    padding: 22px 16px calc(22px + env(safe-area-inset-bottom));
    border-radius: 8px 8px 0 0;
    overscroll-behavior: contain;
  }

  .family-story-modal-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .family-story-modal-heading .soft-action {
    width: 100%;
  }

  .family-story-modal-grid {
    grid-template-columns: 1fr;
  }

  .family-story-modal-summary,
  .family-story-modal-grid .family-gift-offers,
  .family-children-story-section,
  .child-light-up-section {
    grid-column: auto;
  }

  .family-child-story-list {
    grid-template-columns: 1fr;
  }

  .onboard-footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .onboard-footer.centered {
    flex-direction: column;
  }

  .onboard-button {
    width: 100%;
    min-height: 56px;
  }

  .auth-actions {
    display: grid;
  }

  .identity-card-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .identity-discovery-grid {
    grid-template-columns: 1fr;
  }

  .identity-discovery {
    min-height: auto;
  }

  .meet-village-shell {
    padding: 16px 14px 40px;
  }

  .meet-village-topbar {
    grid-template-columns: 1fr;
  }

  .village-nav-cluster {
    justify-content: stretch;
  }

  .village-selector {
    width: 100%;
    justify-content: space-between;
  }

  .village-selector select {
    min-width: 0;
  }

  .grow-home-nav {
    justify-content: stretch;
  }

  .meet-village-back {
    width: fit-content;
  }

  .meet-village-main {
    padding-top: 34px;
  }

  .meet-village-hero {
    padding-bottom: 48px;
  }

  .meet-village-hero h1 {
    max-width: none;
    font-size: clamp(2.45rem, 11vw, 3.5rem);
  }

  .my-village-hero-action {
    justify-items: stretch;
  }

  .my-village-hero-action .onboard-button {
    width: 100%;
    max-width: 340px;
  }

  .meet-village-section {
    padding: 50px 0;
  }

  .my-village-dashboard-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "seed"
      "profile"
      "discover"
      "people"
      "opportunities"
      "connections";
  }

  .my-village-dashboard-grid .meet-village-section {
    padding: 20px 16px;
  }

  .profile-card-heading {
    display: grid;
  }

  .profile-completeness strong {
    text-align: left;
  }

  .village-preview-card {
    padding: 22px 18px;
  }

  .trust-journey-list {
    display: grid;
  }

  .preview-discovery-grid section {
    min-height: auto;
    padding: 18px;
  }

  .village-search-transition {
    padding: 44px 0;
  }

  .search-line-list {
    justify-content: stretch;
    width: 100%;
  }

  .search-line-list p {
    width: 100%;
  }

  .meet-card,
  .opportunity-card {
    min-height: auto;
    gap: 14px;
    padding: 20px 18px;
  }

  .soft-action {
    width: 100%;
    min-height: 48px;
  }

  .village-signal-grid {
    gap: 10px;
  }

  .village-signal-chip {
    min-height: 40px;
    font-size: 0.92rem;
  }

  .trust-first-step {
    padding: 44px 18px;
  }

  .children-safety-section {
    padding: 42px 18px;
  }

  .conversation-start-section {
    padding: 42px 18px;
  }

  .ecosystem-bridge {
    padding: 42px 18px;
  }

  .ecosystem-chip-section,
  .ecosystem-network,
  .ecosystem-message-row {
    grid-template-columns: 1fr;
  }

  .ecosystem-chip-panel,
  .ecosystem-node-card,
  .grow-card,
  .growth-signal-card,
  .plant-seed-option-card {
    min-height: auto;
  }

  .ecosystem-visual-section {
    padding-top: 58px;
  }

  .grow-card-grid,
  .grow-action-grid,
  .growth-signal-grid,
  .week-story-grid,
  .plant-seed-option-grid {
    grid-template-columns: 1fr;
  }

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

  .discover-gift-card {
    min-width: 0;
    min-height: 104px;
    gap: 14px;
    padding: 16px;
  }

  .discover-gift-card span {
    font-size: 1rem;
    line-height: 1.25;
  }

  .discover-gift-card strong {
    min-width: 38px;
    min-height: 32px;
    padding: 5px 10px;
  }

  .identity-chip-list,
  .preview-chip-list {
    gap: 8px;
  }

  .identity-chip-list span,
  .preview-chip-list span {
    max-width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    font-size: 0.88rem;
    white-space: normal;
  }

  .seed-response-row {
    display: grid;
  }

  .seed-response-row a,
  .seed-response-row button {
    width: 100%;
  }

  .plant-seed-form {
    padding: 20px 18px;
  }

  .plant-form-actions {
    justify-content: stretch;
  }

  .plant-confirmation-actions {
    display: grid;
  }

  .grow-reflection-section {
    padding: 46px 18px;
  }

  .plant-final-reflection {
    padding: 46px 18px;
  }
}

@media (max-width: 430px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
    gap: 12px 18px;
  }

  .hero {
    padding-top: 168px;
  }

  .hero-logo-mark {
    width: 70px;
    height: 70px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
    max-width: none;
  }

  .grow-home-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .village-user-greeting {
    grid-column: 1 / -1;
    order: 1;
  }

  .village-nav-cluster {
    grid-template-columns: 1fr 1fr;
  }

  .village-selector {
    order: 2;
  }

  .logout-button {
    grid-column: 1;
    order: 3;
  }

  .village-nav-cluster > .meet-village-back:not(.logout-button) {
    grid-column: 2;
    order: 4;
  }

  .village-nav-cluster > .grow-home-nav {
    order: 5;
  }

  .logout-button,
  .meet-village-back {
    width: 100%;
  }

  .profile-discovery-grid,
  .my-village-dashboard-grid .discover-gift-grid {
    grid-template-columns: 1fr;
  }

  .onboard-progress-meta {
    gap: 10px;
    font-size: 0.76rem;
  }

  .onboard-stage {
    padding-top: 26px;
  }

  .onboard-card {
    padding: 22px 14px;
  }

  .child-story-card {
    padding: 18px 14px;
  }

  .story-grid,
  .belief-card-grid,
  .meet-card-grid,
  .grow-card-grid,
  .growth-signal-grid,
  .week-story-grid,
  .plant-seed-option-grid {
    gap: 12px;
  }
}

@media (max-width: 360px) {
  .discover-gift-grid,
  .onboard-choice-grid.compact {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
