/* Nuqta site - colours from src/styles/tokens.css ("Soft Pebble"). */
:root {
  --bg: #e6e4df;
  --surface: #faf9f7;
  --sunken: #f2f1ee;
  --line: rgba(29, 28, 26, 0.08);
  --text: #1d1c1a;
  --text-2: #5f5d58;
  --accent: #5a5ce6;
  --shadow: 0 1px 2px rgba(24, 22, 18, 0.06), 0 10px 28px rgba(24, 22, 18, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121213;
    --surface: #1c1c1e;
    --sunken: #242426;
    --line: rgba(255, 255, 255, 0.08);
    --text: #f3f2ef;
    --text-2: #b5b3ae;
    --accent: #8f90ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 10px 28px rgba(0, 0, 0, 0.45);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, "Segoe UI Variable Text", "Segoe UI", -apple-system, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }

.top { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 7px; }
nav a { color: var(--text-2); font-weight: 550; }

.hero { text-align: center; padding: 56px 0 40px; }
.appicon { border-radius: 22px; box-shadow: var(--shadow); }
h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.15; letter-spacing: -0.02em; margin: 28px auto 14px; max-width: 16em; }
.lead { color: var(--text-2); font-size: 18px; max-width: 34em; margin: 0 auto; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 24px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 24px; box-shadow: var(--shadow); }
.card h2 { font-size: 18px; margin: 10px 0 6px; letter-spacing: -0.01em; }
.card p { color: var(--text-2); margin: 0; }
.dot { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.note { margin: 16px 0 48px; }
.note h2 { margin-top: 0; }

.doc { margin: 24px auto 48px; padding: clamp(24px, 5vw, 48px); }
.doc h1 { text-align: left; margin: 0 0 6px; font-size: 34px; }
.doc h2 { font-size: 19px; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--text-2); }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc b, .doc code { color: var(--text); }
code { background: var(--sunken); border-radius: 6px; padding: 1px 6px; font-size: 0.92em; }
.muted { color: var(--text-2); font-size: 14px; }

.foot { display: flex; justify-content: space-between; padding: 24px 16px 40px; color: var(--text-2); font-size: 14px; border-top: 1px solid var(--line); }
