/* The landing page's look for the static pages (Resources, Guides, Android beta): its fonts, menu 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. The footer isn't here: every page gets the shared one
   (src/components/SiteFooter.jsx and SiteFooter.css, put in place of <!-- SITE_FOOTER --> by scripts/site-footer.js). */

/* Inter and Schibsted Grotesk, served from /fonts (the Latin set from Google Fonts) and preloaded by each page, so text
   paints without waiting on another site. Until they arrive, Arial stands in, resized to the same width and height so
   nothing moves when they swap in. Each covers only the Latin set, like Google's files, so anything else (such as
   the → arrow) still comes from the system font. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/inter-latin-v20.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url(/fonts/schibsted-grotesk-latin-v7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter Fallback'; src: local('Arial'), local('ArialMT');
  size-adjust: 107.45%; ascent-override: 90.16%; descent-override: 22.45%; line-gap-override: 0%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Schibsted Grotesk Fallback'; src: local('Arial'), local('ArialMT');
  size-adjust: 102.35%; ascent-override: 95.41%; descent-override: 25.19%; line-gap-override: 0%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
: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', 'Inter Fallback', -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', 'Schibsted Grotesk Fallback', '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', 'Schibsted Grotesk Fallback', '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 { margin: 3rem 0 0; padding-top: 2rem; border-top: 1px solid var(--border); }
.related h2 { margin-top: 0; }
.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', 'Schibsted Grotesk Fallback', '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 p { color: var(--body); }

/* 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, .hero .hero-title { 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; font-size: 0.85rem !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; }
.guide-card h2, .guide-card h3 { color: var(--text); font-family: 'Schibsted Grotesk', 'Schibsted Grotesk Fallback', 'Inter', sans-serif; }
[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; }
