/* Sort Station marketing — conveyor sky, glossy bins, bubbly brand */

:root {
  --sky-top: #7ad8ff;
  --sky: #3eb7f7;
  --sky-deep: #1a7fd4;
  --ink: #123a66;
  --ink-soft: #3a5f88;
  --paper: #f4fbff;
  --yellow: #ffd400;
  --yellow-deep: #f0a800;
  --pink: #ff2f91;
  --cyan: #3ef0ff;
  --white: #ffffff;
  --shell: 68rem;
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(255, 255, 255, 0.55), transparent 60%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky) 38%, #dff4ff 72%, var(--paper) 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--sky-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.shell {
  width: min(100% - 2rem, var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -4rem;
  transform: translateX(-50%);
  z-index: 100;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  top: 0.75rem;
}

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.top.is-solid {
  background: rgba(62, 183, 247, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(18, 58, 102, 0.12);
}

.top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
}

.mark img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 6px 0 rgba(18, 58, 102, 0.18);
}

.mark__word em {
  font-style: normal;
  color: var(--yellow);
}

.top__nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-weight: 700;
}

.top__nav a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.top__cta {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink) !important;
  box-shadow: 0 4px 0 rgba(18, 58, 102, 0.16);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero__plane {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__splash {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 127, 212, 0.28) 0%, rgba(26, 127, 212, 0.08) 35%, rgba(18, 58, 102, 0.55) 78%, rgba(18, 58, 102, 0.78) 100%),
    radial-gradient(ellipse 70% 45% at 50% 18%, rgba(255, 255, 255, 0.18), transparent 70%);
}

.hero__orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow:
    inset -4px -5px 8px rgba(0, 0, 0, 0.18),
    inset 4px 4px 8px rgba(255, 255, 255, 0.55);
  animation: bob 3.6s ease-in-out infinite;
}

.orb--pink {
  background: radial-gradient(circle at 30% 28%, #ff9ec8, var(--pink));
  top: 18%;
  left: 8%;
}

.orb--yellow {
  background: radial-gradient(circle at 30% 28%, #fff1a0, var(--yellow));
  top: 28%;
  right: 10%;
  animation-delay: 0.6s;
}

.orb--cyan {
  background: radial-gradient(circle at 30% 28%, #b9fbff, var(--cyan));
  top: 42%;
  left: 16%;
  animation-delay: 1.1s;
}

.hero__copy {
  position: relative;
  z-index: 1;
  padding: 7.5rem 0 3.5rem;
  max-width: 38rem;
  color: var(--white);
}

.brand-lockup {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.95;
  font-size: clamp(3rem, 10vw, 5.4rem);
  text-shadow:
    0 2px 0 #fff,
    0 6px 0 #123a66,
    0 14px 28px rgba(18, 58, 102, 0.35);
}

.brand-lockup__sort {
  display: block;
  color: var(--yellow);
}

.brand-lockup__station {
  display: block;
  color: #9fe8ff;
}

.hero h1 {
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 700;
  max-width: 18ch;
  margin-bottom: 0.75rem;
}

.hero__lede {
  margin: 0 0 1.5rem;
  max-width: 34ch;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.4rem;
  padding: 0.55rem 1.15rem;
  border-radius: 1.1rem;
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn small {
  display: block;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.8;
  line-height: 1;
}

.btn--play {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 6px 0 rgba(18, 58, 102, 0.2);
}

.btn--soon {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.35);
  cursor: default;
}

.kicker {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sky-deep);
}

.section-lede {
  margin: 0.75rem 0 0;
  max-width: 42ch;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.flow {
  padding: 5rem 0 4rem;
}

.flow h2,
.play h2,
.close h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 16ch;
}

.beats {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  counter-reset: beat;
}

.beats li {
  position: relative;
  padding-top: 0.25rem;
}

.beat__orb {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 0.9rem;
  border-radius: 50%;
  box-shadow:
    inset -5px -6px 10px rgba(0, 0, 0, 0.16),
    inset 5px 5px 10px rgba(255, 255, 255, 0.5),
    0 10px 18px rgba(18, 58, 102, 0.12);
}

.beat__orb--yellow {
  background: radial-gradient(circle at 30% 28%, #fff1a0, var(--yellow));
}

.beat__orb--pink {
  background: radial-gradient(circle at 30% 28%, #ff9ec8, var(--pink));
}

.beat__orb--cyan {
  background: radial-gradient(circle at 30% 28%, #b9fbff, var(--cyan));
}

.beats h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.beats p {
  margin: 0;
  color: var(--ink-soft);
}

.play {
  padding: 2rem 0 5rem;
}

.play__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.play__icon img {
  width: min(100%, 340px);
  margin-inline: auto;
  border-radius: 28%;
  box-shadow: 0 24px 48px rgba(18, 58, 102, 0.22);
  animation: floatIcon 5.5s ease-in-out infinite;
}

.play__list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.play__list li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--ink-soft);
}

.play__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #fff, var(--pink));
  box-shadow: 0 0 0 3px rgba(255, 47, 145, 0.15);
}

.play__list li:nth-child(2)::before {
  background: radial-gradient(circle at 30% 28%, #fff, var(--yellow));
  box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.18);
}

.play__list li:nth-child(3)::before {
  background: radial-gradient(circle at 30% 28%, #fff, var(--cyan));
  box-shadow: 0 0 0 3px rgba(62, 240, 255, 0.18);
}

.play__list li:nth-child(4)::before {
  background: radial-gradient(circle at 30% 28%, #fff, var(--sky-deep));
  box-shadow: 0 0 0 3px rgba(26, 127, 212, 0.18);
}

.close {
  padding: 0 0 5rem;
}

.close__inner {
  text-align: center;
  padding: 3rem 1.25rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 212, 0, 0.35), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(255, 47, 145, 0.22), transparent 42%),
    linear-gradient(160deg, #2ea6ef, #1a7fd4 60%, #1468b3);
  color: var(--white);
  box-shadow: 0 20px 40px rgba(18, 58, 102, 0.2);
}

.close__icon {
  width: 108px;
  height: 108px;
  margin: 0 auto 1.1rem;
  border-radius: 28%;
  box-shadow: 0 10px 0 rgba(18, 58, 102, 0.18);
}

.close h2 {
  margin-inline: auto;
}

.close p {
  margin: 0.7rem auto 1.4rem;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.92);
}

.close .btn--play {
  margin-inline: auto;
}

.foot {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(18, 58, 102, 0.12);
  background: rgba(255, 255, 255, 0.45);
}

.foot__inner {
  display: grid;
  gap: 1rem;
}

.foot__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 700;
}

.foot__brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.foot__by {
  font-family: var(--body);
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 700;
}

.foot__note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.motion-rise {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s ease forwards;
}

.motion-rise--2 { animation-delay: 0.12s; }
.motion-rise--3 { animation-delay: 0.22s; }
.motion-rise--4 { animation-delay: 0.32s; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes heroDrift {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.06) translateY(-1.5%); }
}

@media (max-width: 900px) {
  .beats,
  .play__grid {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    padding-top: 6.5rem;
  }

  .top__nav a:not(.top__cta) {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 100svh;
  }

  .brand-lockup {
    font-size: clamp(2.6rem, 14vw, 3.4rem);
  }

  .orb {
    width: 20px;
    height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .motion-rise,
  .reveal {
    opacity: 1;
    transform: none;
  }
}
