/* Hallmark · theme: rim (night, plus a day colourway) · redesign: full · scope: page · the shared sheet for pricing, the changelog and the policies
   critique: plain reading pages; Switzer and one orange square, ruled, nothing round */
@font-face { font-family: "Switzer"; font-weight: 400; font-display: swap; src: url(/fonts/switzer-400.woff2) format("woff2"); }
@font-face { font-family: "Switzer"; font-weight: 500; font-display: swap; src: url(/fonts/switzer-500.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 400 500; font-display: swap; src: url(/fonts/geist-mono-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
:root {
  color-scheme: light;
  --bg: oklch(99.2% 0.0015 80); --soft: oklch(96.8% 0.003 80); --ink: oklch(17% 0.008 75); --body: oklch(34% 0.009 75); --muted: oklch(48% 0.01 75);
  --line: oklch(89.5% 0.005 80); --line-2: oklch(82% 0.006 80); --accent: oklch(68% 0.19 42); --on-accent: oklch(14% 0.02 45);
  --added: oklch(48% 0.13 150); --improved: oklch(50% 0.14 250); --fixed: oklch(52% 0.12 68); --changed: oklch(34% 0.009 75); --removed: oklch(52% 0.19 27);
  --sans: "Switzer", "IBM Plex Sans Arabic", "Noto Sans Ethiopic", Kefa, Nyala, ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  color-scheme: dark;
  --bg: oklch(18.5% 0.009 70); --soft: oklch(24% 0.011 70); --ink: oklch(94% 0.01 80); --body: oklch(84% 0.011 80); --muted: oklch(70% 0.012 80);
  --line: oklch(32% 0.011 72); --line-2: oklch(41% 0.012 72); --accent: oklch(72% 0.17 45);
  --added: oklch(75% 0.14 150); --improved: oklch(75% 0.12 250); --fixed: oklch(81% 0.13 80); --changed: oklch(84% 0.011 80); --removed: oklch(71% 0.17 25);
} }
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: oklch(18.5% 0.009 70); --soft: oklch(24% 0.011 70); --ink: oklch(94% 0.01 80); --body: oklch(84% 0.011 80); --muted: oklch(70% 0.012 80);
  --line: oklch(32% 0.011 72); --line-2: oklch(41% 0.012 72); --accent: oklch(72% 0.17 45);
  --added: oklch(75% 0.14 150); --improved: oklch(75% 0.12 250); --fixed: oklch(81% 0.13 80); --changed: oklch(84% 0.011 80); --removed: oklch(71% 0.17 25);
}
html, body { overflow-x: clip; }
body { font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
html[lang=ar] body { font-family: var(--sans); line-height: 1.8; }
b, strong, th { font-weight: 500; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(34px, 5vw, 48px) !important; line-height: 1.04 !important; letter-spacing: -0.035em; margin-bottom: 12px !important; }
html[lang=ar] h1, html[lang=ar] h2 { letter-spacing: 0; line-height: 1.3 !important; }
h2 { letter-spacing: -0.015em; }
.dot { width: 26px !important; height: 26px !important; border-radius: 0 !important; background: var(--accent) !important; }
header b { font-weight: 500; letter-spacing: -0.02em; }
.card, .pinned, .langs button, .tools a, .tools button, .filters button, article:target { border-radius: 0 !important; }
.date { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 400 !important; }
.price { font-variant-numeric: tabular-nums; font-weight: 500 !important; }
.kind, .card .plus { font-weight: 500 !important; }
::selection { background: color-mix(in oklab, var(--accent) 30%, transparent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
a:hover { text-decoration-color: var(--accent); }
