/* axi0 Notebook (/notebook/): the axi0 family look, as on Notes. True black, Instrument Sans, the orange core as the one
   accent. No inline styles in the markup (the page runs under style-src 'self'). */
@font-face {
  font-family: "Instrument Sans";
  src: url(/axi0/fonts/instrument-sans-latin-var.woff2) format("woff2");
  font-weight: 400 700;
  font-display: optional;
}
:root {
  --bg: #000; --panel: #0a0a0c; --hover: #141418;
  --line: #1c1c21; --line2: #2a2a31; --line3b: #33333b;
  --head: #fff; --text: #d6d6dc; --text2: #c4c4cc; --icon: #b9b9c2; --soft: #b4b4bd;
  --lede: #a3a3ad; --mute: #8e8e98; --faint: #868692;
  --core: #f6a04d; --core-ink: #f6a04d; --core-hover: #ffb26a; --on-core: #000;
  --danger: #ff8f78; --uline: rgba(196, 196, 204, .45);
  color-scheme: dark;
}
html[data-axi0-theme="light"] {
  --bg: #f6f2ea; --panel: #fffdf9; --hover: #efe8dc;
  --line: #e6dfd3; --line2: #d3cabb; --line3b: #b9ae9c;
  --head: #17140f; --text: #2c2823; --text2: #3d3730; --icon: #4f4940; --soft: #4a433b;
  --lede: #4f4940; --mute: #675f54; --faint: #675f54;
  --core-ink: #9a4a0a; --danger: #b3261e; --uline: rgba(61, 55, 48, .45);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  html:not([data-axi0-theme="dark"]) {
    --bg: #f6f2ea; --panel: #fffdf9; --hover: #efe8dc;
    --line: #e6dfd3; --line2: #d3cabb; --line3b: #b9ae9c;
    --head: #17140f; --text: #2c2823; --text2: #3d3730; --icon: #4f4940; --soft: #4a433b;
    --lede: #4f4940; --mute: #675f54; --faint: #675f54;
    --core-ink: #9a4a0a; --danger: #b3261e; --uline: rgba(61, 55, 48, .45);
    color-scheme: light;
  }
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; min-height: 100vh; color: var(--text); background: var(--bg);
  font: 15px/1.55 "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased;
}
a { color: var(--core-ink); text-underline-offset: 3px; }
::selection { background: rgba(246, 160, 77, .35); }
[hidden] { display: none !important; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 8px 14px; border-radius: 999px; background: var(--core); color: var(--on-core); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--core-ink); outline-offset: 2px; }

/* ---- header (the app bar geometry itself comes from /axi0/launcher.css, header.top) ------------------------------ */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1080px; margin: 0 auto; padding: 22px 20px 8px; }
.mark { display: inline-flex; align-items: baseline; gap: .12em; color: var(--head); text-decoration: none; font-size: 26px; font-weight: 600; letter-spacing: -.045em; white-space: nowrap; }
.mark-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--core); box-shadow: 0 0 9px var(--core); transform: translateY(-2px); }
.mark-s { color: var(--mute); font-weight: 500; }
.top-right { display: flex; align-items: center; gap: 14px; }
.me-slot { position: relative; flex: none; width: 36px; height: 36px; }
.me-slot:empty { display: none; }

/* ---- layout ------------------------------------------------------------------------------------------------- */
main { max-width: 1080px; margin: 0 auto; padding: 4px 20px 24px; }
h1 { margin: 22px 0 8px; color: var(--head); font-size: clamp(32px, 5vw, 44px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.lede { max-width: 46em; margin: 0; color: var(--lede); }
.error { margin: 10px 0 0; color: var(--danger); font-size: 13px; }
.card { margin-top: 18px; padding: 22px 24px 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
h2 { margin: 0 0 12px; color: var(--head); font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.card > p { max-width: 60em; margin: 0 0 10px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 16px; margin: 0;
  border: 1px solid var(--line2); border-radius: 999px; background: var(--panel); color: var(--head); font: inherit; font-size: 14px;
  text-decoration: none; white-space: nowrap; cursor: pointer; transition: border-color .15s, background .15s;
}
.btn:hover { border-color: rgba(246, 160, 77, .7); }
.btn.primary { min-height: 44px; padding: 0 20px; border-color: var(--core); background: var(--core); color: var(--on-core); font-weight: 600; }
.btn.primary:hover { background: var(--core-hover); }
.facts { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--lede); font-size: 14px; }
.facts li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; }
.facts strong { display: block; margin-bottom: 4px; color: var(--head); font-weight: 600; }
@media (min-width: 860px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- footer ------------------------------------------------------------------------------------------------- */
.foot { max-width: 1080px; margin: 0 auto; padding: 4px 20px 44px; color: var(--faint); font-size: 12.5px; }
.foot p { margin: 0 0 6px; max-width: 60em; }
.foot a { color: var(--text2); text-decoration: underline; text-decoration-color: var(--uline); }
.foot a:hover { text-decoration-color: currentColor; }

@media (max-width: 600px) {
  .mark { font-size: 22px; }
  main { padding: 0 14px 20px; }
  .card { padding: 18px 16px 20px; border-radius: 18px; }
  .foot { padding: 4px 16px 36px; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
