:root {
  --ink: #17211f;
  --muted: #62716d;
  --paper: #fff8ed;
  --white: #ffffff;
  --mist: #edf5f1;
  --sage: #6d9b7e;
  --teal: #2f7172;
  --blue: #316d9f;
  --coral: #c96f57;
  --gold: #d8a447;
  --line: rgba(23, 33, 31, 0.12);
  --shadow: 0 22px 70px rgba(23, 33, 31, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.58;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 5vw, 76px);
  background: rgba(255, 248, 237, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
  white-space: nowrap;
}

nav a:hover,
article a:hover {
  color: var(--blue);
}

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.99;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3vw, 43px);
  line-height: 1.1;
}

h3 {
  font-size: 23px;
  line-height: 1.18;
}

.eyebrow,
.tag {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(310px, 0.92fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  min-height: calc(100vh - 64px);
  padding: clamp(42px, 7vw, 90px) clamp(18px, 6vw, 92px) 68px;
}

.hero-copy {
  max-width: 790px;
}

.lead {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(49, 109, 159, 0.22);
}

.secondary {
  background: rgba(47, 113, 114, 0.12);
}

.dark {
  background: var(--ink);
}

.notice,
footer p,
.intro p,
.article-grid p,
.cta p,
.article-body p,
.article-body li,
.toc a {
  color: var(--muted);
}

.notice {
  max-width: 660px;
  font-size: 14px;
}

.hero-visual {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #eacaa3 0%, #dce9df 52%, #a7c8d8 100%);
  box-shadow: var(--shadow);
}

.tile-wall {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.34) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.34) 1px, transparent 1px);
  background-size: 72px 72px;
}

.mirror {
  position: absolute;
  top: 54px;
  right: 72px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 12px solid rgba(255, 248, 237, 0.8);
  background: rgba(255, 255, 255, 0.38);
}

.adult,
.child,
.potty,
.plant {
  position: absolute;
  bottom: 78px;
}

.adult {
  left: 19%;
  width: 110px;
  height: 286px;
  border-radius: 66px 66px 24px 24px;
  background: var(--sage);
}

.adult::before,
.child::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #8a5f4b;
}

.adult::before {
  top: -76px;
  width: 100px;
  height: 100px;
}

.child {
  left: 49%;
  width: 72px;
  height: 142px;
  border-radius: 40px 40px 20px 20px;
  background: var(--blue);
}

.child::before {
  top: -52px;
  width: 66px;
  height: 66px;
  background: #9b6b55;
}

.potty {
  right: 18%;
  width: 122px;
  height: 86px;
  border-radius: 12px 12px 34px 34px;
  background: var(--white);
  border: 12px solid var(--coral);
}

.plant {
  right: 9%;
  width: 42px;
  height: 150px;
  border-radius: 999px 999px 0 0;
  background: var(--teal);
}

.plant::before {
  content: "";
  position: absolute;
  left: -42px;
  top: 34px;
  width: 82px;
  height: 30px;
  border-radius: 50%;
  background: var(--sage);
  transform: rotate(-34deg);
}

.intro,
.article-grid,
.cta,
.article-shell,
footer {
  padding: 76px clamp(18px, 6vw, 92px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  background: var(--white);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  background: var(--mist);
}

.article-grid article {
  min-height: 270px;
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(23, 33, 31, 0.08);
}

.article-grid h2 {
  font-size: 26px;
}

.article-grid a {
  text-decoration: none;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(23, 33, 31, 0.92), rgba(23, 33, 31, 0.72)),
    linear-gradient(135deg, var(--teal), var(--sage));
}

.cta .eyebrow,
.cta p {
  color: rgba(255, 255, 255, 0.78);
}

.cta h2,
.cta p {
  max-width: 850px;
}

footer {
  padding-top: 34px;
  padding-bottom: 34px;
  background: #121c19;
}

footer p {
  max-width: 1000px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.article-hero {
  padding: 62px clamp(18px, 6vw, 92px) 42px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.article-hero h1 {
  max-width: 980px;
}

.article-hero p {
  max-width: 820px;
}

.article-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 820px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: var(--paper);
}

.toc {
  position: sticky;
  top: 92px;
  padding: 22px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(23, 33, 31, 0.07);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
}

.toc a {
  display: block;
  padding: 7px 0;
  text-decoration: none;
  font-size: 14px;
}

.article-body {
  padding: 40px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 42px rgba(23, 33, 31, 0.08);
}

.article-body h2 {
  margin-top: 38px;
  font-size: 32px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p,
.article-body li {
  font-size: 18px;
}

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

.article-body li {
  margin-bottom: 10px;
}

.inline-cta {
  margin: 40px 0;
  padding: 28px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
}

.inline-cta p {
  color: rgba(255, 255, 255, 0.84);
}

.inline-cta .button {
  margin-top: 8px;
  background: var(--ink);
}

.related {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.related a {
  display: block;
  margin: 8px 0;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1020px) {
  .hero,
  .intro,
  .article-shell {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
    min-height: 430px;
  }

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

  .toc {
    position: static;
  }
}

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

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  h1 {
    font-size: 41px;
  }

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

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .article-body {
    padding: 28px 20px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .adult {
    left: 12%;
    transform: scale(0.72);
    transform-origin: bottom center;
  }

  .child {
    left: 48%;
    transform: scale(0.78);
    transform-origin: bottom center;
  }

  .potty {
    right: 8%;
    transform: scale(0.72);
    transform-origin: bottom center;
  }
}
