/* Reticen design system — mirrors reticen.com. */
@font-face { font-family: "Reticen Sans"; font-weight: 300; font-style: normal; font-display: block; src: url("/assets/fonts/ReticenSans-Light.woff2") format("woff2"), url("/assets/fonts/ReticenSans-Light.otf") format("opentype"); }
@font-face { font-family: "Reticen Sans"; font-weight: 400; font-style: normal; font-display: block; src: url("/assets/fonts/ReticenSans-Regular.woff2") format("woff2"), url("/assets/fonts/ReticenSans-Regular.otf") format("opentype"); }
@font-face { font-family: "Reticen Sans"; font-weight: 500; font-style: normal; font-display: block; src: url("/assets/fonts/ReticenSans-Medium.woff2") format("woff2"), url("/assets/fonts/ReticenSans-Medium.otf") format("opentype"); }
@font-face { font-family: "Reticen Sans"; font-weight: 700; font-style: normal; font-display: block; src: url("/assets/fonts/ReticenSans-Bold.woff2") format("woff2"), url("/assets/fonts/ReticenSans-Bold.otf") format("opentype"); }

:root {
  color-scheme: light;
  --bg: #E9E9EC;
  --surface: #FFFFFF;
  --ink: #090909;
  --ink-hover: #2A2A2A;
  --surface-hover: #E0E0E4;
  --ink-2: #5E5E63;
  --ink-inv: #FFFFFF;
  --ink-inv-2: #8A8A90;
  --line: rgba(9, 9, 9, 0.12);
  --ring-dark: rgba(9, 9, 9, 0.08);
  --ring-light: rgba(255, 255, 255, 0.18);
  --radius-card: 16px;
  --radius-pill: 999px;

  --gutter: clamp(20px, 5vw, 48px);
  --wrap: 1200px;
  --gap: 12px;
  --sec: clamp(120px, 12vw, 176px);
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Reticen Sans";
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--ink-inv); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
section { scroll-margin-top: 100px; }


.ul { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.ic { display: inline-block; flex: none; vertical-align: -0.2em; }
.arr { display: inline-block; }

.pill { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: var(--radius-pill); border: 1px solid var(--ink); font-size: 0.8125rem; font-weight: 500; line-height: 1; white-space: nowrap; transition: background-color 200ms ease-out, border-color 200ms ease-out, color 200ms ease-out; }
.pill-dark { background: var(--ink); color: var(--ink-inv); }
.pill-dark:hover { background: var(--ink-hover); }
.pill-line { background: transparent; color: var(--ink); }
.pill-light { background: var(--surface); border-color: var(--surface); color: var(--ink); }
.pill-light:hover { background: var(--surface-hover); border-color: var(--surface-hover); }
.pill-line:hover { background: var(--ink); color: var(--ink-inv); }
.pill-sm { height: 38px; }
