/* Shared styles for the GitHub Pages site (index.html, privacy/). Same palette
   and type as the app; fonts are self-hosted, nothing loads from elsewhere. */

@font-face {
  font-family: 'Inter Tight';
  src: url('fonts/inter-tight-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Unbounded';
  src: url('fonts/unbounded-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --ink: #14161f;
  --muted: color-mix(in oklab, var(--ink) 60%, transparent);
  --line: color-mix(in oklab, var(--ink) 11%, transparent);
  --field: #f1f2f6;
  --key: #ffffff;
  --key-edge: #dfe1e8;
  --accent: #2f5bff;
  --good: #12a150;
  --coral: #ff5a4e;
  --peach: #ffb347;
  --card: #f6f7fa;
  --font: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
  --display: 'Unbounded', var(--font);
  --max: 1080px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0f1016;
    --ink: #eceef5;
    --field: #1c1e28;
    --key: #2a2d3a;
    --key-edge: #14161f;
    --accent: #7d97ff;
    --good: #3fcf7c;
    --card: #171922;
  }
}
:root[data-theme='dark'] {
  --bg: #0f1016;
  --ink: #eceef5;
  --field: #1c1e28;
  --key: #2a2d3a;
  --key-edge: #14161f;
  --accent: #7d97ff;
  --good: #3fcf7c;
  --card: #171922;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--accent);
  text-underline-offset: 3px;
}
img {
  max-width: 100%;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Top bar */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.top nav {
  display: flex;
  gap: 20px;
  font-size: 15px;
  font-weight: 600;
}
.top nav a {
  color: var(--muted);
  text-decoration: none;
}
.top nav a:hover {
  color: var(--ink);
}

/* Store badges */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.stores img {
  display: block;
  height: 48px;
  width: auto;
}
.stores a {
  border-radius: 10px;
  transition: transform 0.15s;
}
.stores a:hover {
  transform: translateY(-2px);
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(26px, 4vw, 36px);
  margin: 0 0 8px;
}
.lead {
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 60ch;
}
section {
  padding: 72px 0 0;
}

footer {
  margin-top: 96px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer a {
  color: var(--muted);
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 16px;
  }
  body {
    font-size: 16px;
  }
  .top nav {
    gap: 14px;
    font-size: 14px;
  }
  section {
    padding-top: 56px;
  }
}
