/* Lingomotive web: landing page and privacy policy.
   Colours are the app's art tokens (Common/Design/onboarding/README.md, achievements/README.md). */
:root {
  --bg: #FBF8F6;
  --bg-tint: #FFF1EA;
  --surface: #FFFFFF;
  --surface-2: #F4F1EF;
  --ink: #1C1C1E;
  --text: #3A3A3C;
  --muted: #6E6E73;
  --line: #E5E5EA;
  --line-2: #D1D1D6;
  --teal: #14B8A6;
  --teal-ink: #0F766E;
  --accent: #FF9500;
  --gold: #FFC53D;
  --purple: #B83BD1;
  --coral: #FF5A55;
  --orange: #FF7A40;
  --brand: linear-gradient(45deg, #B83BD1 0%, #FF5A55 55%, #FF7A40 100%);
  --halo: rgba(255, 122, 64, .10);
  --tier-1: #FF7333;
  --tier-2: #FFA626;
  --tier-3: #F2CC26;
  --tier-4: #A6CC33;
  --tier-5: #4DBF4D;
  --shadow: 0 4px 10px rgba(0, 0, 0, .06), 0 14px 34px rgba(0, 0, 0, .06);
  --shadow-lg: 0 6px 16px rgba(0, 0, 0, .08), 0 24px 60px rgba(184, 59, 209, .12);
  --radius: 24px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E0E10;
    --bg-tint: #1A1214;
    --surface: #1C1C1E;
    --surface-2: #2C2C2E;
    --ink: #F2F2F7;
    --text: #D1D1D6;
    --muted: #98989D;
    --line: #3A3A3C;
    --line-2: #48484A;
    --teal: #2DD4BF;
    --teal-ink: #2DD4BF;
    --halo: rgba(255, 122, 64, .14);
    --shadow: none;
    --shadow-lg: 0 24px 60px rgba(184, 59, 209, .18);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-ink); font-weight: 650; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--ink); font-family: var(--font-display); letter-spacing: -.025em; line-height: 1.1; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.gradient-text {
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Install banner (shown by script on phones) */
.install-banner {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.install-banner.show { display: flex; }
.install-banner img { width: 36px; height: 36px; border-radius: 9px; }
.install-banner span { flex: 1; color: var(--ink); font-weight: 650; }
.install-banner a { background: var(--brand); color: #fff; padding: 6px 14px; border-radius: 999px; font-weight: 700; }
.install-banner button { background: none; border: 0; color: var(--muted); font-size: 1.3rem; cursor: pointer; padding: 0 4px; }

/* Top bar */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line); }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--text); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav .pill { background: var(--ink); color: var(--bg); padding: 8px 16px; border-radius: 999px; }
.nav .pill:hover { color: var(--bg); opacity: .9; }
@media (max-width: 760px) { .nav a:not(.pill) { display: none; } }

/* Buttons and store badges */
.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badges a { display: inline-block; border-radius: 10px; transition: transform .15s; }
.badges a:hover { transform: translateY(-2px); }
.badges img { height: 52px; width: auto; }

/* Section scaffolding */
section { padding: 96px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-ink);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--teal); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; }
.section-head p { margin-top: 16px; font-size: 1.15rem; color: var(--muted); }

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
@media (prefers-color-scheme: light) { .card { border-color: transparent; } }

/* Footer */
.footer { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a { color: var(--text); font-weight: 600; }
