/* PushFly website. Tokens mirror the app (src/theme.ts palette). */
:root {
  --ink: #06101c;
  --ink-soft: #0a1524;
  --bg: #0b1220;
  --bg-2: #0e1729;
  --surface: #17263a;
  --surface-deep: #142236;
  --surface-sunken: #0f1b2b;
  --blue: #3b82f6;
  --blue-bright: #60a5fa;
  --blue-deep: #1d4fd7;
  --blue-pale: #9ecdff;
  --cyan: #22b8f5;
  --gold: #fbbf24;
  --green: #22c55e;
  --green-bright: #6ee7a0;
  --red: #f43f5e;
  --orange: #f97316;
  --bronze: #c08450;
  --silver: #d3dce6;
  --text: #ffffff;
  --text-bright: #c7d5e5;
  --text-2: #8fa3b8;
  --text-3: #5a6b80;

  --display: 'Lilita One', 'Arial Black', system-ui, sans-serif;
  --ui: 'Fredoka', ui-rounded, system-ui, -apple-system, sans-serif;

  --r-card: 26px;
  --r-sm: 18px;
  --edge: 0 6px 0 var(--ink-soft);
  --drop: 0 22px 44px -12px rgba(0, 0, 0, 0.6);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ui);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

.pixel {
  image-rendering: pixelated;
}

.wrap {
  width: min(var(--maxw), calc(100% - 40px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
}
.skip:focus {
  left: 12px;
}

/* ---------- Ambient background ---------- */
.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1100px 620px at 50% -12%, rgba(59, 130, 246, 0.42), transparent 62%),
    radial-gradient(700px 500px at 100% 40%, rgba(34, 184, 245, 0.1), transparent 70%),
    radial-gradient(700px 500px at 0% 75%, rgba(29, 79, 215, 0.14), transparent 70%),
    linear-gradient(180deg, #10203d 0%, var(--bg) 34%, var(--bg) 100%);
}
.sky::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(158, 205, 255, 0.09) 1.2px, transparent 1.4px);
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 55%);
}

/* ---------- Type ---------- */
.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.02;
  margin: 0;
}

.outlined {
  -webkit-text-stroke: 0.09em var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 0.09em 0 var(--ink);
}

.eyebrow {
  font-family: var(--ui);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin: 0 0 12px;
}

.h2 {
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  max-width: 18ch;
  text-wrap: balance;
}

.lead {
  color: var(--text-2);
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  max-width: 58ch;
  margin: 18px 0 0;
}

.gold {
  color: var(--gold);
}
.cyan {
  color: var(--cyan);
}
.green {
  color: var(--green-bright);
}

/* ---------- Comic surfaces ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 3px solid var(--ink);
  border-radius: var(--r-card);
  box-shadow: var(--edge), var(--drop);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  background: var(--surface-deep);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--ink-soft);
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.chip img {
  width: 28px;
  height: 28px;
}
.chip .dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
}

/* ---------- Buttons ---------- */
.btn {
  --fill: #fff;
  --label: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 58px;
  padding: 0 30px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--fill);
  color: var(--label);
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 0 var(--ink), 0 18px 30px -10px rgba(0, 0, 0, 0.6);
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 var(--ink), 0 24px 34px -10px rgba(0, 0, 0, 0.6);
}
.btn:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--ink), 0 8px 16px -8px rgba(0, 0, 0, 0.6);
  transition-duration: 0.08s;
}
.btn--blue {
  --fill: var(--blue);
  --label: #fff;
  text-shadow: 0 2px 0 rgba(6, 16, 28, 0.55);
}
.btn--ghost {
  --fill: transparent;
  --label: #fff;
  box-shadow: none;
  border-color: rgba(158, 205, 255, 0.35);
}
.btn--ghost:hover {
  border-color: var(--blue-pale);
  box-shadow: none;
}
.btn svg {
  width: 22px;
  height: 22px;
  flex: none;
}

/* App Store badge (black pill, Apple glyph) */
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 62px;
  padding: 0 24px 0 18px;
  background: #000;
  color: #fff;
  border: 3px solid var(--ink);
  border-radius: 18px;
  text-decoration: none;
  box-shadow: 0 6px 0 var(--ink), 0 0 0 2px rgba(158, 205, 255, 0.25) inset;
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}
.store:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 var(--ink), 0 0 0 2px rgba(158, 205, 255, 0.45) inset;
}
.store:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--ink);
}
.store svg {
  width: 30px;
  height: 30px;
}
.store small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.store b {
  display: block;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 50;
  transition: transform 0.45s var(--ease-out);
}
.nav.is-hidden {
  transform: translateY(-130%);
}
.nav__bar {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 66px;
  padding: 0 10px 0 12px;
  background: rgba(20, 34, 54, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 0 5px 0 var(--ink-soft), 0 18px 40px -16px rgba(0, 0, 0, 0.7);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.02em;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 2px solid var(--ink);
}
.nav__links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-block: 0;
}
.nav__links a {
  display: block;
  padding: 9px 14px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-bright);
  transition:
    background 0.2s,
    color 0.2s;
}
.nav__links a:hover {
  background: rgba(59, 130, 246, 0.18);
  color: #fff;
}
.nav__cta {
  height: 46px;
  padding: 0 20px;
  font-size: 17px;
  box-shadow: 0 4px 0 var(--ink);
}
.nav__toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 3px solid var(--ink);
  background: var(--surface);
  color: #fff;
  cursor: pointer;
}
.nav__toggle svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 900px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__toggle {
    display: grid;
    place-items: center;
  }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 10px;
    background: var(--surface-deep);
    border: 3px solid var(--ink);
    border-radius: 22px;
    box-shadow: 0 5px 0 var(--ink-soft), var(--drop);
  }
  .nav.is-open .nav__links a {
    padding: 14px 16px;
    font-size: 17px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 90px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  background: rgba(20, 34, 54, 0.8);
  border: 2px solid rgba(158, 205, 255, 0.22);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-bright);
  margin-bottom: 22px;
}
.hero__kicker span {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.05em;
  border: 2px solid var(--ink);
}
.hero h1 {
  font-size: clamp(3.3rem, 7.6vw, 6.6rem);
  line-height: 0.95;
}
.hero h1 .line {
  display: block;
}
.hero h1 .tilt {
  display: inline-block;
  color: var(--gold);
  transform: rotate(-3deg);
  margin-top: 6px;
}
.hero__sub {
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  color: var(--text-bright);
  max-width: 34ch;
  margin: 26px 0 32px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 46px;
}
@media (max-width: 520px) {
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
    gap: 16px;
  }
}
.stat b {
  display: block;
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
  font-weight: 400;
}
.stat span {
  display: block;
  margin-top: 6px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
}

/* Phone frame */
.phone {
  position: relative;
  width: min(330px, 78vw);
  aspect-ratio: 9 / 19.5;
  border-radius: 48px;
  background: var(--ink);
  border: 3px solid #1d2b40;
  padding: 10px;
  box-shadow:
    0 0 0 3px var(--ink),
    0 10px 0 3px var(--ink-soft),
    0 50px 90px -20px rgba(0, 0, 0, 0.75),
    0 0 120px -20px rgba(59, 130, 246, 0.45);
}
.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: var(--bg);
}
.phone__screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone__notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 26%;
  height: 18px;
  border-radius: 20px;
  background: #000;
  z-index: 3;
}

.hero__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 640px;
}
.hero__stage .phone {
  transform: rotate(4deg);
}
.burst {
  position: absolute;
  width: 520px;
  height: 520px;
  background: conic-gradient(from 0deg, rgba(59, 130, 246, 0.16) 0 10deg, transparent 10deg 20deg);
  border-radius: 50%;
  mask-image: radial-gradient(circle, #000 20%, transparent 68%);
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 68%);
  animation: spin 60s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.float {
  position: absolute;
  z-index: 4;
}
.float--a {
  top: 70px;
  left: -10px;
}
.float--b {
  top: 46%;
  right: -16px;
}
.float--c {
  bottom: 70px;
  left: 0;
}
.float .chip {
  animation: hover 4.2s ease-in-out infinite;
}
.float--b .chip {
  animation-delay: -1.4s;
}
.float--c .chip {
  animation-delay: -2.6s;
}
@keyframes hover {
  50% {
    transform: translateY(-10px) rotate(-1.5deg);
  }
}

.sticker {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  background: var(--gold);
  color: var(--ink);
  clip-path: polygon(
    50% 0%, 61% 18%, 82% 9%, 79% 31%, 100% 38%, 84% 53%, 97% 72%, 75% 73%, 72% 95%, 54% 82%, 36% 100%, 31% 78%, 9% 82%, 17% 61%, 0% 47%, 19% 37%, 12% 15%, 34% 19%
  );
  font-family: var(--display);
  font-size: 22px;
  line-height: 0.95;
  text-align: center;
  transform: rotate(-12deg);
  filter: drop-shadow(0 5px 0 var(--ink));
}
.sticker--hero {
  top: 18px;
  right: 6px;
}

/* Live game scene inside the hero phone */
.game {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(11, 18, 32, 0.15), rgba(11, 18, 32, 0.55)),
    url('assets/art/free-flight.jpg') center / cover;
}
.game__pillars {
  position: absolute;
  inset: 0;
  animation: scroll 3.6s linear infinite;
}
.pillar {
  position: absolute;
  width: 62px;
  left: var(--x);
  border: 3px solid var(--ink);
  background: linear-gradient(90deg, #d97757 0%, #f4a07f 38%, #e8896a 60%, #b65a3e 100%);
}
.pillar::after {
  content: '';
  position: absolute;
  left: -9px;
  right: -9px;
  height: 26px;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: linear-gradient(90deg, #d97757 0%, #f8b293 38%, #e8896a 60%, #b65a3e 100%);
}
.pillar--top {
  top: -3px;
  height: var(--h);
  border-radius: 0 0 6px 6px;
}
.pillar--top::after {
  bottom: -3px;
}
.pillar--bot {
  bottom: -3px;
  height: var(--h);
  border-radius: 6px 6px 0 0;
}
.pillar--bot::after {
  top: -3px;
}
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.game__bird {
  position: absolute;
  left: 22%;
  top: 44%;
  width: 66px;
  animation: flap 1.8s ease-in-out infinite;
  filter: drop-shadow(0 4px 0 rgba(6, 16, 28, 0.6));
}
@keyframes flap {
  0%,
  100% {
    transform: translateY(46px) rotate(14deg);
  }
  45% {
    transform: translateY(-58px) rotate(-16deg);
  }
}
.game__score {
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--display);
  font-size: 58px;
  line-height: 1;
}
.game__hud {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(20, 34, 54, 0.88);
  border: 3px solid var(--ink);
  border-radius: 18px;
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 0.03em;
}
.game__hud small {
  display: block;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-2);
}
.depth {
  width: 76px;
  height: 12px;
  border-radius: 6px;
  border: 2px solid var(--ink);
  background: var(--surface-sunken);
  overflow: hidden;
}
.depth i {
  display: block;
  height: 100%;
  width: 70%;
  background: linear-gradient(90deg, var(--green), var(--green-bright));
  animation: depth 1.8s ease-in-out infinite;
}
@keyframes depth {
  0%,
  100% {
    width: 92%;
  }
  45% {
    width: 18%;
  }
}

@media (max-width: 960px) {
  .hero {
    padding-top: 128px;
  }
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__stage {
    min-height: 600px;
  }
  .float--a {
    left: 0;
  }
  .float--b {
    right: 0;
  }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  margin: 30px 0 0;
  transform: rotate(-2deg);
  background: var(--blue);
  border-block: 4px solid var(--ink);
  box-shadow: 0 8px 0 var(--ink-soft);
  overflow: hidden;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee__track span {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 14px;
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-shadow: 0 3px 0 var(--ink);
}
.marquee__track img {
  width: 44px;
  height: 44px;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: clamp(96px, 13vw, 170px) 0;
}
.section__head {
  margin-bottom: 56px;
}
.section__head--center {
  text-align: center;
}
.section__head--center .h2,
.section__head--center .lead {
  margin-inline: auto;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature {
  padding: 26px 22px 24px;
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}
.feature:hover {
  transform: translateY(-6px) rotate(-0.6deg);
  box-shadow: 0 10px 0 var(--ink-soft), var(--drop);
}
.feature__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 3px solid var(--ink);
  display: grid;
  place-items: center;
  background: var(--tint, var(--blue));
  box-shadow: 0 4px 0 var(--ink);
  margin-bottom: 18px;
}
.feature__icon svg {
  width: 26px;
  height: 26px;
  color: #fff;
}
.feature h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 23px;
  line-height: 1.1;
  margin: 0 0 8px;
}
.feature p {
  margin: 0;
  color: var(--text-2);
  font-size: 15.5px;
}
@media (max-width: 1060px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.split--flip .split__media {
  order: -1;
}
.split__media {
  position: relative;
  display: grid;
  place-items: center;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split--flip .split__media {
    order: 0;
  }
}

.steps {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: grid;
  gap: 16px;
  counter-reset: step;
}
.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 18px 20px 18px 18px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 3px solid var(--ink);
  background: var(--gold);
  color: var(--ink);
  font-family: var(--display);
  font-size: 26px;
  box-shadow: 0 4px 0 var(--ink);
}
.steps h3 {
  margin: 2px 0 4px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
}
.steps p {
  margin: 0;
  color: var(--text-2);
  font-size: 15.5px;
}

.bubble {
  position: absolute;
  z-index: 5;
  max-width: 220px;
  padding: 14px 18px;
  background: #fff;
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 22px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  box-shadow: 0 5px 0 var(--ink);
}
.bubble::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 34px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transform: skewX(28deg) rotate(45deg);
}

/* Screens gallery */
.gallery {
  overflow: hidden;
}
.gallery__track {
  display: flex;
  gap: 34px;
  padding: 20px max(20px, calc((100vw - var(--maxw)) / 2)) 40px;
  width: max-content;
}
.gallery .phone {
  width: 270px;
  flex: none;
  border-radius: 40px;
}
.gallery .phone__screen {
  border-radius: 31px;
}
.gallery figure {
  margin: 0;
  flex: none;
}
.gallery figcaption {
  margin-top: 22px;
  text-align: center;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.03em;
}
.gallery figcaption span {
  display: block;
  font-family: var(--ui);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-2);
  letter-spacing: 0;
}
.gallery figure:nth-child(odd) .phone {
  transform: rotate(-2.5deg);
}
.gallery figure:nth-child(even) {
  transform: translateY(26px);
}
.gallery figure:nth-child(even) .phone {
  transform: rotate(2.5deg);
}
@media (max-width: 900px) {
  .gallery {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar {
    display: none;
  }
  .gallery figure {
    scroll-snap-align: center;
  }
  .gallery .phone {
    width: 230px;
  }
}

/* Wing ranks */
.ranks {
  display: grid;
  gap: 12px;
}
.rank {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 14px 14px;
}
.rank__badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  border: 3px solid var(--ink);
  background: var(--tier);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 0 var(--ink);
}
.rank__badge img {
  width: 44px;
  height: 44px;
}
.rank h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.1;
}
.rank__bar {
  height: 12px;
  margin-top: 8px;
  border-radius: 6px;
  border: 2px solid var(--ink);
  background: var(--surface-sunken);
  overflow: hidden;
}
.rank__bar i {
  display: block;
  height: 100%;
  width: var(--fill);
  background: linear-gradient(90deg, var(--tier), #fff8);
  transform-origin: left;
}
.rank__reps {
  font-family: var(--display);
  font-size: 20px;
  color: var(--text-bright);
  text-align: right;
  white-space: nowrap;
}
.rank__reps small {
  display: block;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-3);
}

/* Worlds */
.worlds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.world {
  overflow: hidden;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  isolation: isolate;
}
.world img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.9s var(--ease-out);
}
.world::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 30%, rgba(6, 16, 28, 0.88) 100%);
}
.world:hover img {
  transform: scale(1.06);
}
.world .eyebrow {
  margin-bottom: 4px;
}
.world h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.05;
}
.world p {
  margin: 6px 0 0;
  color: var(--text-bright);
  font-size: 15px;
}
.world--wide {
  grid-column: span 2;
}
.world--locked {
  background: var(--surface-sunken);
  border-style: dashed;
  border-color: #1c3049;
  box-shadow: none;
  min-height: 0;
}
.world--locked h3 {
  color: #5e778f;
  font-size: 22px;
}
.world--locked::before {
  display: none;
}
.worlds__locked {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  grid-column: 1 / -1;
}
.lock {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 2px solid #1c3049;
  color: var(--text-3);
}
.lock svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 900px) {
  .worlds {
    grid-template-columns: 1fr;
  }
  .world--wide {
    grid-column: auto;
  }
  .worlds__locked {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Nest birds */
.flock {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 10px;
}
.bird-card {
  width: 150px;
  padding: 16px 12px 14px;
  text-align: center;
  background: linear-gradient(180deg, var(--tint), var(--surface) 70%);
}
.bird-card img {
  width: 96px;
  height: 96px;
  margin: 0 auto;
  animation: bob 2.8s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  filter: drop-shadow(0 5px 0 rgba(6, 16, 28, 0.55));
}
.bird-card:hover img {
  animation-duration: 0.5s;
}
@keyframes bob {
  50% {
    transform: translateY(-8px) rotate(-4deg);
  }
}
.bird-card b {
  display: block;
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 18px;
}
.bird-card span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
}
.bird-card .tag {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--blue);
  border: 2px solid var(--ink);
  color: #fff;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.05em;
}

/* Safety */
.safety {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.safety .feature {
  background: var(--surface-deep);
}
.disclaimer {
  margin: 34px auto 0;
  max-width: 70ch;
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
}
@media (max-width: 1060px) {
  .safety {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .safety {
    grid-template-columns: 1fr;
  }
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}
.pro {
  padding: 34px;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(59, 130, 246, 0.28), transparent 70%),
    var(--surface-deep);
}
.pro h3 {
  margin: 0 0 22px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 30px;
}
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.checks li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--text-bright);
}
.checks li::before {
  content: '';
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 2px solid var(--ink);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306101C' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
      center / 18px no-repeat,
    var(--green-bright);
}
.plans {
  display: grid;
  gap: 18px;
}
.plan {
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 16px;
}
.plan--best {
  background: var(--blue-row, #1b3660);
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.plan h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.04em;
}
.plan p {
  margin: 0;
  grid-column: 1;
  color: var(--text-2);
  font-size: 14.5px;
}
.plan .price {
  grid-row: 1 / span 2;
  grid-column: 2;
  text-align: right;
  font-family: var(--display);
  font-size: 44px;
  line-height: 1;
}
.plan .price small {
  display: block;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-2);
}
.badge {
  position: absolute;
  top: -16px;
  right: 22px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 3px solid var(--ink);
  background: var(--gold);
  color: var(--ink);
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.05em;
  transform: rotate(3deg);
}
.trial {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface-sunken);
  box-shadow: none;
  border-style: dashed;
  border-color: #1c3049;
}
.trial b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  color: var(--gold);
}
.trial p {
  margin: 2px 0 0;
  color: var(--text-2);
  font-size: 14.5px;
}
.fine {
  margin-top: 22px;
  color: var(--text-3);
  font-size: 13.5px;
}
@media (max-width: 900px) {
  .pricing {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 14px;
}
.faq details {
  padding: 0;
  border-radius: 22px;
}
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: 0.01em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary i {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  border: 2px solid var(--ink);
  background: var(--blue);
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease-out);
}
.faq summary i::before {
  content: '+';
  font-style: normal;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1;
}
.faq details[open] summary i {
  transform: rotate(135deg);
  background: var(--gold);
  color: var(--ink);
}
.faq .answer {
  padding: 0 22px 22px;
  color: var(--text-2);
}
.faq .answer p {
  margin: 0;
}

/* Final CTA */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) clamp(24px, 6vw, 80px);
  text-align: center;
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(96, 165, 250, 0.45), transparent 70%),
    linear-gradient(180deg, var(--blue-deep), #10224a);
}
.cta h2 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  max-width: 14ch;
  margin-inline: auto;
}
.cta .lead {
  color: var(--blue-pale);
  margin-inline: auto;
}
.cta__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.cta__bird {
  position: absolute;
  width: 92px;
  top: 34px;
  left: -100px;
  animation: cross 9s linear infinite;
}
@keyframes cross {
  0% {
    transform: translate(0, 40px) rotate(-8deg);
  }
  25% {
    transform: translate(30vw, -10px) rotate(8deg);
  }
  50% {
    transform: translate(60vw, 50px) rotate(-8deg);
  }
  75% {
    transform: translate(90vw, 0) rotate(8deg);
  }
  100% {
    transform: translate(120vw, 40px) rotate(-8deg);
  }
}

/* Footer */
.footer {
  padding: 80px 0 40px;
  border-top: 3px solid var(--ink);
  background: #080e19;
  margin-top: clamp(80px, 10vw, 140px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 36px;
}
.footer p {
  color: var(--text-2);
  font-size: 15px;
  max-width: 36ch;
}
.footer h4 {
  margin: 6px 0 14px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer ul a {
  color: var(--text-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s;
}
.footer ul a:hover {
  color: #fff;
}
.footer__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 2px solid #121d2c;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-3);
  font-size: 14px;
}
@media (max-width: 800px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__grid > :first-child {
    grid-column: 1 / -1;
  }
}

/* ---------- Legal / support pages ---------- */
.doc {
  padding: 140px 0 40px;
}
.doc__head {
  max-width: 820px;
  margin: 0 auto 40px;
}
.doc__head h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
}
.doc__head p {
  color: var(--text-2);
  margin: 14px 0 0;
}
.doc__body {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px);
}
.doc__body h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  margin: 40px 0 12px;
}
.doc__body h2:first-child {
  margin-top: 0;
}
.doc__body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 26px 0 8px;
  color: #fff;
}
.doc__body p,
.doc__body li {
  color: var(--text-bright);
  font-size: 16px;
}
.doc__body ul,
.doc__body ol {
  padding-left: 22px;
}
.doc__body li {
  margin: 6px 0;
}
.doc__body a {
  color: var(--blue-bright);
  font-weight: 600;
}
.doc__body strong {
  color: #fff;
}
.doc__note {
  padding: 16px 18px;
  border-radius: 16px;
  border: 2px solid #1c3049;
  background: var(--surface-sunken);
  color: var(--text-bright);
}
.address {
  font-style: normal;
  color: var(--text-bright);
}

.help {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}
.help .card {
  padding: 24px;
}
.help h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
}
.help ol {
  margin: 0;
  padding-left: 20px;
  color: var(--text-bright);
}
.help li {
  margin: 6px 0;
}
.contact {
  max-width: 980px;
  margin: 0 auto 26px;
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background:
    radial-gradient(500px 240px at 0% 0%, rgba(59, 130, 246, 0.3), transparent 70%),
    var(--surface-deep);
}
.contact h2 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 30px;
}
.contact p {
  margin: 0;
  color: var(--text-2);
  max-width: 48ch;
}
.doc-wide {
  max-width: 980px;
  margin: 26px auto 0;
}
@media (max-width: 760px) {
  .help {
    grid-template-columns: 1fr;
  }
}

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
