/* Landing templates - design tokens. Set <html data-theme="<slug>">. Theme comment format: N Name: short description. */
  :root {
    --sans: "Segoe UI", -apple-system, Roboto, Arial, sans-serif;
    --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
    --mono: "Cascadia Code", "JetBrains Mono", Consolas, ui-monospace, monospace;
    --grotesk: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --head: var(--sans); --body: var(--sans); --label: var(--sans); --pre: "";
    --hw: 700; --ht: -0.015em; --r: 12px; --r-sm: 8px; --rule: 2px; --pattern: none; --grid: transparent;
    --shadow: none; --em-bg: transparent; --em-deco: none; --psize: 32px 32px;
    --rule-style: solid; --em-style: normal; --ls: solid; --hs: normal; --fs: 17px;
  }

  /* 1 Beeswax: warm paper, serif headings, muted dark honey */
  [data-theme="vosk"] { --bg:#f6f1e7; --bg-2:#efe7d8; --surface:#fffdf8; --line:#e2d7c3; --ink:#231c12; --muted:#6b604f; --accent:#8a5a12; --on-accent:#fff; --accent-soft:#f3e6cc; --head: var(--serif); --band:#231c12; --on-band:#f6f1e7; }

  /* 2 Forest: light page, deep forest green */
  [data-theme="les"] { --bg:#f4f5f0; --bg-2:#e9ece3; --surface:#fff; --line:#dbe0d5; --ink:#14201a; --muted:#56635b; --accent:#1f5c45; --on-accent:#fff; --accent-soft:#e1ede5; --band:#14201a; --on-band:#f4f5f0; }

  /* 3 Night Forest: dark green-black, sage accent */
  [data-theme="noc"] { --bg:#0e1512; --bg-2:#121c17; --surface:#16211c; --line:#26352d; --ink:#e8efe9; --muted:#9aaba1; --accent:#7cc79d; --on-accent:#0e1512; --accent-soft:#1c2d24; --band:#7cc79d; --on-band:#0e1512; }

  /* 4 Terminal: black, monospace, phosphor green, square corners */
  [data-theme="terminal"] { --bg:#0b0d0b; --bg-2:#101310; --surface:#121612; --line:#263026; --ink:#d7e3d4; --muted:#8fa08c; --accent:#4ade80; --on-accent:#0b0d0b; --accent-soft:#16251a; --band:#4ade80; --on-band:#0b0d0b; --head: var(--mono); --label: var(--mono); --pre: "$ "; --hw: 600; --ht: -0.02em; --r: 0; --r-sm: 0; --rule: 1px; }

  /* 5 Blueprint: navy technical drawing, line grid, azure lines */
  [data-theme="blueprint"] { --bg:#0d2440; --bg-2:#0f2a4a; --surface:#11304f; --line:#2c4d74; --ink:#e6f0ff; --muted:#a3bad6; --accent:#7cc4ff; --on-accent:#0d2440; --accent-soft:#163a60; --band:#e6f0ff; --on-band:#0d2440; --label: var(--mono); --pre: "// "; --r: 2px; --r-sm: 2px; --rule: 1px; --grid: rgba(124,196,255,.08); --pattern: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); }

  /* 6 Swiss: white, black rules, signal red */
  [data-theme="swiss"] { --bg:#fff; --bg-2:#f2f2f2; --surface:#fff; --line:#111; --ink:#111; --muted:#4f4f4f; --accent:#d0271c; --on-accent:#fff; --accent-soft:#fbe9e7; --band:#d0271c; --on-band:#fff; --head: var(--grotesk); --hw: 800; --ht: -0.035em; --r: 0; --r-sm: 0; --rule: 6px; }

  /* 7 Datasheet: grey paper, cobalt, mono labels, hairlines */
  [data-theme="datasheet"] { --bg:#eef0f2; --bg-2:#e3e6e9; --surface:#fff; --line:#c6ccd3; --ink:#15191e; --muted:#4e5761; --accent:#1747c5; --on-accent:#fff; --accent-soft:#e2e9fa; --band:#15191e; --on-band:#eef0f2; --label: var(--mono); --pre: "§ "; --r: 2px; --r-sm: 2px; --rule: 1px; }

  /* 8 Lab: cool white, petrol teal, soft shapes */
  [data-theme="lab"] { --bg:#f7f9fa; --bg-2:#edf3f4; --surface:#fff; --line:#d7e1e4; --ink:#0f1d22; --muted:#4f6169; --accent:#0f766e; --on-accent:#fff; --accent-soft:#dcefed; --band:#0f3d3a; --on-band:#eef7f6; --r: 18px; --r-sm: 999px; --rule: 3px; --hw: 600; }

  /* 9 Acid: dark ink, acid yellow-green */
  [data-theme="acid"] { --bg:#0f1114; --bg-2:#15181c; --surface:#181c21; --line:#2a3038; --ink:#eef1f4; --muted:#9aa3ad; --accent:#d9f24a; --on-accent:#0f1114; --accent-soft:#232a14; --band:#d9f24a; --on-band:#0f1114; --head: var(--grotesk); --label: var(--mono); --hw: 800; --ht: -0.03em; --r: 4px; --r-sm: 4px; --rule: 1px; }

  /* 10 Console: light page, mono headings, black buttons, green highlight */
  [data-theme="console"] { --bg:#fbfbf8; --bg-2:#f1f1ec; --surface:#fff; --line:#d6d6cd; --ink:#111; --muted:#55554e; --accent:#111; --on-accent:#fff; --accent-soft:#eaf3ec; --em:#1a7f37; --band:#111; --on-band:#fbfbf8; --head: var(--mono); --label: var(--mono); --pre: "> "; --hw: 600; --ht: -0.03em; --r: 6px; --r-sm: 6px; --rule: 1px; }

  /* 11 Mainframe: graphite dark, IBM-like blue, light headings, square */
  [data-theme="mainframe"] { --bg:#161616; --bg-2:#1e1e1e; --surface:#262626; --line:#393939; --ink:#f4f4f4; --muted:#c6c6c6; --accent:#4589ff; --on-accent:#0b0b0b; --accent-soft:#1c2a45; --band:#4589ff; --on-band:#0b0b0b; --head: var(--grotesk); --label: var(--mono); --hw: 300; --ht: -0.01em; --r: 0; --r-sm: 0; --rule: 1px; }

  /* 12 Brutal: yellow page, black frames, hard shadows */
  [data-theme="brutal"] { --bg:#fff36b; --bg-2:#fff8b0; --surface:#fff; --line:#000; --ink:#000; --muted:#2b2b2b; --accent:#000; --on-accent:#fff36b; --accent-soft:#fff36b; --em:#000; --em-deco: underline; --band:#000; --on-band:#fff36b; --head: var(--grotesk); --label: var(--mono); --hw: 900; --ht: -0.04em; --r: 0; --r-sm: 0; --rule: 4px; --shadow: 6px 6px 0 #000; }

  /* 13 E-ink: grey paper, black only, serif text */
  [data-theme="eink"] { --bg:#e8e8e3; --bg-2:#deded8; --surface:#f2f2ee; --line:#bdbdb6; --ink:#141414; --muted:#4a4a46; --accent:#141414; --on-accent:#f2f2ee; --accent-soft:#deded8; --em:#141414; --em-deco: underline; --band:#141414; --on-band:#e8e8e3; --head: var(--serif); --body: var(--serif); --hw: 400; --ht: -0.01em; --r: 0; --r-sm: 0; --rule: 1px; }

  /* 14 Field: sand and olive, mono labels */
  [data-theme="field"] { --bg:#ddd5bd; --bg-2:#d2c9ae; --surface:#e9e3d0; --line:#b8ad8d; --ink:#232a17; --muted:#4c533d; --accent:#4b5d23; --on-accent:#f3efe2; --accent-soft:#cfd3b0; --band:#232a17; --on-band:#ddd5bd; --head: var(--grotesk); --label: var(--mono); --pre: "№ "; --hw: 800; --ht: -0.025em; --r: 2px; --r-sm: 2px; --rule: 3px; }

  /* 15 Arctic: icy white, deep blue, thin headings */
  [data-theme="arctic"] { --bg:#f3f7fb; --bg-2:#e8f0f7; --surface:#fff; --line:#d3dfeb; --ink:#0b1b33; --muted:#475a74; --accent:#0369a1; --on-accent:#fff; --accent-soft:#e0eef7; --band:#0b1b33; --on-band:#f3f7fb; --hw: 300; --ht: -0.025em; --r: 10px; --r-sm: 6px; --rule: 1px; }

  /* 16 Bordeaux: cream, oxblood, serif, enterprise */
  [data-theme="bordeaux"] { --bg:#f7f2ee; --bg-2:#efe6df; --surface:#fffcfa; --line:#e3d6cd; --ink:#24161a; --muted:#66565a; --accent:#7a1f2b; --on-accent:#fff; --accent-soft:#f3e1e3; --band:#3a1219; --on-band:#f7f2ee; --head: var(--serif); --r: 4px; --r-sm: 4px; --rule: 1px; }

  /* 17 Marker: black and white, yellow highlighter */
  [data-theme="marker"] { --bg:#fff; --bg-2:#f6f6f3; --surface:#fff; --line:#e1e1dc; --ink:#111; --muted:#55554f; --accent:#111; --on-accent:#fff; --accent-soft:#fdf6c3; --em:#111; --em-bg:#f5e663; --band:#f5e663; --on-band:#111; --head: var(--grotesk); --hw: 800; --ht: -0.035em; --r: 6px; --r-sm: 6px; --rule: 2px; }

  /* 18 Fog: monochrome grey, large radii, no accent */
  [data-theme="fog"] { --bg:#ececec; --bg-2:#e3e3e3; --surface:#f8f8f8; --line:#d2d2d2; --ink:#1d1d1f; --muted:#5a5a5e; --accent:#1d1d1f; --on-accent:#fff; --accent-soft:#e3e3e3; --em:#5a5a5e; --band:#1d1d1f; --on-band:#ececec; --hw: 600; --ht: -0.03em; --r: 24px; --r-sm: 999px; --rule: 0px; }

  /* 19 Punch Card: ruled beige paper, all monospace, petrol */
  [data-theme="punch"] { --bg:#efe6cf; --bg-2:#e6dbbf; --surface:#f8f2e1; --line:#cbbd98; --ink:#2b2618; --muted:#5b543c; --accent:#0e5c63; --on-accent:#fff; --accent-soft:#d9e3d6; --band:#0e5c63; --on-band:#f8f2e1; --head: var(--mono); --body: var(--mono); --label: var(--mono); --pre: "* "; --hw: 700; --ht: -0.03em; --r: 0; --r-sm: 0; --rule: 1px; --grid: rgba(43,38,24,.07); --pattern: linear-gradient(var(--grid) 1px, transparent 1px); --psize: 100% 28px; }

  /* 20 Signal: night blue, signal yellow */
  [data-theme="signal"] { --bg:#0a1230; --bg-2:#0d173b; --surface:#111d47; --line:#24326a; --ink:#eef1fb; --muted:#a4aed0; --accent:#ffd23f; --on-accent:#0a1230; --accent-soft:#1a2550; --band:#ffd23f; --on-band:#0a1230; --head: var(--grotesk); --label: var(--mono); --hw: 800; --ht: -0.035em; --r: 6px; --r-sm: 6px; --rule: 1px; }

  /* 21 Chalk: dark chalkboard, chalk white, pastel blue, serif */
  [data-theme="chalk"] { --bg:#1f2a26; --bg-2:#24302b; --surface:#29362f; --line:#3c4b43; --ink:#eef2ea; --muted:#b3beb5; --accent:#a8d8ea; --on-accent:#1f2a26; --accent-soft:#2e3f3d; --band:#eef2ea; --on-band:#1f2a26; --head: var(--serif); --hw: 400; --r: 4px; --r-sm: 4px; --rule: 2px; --rule-style: dashed; }

  /* 22 Steel: light steel grey, steel blue, mono labels */
  [data-theme="steel"] { --bg:#e9edf1; --bg-2:#dfe4ea; --surface:#f7f9fb; --line:#c3cbd4; --ink:#1c252e; --muted:#4a5664; --accent:#34607f; --on-accent:#fff; --accent-soft:#dbe5ee; --band:#1c252e; --on-band:#e9edf1; --label: var(--mono); --pre: "# "; --r: 3px; --r-sm: 3px; --rule: 2px; }

  /* 23 Plum: cream, dark plum, serif */
  [data-theme="plum"] { --bg:#f6f1f4; --bg-2:#eee4ea; --surface:#fffbfd; --line:#e2d3dc; --ink:#2a1726; --muted:#65505f; --accent:#6b2a5e; --on-accent:#fff; --accent-soft:#f0dfe9; --band:#2a1726; --on-band:#f6f1f4; --head: var(--serif); --r: 8px; --r-sm: 6px; --rule: 1px; }

  /* 24 Newspaper: newsprint, black, heavy serif, double rules */
  [data-theme="newspaper"] { --bg:#f4f1ea; --bg-2:#ebe6da; --surface:#faf8f3; --line:#cfc8b8; --ink:#111; --muted:#4a463d; --accent:#111; --on-accent:#f4f1ea; --accent-soft:#e6e0d2; --em:#111; --em-style: italic; --band:#111; --on-band:#f4f1ea; --head: var(--serif); --hw: 900; --ht: -0.03em; --r: 0; --r-sm: 0; --rule: 6px; --rule-style: double; }

  /* 25 Monolith: pure black and white, heavy grotesk */
  [data-theme="monolith"] { --bg:#000; --bg-2:#0d0d0d; --surface:#111; --line:#333; --ink:#fff; --muted:#b0b0b0; --accent:#fff; --on-accent:#000; --accent-soft:#1a1a1a; --em:#fff; --em-deco: underline; --band:#fff; --on-band:#000; --head: var(--grotesk); --hw: 900; --ht: -0.045em; --r: 0; --r-sm: 0; --rule: 6px; }

  /* 26 Rose: light pink, raspberry, rounded shapes */
  [data-theme="rose"] { --bg:#fdf3f5; --bg-2:#f8e6ea; --surface:#fff; --line:#efd3da; --ink:#2b1218; --muted:#6b4a52; --accent:#b4234f; --on-accent:#fff; --accent-soft:#fbe0e8; --band:#b4234f; --on-band:#fff; --head: var(--grotesk); --hw: 800; --ht: -0.03em; --r: 14px; --r-sm: 999px; --rule: 2px; }

  /* 27 Orbit: deep space, ice blue, very thin headings */
  [data-theme="orbit"] { --bg:#05070d; --bg-2:#0a0e18; --surface:#0e1320; --line:#1f2738; --ink:#f2f5fb; --muted:#9aa4b8; --accent:#9ecbff; --on-accent:#05070d; --accent-soft:#141d30; --band:#f2f5fb; --on-band:#05070d; --hw: 200; --ht: -0.02em; --r: 8px; --r-sm: 8px; --rule: 1px; }

  /* 28 Wireframe: white, dashed borders, sketch blue */
  [data-theme="wireframe"] { --bg:#fff; --bg-2:#fafafa; --surface:#fff; --line:#9aa3ad; --ink:#1a1d21; --muted:#555d66; --accent:#2459d6; --on-accent:#fff; --accent-soft:#e8eefc; --band:#1a1d21; --on-band:#fff; --label: var(--mono); --pre: "~ "; --r: 0; --r-sm: 0; --rule: 1px; --rule-style: dashed; --ls: dashed; }

  /* 29 Spreadsheet: cell grid, spreadsheet green */
  [data-theme="sheet"] { --bg:#fff; --bg-2:#f3f6f4; --surface:#fff; --line:#d4dcd7; --ink:#1b1f1d; --muted:#505a55; --accent:#107c41; --on-accent:#fff; --accent-soft:#e3f1e8; --band:#107c41; --on-band:#fff; --label: var(--mono); --pre: "= "; --r: 0; --r-sm: 0; --rule: 2px; --grid: rgba(16,124,65,.08); --pattern: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); --psize: 96px 28px; }

  /* 30 Platinum: platinum grey, black frames, small hard shadows */
  [data-theme="platinum"] { --bg:#dcdcdc; --bg-2:#d0d0d0; --surface:#f2f2f2; --line:#000; --ink:#000; --muted:#3a3a3a; --accent:#000; --on-accent:#fff; --accent-soft:#c4c4c4; --em:#000; --em-deco: underline; --band:#000; --on-band:#fff; --head: var(--grotesk); --r: 6px; --r-sm: 6px; --rule: 1px; --shadow: 2px 2px 0 #000; }

  /* 31 Lime: light lime, dark green, rounded shapes */
  [data-theme="lime"] { --bg:#f7f9ec; --bg-2:#eef2da; --surface:#fff; --line:#dde3c4; --ink:#1e2410; --muted:#52593f; --accent:#3f6212; --on-accent:#fff; --accent-soft:#e6efcc; --band:#3f6212; --on-band:#f7f9ec; --head: var(--grotesk); --hw: 800; --ht: -0.03em; --r: 20px; --r-sm: 999px; --rule: 2px; }

  /* 32 Dot Grid: white with a dot grid, blue, mono labels */
  [data-theme="dots"] { --bg:#fbfbfa; --bg-2:#f3f3f0; --surface:#fff; --line:#dcdcd6; --ink:#16181d; --muted:#555963; --accent:#1c4fd6; --on-accent:#fff; --accent-soft:#e5ecfc; --band:#16181d; --on-band:#fbfbfa; --label: var(--mono); --pre: "· "; --r: 10px; --r-sm: 8px; --rule: 1px; --grid: rgba(22,24,29,.16); --pattern: radial-gradient(var(--grid) 1px, transparent 1.4px); --psize: 20px 20px; }

  /* 33 Pop: cream, black frames, hard shadows, bold blue */
  [data-theme="pop"] { --bg:#fdfaf3; --bg-2:#f6efdf; --surface:#fff; --line:#14141f; --ink:#14141f; --muted:#47475a; --accent:#2338e0; --on-accent:#fff; --accent-soft:#e3e7fd; --band:#2338e0; --on-band:#fff; --head: var(--grotesk); --hw: 800; --ht: -0.035em; --r: 12px; --r-sm: 999px; --rule: 3px; --shadow: 5px 5px 0 #14141f; }

  /* 34 Cocoa: dark brown, latte accent, serif */
  [data-theme="cocoa"] { --bg:#1e1512; --bg-2:#251b17; --surface:#2b201b; --line:#44352d; --ink:#f3e9e2; --muted:#c3b2a8; --accent:#e8c39e; --on-accent:#1e1512; --accent-soft:#3a2b22; --band:#e8c39e; --on-band:#1e1512; --head: var(--serif); --r: 6px; --r-sm: 6px; --rule: 1px; }

  /* 35 Accessible: maximum contrast, underlined highlight, strong rules */
  [data-theme="a11y"] { --bg:#fff; --bg-2:#f2f2f2; --surface:#fff; --line:#595959; --ink:#000; --muted:#333; --accent:#0b3fa8; --on-accent:#fff; --accent-soft:#e6edfb; --em:#0b3fa8; --em-deco: underline; --band:#000; --on-band:#fff; --r: 4px; --r-sm: 4px; --rule: 3px; --fs: 18px; }

  /* 36 Navy: sand, navy blue, flag red */
  [data-theme="navy"] { --bg:#f5efe3; --bg-2:#ece3d2; --surface:#fbf8f1; --line:#d9ccb4; --ink:#0f2741; --muted:#46566a; --accent:#0f2741; --on-accent:#f5efe3; --accent-soft:#e2e6ec; --em:#a8322d; --band:#a8322d; --on-band:#fff; --head: var(--serif); --r: 4px; --r-sm: 4px; --rule: 2px; }

  /* 37 Bauhaus: cream, primary colours, heavy rules */
  [data-theme="bauhaus"] { --bg:#f2ede1; --bg-2:#e9e2d1; --surface:#faf7f0; --line:#111; --ink:#111; --muted:#3d3a33; --accent:#1d4ed8; --on-accent:#fff; --accent-soft:#dbe4fb; --em:#c62828; --band:#f2c230; --on-band:#111; --head: var(--grotesk); --hw: 800; --ht: -0.03em; --r: 0; --r-sm: 0; --rule: 8px; }

  /* 38 Cyanotype: Prussian blue, white lines, mono labels */
  [data-theme="cyanotype"] { --bg:#1b3f8b; --bg-2:#1a3a80; --surface:#20479a; --line:#4a6db3; --ink:#fff; --muted:#cfdaf3; --accent:#fff; --on-accent:#1b3f8b; --accent-soft:#284f9f; --em:#fff; --em-deco: underline; --band:#fff; --on-band:#1b3f8b; --label: var(--mono); --pre: "+ "; --hw: 600; --r: 0; --r-sm: 0; --rule: 1px; }

  /* 39 Zen: warm grey, moss, thin serif, lots of calm */
  [data-theme="zen"] { --bg:#f3f2ef; --bg-2:#ebe9e4; --surface:#faf9f7; --line:#dad7d0; --ink:#2a2a28; --muted:#5f5e59; --accent:#4f5e43; --on-accent:#fff; --accent-soft:#e3e7dc; --band:#2a2a28; --on-band:#f3f2ef; --head: var(--serif); --hw: 400; --ht: 0em; --r: 2px; --r-sm: 2px; --rule: 1px; }

  /* 40 Sport: white, italic heavy grotesk, electric green */
  [data-theme="sport"] { --bg:#fff; --bg-2:#f1f3f1; --surface:#fff; --line:#d7dbd7; --ink:#0b0d0b; --muted:#4b524b; --accent:#0b0d0b; --on-accent:#fff; --accent-soft:#d9f7e3; --em:#0a7a35; --hs: italic; --band:#00c853; --on-band:#0b0d0b; --head: var(--grotesk); --hw: 900; --ht: -0.04em; --r: 4px; --r-sm: 4px; --rule: 4px; }
