/* Baby Generator AI — marketing site
   Plain CSS, no build step.

   Idea: mom is rose, dad is sky, the baby is where the two meet.
   Every colour decision comes back to the app's resemblance meter.
   Display: Young Serif (storybook-soft). Text: Onest. */

:root {
  --paper: #fcf7f9;       /* blush white, the page */
  --mist: #f3eaf2;        /* lilac mist, quiet alternate surface */
  --ink: #2a1d35;         /* aubergine, text and primary buttons */
  --ink-soft: #5d4e68;    /* secondary text, 7:1 on paper */
  --rose: #d9557e;        /* mom */
  --rose-ink: #a83560;    /* mom, text-safe */
  --sky: #4f83bd;         /* dad */
  --sky-ink: #2d5f99;     /* dad, text-safe */
  --lilac: #a68bd1;       /* the blend */
  --line: #e7dbe6;
  --white: #ffffff;

  --blend: linear-gradient(90deg, var(--rose), var(--lilac) 50%, var(--sky));

  --serif: "Young Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --gutter: 20px;
  --arch: 999px 999px 22px 22px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--rose-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--sky-ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute; left: 12px; top: -60px;
  background: var(--ink); color: var(--white);
  padding: 10px 16px; border-radius: 999px; z-index: 10;
}
.skip:focus { top: 12px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.45rem, 8.4vw, 4.6rem); line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 5vw, 2.85rem); line-height: 1.1; }
h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 600; margin: 0 0 6px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.08rem, 2.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34em;
}

/* ---------- Brand: the real app icon ---------- */
.logo {
  width: 36px; height: 36px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px var(--line);
  flex: 0 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { background: #3d2b4c; color: var(--white); }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn.small { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-soft); }
.btn.light { background: var(--white); color: var(--ink); }
.btn.light:hover { background: var(--mist); }

/* ---------- Header ---------- */
header.site {
  position: relative;
  z-index: 5;
  padding: 14px 0;
}
header.site .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
}
header.site .btn.small { display: none; }
@media (min-width: 480px) { header.site .btn.small { display: inline-flex; } }
.menu nav a.menu-cta { background: var(--ink); color: var(--white); text-align: center; margin-top: 6px; }
@media (min-width: 480px) { .menu nav a.menu-cta { display: none; } }
.main-nav { display: none; gap: 28px; font-size: .96rem; white-space: nowrap; }
.main-nav a { color: var(--ink-soft); text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 6px; text-decoration-thickness: 2px; }

.menu { position: relative; }
.menu summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary span,
.menu summary span::before {
  display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative;
}
.menu summary span::before { content: ""; position: absolute; top: 5px; }
.menu summary span { transform: translateY(-3px); }
.menu[open] summary { background: var(--mist); }
.menu nav {
  position: absolute; right: 0; top: 50px;
  width: min(290px, calc(100vw - 2 * var(--gutter)));
  background: var(--white);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 18px 40px -18px rgba(42, 29, 53, .35), 0 0 0 1px var(--line);
  display: grid;
}
.menu nav a {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
}
.menu nav a:hover, .menu nav a[aria-current="page"] { background: var(--mist); }

@media (min-width: 960px) {
  .main-nav { display: flex; }
  .menu { display: none; }
}

/* ---------- Hero: the reveal ---------- */
.hero {
  position: relative;
  padding: 12px 0 24px;
  overflow: hidden;
}
.hero::before {
  /* rose light from mom's side, sky light from dad's side */
  content: "";
  position: absolute; inset: -20% -10% auto;
  height: 120%;
  background:
    radial-gradient(40% 40% at 12% 55%, rgba(217, 85, 126, .16), transparent 70%),
    radial-gradient(40% 40% at 88% 55%, rgba(79, 131, 189, .16), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; gap: 30px; }
.hero h1 { max-width: 11ch; }
.hero .lead { margin-top: 16px; }
.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  margin-top: 24px;
}
.hero-note { font-size: .92rem; color: var(--ink-soft); }

.reveal {
  --pct: 62;
  display: grid;
  grid-template-columns: 1fr 1.75fr 1fr;
  align-items: end;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}
.reveal figure { margin: 0; position: relative; }
.reveal img { width: 100%; object-fit: cover; }

.reveal .parent {
  z-index: 1;
  margin-bottom: 18%;
}
.reveal .parent img {
  aspect-ratio: 5 / 6;
  border-radius: var(--arch);
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--c);
}
.reveal .mom { --c: var(--rose); margin-right: -14%; transform: rotate(-4deg); }
.reveal .dad { --c: var(--sky); margin-left: -14%; transform: rotate(4deg); }
.reveal .parent figcaption {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  background: var(--c);
  color: var(--white);
  font-size: .78rem; font-weight: 600;
  padding: 3px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.reveal .child {
  z-index: 2;
  padding: 5px;
  border-radius: var(--arch);
  background: var(--blend);
  box-shadow: 0 30px 60px -28px rgba(42, 29, 53, .55);
}
.reveal .child .frame {
  border-radius: 999px 999px 18px 18px;
  overflow: hidden;
  background: #cdb6a6;
}
.reveal .child img { aspect-ratio: 9 / 10.4; object-position: 50% 30%; }

.meter {
  grid-column: 1 / -1;
  margin-top: 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}
.meter .who { line-height: 1; }
.meter .who b {
  display: block;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 6vw, 2.2rem);
}
.meter .who small { font-size: .82rem; color: var(--ink-soft); }
.meter .m b { color: var(--rose-ink); }
.meter .d { text-align: right; }
.meter .d b { color: var(--sky-ink); }
.meter .bar {
  position: relative;
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--rose), var(--lilac), var(--sky));
}
.meter .bar i {
  position: absolute; top: 50%;
  left: calc((100 - var(--pct)) * 1%);
  width: 22px; height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 5px var(--rose) inset, 0 4px 10px rgba(42, 29, 53, .25);
}

.reveal-note {
  grid-column: 1 / -1;
  margin: 14px 0 0;
  font-size: .8rem;
  color: var(--ink-soft);
  text-align: center;
}

/* One orchestrated moment: the parents arrive, the baby comes into focus,
   the meter settles. Nothing else on the page moves on its own. */
@media (prefers-reduced-motion: no-preference) {
  .reveal .mom { animation: from-left .8s cubic-bezier(.2, .8, .2, 1) both; }
  .reveal .dad { animation: from-right .8s cubic-bezier(.2, .8, .2, 1) both; }
  .reveal .child img { animation: focus 1.4s .45s cubic-bezier(.3, .7, .2, 1) both; }
  .reveal .child { animation: rise .9s .25s cubic-bezier(.2, .8, .2, 1) both; }
  .meter .bar i { animation: settle 1.2s 1.1s cubic-bezier(.3, 1.4, .5, 1) both; }
  .meter .who { animation: fade .6s 1.5s both; }
}
@keyframes from-left { from { opacity: 0; transform: translateX(-30px) rotate(-10deg); } }
@keyframes from-right { from { opacity: 0; transform: translateX(30px) rotate(10deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes focus { from { filter: blur(22px) saturate(.6); transform: scale(1.08); } }
@keyframes settle { from { left: 50%; } }
@keyframes fade { from { opacity: 0; } }

@media (min-width: 900px) {
  .hero { padding: 40px 0 96px; }
  .hero .wrap {
    grid-template-columns: 1fr 1.15fr;
    align-items: center;
    gap: 72px;
  }
  .reveal { max-width: 660px; }
  .hero h1 { font-size: clamp(3.4rem, 5.4vw, 5.2rem); }
}

/* ---------- Sections ---------- */
.band { padding: 72px 0; }
.band.mist { background: var(--mist); }
.band-head { max-width: 40rem; margin-bottom: 36px; }
.band-head .lead { margin-top: 12px; }
@media (min-width: 900px) {
  .band { padding: 112px 0; }
  .band-head { margin-bottom: 52px; }
}

/* Heading left, content right: uses the width on desktop */
@media (min-width: 900px) {
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 72px; align-items: start; }
  .split > .band-head { margin-bottom: 0; position: sticky; top: 32px; }
  .split .prices, .split .faq, .split .fine { max-width: none; }
  .split .statement + p { margin-top: 0; }
  .split.rev { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
  .split.rev .faq-block { margin-top: 0; position: sticky; top: 32px; }
}

/* Steps (a real sequence, so numbered) */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 40px;
  counter-reset: step;
}
.steps li { counter-increment: step; display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: start; }
.steps .shot {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 16px 30px -18px rgba(42, 29, 53, .45);
  background: var(--white);
}
.steps .shot img { aspect-ratio: 560 / 1218; width: 100%; }
.steps h3::before {
  content: counter(step);
  display: block;
  font-family: var(--serif); font-weight: 400;
  font-size: 2.4rem; line-height: 1;
  color: var(--lilac);
  margin-bottom: 10px;
}
.steps p { color: var(--ink-soft); }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .steps li { grid-template-columns: 1fr; gap: 22px; }
  .steps .shot { max-width: 290px; border-radius: 28px; }
}

/* Keep going: asymmetric trio */
.more {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}
.more figure { margin: 0; }
.more img {
  width: 100%;
  object-fit: cover;
  border-radius: 22px;
  background: var(--mist);
}
.more figure:first-child { grid-column: 1 / -1; }
.more figure:first-child img { aspect-ratio: 4 / 3.3; object-position: 50% 20%; }
.more figure:not(:first-child) img { aspect-ratio: 3 / 4; object-position: 50% 15%; }
.more figcaption { padding: 12px 2px 0; font-size: .96rem; color: var(--ink-soft); }
.more figcaption strong { display: block; color: var(--ink); font-weight: 600; }
@media (min-width: 900px) {
  .more { grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; align-items: start; }
  .more figure:first-child { grid-column: auto; }
  .more figure:first-child img { aspect-ratio: 3 / 4; }
  .more figure:nth-child(2) { margin-top: 64px; }
  .more figure:nth-child(3) { margin-top: 128px; }
}

/* A single typographic statement */
.statement {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4.6vw, 2.6rem);
  line-height: 1.22;
  max-width: 24ch;
  margin: 0;
  text-wrap: balance;
}
.statement + p { margin-top: 22px; color: var(--ink-soft); max-width: 36rem; font-size: 1.1rem; }

/* Pricing: one sheet, three lines */
.prices {
  list-style: none; margin: 0; padding: 0;
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 0 0 1px var(--line);
  max-width: 760px;
}
.prices li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 20px;
  padding: 24px;
  border-top: 1px solid var(--line);
}
.prices li:first-child { border-top: 0; }
.prices h3 { margin: 0; font-size: 1.12rem; }
.prices .price {
  font-family: var(--serif);
  font-size: 1.5rem; line-height: 1.1;
  text-align: right;
  white-space: nowrap;
}
.prices .price small { font-family: var(--sans); font-size: .85rem; color: var(--ink-soft); display: block; }
.prices p { grid-column: 1 / -1; margin: 6px 0 0; color: var(--ink-soft); max-width: 34rem; }
.prices .plan { background: linear-gradient(90deg, rgba(217, 85, 126, .06), rgba(79, 131, 189, .08)); border-radius: 0 0 28px 28px; }
@media (min-width: 700px) { .prices li { padding: 28px 34px; } }
.fine { font-size: .92rem; color: var(--ink-soft); margin-top: 18px; max-width: 760px; }

/* FAQ */
.faq { max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0;
  font-weight: 600;
  font-size: 1.06rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 12px; height: 12px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-soft); max-width: 40rem; }
.faq h2 + .faq, h2 + .faq { margin-top: 24px; }

/* Closing call to action */
.closer {
  background: var(--ink);
  color: var(--white);
  border-radius: 32px;
  padding: 40px 24px;
  display: grid;
  gap: 26px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.closer::before {
  content: "";
  position: absolute; inset: auto -20% -60% -20%;
  height: 100%;
  background: radial-gradient(50% 50% at 30% 50%, rgba(217, 85, 126, .35), transparent 70%),
              radial-gradient(50% 50% at 70% 50%, rgba(79, 131, 189, .35), transparent 70%);
  pointer-events: none;
}
.closer > * { position: relative; }
.closer h2 { color: var(--white); }
.closer p { color: #d9cfe0; margin-top: 12px; }
.closer .mini {
  width: 132px;
  padding: 4px;
  border-radius: var(--arch);
  background: var(--blend);
}
.closer .mini img { border-radius: 999px 999px 18px 18px; aspect-ratio: 9 / 10.4; object-fit: cover; }
.closer-wrap { padding: 16px 0 72px; }
@media (min-width: 760px) {
  .closer { grid-template-columns: auto 1fr auto; padding: 48px 56px; gap: 40px; }
  .closer-wrap { padding-bottom: 104px; }
}

/* ---------- Interior pages ---------- */
.page-hero { position: relative; padding: 28px 0 40px; }
.page-hero h1 { font-size: clamp(2.2rem, 6.6vw, 3.8rem); max-width: 16ch; }
.page-hero .lead { margin-top: 16px; }
.crumbs { font-size: .9rem; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a { color: var(--ink-soft); }
.page-hero.duo .wrap { display: grid; gap: 32px; align-items: center; }
.page-hero .art {
  max-width: 300px;
  padding: 5px;
  border-radius: var(--arch);
  background: var(--blend);
}
.page-hero .art img { border-radius: 999px 999px 18px 18px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; }
.page-hero .reveal { max-width: 440px; margin: 0; }
@media (min-width: 900px) {
  .page-hero { padding: 48px 0 64px; }
  .page-hero.duo .wrap { grid-template-columns: 1.2fr 1fr; gap: 64px; }
  .page-hero .art, .page-hero .reveal { justify-self: end; }
}

.prose { max-width: 42rem; }
.prose h2 { font-size: clamp(1.6rem, 4.2vw, 2.2rem); margin: 56px 0 16px; }
.prose > h2:first-child { margin-top: 0; }
.prose p { color: #3f3148; }
.prose ul { padding-left: 1.2em; color: #3f3148; }
.prose li { margin-bottom: 6px; }
.article { padding: 8px 0 72px; }

.tips {
  display: grid; gap: 14px;
  list-style: none; padding: 0; margin: 20px 0 0;
}
.tips li {
  padding: 18px 20px 18px 22px;
  border-left: 3px solid var(--lilac);
  background: var(--white);
  border-radius: 0 16px 16px 0;
}
.tips li p { margin: 0; color: var(--ink-soft); }
.tips.rose li:nth-child(odd) { border-left-color: var(--rose); }
.tips.rose li:nth-child(even) { border-left-color: var(--sky); }

.inline-cta {
  margin: 48px 0;
  padding: 26px 24px;
  border-radius: 24px;
  background: var(--mist);
  display: grid; gap: 16px;
  max-width: 42rem;
}
.inline-cta h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin: 0; }
.inline-cta p { margin: 4px 0 0; color: var(--ink-soft); }
@media (min-width: 700px) {
  .inline-cta { grid-template-columns: 1fr auto; align-items: center; padding: 28px 32px; }
}

/* Genetics facts */
.facts { list-style: none; margin: 0; padding: 0; max-width: 46rem; }
.facts li {
  display: grid; grid-template-columns: 44px 1fr; gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.facts .dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blend);
  opacity: .9;
}
.facts li:nth-child(2) .dot { background: var(--rose); }
.facts li:nth-child(3) .dot { background: linear-gradient(135deg, var(--rose), var(--lilac)); }
.facts li:nth-child(4) .dot { background: linear-gradient(135deg, var(--lilac), var(--sky)); }
.facts li:nth-child(5) .dot { background: var(--sky); }
.facts h3 { font-size: 1.15rem; }
.facts p { color: var(--ink-soft); margin: 0; }

/* Comparison table */
.table-scroll {
  overflow-x: auto;
  border-radius: 22px;
  box-shadow: 0 0 0 1px var(--line);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}
table.compare { width: 100%; min-width: 640px; border-collapse: collapse; }
table.compare th, table.compare td {
  text-align: left; vertical-align: top;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-size: .96rem;
}
table.compare thead th { font-weight: 600; color: var(--ink-soft); font-size: .88rem; background: var(--mist); }
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare tr.us td { background: linear-gradient(90deg, rgba(217, 85, 126, .07), rgba(79, 131, 189, .07)); }
table.compare tr.us td:first-child { font-weight: 600; box-shadow: inset 3px 0 0 var(--rose); }
.table-note { font-size: .92rem; color: var(--ink-soft); margin-top: 14px; max-width: 46rem; }

.pair { display: grid; gap: 18px; margin-top: 8px; }
.pair > div {
  background: var(--white);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 0 0 1px var(--line);
}
.pair p { color: var(--ink-soft); margin: 0; }
@media (min-width: 760px) { .pair { grid-template-columns: 1fr 1fr; } }

/* Interior page building blocks */
figure.art { margin: 0; }
h2.sub { font-size: clamp(1.6rem, 4.2vw, 2.2rem); margin: 64px 0 20px; }
h2.sub.first { margin-top: 0; }
.cols { display: grid; gap: 8px 64px; }
.cols .prose h2 { margin-top: 40px; }
@media (min-width: 900px) {
  .cols { grid-template-columns: 1fr 1fr; }
  .cols .prose h2 { margin-top: 0; }
  .cols + h2.sub { margin-top: 72px; }
}
.tips h3 { margin-bottom: 4px; }
@media (min-width: 760px) { .tips.three { grid-template-columns: repeat(3, 1fr); } }
.inline-cta { max-width: none; }
.faq-block { margin-top: 64px; }
.faq-block .faq { max-width: none; }
.split > .prose h2 { margin-top: 40px; }
@media (min-width: 900px) {
  .split > .prose h2 { margin-top: 0; }
}

.with-shot { display: grid; gap: 32px; margin-bottom: 40px; }
.walk { list-style: none; margin: 0; padding: 0; counter-reset: walk; }
.walk li {
  counter-increment: walk;
  display: grid; grid-template-columns: 52px 1fr; column-gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.walk li::before {
  content: counter(walk);
  grid-row: span 2;
  font-family: var(--serif); font-size: 2.2rem; line-height: 1;
  color: var(--lilac);
}
.walk p { margin: 0; color: var(--ink-soft); }
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.phones .phone {
  border-radius: 26px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 24px 44px -24px rgba(42, 29, 53, .5);
}
.phones .phone:nth-child(2) { margin-top: 40px; }
@media (min-width: 900px) {
  .with-shot { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-bottom: 72px; }
  .phones { gap: 24px; width: 100%; max-width: 520px; justify-self: end; }
}

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--line);
  padding: 44px 0 56px;
  font-size: .94rem;
  color: var(--ink-soft);
}
.foot { display: grid; gap: 28px; }
.foot .brand { margin-bottom: 10px; }
.foot nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.foot nav a { color: var(--ink-soft); text-decoration: none; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.foot .legal { font-size: .88rem; max-width: 30rem; }
@media (min-width: 860px) {
  .foot { grid-template-columns: 1fr 1.4fr; }
  .foot nav { grid-template-columns: repeat(3, auto); justify-content: end; }
}

.pair + .prose { margin-top: 56px; }

/* Rotated parent photos must never cause sideways scroll */
.page-hero { overflow-x: clip; }
.reveal { padding: 0 4px; }

/* Legal and support pages: verbatim text, set for reading */
.page-hero h1.legal-title { font-size: clamp(2rem, 5.6vw, 3.2rem); max-width: 18ch; }
.updated { margin-top: 14px; color: var(--ink-soft); font-size: .95rem; }
.legal-body { max-width: 44rem; color: #3f3148; }
.legal-body h2 { font-size: clamp(1.4rem, 3.6vw, 1.8rem); margin: 48px 0 14px; }
.legal-body > h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { line-height: 1.7; }
.legal-body ul, .legal-body ol { padding-left: 1.3em; margin: 0 0 1em; }
.legal-body li { margin-bottom: 10px; }
.legal-body li::marker { color: var(--lilac); }
.legal-body strong { color: var(--ink); font-weight: 600; }

/* 404 */
.page-hero.lost { padding: 48px 0 96px; }
.page-hero.lost .wrap { display: grid; justify-items: start; }
.mini-arch {
  width: 120px; padding: 4px; margin-bottom: 28px;
  border-radius: var(--arch);
  background: var(--blend);
}
.mini-arch img { border-radius: 999px 999px 16px 16px; aspect-ratio: 9 / 10.4; object-fit: cover; filter: blur(6px); }

.toc { display: none; }
@media (min-width: 1000px) {
  .legal-layout { display: grid; grid-template-columns: minmax(0, 44rem) 260px; gap: 96px; justify-content: space-between; align-items: start; }
  .toc {
    display: grid; gap: 2px;
    position: sticky; top: 32px;
    padding: 20px 22px;
    border-radius: 20px;
    background: var(--mist);
    font-size: .94rem;
  }
  .toc p { margin: 0 0 8px; font-weight: 600; }
  .toc a { color: var(--ink-soft); text-decoration: none; padding: 5px 0; }
  .toc a:hover { color: var(--ink); text-decoration: underline; }
}
