:root {
  --ash-grey: #b4b8ab;
  --deep-space-blue: #153243;
  --yale-blue: #284b63;
  --ivory: #f4f9e9;
  --soft-linen: #eef0eb;
  --paper: #fbfcf9;
  --visited: #587565;
  --orange: #fca311;
  --ink-soft: #587080;
  --line: rgba(21, 50, 67, 0.16);
  font-family: Inter, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  color: var(--deep-space-blue);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
}

.brand picture {
  display: block;
}

body,
a {
  color: var(--deep-space-blue);
}

a {
  text-underline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--paper);
  transform: translateY(-150%);
}

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

.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(40px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 154px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.site-header nav,
footer nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header nav a,
footer nav a {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav__link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-bottom: 2px solid transparent;
  color: var(--ink-soft);
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  border-bottom-color: var(--orange);
  background: var(--soft-linen);
  color: var(--deep-space-blue);
  outline: 0;
}

.header-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--deep-space-blue);
  border-radius: 0;
  color: var(--deep-space-blue);
  transition: background-color 160ms ease, color 160ms ease;
}

.header-action:hover,
.header-action:focus-visible {
  background: var(--deep-space-blue);
  color: var(--paper);
  outline: 0;
}

.hero {
  min-height: 760px;
  position: relative;
  overflow: hidden;
  padding: 76px 40px 320px;
  color: white;
  background: var(--deep-space-blue) url("/assets/hero-mountain.webp") center 48% / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 32, 44, 0.9) 0%, rgba(21, 50, 67, 0.68) 48%, rgba(21, 50, 67, 0.28) 100%);
}

.hero__inner {
  width: min(100%, 1180px);
  position: relative;
  z-index: 2;
  margin: 0 auto;
}

.kicker {
  margin: 0 0 13px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kicker--dark {
  color: var(--visited);
}

.hero__brand-title {
  margin: 0;
  line-height: 0;
}

.hero__brand-title img {
  width: 520px;
  height: auto;
}

.hero__lead {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 21px;
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button--primary {
  background: var(--orange);
  color: var(--deep-space-blue);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #e8920d;
  box-shadow: 0 6px 16px rgba(252, 163, 17, 0.28);
  transform: translateY(-1px);
  outline: 0;
}

.button--text {
  padding: 0;
  color: white;
  text-decoration: underline;
}

.button--text:hover,
.button--text:focus-visible {
  color: var(--orange);
  outline: 0;
}

.button--dark {
  margin-top: 28px;
  background: var(--deep-space-blue);
  color: var(--ivory);
}

.button--dark:hover,
.button--dark:focus-visible {
  background: var(--yale-blue);
  box-shadow: 0 6px 16px rgba(21, 50, 67, 0.22);
  transform: translateY(-1px);
  outline: 0;
}

.hero-product {
  width: min(1080px, calc(100% - 80px));
  height: 340px;
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: -70px;
  left: 0;
  overflow: hidden;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(6, 24, 34, 0.34);
  animation: product-enter 560ms ease-out both;
}

.hero-product picture,
.hero-product img {
  width: 100%;
  height: 100%;
}

.hero-product picture {
  display: block;
  animation: product-enter 560ms ease-out both;
}

.hero-product img {
  object-fit: cover;
  object-position: top center;
}

@supports (animation-timeline: scroll()) {
  .hero-product {
    will-change: transform;
    animation: hero-product-parallax linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 760px;
  }
}

.feature-band,
.product-band,
.closing-band {
  padding: 128px 40px 86px;
}

.section-heading,
.feature-grid,
.product-layout,
.closing-band > * {
  width: min(100%, 1180px);
  margin-right: auto;
  margin-left: auto;
}

.section-heading h2,
.product-copy h2,
.purpose-band h2,
.closing-band h2,
.legal-main h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading h2 {
  max-width: 680px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid article {
  min-height: 240px;
  padding: 28px 34px 34px 0;
  border-right: 1px solid var(--line);
}

.feature-grid article + article {
  padding-left: 34px;
}

.feature-grid article:last-child {
  border-right: 0;
}

.feature-grid span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 850;
}

.feature-grid h3 {
  margin: 42px 0 10px;
  font-size: 21px;
  letter-spacing: 0;
}

.feature-grid p,
.product-copy > p,
.legal-main p,
.legal-main li {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.feature-grid p {
  margin: 0;
}

.product-band {
  padding-top: 86px;
  background: var(--soft-linen);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 90px;
}

.product-copy h2 {
  max-width: 650px;
}

.product-copy > p {
  max-width: 610px;
  margin: 24px 0 0;
}

.inline-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--yale-blue);
  font-size: 14px;
  font-weight: 800;
}

.mobile-product {
  width: min(100%, 390px);
  aspect-ratio: 390 / 844;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(21, 50, 67, 0.18);
}

.mobile-product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.purpose-band {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 90px;
  padding: 78px max(40px, calc((100vw - 1180px) / 2));
  background: var(--deep-space-blue);
  color: white;
}

.purpose-band h2 {
  color: white;
}

.purpose-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
}

.purpose-list li {
  min-width: 0;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 20px 18px 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.purpose-list li:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.purpose-list li:nth-child(even) {
  padding-left: 18px;
}

.purpose-list span {
  color: var(--orange);
  font-size: 11px;
  font-weight: 850;
}

.purpose-list strong,
.purpose-list small {
  display: block;
}

.purpose-list strong {
  color: white;
  font-size: 15px;
}

.purpose-list small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.45;
}

.closing-band {
  padding-top: 96px;
  padding-bottom: 104px;
  text-align: center;
}

footer {
  min-height: 170px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 34px 40px;
  border-top: 1px solid var(--line);
  background: var(--soft-linen);
}

.footer-brand {
  font-size: 19px;
  font-weight: 850;
  text-decoration: none;
}

footer p {
  color: var(--ink-soft);
  font-size: 13px;
}

.legal-main {
  width: min(100% - 40px, 820px);
  min-height: calc(100vh - 242px);
  margin: 0 auto;
  padding: 72px 0 90px;
}

.legal-main h1 {
  margin-bottom: 36px;
}

.legal-main h2 {
  margin: 36px 0 8px;
  font-size: 21px;
  letter-spacing: 0;
}

.legal-main p,
.legal-main ul {
  margin-top: 8px;
}

.legal-main a {
  color: var(--yale-blue);
  font-weight: 700;
}

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

@keyframes product-enter {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-product-parallax {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(72px);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
    padding: 0 16px;
  }

  .brand img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    object-position: left;
  }

  .site-header nav {
    gap: 14px;
  }

  .site-header nav > a:not(.header-action) {
    display: none;
  }

  .header-action {
    min-height: 38px;
  }

  .hero {
    min-height: 760px;
    padding: 52px 20px 400px;
    background-position: 57% center;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(11, 32, 44, 0.92) 0%, rgba(21, 50, 67, 0.6) 58%, rgba(21, 50, 67, 0.28) 100%);
  }

  .hero__brand-title img {
    width: min(340px, 90vw);
  }

  .hero__lead {
    max-width: 330px;
    font-size: 18px;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
  }

  .hero-product {
    width: 220px;
    height: 476px;
    right: 20px;
    bottom: -92px;
    left: auto;
  }

  .feature-band,
  .product-band,
  .closing-band {
    padding-right: 20px;
    padding-left: 20px;
  }

  .feature-band {
    padding-top: 146px;
  }

  .section-heading h2,
  .product-copy h2,
  .purpose-band h2,
  .closing-band h2,
  .legal-main h1 {
    font-size: 31px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .feature-grid article,
  .feature-grid article + article {
    min-height: 0;
    padding: 24px 0 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }


.not-found {
  display: grid;
  align-content: center;
  justify-items: start;
}

.not-found .button {
  margin-top: 18px;
}
  .feature-grid article:last-child {
    border-bottom: 0;
  }

  .feature-grid h3 {
    margin-top: 24px;
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .mobile-product {
    width: min(330px, 88vw);
  }

  .purpose-band {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 68px 20px;
  }

  .purpose-list {
    grid-template-columns: 1fr;
  }

  .purpose-list li,
  .purpose-list li:nth-child(even),
  .purpose-list li:nth-child(odd) {
    padding: 18px 0;
    border-right: 0;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 30px 20px;
  }

  footer nav {
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 12px;
  }
}

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

  .hero-product,
  .hero-product picture {
    animation: none;
  }
}
