@font-face {
  font-family: Manrope;
  src: url('./assets/manrope-400.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url('./assets/manrope-600.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --color-page: #181818;
  --color-paper: #1f1f1f;
  --color-ink: #f1eee7;
  --color-muted: #b3b1aa;
  --color-rule: #41413d;
  --color-signal: oklch(.75 .14 43);
  --color-focus: #f28254;
  --page-width: 1280px;
  --page-gutter: 48px;
  font-family: Manrope, sans-serif;
  font-synthesis: none;
}

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

html {
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--color-page);
  color: var(--color-ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--color-signal);
  color: var(--color-page);
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 5px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 4px;
}

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

p {
  max-width: 65ch;
  color: var(--color-muted);
  text-wrap: pretty;
}

h1,
h2,
h3 {
  font-weight: 600;
  text-wrap: balance;
}

.shell {
  width: min(calc(100% - var(--page-gutter) * 2), var(--page-width));
  margin-inline: auto;
}

.skip {
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 16px;
  transform: translateY(-180%);
  padding: 12px 16px;
  background: var(--color-signal);
  color: var(--color-page);
}

.skip:focus {
  transform: translateY(0);
}

.masthead {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--color-rule);
}

.brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 16px;
}

.brand img {
  display: block;
  flex: none;
}

.brand-copy {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 32px;
}

.brand-ai {
  color: var(--color-signal);
}

.brand small {
  display: block;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 20px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a,
.text-link,
.package-link,
.footer a,
.contact-email {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.nav a {
  font-size: 14px;
}

.nav a:hover,
.text-link:hover,
.package-link:hover,
.footer a:hover,
.contact-email:hover {
  color: var(--color-signal);
}

.eyebrow {
  margin-bottom: 16px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero {
  padding-block: 80px 72px;
}

.hero h1 {
  max-width: 1040px;
  margin-bottom: 32px;
  font-size: clamp(56px, 7vw, 96px);
  letter-spacing: -.05em;
  line-height: 1.05;
}

.hero h1 span {
  color: var(--color-signal);
}

.hero-description {
  max-width: 660px;
  margin-bottom: 32px;
  font-size: 18px;
  line-height: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}

.action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 12px 20px;
  border-radius: 4px;
  background: var(--color-signal);
  color: var(--color-page);
  font-weight: 600;
}

.action:hover {
  background: var(--color-ink);
}

.text-link,
.package-link,
.contact-email,
.footer a {
  gap: 12px;
  text-decoration: underline;
}

.section {
  padding-block: 80px;
}

.packages-section {
  padding-top: 24px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(36px, 4.2vw, 56px);
  letter-spacing: -.04em;
  line-height: 1.1;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 360px;
  margin-bottom: 0;
}

.packages {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 20px;
}

.package {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--color-rule);
  background: var(--color-paper);
}

.package-featured {
  border-color: var(--color-signal);
}

.package h3 {
  margin-bottom: 20px;
  font-size: 28px;
  letter-spacing: -.03em;
  line-height: 1.2;
}

.package p,
.package li {
  font-size: 14px;
}

.package ul {
  margin: 0 0 32px;
  padding-left: 20px;
  color: var(--color-muted);
}

.package li + li {
  margin-top: 8px;
}

.package .package-cost {
  margin-top: auto;
  padding-top: 16px;
  color: var(--color-ink);
}

.package-link {
  justify-content: space-between;
  font-size: 14px;
}

.cost-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.cost-notes p {
  margin-bottom: 0;
  font-size: 12px;
  line-height: 20px;
}

.care-band,
.footer-band {
  background: var(--color-paper);
}

.care-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-block: 64px;
}

.care-layout h2 {
  margin-bottom: 0;
}

.care-copy {
  align-self: center;
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 32px;
  padding-block: 32px;
  border-top: 1px solid var(--color-rule);
}

.service-row h3 {
  margin-bottom: 0;
  font-size: 22px;
  letter-spacing: -.02em;
  line-height: 1.4;
}

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

.service-number {
  color: var(--color-muted);
  font-size: 12px;
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  padding-block: 48px;
  border-top: 1px solid var(--color-rule);
  border-bottom: 1px solid var(--color-rule);
}

.proof h2 {
  margin-bottom: 16px;
}

.proof-caption {
  font-size: 14px;
}

.contact-layout {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}

.contact h2 {
  max-width: 800px;
  font-size: clamp(40px, 4.8vw, 64px);
}

.contact p {
  max-width: 620px;
}

.contact .action {
  flex: none;
  margin-bottom: 8px;
}

.contact-note {
  margin-top: 32px;
  margin-bottom: 0;
  font-size: 12px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  padding-block: 40px;
  font-size: 14px;
}

.footer p:first-child {
  margin-bottom: 8px;
  color: var(--color-ink);
}

.footer .attribution {
  max-width: 68ch;
  margin-bottom: 0;
  font-size: 12px;
}

.footer nav {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 1100px) {
  :root {
    --page-gutter: 32px;
  }

  .package {
    padding: 24px;
  }

  .package h3 {
    font-size: 24px;
  }

  .care-layout,
  .proof {
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .masthead {
    flex-wrap: wrap;
    gap: 16px;
    padding-block: 24px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

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

  .package {
    padding: 32px;
  }

  .cost-notes {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .section-heading,
  .contact-layout {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .section-heading > p {
    max-width: 65ch;
  }

  .contact .action {
    margin: 0;
  }

  .footer {
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  :root {
    --page-gutter: 20px;
  }

  .brand {
    gap: 12px;
  }

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

  .brand-copy {
    font-size: 20px;
    line-height: 28px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 4px 16px;
  }

  .nav a {
    font-size: 12px;
  }

  .hero {
    padding-block: 48px;
  }

  .hero h1 {
    font-size: clamp(40px, 10.2vw, 60px);
    letter-spacing: -.045em;
  }

  .hero-description {
    font-size: 16px;
    line-height: 26px;
  }

  .section {
    padding-block: 56px;
  }

  .packages-section {
    padding-top: 8px;
  }

  .package {
    padding: 24px;
  }

  .care-layout,
  .proof {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-block: 48px;
  }

  .service-row {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px 16px;
    padding-block: 24px;
  }

  .service-row > p,
  .service-row > div {
    grid-column: 2;
  }

  .service-row h3 {
    font-size: 20px;
  }

  .contact h2 {
    font-size: 40px;
  }

  .contact h2 br {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .action {
    transition: background-color 150ms ease-out;
  }
}
