@font-face {
  font-family: "Fraunces";
  src: url("/assets/Fraunces.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/NunitoSans.ttf") format("truetype");
  font-display: swap;
}

:root {
  --night: #1d3530;
  --night-deep: #142722;
  --teal: #168783;
  --teal-dark: #0d6764;
  --gold: #e6aa25;
  --coral: #e5684d;
  --paper: #f4f8f1;
  --mint: #dcece6;
  --white: #ffffff;
  --ink: #1a2c28;
  --muted: #5d6e69;
  --line: #cbdad3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito Sans", Arial, sans-serif;
  line-height: 1.55;
  margin: 0;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.skip-link {
  background: var(--white);
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -60px;
  z-index: 20;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  height: 76px;
  position: relative;
  z-index: 5;
}

.nav-shell,
.section-shell,
.proof-inner,
.safety-inner,
.footer-inner {
  margin: 0 auto;
  max-width: 1180px;
  width: calc(100% - 48px);
}

.nav-shell {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: space-between;
}

.wordmark {
  align-items: center;
  display: inline-flex;
  font-family: "Fraunces", Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  gap: 10px;
  text-decoration: none;
}

.wordmark img {
  border-radius: 6px;
}

.nav-links {
  align-items: center;
  display: flex;
  font-size: 15px;
  font-weight: 700;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--teal-dark);
  text-decoration: underline;
}

.hero {
  align-items: center;
  background: var(--night);
  color: var(--white);
  display: flex;
  min-height: 620px;
  overflow: hidden;
  position: relative;
}

.hero-art {
  bottom: -124px;
  height: auto;
  max-width: none;
  position: absolute;
  right: -40px;
  width: 640px;
}

.hero::after {
  background: var(--gold);
  bottom: 0;
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  width: 38%;
}

.hero-inner {
  margin: 0 auto;
  max-width: 1180px;
  padding: 70px 540px 76px 0;
  position: relative;
  width: calc(100% - 48px);
  z-index: 1;
}

.eyebrow {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero .eyebrow,
.preview-band .eyebrow,
.safety-band .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.03;
}

h1 {
  font-size: 72px;
  margin: 0 0 24px;
  max-width: 620px;
}

h2 {
  font-size: 46px;
  margin: 0 0 22px;
}

h3 {
  font-size: 21px;
  margin: 16px 0 8px;
}

.hero-lead {
  color: #e6f0ec;
  font-size: 23px;
  line-height: 1.45;
  margin: 0;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 2px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  text-decoration: none;
}

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

.button-primary {
  background: var(--gold);
  color: var(--night-deep);
}

.button-secondary {
  border-color: #b9d0c8;
  color: var(--white);
}

.button-dark {
  background: var(--night);
  color: var(--white);
}

.availability {
  color: #b9cdc6;
  font-size: 14px;
  font-weight: 700;
  margin: 20px 0 0;
}

.proof-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.proof-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof-inner p {
  border-left: 1px solid var(--line);
  margin: 0;
  min-height: 104px;
  padding: 23px 28px;
}

.proof-inner p:last-child {
  border-right: 1px solid var(--line);
}

.proof-inner strong,
.proof-inner span {
  display: block;
}

.proof-inner strong {
  font-size: 17px;
}

.proof-inner span {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.routine,
.families,
.closing {
  padding-bottom: 104px;
  padding-top: 104px;
}

.section-heading {
  max-width: 760px;
}

.section-heading > p:last-child,
.family-copy > p:last-child,
.closing p {
  color: var(--muted);
  font-size: 19px;
  margin-bottom: 0;
}

.steps {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 62px 0 0;
  padding: 0;
}

.steps li {
  border-top: 4px solid var(--night);
  min-height: 228px;
  padding: 28px 34px 0 0;
}

.steps li:nth-child(2) {
  border-color: var(--teal);
}

.steps li:nth-child(3) {
  border-color: var(--coral);
}

.step-number {
  align-items: center;
  background: var(--mint);
  border-radius: 50%;
  display: flex;
  font-family: "Fraunces", Georgia, serif;
  font-size: 19px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.steps p {
  color: var(--muted);
  margin: 0;
  max-width: 310px;
}

.preview-band {
  background: var(--night-deep);
  color: var(--white);
  padding: 100px 0 108px;
}

.section-heading-light > p:last-child {
  color: #bdd0c9;
}

.screenshots {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 60px;
}

.screenshots figure {
  margin: 0;
  min-width: 0;
}

.screen-frame {
  aspect-ratio: 9 / 16;
  background: var(--white);
  border: 1px solid #59736a;
  border-radius: 8px;
  overflow: hidden;
}

.screen-frame img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.screenshots figcaption {
  padding-top: 18px;
}

.screenshots figcaption strong,
.screenshots figcaption span {
  display: block;
}

.screenshots figcaption strong {
  color: var(--gold);
  font-size: 17px;
}

.screenshots figcaption span {
  color: #bdd0c9;
  margin-top: 4px;
}

.families {
  display: grid;
  gap: 80px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.family-facts {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
}

.family-facts div {
  border-top: 1px solid var(--line);
  min-height: 150px;
  padding: 25px 28px 20px 0;
}

.family-facts dt {
  font-size: 17px;
  font-weight: 900;
}

.family-facts dd {
  color: var(--muted);
  margin: 7px 0 0;
}

.safety-band {
  background: var(--teal-dark);
  color: var(--white);
  padding: 84px 0;
}

.safety-inner {
  align-items: start;
  display: grid;
  gap: 80px;
  grid-template-columns: 0.9fr 1.1fr;
}

.safety-inner > div > p:last-child {
  color: #d3e6df;
  font-size: 18px;
  margin: 0;
}

.safety-inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.safety-inner li {
  border-top: 1px solid #72aaa4;
  font-size: 17px;
  font-weight: 800;
  padding: 16px 0;
}

.safety-inner li:last-child {
  border-bottom: 1px solid #72aaa4;
}

.closing {
  align-items: center;
  display: grid;
  gap: 70px;
  grid-template-columns: 230px minmax(0, 720px);
  justify-content: center;
}

.closing .button {
  margin-top: 28px;
}

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 42px 0;
}

.footer-inner {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto auto;
}

.footer-inner p {
  margin: 0;
}

.footer-inner strong,
.footer-inner span {
  display: block;
}

.footer-inner span,
.copyright {
  color: var(--muted);
  font-size: 13px;
}

.footer-inner nav {
  display: flex;
  gap: 20px;
}

@media (max-width: 900px) {
  .nav-links {
    gap: 16px;
  }

  .nav-links a:nth-child(2),
  .nav-links a:nth-child(3) {
    display: none;
  }

  .hero {
    min-height: 590px;
  }

  .hero-art {
    opacity: 0.42;
    right: -160px;
    width: 580px;
  }

  .hero-inner {
    padding-right: 250px;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 40px;
  }

  .families,
  .safety-inner {
    gap: 48px;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 66px;
  }

  .nav-shell,
  .section-shell,
  .proof-inner,
  .safety-inner,
  .footer-inner {
    width: calc(100% - 32px);
  }

  .wordmark {
    font-size: 17px;
  }

  .wordmark img {
    height: 36px;
    width: 36px;
  }

  .nav-links a {
    display: none;
  }

  .nav-links a:last-child {
    display: inline;
  }

  .hero {
    align-items: flex-start;
    min-height: 540px;
  }

  .hero-art {
    bottom: -70px;
    opacity: 0.35;
    right: -95px;
    width: 390px;
  }

  .hero-inner {
    padding: 54px 0 48px;
    width: calc(100% - 32px);
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-lead {
    font-size: 19px;
    max-width: 430px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 330px;
  }

  .proof-inner,
  .steps,
  .screenshots,
  .families,
  .family-facts,
  .safety-inner,
  .closing,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .proof-inner p,
  .proof-inner p:last-child {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--line);
    min-height: 84px;
    padding: 16px 0;
  }

  .routine,
  .families,
  .closing {
    padding-bottom: 74px;
    padding-top: 74px;
  }

  .section-heading > p:last-child,
  .family-copy > p:last-child,
  .closing p {
    font-size: 17px;
  }

  .steps {
    margin-top: 46px;
  }

  .steps li {
    min-height: 0;
    padding: 24px 0 38px;
  }

  .preview-band {
    padding: 72px 0 78px;
  }

  .screenshots {
    gap: 46px;
    margin-left: auto;
    margin-right: auto;
    max-width: 390px;
  }

  .families,
  .safety-inner,
  .closing {
    gap: 44px;
  }

  .family-facts div {
    min-height: 0;
  }

  .safety-band {
    padding: 70px 0;
  }

  .closing {
    text-align: center;
  }

  .closing img {
    margin: 0 auto;
  }

  .footer-inner {
    align-items: start;
  }

  .footer-inner nav {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button:hover,
  .button:focus-visible {
    transform: none;
  }
}
