/* CleanBuilds site. Paper and Ink from packages/ui/src/theme.ts; system fonts; no third parties. */
:root {
  --bg: #FAF8F4; --surface: #FFFFFF; --text: #1C1B19; --muted: #6B665E; --line: #E7E3DB;
  --accent: #3D5AFE; --accent-text: #FFFFFF;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0F0F10; --surface: #1A1A1C; --text: #EDEDED; --muted: #8B8B90; --line: #2A2A2E; --accent: #8C9EFF; --accent-text: #0F0F10; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
header.site { padding: 24px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.logo img { display: block; height: 40px; width: auto; }
.logo .dark { display: none; }
@media (prefers-color-scheme: dark) { .logo .light { display: none; } .logo .dark { display: block; } }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }
main { padding: 16px 0 56px; }
h1 { font-size: 34px; line-height: 1.2; margin: 24px 0 12px; letter-spacing: -0.01em; }
h2 { font-size: 22px; margin: 36px 0 8px; }
h3 { font-size: 18px; margin: 28px 0 6px; }
p, li { color: var(--text); }
.lede { font-size: 20px; color: var(--muted); }
.muted { color: var(--muted); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: 24px; display: flex; gap: 20px; align-items: center; margin: 24px 0;
}
.card img { width: 88px; height: 88px; border-radius: 20px; flex: none; }
.card h2 { margin: 0 0 4px; }
.card p { margin: 0; color: var(--muted); }
.button {
  display: inline-block; background: var(--accent); color: var(--accent-text); text-decoration: none;
  font-weight: 600; padding: 12px 22px; border-radius: 999px; min-height: 48px; line-height: 24px;
}
.button.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; border-bottom: 1px solid var(--line); padding: 8px 6px; vertical-align: top; }
.legal h1 { font-size: 30px; }
.legal li { margin: 4px 0; }
footer.site { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 14px; color: var(--muted); }
footer.site a { color: var(--muted); margin-right: 16px; }
@media (max-width: 480px) { h1 { font-size: 28px; } .card { flex-direction: column; align-items: flex-start; } nav a { margin: 0 14px 0 0; } }
