/* Akimoa.com document pages (principles, security, privacy, terms): same dark look as the home page, set for reading. */

@font-face { font-family: Inter; src: url(assets/fonts/Inter-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(assets/fonts/Inter-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url(assets/fonts/Inter-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #090714; --surface: rgba(255, 255, 255, 0.04); --border: rgba(255, 255, 255, 0.09);
  --text: #f4f2fa; --muted: #a8a2bd; --brand: #7357ff; --brand-2: #a993ff; --teal: #2dd4bf;
  --note-bg: rgba(245, 165, 36, 0.12); --note-line: rgba(245, 165, 36, 0.5);
  --wordmark-filter: brightness(0) invert(1);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f7f6fb; --surface: #ffffff; --border: #e4e0f0; --text: #15121f; --muted: #5b5670;
  --brand: #5b3ff0; --brand-2: #5b3ff0; --teal: #0f9f8f;
  --note-bg: #fff4e5; --note-line: #f0c27b; --wordmark-filter: none;
  color-scheme: light;
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.7 Inter, system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(600px 360px at 70% -120px, rgba(115, 87, 255, 0.28), transparent);
  background-repeat: no-repeat;
}
.doc-header, main, footer { width: min(780px, 100% - 32px); margin: 0 auto; }
.doc-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img:first-child { width: 32px; height: auto; }
.brand img:last-child { height: 20px; width: auto; filter: var(--wordmark-filter); }
.back { color: var(--muted); text-decoration: none; font-size: 14px; }
.back:hover { color: var(--text); }

.eyebrow { display: inline-block; margin-top: 28px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-2); }
h1 { font-size: clamp(30px, 4vw, 40px); line-height: 1.15; letter-spacing: -0.02em; margin: 8px 0 8px; }
h2 { font-size: 21px; letter-spacing: -0.01em; margin: 40px 0 10px; }
h3 { font-size: 17px; margin: 24px 0 6px; }
p, li { color: var(--text); }
.muted { color: var(--muted); }
.lead { color: var(--muted); font-size: 17px; }
a { color: var(--brand-2); }
ul { padding-left: 22px; }
li { margin: 5px 0; }
.summary, .card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 10px 22px; margin: 24px 0; }
.todo { background: var(--note-bg); border: 1px dashed var(--note-line); border-radius: 8px; padding: 1px 7px; font-weight: 600; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--border); }
th { font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* Principles and safety lists */
.list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.list li { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px 20px; }
.list li strong { display: block; font-size: 16.5px; margin-bottom: 2px; }
.list li span { color: var(--muted); font-size: 15px; }
.code { float: right; margin-left: 12px; font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.status { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; margin-left: 8px; vertical-align: 2px; }
.status-live { color: var(--teal); background: color-mix(in srgb, var(--teal) 14%, transparent); }
.status-planned { color: var(--brand-2); background: color-mix(in srgb, var(--brand) 16%, transparent); }

footer { padding: 48px 0 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--border); margin-top: 56px; }
footer a { color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; }
