/* Inner pages of mercan.coralmesh.io (documents, legal texts): the landing page's type and colours,
   no scripts. Light and dark follow the system setting. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/inter-variable-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/inter-variable-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/instrument-serif-italic-400-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/instrument-serif-italic-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fragment Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/fragment-mono-normal-400-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fragment Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/fragment-mono-normal-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f4f5f1; --fg: #0a0b09; --muted: #555b61; --dim: #686e75; --line: rgba(10, 11, 9, 0.1);
  --surface: #ffffff; --accent: #4b6a00; --accent-line: rgba(75, 106, 0, 0.45); --mark: #c8f751;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #000000; --fg: #ffffff; --muted: #9ba0a6; --dim: #7d838a; --line: rgba(255, 255, 255, 0.1);
    --surface: #0c0d0e; --accent: #c8f751; --accent-line: rgba(200, 247, 81, 0.45); color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1rem/1.65 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: -0.006em; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(100%, 46rem); margin: 0 auto; padding-inline: 16px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.625rem; color: var(--fg); text-decoration: none; font-weight: 500; font-size: 1.125rem; letter-spacing: -0.04em; }
.brand img { display: block; }
.back { font-size: 0.875rem; color: var(--muted); }
main { padding-block: 2.5rem 4rem; }
.eyebrow { margin: 0 0 0.5rem; font-family: "Fragment Mono", ui-monospace, Menlo, monospace; font-size: 0.8125rem; color: var(--dim); letter-spacing: 0; }
h1 { margin: 0 0 1rem; font-size: clamp(2rem, 6vw, 2.75rem); line-height: 1.12; font-weight: 600; letter-spacing: -0.045em; text-wrap: balance; }
h1 em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: 0; }
.lead { font-size: 1.125rem; color: var(--muted); margin: 0 0 2rem; max-width: 62ch; }
h2 { margin: 2.5rem 0 0.75rem; font-size: 1.25rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
h3 { margin: 1.5rem 0 0.5rem; font-size: 1rem; font-weight: 600; letter-spacing: -0.02em; }
p, ul, ol { margin: 0 0 1rem; max-width: 66ch; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.375rem; }
code { font-family: "Fragment Mono", ui-monospace, Menlo, monospace; font-size: 0.875em; padding: 0.0625rem 0.3125rem; border-radius: 0.375rem; background: var(--surface); border: 1px solid var(--line); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; padding: 1rem 1.125rem; margin: 0 0 1rem; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.tag { display: inline-block; margin-left: 0.375rem; padding: 0 0.5rem; border-radius: 999px; border: 1px solid var(--line); font-family: "Fragment Mono", ui-monospace, Menlo, monospace; font-size: 0.75rem; color: var(--muted); vertical-align: 2px; }
.updated { margin-top: 3rem; font-size: 0.8125rem; color: var(--dim); }
.foot { border-top: 1px solid var(--line); padding-block: 1.5rem 2.5rem; font-size: 0.875rem; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-bottom: 0.75rem; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover, .foot nav a[aria-current="page"] { color: var(--fg); }
@media (max-width: 480px) { body { font-size: 0.9375rem; } .lead { font-size: 1rem; } }
