/* Appsocom brand, shared by docs.appsocom.dev and live.appsocom.com (and matching the console).
   Ink & Paper only: dark (default) and light. Dark neutrals come from appsotech.com,
   the accent is the Dialogue mark's periwinkle (blue on light backgrounds). */
:root, [data-theme="ink-dark"] {
  --bg: #070a13;
  --card: #121626;
  --raise: #1d2134;
  --text: #f8fafc;
  --muted: #94a3b8;
  --line: #2a2f46;
  --accent: #7d8fff;
  --accent-soft: rgba(125, 143, 255, 0.14);
  --accent-text: #070a13;
  --code: #0d1120;
  --mark-a: #f8fafc;
  --mark-b: #7d8fff;
  color-scheme: dark;
}
[data-theme="ink-light"] {
  --bg: #f6f4ee;
  --card: #ffffff;
  --raise: #efece3;
  --text: #0e1525;
  --muted: #5b6478;
  --line: #e2dfd5;
  --accent: #2b44e0;
  --accent-soft: rgba(43, 68, 224, 0.09);
  --accent-text: #ffffff;
  --code: #f0ede5;
  --mark-a: #0e1525;
  --mark-b: #2b44e0;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
}
h1, h2, h3, .display { font-family: "Bricolage Grotesque", "Geist", system-ui, sans-serif; letter-spacing: -0.01em; line-height: 1.15; }
a { color: var(--accent); }
code, pre, kbd { font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; }

.mark { width: 28px; height: 28px; flex: none; }
.mark .mark-a { stroke: var(--mark-a); }
.mark .mark-b { stroke: var(--mark-b); }
.mark .mark-dot { fill: var(--mark-a); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; }
.wordmark { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; letter-spacing: 0.08em; font-size: 17px; }
.product {
  font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
}
.theme-pick { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.theme-pick select {
  font: inherit; color: var(--text); background: var(--card); border: 1px solid var(--line);
  border-radius: 8px; padding: 4px 8px;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 10px;
  font-weight: 600; text-decoration: none; border: 1px solid transparent;
}
.btn.primary { background: var(--accent); color: var(--accent-text); }
.btn.ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn:focus-visible, a:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
