/* Skydrop: Hold the Beacon - the landing page at /skydrop/.
   Loads after skydrop.css and only on this page. Always dark: the page is a night on the island.
   No web fonts, no scripts, no external requests. */

:root {
  color-scheme: dark;

  --night: #081440;         /* matches the top of the hero sky */
  --bg: #0b1324;
  --surface: #121c31;
  --surface-2: #19253d;
  --text: #e8edf4;
  --muted: #aab5c7;
  --border: #26324a;
  --link: #ffb347;
  --link-hover: #ffd08a;
  --beacon: #6fe8ff;
  --focus: #6fe8ff;
  --amber: #ffb347;
  --mark: rgba(255, 179, 71, 0.14);

  --band-bg: #070f24;
  --band-bg-2: #24121c;

  --page: 72rem;
  --gutter: 1rem;
  --shot-radius: 14px;
}

.home {
  background: var(--bg);
}

/* Wider measure than the text pages, for header, sections and footer alike */
.home .wrap {
  max-width: var(--page);
  padding-inline: var(--gutter);
}

.home main {
  width: auto;
  padding: 0;
}

.home h2 {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  font-size: clamp(1.875rem, 4.2vw, 2.875rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.home h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 750;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--amber);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section-intro {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-intro p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.shot {
  display: block;
  width: 100%;
  aspect-ratio: 2868 / 1320;
  object-fit: cover;
  border-radius: var(--shot-radius);
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 18px 40px -18px rgba(0, 0, 0, 0.7);
}

/* Hero: the copy sits in the night sky, and the screenshot rises up under it */
.hero {
  position: relative;
  background: linear-gradient(to bottom, var(--night) 0, var(--night) 55%, var(--bg) 100%);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) 0;
  text-shadow: 0 1px 12px rgba(4, 10, 32, 0.6);
}

.hero-copy > * {
  max-width: 36rem;
}

.hero .eyebrow {
  margin-bottom: 1rem;
}

.home .hero h1 {
  max-width: none;
  margin: 0 0 1.25rem;
  font-size: clamp(3rem, 10vw, 6.25rem);
  font-weight: 850;
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.hero h1 .line {
  display: block;
}

.hero h1 .beacon-line {
  margin-top: 0.08em;
  color: var(--beacon);
  font-size: 0.56em;
  letter-spacing: -0.02em;
  text-shadow: 0 0 28px rgba(111, 232, 255, 0.45);
}

.pitch {
  margin-bottom: 1.75rem;
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  line-height: 1.5;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.25rem;
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(111, 232, 255, 0.55);
  border-radius: 999px;
  background: rgba(111, 232, 255, 0.1);
  color: #fff;
  font-weight: 700;
  text-shadow: none;
}

.soon::before {
  content: "";
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--beacon);
  box-shadow: 0 0 10px var(--beacon);
}

.cta a {
  font-weight: 600;
}

/* Apple's badge, unedited; at least 40px high, with a quarter of its height clear around it (the .cta gap) */
.store {
  display: inline-block;
  border-radius: 8px;
  line-height: 0;
}

.store img {
  display: block;
  width: auto;
  height: 3rem;
}

.disclosure {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.disclosure strong {
  color: var(--text);
}

.hero-art {
  position: relative;
  margin-top: calc(-1 * clamp(1.5rem, 12vw, 15rem));
}

.hero-art img {
  display: block;
  width: 100%;
  min-height: 15rem;        /* phones: a taller crop that keeps the bandits and the Beacon */
  max-height: 86vh;
  object-fit: cover;
  object-position: 40% 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 88%, transparent 100%);
}

/* What you do: three beats, picture and words side by side on wider screens */
.beats {
  display: grid;
  gap: clamp(3rem, 7vw, 5.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.beats li + li {
  margin-top: 0;
}

.beat {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.beat p {
  margin: 0;
  color: var(--muted);
}

.beat h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.beat .eyebrow {
  margin-bottom: 0.5rem;
}

.payoff {
  margin: clamp(3rem, 7vw, 5rem) auto 0;
  max-width: 40rem;
  text-align: center;
  font-size: clamp(1.25rem, 2.6vw, 1.625rem);
  font-weight: 700;
  line-height: 1.4;
  text-wrap: balance;
}

.payoff span {
  color: var(--beacon);
}

/* Screenshots: swipe on phones, a grid on wider screens */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: 0.875rem;
  margin: 0 calc(-1 * var(--gutter));
  padding: 0 var(--gutter) 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  list-style: none;
}

.gallery li + li {
  margin-top: 0;
}

.gallery li {
  scroll-snap-align: start;
}

.gallery figure {
  margin: 0;
}

.gallery figcaption {
  margin-top: 0.625rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.swipe-hint {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

/* In the game */
.features {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.features > li + li {
  margin-top: 0;
}

.feature {
  height: 100%;
  padding: 1.375rem 1.375rem 0.75rem;
  border: 1px solid var(--border);
  border-top: 3px solid var(--amber);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature ul {
  padding-left: 1.125rem;
  list-style: disc;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.feature li::marker {
  color: var(--amber);
}

/* Gems, crates and ads */
.fair {
  display: grid;
  gap: 1.5rem 3rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--border);
  border-left: 4px solid var(--beacon);
  border-radius: var(--radius);
  background: var(--surface);
}

.fair h2 {
  font-size: clamp(1.625rem, 3.4vw, 2.25rem);
}

.fair ul {
  margin: 0;
  padding-left: 1.125rem;
  color: var(--muted);
}

.fair li::marker {
  color: var(--beacon);
}

.fair p:last-child {
  margin-bottom: 0;
}

/* Help and information */
.home .cards {
  margin: 0 0 2rem;
}

.home .cards a:hover {
  border-color: var(--beacon);
}

.needs {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.home .site-footer {
  margin-top: 0;
}

@media (min-width: 40rem) {
  :root {
    --gutter: 1.5rem;
  }

  .gallery {
    grid-auto-columns: 62%;
  }
}

@media (min-width: 48rem) {
  .beat {
    grid-template-columns: 7fr 5fr;
    gap: clamp(2rem, 5vw, 4rem);
  }

  /* Alternate the picture side */
  .beat.flip .shot-wrap {
    order: 2;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .fair {
    grid-template-columns: 5fr 6fr;
    align-items: start;
  }

  /* Two wide shots over three */
  .gallery {
    grid-auto-flow: row;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .gallery li {
    grid-column: span 2;
  }

  .gallery li:nth-child(-n + 2) {
    grid-column: span 3;
  }

  .swipe-hint {
    display: none;
  }
}

@media (min-width: 64rem) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .soon::before {
    animation: beacon-pulse 2.4s ease-in-out infinite;
  }

  @keyframes beacon-pulse {
    50% {
      opacity: 0.45;
      box-shadow: 0 0 2px var(--beacon);
    }
  }
}

@media (forced-colors: active) {
  .feature,
  .fair,
  .soon {
    border: 1px solid CanvasText;
  }

  .hero-art img {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media print {
  :root {
    color-scheme: light;
    --text: #000;
    --muted: #333;
    --surface: #fff;
    --border: #999;
    --beacon: #000;
    --amber: #000;
  }

  .hero-art,
  .gallery,
  .swipe-hint {
    display: none;
  }

  .home,
  .hero {
    background: none;
  }
}
