/* Website design tokens (palette A "deep ink", approved 2026-11-23).
   The brand orange #ff7900 is fixed: every real primary action uses it.
   Text on --bg/--s1/--s2 keeps at least 7:1 contrast; text is never under 13px.
   web.css reads only these names; the account center and admin console keep
   their own generated palette (scripts/brand-palette.mjs). */
:root {
  /* surfaces: page, panel, card, hover */
  --bg: #0c0f15;
  --s1: #151a22;
  --s2: #1b212b;
  --s3: #272f3c;
  /* text: primary and secondary */
  --tx: #f7f8fa;
  --t2: #c8cfdb;
  /* brand orange, its hover and the ink drawn on it */
  --or: #ff7900;
  --orh: #ff9636;
  --ink: #1b1005;
  /* hairlines: separators and frames */
  --ln: #a9bcdc1f;
  --ln2: #a9bcdc38;
  /* status */
  --ok: #7df0b8;
  --wa: #ffe27a;
  --da: #ffb4bf;
  --in: #8fd6ff;

  /* type */
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --fs-body: 16px;
  --lh-body: 1.75;
  --fw-body: 400;
  --fs-h1: 60px;
  --fs-h2: 40px;
  --fs-h3: 20px;
  --fs-h4: 17px;
  --fs-small: 14px;
  --fs-min: 13px;

  /* radii: controls, cards, image frames, corner notches */
  --r-control: 10px;
  --r-card: 12px;
  --r-frame: 16px;
  --notch: 24px;
}

/* layout: content width, section rhythm and the full-bleed edge */
.site {
  --w: min(1280px, calc(100% - 160px));
  --sec: 120px;
  --edge: max(80px, calc((100vw - 1280px) / 2));
}
