/* Ashlee Health company site. Layout only; tokens live in colors_and_type.css. */

.skip {
  position: absolute;
  left: 8px;
  top: -100vh;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  z-index: 50;
}

.skip:focus {
  top: 8px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav-height);
  background: var(--paper);
  border-bottom: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-8);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  margin-left: -4px;
  border-radius: var(--radius-md);
  text-decoration: none;
}

.nav-brand img {
  height: 28px;
  width: auto;
}

.nav-signin {
  font-size: var(--text-body-sm-size);
  line-height: var(--text-body-sm-lh);
  color: var(--ink-soft);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: var(--radius-md);
}

.hero {
  position: relative;
  height: calc(100svh - var(--nav-height));
  background: var(--paper);
  overflow: hidden;
  transition: height 600ms var(--ease);
}

.hero.is-settled {
  height: 50vh;
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    transition: none;
    height: 50vh;
  }
}

.hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--paper);
  border: 0;
}

main {
  width: 100%;
  max-width: var(--measure-marketing);
  margin: 0 auto;
  padding: var(--space-20) var(--space-8) var(--space-24);
}

main .t-display {
  max-width: 18ch;
}

.lede {
  font-size: var(--text-body-lg-size);
  line-height: var(--text-body-lg-lh);
  color: var(--ink-soft);
  max-width: 36rem;
  margin: var(--space-6) 0 var(--space-12);
}

.intro {
  max-width: 40rem;
  margin: 0 0 var(--space-20);
}

.intro p + p {
  margin-top: var(--space-6);
}

.sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8) var(--space-10);
  margin-bottom: var(--space-20);
}

.section {
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-strong);
}

.section h2 {
  margin-bottom: var(--space-3);
}

.section p {
  margin: 0;
}

.contact {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  max-width: 40rem;
}

.contact h2 {
  margin-bottom: var(--space-3);
}

.contact p {
  margin: 0 0 var(--space-6);
}

.contact-email {
  font-size: var(--text-body-size);
  line-height: var(--text-body-lh);
  margin-bottom: var(--space-6);
}

.contact-email a {
  color: var(--ink);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 32px;
  background: var(--action);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: var(--text-body-lg-size);
  font-weight: 500;
  line-height: var(--text-body-lg-lh);
  text-decoration: none;
  border-radius: var(--radius-md);
}

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

.cta:focus-visible {
  outline: 2px solid var(--sienna);
  outline-offset: 2px;
}

.site-footer {
  max-width: var(--measure-marketing);
  margin: 0 auto;
  padding: 0 var(--space-8) var(--space-16);
  color: var(--ink-quiet);
  font-size: var(--text-body-sm-size);
  line-height: var(--text-body-sm-lh);
}

.site-footer p {
  margin: 0 0 var(--space-3);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
}

.footer-links a {
  color: var(--ink-soft);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 900px) {
  .nav,
  main,
  .site-footer {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }

  .sections {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  main .t-display {
    font-size: var(--text-h1-size);
    line-height: var(--text-h1-lh);
    max-width: none;
  }
}

@media (max-width: 640px) {
  main {
    padding-top: var(--space-12);
  }
}
