:root {
  --cream: #fbf3de;
  --cream-light: #fff8ea;
  --card: #fffcf5;
  --green: #557b3e;
  --soft-green: #7da86d;
  --light-green: #d8eac9;
  --brown: #744a28;
  --yellow: #f8d660;
  --ink: #382a1d;
  --muted: #665f55;
  --stroke: #e8d8ba;
  --white: #ffffff;
  --shadow: 0 22px 64px rgba(56, 42, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255, 248, 234, 0.9);
  border-bottom: 1px solid rgba(232, 216, 186, 0.72);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.nav-links,
.button,
.crumbs,
.article-card,
.social-link {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.93rem;
  font-weight: 850;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.74);
}

.language-switch button {
  min-width: 34px;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 950;
}

.language-switch button[aria-pressed="true"] {
  background: var(--light-green);
  color: var(--green);
}

.nav-links a:hover,
.footer-inner a:hover,
.article-card:hover h2,
.article-card:hover h3 {
  color: var(--green);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 17px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 950;
  box-shadow: 0 14px 34px rgba(34, 25, 16, 0.16);
}

.button.primary {
  background: var(--yellow);
  color: var(--ink);
}

.button.secondary {
  background: var(--green);
  color: var(--white);
}

.hero {
  padding: 86px 18px 64px;
  background:
    linear-gradient(120deg, rgba(56, 42, 29, 0.74), rgba(85, 123, 62, 0.50)),
    url("/landing/assets/family.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero-inner {
  max-width: 820px;
}

.eyebrow,
.kicker {
  margin: 0 0 10px;
  font-size: 0.84rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--yellow);
}

.kicker {
  color: var(--green);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 5.8vw, 4.9rem);
  line-height: 0.96;
}

h2 {
  margin-bottom: 14px;
  color: var(--brown);
  font-size: clamp(1.75rem, 3.8vw, 2.8rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 8px;
  color: var(--brown);
  font-size: 1.22rem;
  line-height: 1.2;
}

.lead {
  max-width: 68ch;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.16rem;
}

.crumbs {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 850;
}

.section {
  padding: 72px 18px;
}

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

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.article {
  padding: 38px;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 12px 34px rgba(116, 74, 40, 0.08);
}

.article p,
.article li {
  color: var(--muted);
}

.article strong {
  color: var(--ink);
}

.article ul,
.article ol {
  padding-left: 22px;
}

.article section + section {
  margin-top: 34px;
}

.note {
  padding: 18px;
  border: 1px solid rgba(85, 123, 62, 0.22);
  border-radius: 8px;
  background: #eef7e8;
  color: var(--ink);
}

.note p:last-child {
  margin-bottom: 0;
}

.life-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 8px;
  padding: 0;
  list-style: none;
  background: transparent;
}

.life-stage {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 188px;
  padding: 22px;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  background: linear-gradient(180deg, #fffaf0 0%, var(--cream-light) 100%);
  box-shadow: 0 10px 24px rgba(56, 42, 29, 0.06);
  overflow: hidden;
}

.life-stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--light-green);
}

.life-stage.is-laying::before {
  background: var(--green);
}

.life-stage.is-slowing::before {
  background: var(--soft-green);
}

.life-stage.is-pause::before {
  background: var(--yellow);
}

.life-icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 4px solid var(--card);
  border-radius: 50%;
  background: var(--light-green);
  box-shadow: 0 10px 20px rgba(56, 42, 29, 0.12);
  font-size: 1.45rem;
}

.life-stage.is-laying .life-icon {
  background: var(--green);
  color: var(--white);
}

.life-stage.is-pause .life-icon {
  background: var(--yellow);
}

.life-stage strong {
  display: block;
  max-width: 12ch;
  color: var(--brown);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.12;
}

.life-stage span {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.side-card {
  position: sticky;
  top: 88px;
  padding: 22px;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 12px 34px rgba(116, 74, 40, 0.08);
}

.side-card p {
  color: var(--muted);
}

.link-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.link-list a {
  display: block;
  padding: 12px;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  background: var(--cream-light);
  text-decoration: none;
  font-weight: 850;
}

.link-list a:hover {
  border-color: rgba(85, 123, 62, 0.4);
  color: var(--green);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.article-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 12px 34px rgba(116, 74, 40, 0.08);
}

.article-card .icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--light-green);
  font-size: 1.35rem;
}

.article-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta {
  padding: 54px 18px;
  background: var(--green);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  color: var(--white);
}

.cta p {
  max-width: 680px;
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, 0.88);
}

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

.site-footer {
  padding: 34px 18px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 860px) {
  .nav-links a:not(.button) {
    display: none;
  }

  .language-switch {
    display: none;
  }

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

  .life-timeline {
    grid-template-columns: 1fr;
  }

  .life-stage {
    min-height: 0;
  }

  .life-stage::before {
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 8px;
  }

  .side-card {
    position: static;
  }
}

@media (max-width: 520px) {
  .nav {
    width: min(100% - 24px, 1120px);
  }

  .brand span {
    max-width: 160px;
  }

  .hero {
    padding: 64px 14px 48px;
  }

  .section {
    padding: 54px 14px;
  }

  .article {
    padding: 24px 20px;
  }

  .button {
    width: 100%;
  }
}
