:root {
  color-scheme: light;
  --paper: #f9f6f0;
  --ink: #0b1221;
  --navy: #172136;
  --gold: #ba9157;
  --gold-text: #7c5528;
  --line: #e8e3d9;
  --muted: #596373;
  --blue: #d9e8ff;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
h1, h2, p, figure { margin: 0; }
.wrap { width: min(76rem, calc(100% - 5rem)); margin-inline: auto; }

.skip {
  position: absolute;
  z-index: 3;
  left: 1rem;
  top: 1rem;
  padding: .7rem 1rem;
  background: white;
}
.skip:not(:focus) { clip-path: inset(50%); }

.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.2rem;
}
.site-header { border-bottom: 1px solid var(--line); }
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: .7rem 1.75rem; }
.site-header nav a, .site-footer nav a { font-size: .9rem; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 4px; }
nav a:not(:hover, [aria-current]) { text-decoration: none; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.65rem;
  font-weight: 750;
  letter-spacing: -.06em;
  text-decoration: none;
}
.brand-mark {
  flex: none;
  display: block;
  width: 2.1rem;
  height: 2.1rem;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(31rem, 46vw, 39rem);
  margin-block: clamp(1.25rem, 2.8vw, 2.5rem) clamp(2.75rem, 5vw, 5rem);
  border-radius: 1.35rem;
  background: #0e1529;
  color: var(--paper);
}
.family-image, .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.family-image { object-fit: cover; object-position: 62% center; }
.hero-shade {
  background: linear-gradient(90deg, #0b1221 3%, #0b1221ed 21%, #0b1221ab 38%, #0b122130 56%, transparent 71%);
}
.hero-copy {
  position: relative;
  padding: clamp(1.75rem, 4.3vw, 3.9rem);
}
.hero h1 {
  font-size: clamp(2.35rem, 4.3vw, 4rem);
  letter-spacing: -.052em;
  line-height: 1.035;
  font-weight: 750;
}
.hero h1 em { color: #f0cd8d; font-style: normal; }
.hero-copy p {
  max-width: 24rem;
  margin-block: 1.45rem 1.8rem;
  font-size: clamp(1.03rem, 1.48vw, 1.2rem);
  line-height: 1.65;
  color: #f7f3e9;
}
.button {
  display: inline-flex;
  align-items: center;
  min-height: 3.2rem;
  padding: .75rem 1.25rem;
  border-radius: .55rem;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
}
.button:hover { background: #f0cd8d; }

.example { background: #eee8de; border-block: 1px solid var(--line); }
.example-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  column-gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2.75rem, 5vw, 5rem);
}
.kicker { color: var(--gold-text); font-size: .875rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.example h2 {
  margin-top: .7rem;
  font-size: clamp(2rem, 3.5vw, 3.45rem);
  line-height: 1.07;
  letter-spacing: -.06em;
}
.example-copy p { max-width: 28rem; margin-top: 1rem; color: #434c5c; line-height: 1.65; }
.conversation { overflow: hidden; background: #fffdfa; border: 1px solid #ded6c8; border-radius: 1rem; }
.conversation figcaption { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; padding: .95rem 1.15rem; border-bottom: 1px solid var(--line); }
.example-label { margin-left: auto; color: var(--muted); font-size: .875rem; }
.messages { display: grid; gap: .65rem; padding: 1.05rem; }
.message { width: fit-content; max-width: 93%; padding: .65rem .85rem; border-radius: .8rem; line-height: 1.45; }
.message.noa { background: #eeeae4; border-bottom-left-radius: .2rem; }
.message.person { justify-self: end; background: var(--blue); border-bottom-right-radius: .2rem; }

.legal-page { min-height: 100vh; display: flex; flex-direction: column; }
.legal { flex: 1; padding-block: clamp(3rem, 8vw, 7rem); }
.legal h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.05; letter-spacing: -.07em; }
.legal p { margin-top: 1.3rem; color: var(--muted); line-height: 1.6; }
.legal-page .site-footer { border-top: 1px solid var(--line); }

@media (max-width: 780px) {
  .wrap { width: calc(100% - 2.5rem); }
  .example-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { min-height: auto; }
  .hero-copy { grid-row: 1; }
  .hero h1 { font-size: clamp(1.8rem, 7.9vw, 3.6rem); }
  .hero-shade { display: none; }
  .family-image {
    position: static;
    display: block;
    height: auto;
    aspect-ratio: 1.38;
    object-position: right center;
  }
  .site-header, .site-footer { min-height: 4.25rem; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 2rem); }
  .site-footer nav { column-gap: .75rem; }
}
