/* The landing page's look for the static pages (Resources, Guides, Android beta): its fonts, menu, footer and colours,
   light and dark. Loaded after each page's own <style>, so it wins where the two disagree. Keep in step with
   src/pages/Landing.css and src/components/PublicLayout.jsx. */
:root {
  --bg: #f8f9fa; --surface: #fff; --text: #111827; --body: #1f2937; --muted: #5c6370; --border: #e5e7eb;
  --accent: #2563eb; --accent-text: #2563eb; --tint: #eff6ff; --tint-text: #1e3a8a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111827; --surface: #1f2937; --text: #f9fafb; --body: #e5e7eb; --muted: #aab2bf; --border: #374151;
    --accent-text: #7ab6fb; --tint: #1e3a5f; --tint-text: #dbeafe;
  }
}

body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg); color: var(--text);
  -webkit-font-smoothing: antialiased; }
a { color: var(--accent-text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Menu */
.site-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.875rem 1.75rem;
  border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 100; }
.site-nav-brand { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.site-nav-brand img { width: 28px; height: 28px; border-radius: 7px; display: block; }
.site-nav-logo { font-family: 'Schibsted Grotesk', 'Inter', sans-serif; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; }
.site-nav-links { display: flex; gap: 1.75rem; }
.site-nav-links a, .site-nav-signin { font-size: 0.875rem; font-weight: 500; color: var(--muted); text-decoration: none; }
.site-nav-signin { color: var(--text); }
.site-nav-links a:hover, .site-nav-signin:hover { color: var(--accent-text); text-decoration: none; }
.site-nav-actions { display: flex; align-items: center; gap: 1rem; }
.site-nav-cta { display: inline-block; background: var(--accent); color: #fff !important; padding: 0.45rem 0.9rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; text-decoration: none; }
.site-nav-cta:hover { background: #1d4ed8; text-decoration: none; }
@media (max-width: 760px) { .site-nav-links { display: none; } .site-nav { padding: 0.75rem 1rem; } }
@media (pointer: coarse) { .site-nav-signin, .site-nav-cta { min-height: 44px; display: inline-flex; align-items: center; } }

/* Page header and article, in the landing type */
.article { max-width: 720px; }
h1, h2, .tag, .site-hero-title { font-family: 'Schibsted Grotesk', 'Inter', sans-serif; }
h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); letter-spacing: -0.035em; line-height: 1.05; color: var(--text); text-wrap: balance; }
h2 { font-size: 1.45rem; letter-spacing: -0.02em; color: var(--text); }
h3, .faq dt { color: var(--text); }
p, li, .faq dd { color: var(--body); }
.tag { font-size: 0.95rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--accent-text); }
.breadcrumb, .breadcrumb a, .meta { color: var(--muted); }
.meta { border-bottom-color: var(--border); }
.related, .site-footer { border-top-color: var(--border); }
.callout { background: var(--tint); border-left-color: var(--accent); }
.callout p { color: var(--tint-text); }
.cta-box { background: #1d4ed8; border-radius: 20px; }
.cta-box h3 { font-family: 'Schibsted Grotesk', 'Inter', sans-serif; font-size: 1.5rem; letter-spacing: -0.02em; }
.cta-btn { border-radius: 999px; color: #1d4ed8; }
.store-links { color: #fff; }

/* The product picture under each page's title */
.site-shot { margin: 0 0 2.5rem; }
/* The pictures carry their own device frame, so no card around them; a soft shadow sets them on the page. */
.site-shot img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 36px rgba(15, 23, 42, 0.16)); }
.site-shot.phone { max-width: 260px; margin-left: auto; margin-right: auto; }

/* Guides index cards */
.guide-card { background: var(--surface) !important; border-color: var(--border) !important; }
.guide-card h2 { color: var(--text); }
.guide-card p { color: var(--body); }

/* Footer, as on the landing page */
.site-footer { padding: 3rem 1.5rem 2.5rem; }
.site-footer-inner { max-width: 1100px; }
.site-footer-logo { font-family: 'Schibsted Grotesk', 'Inter', sans-serif; background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.site-footer-tagline, .site-footer-copy, .site-footer-copy a, .site-footer-col a { color: var(--muted); }
.site-footer-col h2 { font-family: 'Inter', sans-serif; color: var(--text); }
.site-footer-col a:hover { color: var(--accent-text); }
@media (pointer: coarse) { .site-footer-col a { min-height: 32px; display: flex; align-items: center; } }

/* A raw phone screenshot has no frame of its own */
.site-shot.phone img { border-radius: 28px; }

/* Page heads (Guides, Android beta, Support): the landing's pattern of eyebrow, display heading and lead, straight on
   the page background. No white band, no blue gradient, same on every static page. */
.hero { background: none !important; border-bottom: 0 !important; padding: 4rem 1.5rem 1rem !important; text-align: center; }
.hero h1 { color: var(--text) !important; font-size: clamp(2.1rem, 5vw, 3.1rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05;
  margin: 0 auto 1rem; max-width: 18em; }
.hero p { color: var(--muted) !important; font-size: 1.05rem; line-height: 1.6; max-width: 36rem; margin: 0 auto; }
.hero .hero-eyebrow { font-size: 0.95rem !important; font-weight: 600; letter-spacing: 0 !important; text-transform: none !important;
  color: var(--accent-text) !important; margin: 0 auto 0.6rem; }
.step { background: var(--surface); border-color: var(--border); }
/* Numbered steps in the landing's style: dark numbers, not brand-blue discs. */
.step-num { background: var(--text) !important; color: var(--bg) !important; }
.step-label { color: var(--text); }
.step-desc { color: var(--body); }
.step-btn { border-radius: 999px; min-height: 36px; display: inline-flex; align-items: center; }
.site-note { font-size: 0.85rem; color: var(--body); background: var(--tint); border-radius: 8px; padding: 0.6rem 0.9rem; margin: 0 0 1.5rem; }
.formula { background: var(--surface) !important; border-color: var(--border) !important; color: var(--text); }

/* Dark mode for the bits each page colours itself */
.guide-tag { color: var(--accent-text) !important; }
[style*="color:#6b7280"] { color: var(--muted) !important; }
.note { color: var(--muted) !important; border-top-color: var(--border) !important; }
.note a { color: var(--accent-text) !important; }
/* The App Store link under each sign-up box: a full-size tap target */
.store-links a { display: inline-block; padding: 0.35rem 0; min-height: 24px; }
.guide-meta { color: var(--muted) !important; }
