/* Kipat website: Quiet Graphite palette, Inter 400/500 (same tokens as the app). */
:root {
  --paper: #f6f6f4;
  --surface: #ffffff;
  --ink: #17181c;
  --graphite: #4e525b;
  --muted: #6b6f78;
  --line: #e2e2de;
  --accent: #2747c8;
  --accent-mist: #e5e9fa;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #131416;
    --surface: #1b1c20;
    --ink: #f3f3f1;
    --graphite: #b9bcc4;
    --muted: #9a9ea8;
    --line: #2c2e34;
    --accent: #9db0ff;
    --accent-mist: #1f2640;
  }
  .mark .slab { fill: #f3f3f1; }
  .mark .seam { fill: #9db0ff; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
header.site { padding: 28px 0 8px; }
header.site a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 20px; letter-spacing: -0.02em; }
header.site svg { width: 28px; height: 28px; }
main { padding: 32px 0 64px; }
h1 { font-weight: 500; font-size: clamp(32px, 7vw, 48px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; }
h2 { font-weight: 500; font-size: 22px; margin: 40px 0 8px; letter-spacing: -0.01em; }
p, li { color: var(--graphite); }
.lead { font-size: 20px; color: var(--graphite); max-width: 34em; }
.hero-mark { width: 96px; height: 96px; margin: 8px 0 28px; }
.pill { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--accent-mist); color: var(--accent); font-size: 14px; font-weight: 500; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 40px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-weight: 500; font-size: 17px; color: var(--ink); }
.card p { margin: 0; font-size: 15px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { font-weight: 500; color: var(--ink); }
td { color: var(--graphite); }
.table-scroll { overflow-x: auto; }
footer.site { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 14px; color: var(--muted); }
footer.site a { color: var(--muted); }
.note { font-size: 14px; color: var(--muted); }
.links { list-style: none; padding: 0; margin: 24px 0; border-top: 1px solid var(--line); }
.links li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.links .label { flex: 0 0 84px; color: var(--muted); font-size: 15px; }
button.retry { font: inherit; font-weight: 500; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
button.retry:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
body[data-accent="teal"] { --accent: #0f766e; --accent-mist: #dff3f0; }
body[data-accent="amber"] { --accent: #a15c07; --accent-mist: #fbefd9; }
body[data-accent="graphite"] { --accent: #4e525b; --accent-mist: #ebebe8; }
@media (prefers-color-scheme: dark) {
  body[data-accent="teal"] { --accent: #5eead4; --accent-mist: #12302d; }
  body[data-accent="amber"] { --accent: #fbbf62; --accent-mist: #33270f; }
  body[data-accent="graphite"] { --accent: #c9ccd3; --accent-mist: #26282d; }
}
