/* Copied from phase0/landing/base.css on 2026-10-19: only the rules the engine pages use.
   Edit here, not in the landing folder. Since the UX pass of 2026-10-25 the tokens, fonts and
   pill buttons match the landing page (site.css), so sign in and the watchlist look like the
   same site. Palette v2 of 2026-10-25 (site.css head): cool slate neutrals, navy ink and the
   logo's green as the one accent, with --danger the same red as the Sold pill. Contrast for
   every pair is listed in app.css. */
@font-face { font-family: "Inter"; src: url("/fonts/inter-var-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
/* IBM Plex Mono subset, named FA Mono as in site.css (Reserved Font Name under its OFL). */
@font-face { font-family: "FA Mono"; src: url("/fonts/fa-mono-500-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; }
:root {
  color-scheme: light dark;
  --bg: #f5f7fa; --surface: #ffffff; --ink: #14263f; --muted: #556275;
  --line: #dfe5ec; --field: #7d8898; --note-bg: #edf1f5;
  --accent: #1d7a4c; --accent-ink: #ffffff; --accent-soft: #e7f3ec; --danger: #c62828;
  --focus: #1d7a4c;
  --shadow: 0 1px 2px rgb(20 38 63 / 0.06), 0 8px 24px rgb(20 38 63 / 0.06);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "FA Mono", ui-monospace, "Cascadia Mono", "Courier New", monospace;
  --radius: 14px; --max: 720px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1220; --surface: #131d2f; --ink: #e6ebf2; --muted: #9ba8ba;
    --line: #243149; --field: #66758c; --note-bg: #1a2639;
    --accent: #33c17a; --accent-ink: #0b1220; --accent-soft: #11302a; --danger: #f26b6b;
    --focus: #33c17a;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px rgb(0 0 0 / 0.25);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  overflow-wrap: break-word;
}
/* Headings in Inter with tight tracking, as site.css sets them since the marketing redesign. */
h1, h2 { font-family: var(--sans); font-weight: 600; text-wrap: balance; letter-spacing: -0.02em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

header.top { padding: 14px 0; border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; }
.brand { font-weight: 700; letter-spacing: 0.2px; display: inline-flex; align-items: center; min-height: 44px; border-radius: 8px; }
.brand img { display: block; width: 118px; height: auto; }

section { padding: 28px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 22px; line-height: 1.25; margin: 0 0 12px; }
section p { margin: 0 0 12px; }

button.cta, a.cta {
  font: inherit; font-weight: 600; background: var(--accent); color: var(--accent-ink);
  border: 1px solid transparent; border-radius: 999px; min-height: 44px; padding: 10px 22px;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center;
  justify-content: center; text-align: center; line-height: 1.2;
}
button.cta:hover, a.cta:hover { filter: brightness(1.08); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.fine { font-size: 14px; color: var(--muted); }
.fine a { color: var(--accent); }

footer { padding: 32px 0 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer p { margin: 0 0 8px; }
footer a { color: inherit; }
