:root {
  --bg: #070808;
  --bg-card: #121314;
  --ink: #f4f1ea;
  --ink-soft: #c8c4bb;
  --ink-muted: #8a8680;
  --line: rgba(244, 241, 234, 0.08);
  --accent: #c9a27a;
  --accent-hover: #dbb892;
  --radius: 10px;
  --font: "Geist", "Inter", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); }
body { min-height: 100vh; letter-spacing: -0.011em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); }
.nav { max-width: 720px; margin: 0 auto; padding: 1rem 1.25rem; display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; gap: 0.6rem; align-items: center; color: inherit; text-decoration: none; font-weight: 500; }
.brand-photo { border-radius: 999px; }
.nav-links { display: flex; gap: 1rem; font-size: 0.92rem; }
.nav-links a { color: var(--ink-soft); text-decoration: none; }
.nav-links a:hover { color: var(--accent-hover); }
main { max-width: 720px; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; font-weight: 500; }
h1 { font-weight: 500; letter-spacing: -0.03em; font-size: 2rem; margin: 0.35rem 0 0.75rem; }
.lede { color: var(--ink-soft); line-height: 1.55; }
.lede a { color: var(--accent); }
.log { display: flex; flex-direction: column; gap: 0.85rem; margin: 1.75rem 0; min-height: 8rem; }
.bubble { padding: 0.9rem 1rem; border-radius: var(--radius); line-height: 1.5; white-space: pre-wrap; }
.bubble.user { background: var(--bg-card); border: 1px solid var(--line); align-self: flex-end; max-width: 92%; }
.bubble.agent { background: transparent; border-left: 2px solid var(--accent); padding-left: 1rem; }
.bubble.err { color: #d98a8a; }
form { position: sticky; bottom: 0; padding-top: 0.5rem; background: linear-gradient(transparent, var(--bg) 18%); }
textarea { width: 100%; resize: vertical; background: var(--bg-card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.85rem 1rem; font: inherit; }
textarea:focus { outline: 1px solid var(--accent); }
.row { display: flex; align-items: center; gap: 1rem; margin-top: 0.75rem; }
button { background: var(--accent); color: #1a140e; border: 0; border-radius: 999px; padding: 0.55rem 1.15rem; font-weight: 600; cursor: pointer; }
button:disabled { opacity: 0.5; cursor: wait; }
.hint { color: var(--ink-muted); font-size: 0.82rem; margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
