/* Shared base for the direction comps (fonts, tokens, reset). Comps only. */
@import url("../../css/tokens.css");
@font-face { font-family: "Inter"; src: url("../../assets/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../../assets/fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../../assets/fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../../assets/fonts/inter-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../../assets/fonts/inter-tight-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../../assets/fonts/inter-tight-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inconsolata"; src: url("../font-test/fonts/inconsolata-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inconsolata"; src: url("../font-test/fonts/inconsolata-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root { --orange: #E84829; --line: 0.75px solid #000; }
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: "Inter", sans-serif; font-size: 14px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.mono { font-family: "Inconsolata", ui-monospace, monospace; font-size: 12px; line-height: 1.45; text-transform: uppercase; letter-spacing: 0.06em; }
.m-fn { font-size: 0.45em; vertical-align: super; line-height: 0; color: var(--accent-mark, #C53A1C); font-weight: 500; }
/* the footnote's own 1: full size, medium, raised a little, in the accent */
.m-fnmark { font-size: 1em; font-weight: 500; position: relative; top: -0.35em; color: var(--accent-mark, #C53A1C); }
.m-fnlink { color: inherit; text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 0.5px; }
.m-fnlink:hover { color: var(--ink); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.m-strong { font-weight: 500; }
.m-accent { color: var(--orange); }

/* comp switcher (not part of any design) */
.switch { position: fixed; right: 12px; bottom: 12px; z-index: 50; display: flex; gap: 4px; padding: 4px; background: #111; border-radius: 6px; font: 12px/1 "Inconsolata", monospace; letter-spacing: 0.06em; }
.switch a { color: #ddd; text-decoration: none; padding: 6px 8px; border-radius: 4px; }
.switch a[aria-current] { background: #fff; color: #111; }

/* side margins (marginSwitch in shared.js) */
:root { --side: 9vw; }
body.m-both .page { margin: 0 var(--side); border-left: var(--line); border-right: var(--line); }
body.m-left .page { margin-left: calc(var(--side) * 1.6); border-left: var(--line); }
body.m-right .page { margin-right: calc(var(--side) * 1.6); border-right: var(--line); }
