/* ============================================================
   Pyrority — /download page
   Post-launch. Single-column, badge-forward. No form, no pitch.
   All sections are scoped to `body.pyrority-page--download` so
   they never bleed onto other pages.
   ============================================================ */

body.pyrority-page--download .amber-period { color: var(--white-hot); }

/* Match the manifesto/how-it-works convention: active nav item
   reads in amber on this page. */
body.pyrority-page--download .nav-current {
  color: var(--amber) !important;
  font-weight: 500;
}

/* ============================================================
   Hero
   ============================================================ */
body.pyrority-page--download main.download-page { display: block; }

.download-hero {
  padding: 96px 0 56px;
  text-align: center;
}

.download-hero .container {
  max-width: 780px;
  padding-left: 32px;
  padding-right: 32px;
}

.download-eyebrow {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 28px;
}

.download-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 auto 24px;
  max-width: 12ch;
}

.download-sub {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 auto 36px;
  max-width: 56ch;
}

/* Center the shared .download-badge-row on this page. */
.download-hero .download-badge-row {
  justify-content: center;
  margin: 12px 0 18px;
}

.download-hero .download-helper {
  text-align: center;
  margin-top: 12px;
}

/* ============================================================
   Screenshots row
   ============================================================ */
.download-screenshots {
  padding: 24px 0 96px;
}

.download-screenshots .container {
  max-width: 1080px;
  padding-left: 32px;
  padding-right: 32px;
}

.download-shots-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: end;
}

.download-shot {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  box-shadow:
    0 30px 60px -30px rgba(0, 0, 0, 0.7),
    0 12px 28px -18px rgba(0, 0, 0, 0.5);
}

/* App Store preview composites already ship on black with their own
   tagline + phone, so drop the surface treatment and let the artwork
   read edge-to-edge against the page. */
.download-shot--bundled {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.download-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.download-shot figcaption {
  padding: 12px 16px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
}

/* Placeholder cards until real screenshots ship. */
.download-shot--placeholder {
  aspect-ratio: 9 / 19.5;
  background:
    linear-gradient(180deg, rgba(239, 159, 39, 0.06) 0%, rgba(239, 159, 39, 0) 60%),
    var(--surface-2);
  position: relative;
}

.download-shot--placeholder::after {
  content: 'Screenshot';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dimmer);
}

/* ============================================================
   Features list ("What you get")
   ============================================================ */
.download-features {
  padding: 72px 0 96px;
  background: var(--base-deeper);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.download-features .container {
  max-width: 720px;
  padding-left: 32px;
  padding-right: 32px;
}

.download-features-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 28px;
}

.download-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.download-features-list li {
  position: relative;
  padding-left: 32px;
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-muted);
}

.download-features-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--amber);
}

.download-features-list li::after {
  content: '';
  position: absolute;
  left: 2.5px;
  top: 11.5px;
  width: 6px;
  height: 3px;
  border-bottom: 1.5px solid var(--amber);
  border-left: 1.5px solid var(--amber);
  transform: rotate(-45deg);
}

/* ============================================================
   Curiosity CTA (manifesto link)
   ============================================================ */
.download-curiosity {
  padding: 72px 0 112px;
  text-align: center;
}

.download-curiosity .container {
  max-width: 640px;
  padding-left: 32px;
  padding-right: 32px;
}

.download-curiosity-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 1.9vw, 26px);
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 16px;
}

.download-curiosity-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--amber-deep);
  padding-bottom: 3px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.download-curiosity-link:hover {
  color: #ffb544;
  border-color: var(--amber);
}

/* ============================================================
   Tablet
   ============================================================ */
@media (max-width: 900px) {
  .download-hero { padding: 72px 0 40px; }
  .download-shots-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .download-shots-row .download-shot:nth-child(3) { display: none; }
  .download-features { padding: 56px 0 72px; }
  .download-curiosity { padding: 56px 0 96px; }
}

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 620px) {
  .download-hero { padding: 56px 0 28px; }
  .download-hero .container { padding: 0 20px; }
  .download-headline { max-width: 100%; }

  .download-screenshots { padding: 16px 0 72px; }
  .download-screenshots .container { padding: 0 20px; }
  .download-shots-row {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
  .download-shots-row .download-shot:nth-child(3) { display: none; }

  .download-features { padding: 48px 0 56px; }
  .download-features .container { padding: 0 20px; }
  .download-features-list li { font-size: 16px; }

  .download-curiosity { padding: 48px 0 72px; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .app-store-badge,
  .app-store-badge:hover { transform: none; }
}
