/* Crystal Grove: Puzzle — progressive enhancement above the mobile baseline */

@media (min-width: 600px) {
  .store-row { flex-direction: row; }
  .store-btn { flex: 1 1 0; }
  .store-row-centered { max-width: 520px; }
}

@media (min-width: 768px) {
  body { font-size: 17px; }

  .wrap { padding: 0 32px; }

  .site-header, .header-inner { height: 64px; }

  .header-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: 34px;
  }

  .header-nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    transition: color 0.25s var(--ease);
  }

  .header-nav a:hover { color: var(--text); }

  .header-cta { padding: 0 20px; }
  .header-cta-label { display: inline; }
  .header-cta-icon { display: none; }

  .hero { padding: 44px 0 72px; }

  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
  }

  /* Text panel leads on desktop, key art sits to its right */
  .hero-card {
    order: 1;
    margin-top: 0;
    padding: 34px 32px 36px;
    background: linear-gradient(160deg, rgba(27, 32, 71, 0.7), rgba(11, 14, 34, 0.62));
    backdrop-filter: blur(8px);
  }

  .hero-visual { order: 2; }

  .hero-icon { width: 88px; height: 88px; }
  .hero h1 { font-size: 44px; }
  .hero-lede { font-size: 18px; }

  .features, .download, .about { padding: 84px 0; }

  .section-title { font-size: 34px; }
  .section-lede { font-size: 18px; }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 40px;
  }

  .feature-card { padding: 26px 24px; }

  .download h2 { font-size: 40px; }
  .download-icon { width: 96px; height: 96px; }
  .download-lede { font-size: 18px; }

  .site-footer { padding: 48px 0 40px; }

  .footer-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 18px 40px;
  }

  .footer-links { justify-content: flex-end; margin: 0; }

  .footer-legal {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid var(--edge);
  }

  /* Sticky bar is a mobile-only affordance */
  .sticky-cta { display: none; }
}

@media (min-width: 1024px) {
  .hero { padding: 60px 0 96px; }
  .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .hero h1 { font-size: 54px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .download h2 { font-size: 46px; }
}
