/* /scout/ — Rectoly Scout's page (2026-11-26; lib/pages/scout.js). Loaded after rectoly.css on that page only
   (SCOUT_CSS_VERSION in lib/pages/scout.js: raise it with any change here), so the other pages and their
   CSS_VERSION are untouched. Everything else on the page is the site's own: the hero, the feature cards, the
   top page's #connect flow and principles, the family's tiles, the FAQ. Scout's colour is its icon's violet
   cover (#7C62B0), used only as a glow. */
.app-scout { --app: #7c62b0; }

/* The hero: the text, and today's three on an iPhone. */
.hero-scout { grid-template-columns: 1.15fr 0.85fr; padding-bottom: 96px; }
.hero-scout .hero-content { max-width: 580px; }
.hero-scout h1 { font-size: clamp(40px, 4.8vw, 58px); line-height: 1.08; }
.hero-scout p { max-width: 520px; margin-bottom: 32px; }
.hero-scout .hero-note { font-size: 14px; line-height: 1.6; margin: 24px 0 0; color: var(--text-dim); }
.scout-app { display: flex; align-items: center; gap: 12px; margin: -8px 0 18px; font-size: 15px; font-weight: 600; color: #fff; }
.scout-app img { width: 40px; height: 40px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255,255,255,0.08); }

/* A screen in an iPhone's frame (the /read/ page's, with Scout's violet glow). */
.scout-phone {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  padding: 9px;
  border-radius: 40px;
  background: #1a1d24;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 25px 70px rgba(0,0,0,0.5), 0 0 60px rgba(124,98,176,0.18);
}
.scout-phone img { display: block; width: 100%; height: auto; border-radius: 31px; background: #f2f2f7; }
.scout-phone--hero { max-width: 320px; box-shadow: 0 30px 90px rgba(0,0,0,0.55), 0 0 120px rgba(124,98,176,0.28); }

/* Three more screens, with their captions. */
.scout-phones-section { padding: 120px 40px; border-top: 1px solid var(--border); background: var(--bg-raised); }
.scout-phones { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.scout-phones figure { margin: 0; text-align: center; }
.scout-phones figcaption { margin-top: 18px; font-size: 15px; font-weight: 600; color: var(--text); }

/* The section headings of the page: two short lines. */
.scout-phones-section .section-head h2,
#how .section-head h2,
#need .section-head h2,
.scout-cta .section-head h2 { line-height: 1.12; }

/* #privacy: the principles' columns under the heading. */
#privacy .principles { margin-top: 64px; }

/* #need: the two reading apps, then the small print. */
.scout-need-tiles { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.scout-need-notes {
  list-style: none;
  max-width: 760px;
  margin: 32px auto 0;
  display: grid;
  gap: 10px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}
.scout-need-notes li { position: relative; padding-inline-start: 22px; }
.scout-need-notes li::before {
  content: '';
  position: absolute;
  inset-inline-start: 4px;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
}
.scout-need-notes li:last-child { color: var(--text-dim); font-size: 14px; }

/* The last word: the icon, a line, the App Store badge. */
.scout-cta { padding: 110px 40px 120px; border-top: 1px solid var(--border); background: radial-gradient(ellipse at 50% 0%, rgba(124,98,176,0.16), transparent 60%); }
.scout-cta .section-head { margin-bottom: 32px; }
.scout-cta-icon { display: block; width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 12px 32px rgba(0,0,0,0.4); }
.scout-cta .store-badges--block { margin-bottom: 0; }

@media (max-width: 1000px) {
  .scout-need-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-scout { grid-template-columns: 1fr; padding-bottom: 72px; }
  .hero-scout h1 { font-size: 36px; }
  .hero-scout .hero-note { margin-top: 20px; }
  .scout-phone--hero { max-width: min(260px, 70vw); }
  .scout-phones-section, .scout-cta { padding: 80px 20px; }
  .scout-phones { grid-template-columns: 1fr; max-width: 260px; gap: 40px; }
  .scout-phone { padding: 7px; border-radius: 34px; }
  .scout-phone img { border-radius: 27px; }
  #privacy .principles { margin-top: 40px; }
  .scout-need-notes { text-align: start; font-size: 14px; }
}
@media (max-width: 640px) {
  .scout-need-tiles { grid-template-columns: 1fr; }
}
