/* terms.css — the terms page in the front page's light look (Arthur,
   2026-11-21: the terms "should be changed, yes", to match the new front
   page): paper with ink type, the front page's bar (the logo home, LOG
   IN), the text on one paper card with the pen's ink edge, and the front
   page's faint sea at the window's foot, as on the passenger page. */
html { background: var(--paper); }
body[data-page="terms"] { background: var(--paper); color: var(--ink); }
/* the faint sea (img/sea.png, tools/landing-sea.mjs) under everything; its
   own layer, so pixelated reaches nothing else */
body[data-page="terms"]::before { content: ""; position: fixed; z-index: 0; left: 0; right: 0; bottom: 0; height: 340px; pointer-events: none;
  background: url("img/sea.png") repeat-x left bottom / 128px 400px; image-rendering: pixelated; image-rendering: crisp-edges; }

/* the front page's bar (landing.css), the same sizes and words */
body[data-page="terms"] .bar { position: relative; z-index: 3; height: 56px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter); max-width: 1180px; margin: 0 auto; }
body[data-page="terms"] .brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 900; font-size: 18px; letter-spacing: 2px; text-transform: uppercase; }
body[data-page="terms"] .brand img { display: block; }
body[data-page="terms"] .login { font-weight: 700; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; line-height: 1;
  padding: 10px 14px 9px; border: 2px solid var(--ink); }
body[data-page="terms"] .login:hover { background: var(--ink); color: var(--paper); }

/* the text sits under the bar (the bar is in the page, not floating) */
body[data-page="terms"] .sheet { padding-top: 16px; }
body[data-page="terms"] .sheet a { color: var(--ink); font-weight: 700; }

/* scrollbars as on the front page: a square ink bar on a plain panel track, no arrows */
::-webkit-scrollbar { width: 14px; height: 14px; }
::-webkit-scrollbar-track { background: rgba(18, 21, 26, 0.08); }
::-webkit-scrollbar-thumb { background: var(--ink) padding-box; border: 3px solid transparent; border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background-color: rgba(18, 21, 26, 0.8); }
::-webkit-scrollbar-thumb:active { background-color: var(--accent); }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
@supports not selector(::-webkit-scrollbar) { html { scrollbar-color: var(--ink) rgba(18, 21, 26, 0.08); } }
