:root {
  --font-sans: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Newsreader", ui-serif, Georgia, "Times New Roman", serif;

  --bg: #090c10;
  --surface: #12171d;
  --surface-2: #1a2129;
  --fg: #eef1f3;
  --muted: #b9c3cb;
  --subtle: #96a3ad;
  --accent: #8dbbe8;
  --accent-fg: #0a0e12;
  --border: #232b34;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-border: 0 0 0 1px rgba(238, 241, 243, 0.08);
  --shadow-border-hover: 0 0 0 1px rgba(238, 241, 243, 0.14);
  --motion-emphasis: 500ms;
  --ease-smooth-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid var(--border);
}

html {
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  line-height: 1.5;
}

h1,
h2,
h3 {
  font-size: inherit;
  font-weight: inherit;
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: inherit;
}

ul,
ol {
  list-style: none;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background-color: var(--accent);
  color: var(--accent-fg);
}

img.frame {
  outline: 1px solid color-mix(in oklab, var(--fg) 12%, transparent);
  outline-offset: -1px;
}

.page {
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--fg);
}

.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom-width: 1px;
  background-color: var(--bg);
}

.header-inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fg);
}

.mark {
  width: 3.6rem;
  height: 2rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--muted);
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav a:hover {
  color: var(--fg);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.contact {
  position: relative;
}

.contact-btn {
  height: 2.5rem;
  padding-inline: 1.25rem;
  border-radius: var(--radius-md);
  background-color: transparent;
  color: var(--fg);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--shadow-border-hover);
  transition-property: background-color, box-shadow;
  transition-duration: 150ms;
}

.contact-btn:hover,
.contact.open .contact-btn {
  background-color: var(--surface);
}

.contact-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.contact-pop {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 50;
  padding-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 150ms, transform 150ms, visibility 150ms;
}

.contact-pop a {
  display: block;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-md);
  background-color: var(--surface-2);
  color: var(--fg);
  font-size: 1.0625rem;
  white-space: nowrap;
  box-shadow: var(--shadow-border-hover);
}

.contact-pop a:hover {
  color: var(--accent);
}

.contact:hover .contact-pop,
.contact.open .contact-pop {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 4.0625rem);
  min-height: calc(100svh - 4.0625rem);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background-color: rgba(9, 12, 16, 0.7);
}

.hero-fade {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top in oklab, #090c10, rgba(9, 12, 16, 0), rgba(9, 12, 16, 0.4));
}

.hero-inner {
  position: relative;
  display: flex;
  min-height: calc(100vh - 4.0625rem);
  min-height: calc(100svh - 4.0625rem);
  flex-direction: column;
  justify-content: center;
  padding-top: 4rem;
  padding-bottom: 7rem;
}

.hero-copy {
  max-width: 48rem;
}

.kicker {
  font-size: 0.9375rem;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero .kicker {
  font-size: 1.25rem;
  line-height: 1.4;
}

.hero h1 {
  margin-top: 1rem;
  font-size: 2.25rem;
  line-height: 1.25;
  color: var(--fg);
}

.hero-body {
  max-width: 36rem;
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding-inline: 2rem;
  border-radius: var(--radius-lg);
  background-color: var(--accent);
  color: var(--accent-fg);
  font-size: 1.0625rem;
  line-height: 1.5;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: none;
  transition-property: color, background-color, box-shadow, transform, opacity;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.btn:hover {
  background-color: #aacdf0;
  box-shadow: none;
}

.btn:active {
  transform: scale(0.96);
}

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

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.rise-in > * {
  animation: rise var(--motion-emphasis) var(--ease-smooth-out) both;
}

.rise-in > *:nth-child(1) {
  animation-delay: 0ms;
}

.rise-in > *:nth-child(2) {
  animation-delay: 80ms;
}

.rise-in > *:nth-child(3) {
  animation-delay: 160ms;
}

.rise-in > *:nth-child(4) {
  animation-delay: 240ms;
}

.rise-in > *:nth-child(5) {
  animation-delay: 320ms;
}

.band {
  border-block-width: 1px;
  background-color: var(--surface);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 72rem;
  margin-inline: auto;
}

.stat {
  padding: 2rem 1.25rem;
}

.stat:nth-child(even) {
  border-left-width: 1px;
}

.stat:nth-child(n + 3) {
  border-top-width: 1px;
}

.stat dt {
  font-size: 1.0625rem;
  line-height: 1.4;
  letter-spacing: 0.025em;
  color: var(--subtle);
}

.stat dd {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--fg);
}

.section {
  padding-block: 6rem;
}

.problem,
.corridor,
.platform {
  scroll-margin-top: 4.0625rem;
}

.section h2 {
  margin-top: 1rem;
  font-size: 1.875rem;
  line-height: 1.2;
}

.w-3xl {
  max-width: 48rem;
}

.w-2xl {
  max-width: 42rem;
}

.lead {
  margin-top: 1.5rem;
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--muted);
}

.problem .lead {
  max-width: 42rem;
}

.platform .lead {
  max-width: 36rem;
}

.mile-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.card {
  border-radius: var(--radius-xl);
  background-color: var(--surface);
  padding: 0.5rem;
  box-shadow: var(--shadow-border);
}

.card-image {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.ratio-3-2 {
  aspect-ratio: 3 / 2;
}

.ratio-4-3 {
  aspect-ratio: 4 / 3;
}

.card-body {
  padding: 1.5rem 1rem;
}

.label {
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0.025em;
  color: var(--subtle);
}

.card-body h3 {
  margin-top: 0.5rem;
  font-size: 1.875rem;
  line-height: 1.25;
}

.card-text {
  margin-top: 0.75rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 2rem;
  margin-top: 3.5rem;
}

.step {
  position: relative;
}

.step-line {
  position: absolute;
  top: 1rem;
  left: 3.5rem;
  right: -12px;
  display: none;
  height: 1px;
  background-color: var(--border);
}

.step-index {
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--accent);
}

.step h3 {
  margin-top: 1rem;
  font-size: 1.875rem;
  line-height: 1.25;
}

.platform-grid {
  display: grid;
  gap: 3rem;
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2.5rem;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background-color: var(--border);
  box-shadow: var(--shadow-border);
}

.specs > div {
  background-color: var(--surface);
  padding: 1.25rem 1rem;
}

.specs dt {
  font-size: 0.9375rem;
  line-height: 1.4;
  letter-spacing: 0.025em;
  color: var(--subtle);
}

.specs dd {
  margin-top: 0.25rem;
  font-size: 1.125rem;
  line-height: 1.45;
  color: var(--fg);
}

.platform figcaption {
  padding: 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}

.case-grid {
  display: grid;
  gap: 1rem;
  margin-top: 3.5rem;
}

.case {
  border-radius: var(--radius-xl);
  background-color: var(--bg);
  padding: 1.5rem;
  box-shadow: var(--shadow-border);
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
}

.case h3 {
  margin-top: 1.25rem;
  font-size: 1.375rem;
  line-height: 1.35;
}

.case p {
  margin-top: 0.5rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--muted);
}

.site-footer {
  border-top-width: 1px;
  background-color: var(--bg);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 4rem;
}

.footer-blurb {
  max-width: 30rem;
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}

.footer-contact {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.footer-contact a {
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--muted);
  transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-contact a:hover {
  color: var(--fg);
}

.footer-rights {
  border-top-width: 1px;
}

.footer-rights .container {
  padding-block: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--subtle);
}

.footer-sep {
  margin-inline: 0.75rem;
  opacity: 0.5;
}

.footer-nowrap {
  white-space: nowrap;
}

@media (min-width: 640px) {
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }

  .nav {
    display: flex;
  }

  .hero-inner {
    padding-bottom: 7rem;
  }

  .hero h1 {
    font-size: 3.75rem;
  }

  .hero-body {
    font-size: 1.125rem;
  }

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

  .stat {
    padding-inline: 2rem;
  }

  .stat:nth-child(n + 3) {
    border-top-width: 0;
  }

  .stat:nth-child(n + 2) {
    border-left-width: 1px;
  }

  .stat dd {
    font-size: 2.25rem;
    line-height: 1.1111;
  }

  .section h2 {
    font-size: 3rem;
    line-height: 1;
  }

  .card-body {
    padding-inline: 1.5rem;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .step-line {
    display: block;
  }

  .specs > div {
    padding-inline: 1.25rem;
  }

  .platform figcaption {
    padding-inline: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

@media (min-width: 1024px) {
  .mile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
  }

  .platform .card {
    display: flex;
    flex-direction: column;
  }

  .platform .card-image {
    flex: 1 1 0;
    height: 0;
    min-height: 0;
    aspect-ratio: auto;
  }

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

@media (prefers-reduced-motion: reduce) {
  .rise-in > * {
    animation: none;
  }
}
