:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #171814;
  color: #f2efe8;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-width: 320px;
  background: #171814;
}

a {
  color: inherit;
}

.gateway {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  grid-template-rows: auto 1fr auto;
  gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(1.5rem, 4vw, 4.5rem);
}

.atmosphere {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 78% 20%, rgb(96 127 120 / 22%), transparent 30%),
    radial-gradient(circle at 18% 78%, rgb(173 96 58 / 20%), transparent 34%),
    linear-gradient(125deg, #171814 24%, #20211d 72%, #131613);
  animation: atmosphere-in 1.2s ease-out both;
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.36'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.brand {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.22em;
  animation: rise-in 700ms 80ms ease-out both;
}

.brand img {
  border-radius: 12px;
}

.intro {
  align-self: end;
  max-width: 39rem;
  padding-bottom: clamp(0rem, 4vw, 3rem);
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: #b7b9ad;
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.2em;
  animation: rise-in 700ms 160ms ease-out both;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 9vw, 9.5rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.065em;
  text-wrap: balance;
  animation: rise-in 820ms 220ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.guidance {
  max-width: 28rem;
  margin: clamp(1.75rem, 4vw, 3.5rem) 0 0;
  color: #b7b9ad;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  animation: rise-in 700ms 320ms ease-out both;
}

.platforms {
  align-self: end;
  border-top: 1px solid rgb(242 239 232 / 20%);
  animation: rise-in 800ms 300ms ease-out both;
}

.platform {
  --platform-accent: #c56b3d;
  position: relative;
  display: grid;
  grid-template-columns: 2rem 4.75rem minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  min-height: clamp(9.5rem, 18vh, 12rem);
  padding: 1.4rem 0;
  border-bottom: 1px solid rgb(242 239 232 / 20%);
  text-decoration: none;
  transition: color 220ms ease, padding 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.platform::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--platform-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 380ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.platform--hodi {
  --platform-accent: #0a4838;
}

.platform:hover,
.platform:focus-visible {
  padding-inline: 1.25rem;
  color: #fff;
  outline: none;
}

.platform:hover::before,
.platform:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left;
}

.platform__number {
  align-self: start;
  color: #9da095;
  font: 600 0.68rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.platform img {
  width: clamp(3.6rem, 6vw, 4.75rem);
  height: auto;
  border-radius: 18px;
  box-shadow: 0 1.2rem 3rem rgb(0 0 0 / 25%);
  transition: transform 320ms ease;
}

.platform:hover img,
.platform:focus-visible img {
  transform: rotate(-3deg) scale(1.04);
}

.platform__copy {
  display: grid;
  gap: 0.55rem;
}

.platform__copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.platform__copy small {
  color: #b7b9ad;
  font-size: 0.86rem;
  line-height: 1.4;
  transition: color 220ms ease;
}

.platform:hover small,
.platform:focus-visible small {
  color: rgb(255 255 255 / 78%);
}

.platform__arrow {
  font-size: 1.6rem;
  transition: transform 220ms ease;
}

.platform:hover .platform__arrow,
.platform:focus-visible .platform__arrow {
  transform: translate(0.3rem, -0.3rem);
}

footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  color: #8e9186;
  font-size: 0.72rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  animation: rise-in 700ms 440ms ease-out both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.4rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes atmosphere-in {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 820px) {
  .gateway {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto;
    gap: 3rem;
  }

  .brand,
  footer {
    grid-column: 1;
  }

  .intro {
    align-self: start;
    padding: 1rem 0 0;
  }

  h1 {
    font-size: clamp(4rem, 18vw, 7rem);
  }

  .platforms {
    align-self: start;
  }

  .platform {
    grid-template-columns: 1.5rem 3.75rem minmax(0, 1fr) auto;
    min-height: 8.5rem;
  }

  footer {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .gateway {
    padding: 1.25rem;
  }

  .platform {
    grid-template-columns: 3.6rem minmax(0, 1fr) auto;
  }

  .platform__number {
    display: none;
  }

  .platform__copy small {
    max-width: 13rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
