:root { --bg: #0f1115; --card: #171a21; --text: #e6e8ee; --muted: #8b91a1; --line: #2a2f3a; --code-bg: #0b0d11; --body: #cfd3dc; --lede: #c6cad4; --accent: #5ad1a1; --cand: #f4c95d; --conf: #5ab0ff; --stop: #ff6b6b; --user: #223042; --agent: #1d2a22; --glow: rgba(90,209,161,0.08); color-scheme: dark; } :root[data-theme="light"] { --bg: #fbfbfc; --card: #ffffff; --text: #0f1115; --muted: #5d6472; --line: #e3e6ec; --code-bg: #f0f2f5; --body: #2a2f3a; --lede: #3a4150; --accent: #1f9a6b; --cand: #b8860b; --conf: #2f7fd6; --stop: #d64545; --user: #e8f0fb; --agent: #e9f6ef; --glow: rgba(31,154,107,0.10); color-scheme: light; } :root { --serif: "Instrument Serif", Georgia, "Times New Roman", serif; --sans: "Inter", system-ui, -apple-system, sans-serif; --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; } * { box-sizing: border-box; } html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; } body { margin: 0; font: 15px/1.55 var(--sans); background: var(--bg); color: var(--text); background-image: radial-gradient(1200px 500px at 50% -200px, var(--glow), transparent 70%); transition: background-color .2s, color .2s; } header, main { max-width: 1200px; margin: 0 auto; padding: 12px 16px; } h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; } h1 { margin: 0 0 4px; font-size: 26px; } header p { margin: 0; color: var(--muted); } header a { color: var(--accent); } header.hero { padding: 36px 16px 20px; } header.hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; letter-spacing: -0.02em; margin: 6px 0 14px; } header.hero p { max-width: 640px; font-size: 16px; line-height: 1.6; } .eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 0; } code, pre, kbd { font-family: var(--mono); } table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; } th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; } th { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); } .layout { display: grid; grid-template-columns: 420px 1fr; gap: 16px; align-items: start; } @media (max-width: 860px) { .layout { grid-template-columns: 1fr; } } .card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-bottom: 14px; } .right { min-height: 70vh; display: flex; flex-direction: column; } .muted { color: var(--muted); } .warn { color: var(--cand); font-size: 12px; margin: 8px 0 0; } .grid { display: grid; grid-template-columns: 1fr; gap: 8px; } label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); } label.inline { flex-direction: row; align-items: center; margin-top: 6px; } input, select, button { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 7px 10px; } button { cursor: pointer; } button.primary { background: var(--accent); color: var(--bg); border-color: var(--accent); font-weight: 600; } button:disabled { opacity: 0.5; cursor: default; } .row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; } .status { margin: 10px 0 0; } .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); vertical-align: middle; } .dot.listening { background: var(--accent); } .dot.user_speaking { background: var(--cand); } .dot.thinking { background: var(--conf); animation: pulse 1s infinite; } .dot.agent_speaking { background: var(--conf); } @keyframes pulse { 50% { opacity: 0.3; } } canvas { width: 100%; height: 140px; background: var(--code-bg); border-radius: 6px; display: block; } .legend { font-size: 12px; color: var(--muted); margin: 6px 0 0; } .sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 3px 0 8px; vertical-align: middle; } .sw.prob { background: var(--accent); } .sw.cand { background: var(--cand); } .sw.conf { background: var(--conf); } .sw.stop { background: var(--stop); } .sw.agent { background: rgba(90,176,255,0.5); } .results li.ok { color: var(--accent); } .results li.fail { color: var(--stop); } pre { max-height: 200px; overflow: auto; font-size: 11px; color: var(--muted); } .chat { display: flex; flex-direction: column; gap: 10px; flex: 1; overflow-y: auto; max-height: 80vh; } .msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; white-space: pre-wrap; } .msg.user { align-self: flex-end; background: var(--user); border-bottom-right-radius: 4px; } .msg.agent { align-self: flex-start; background: var(--agent); border-bottom-left-radius: 4px; } .msg .meta { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; } .msg del { color: var(--stop); opacity: 0.7; } .msg .unheard { color: var(--muted); text-decoration: line-through; opacity: 0.6; } .msg .cut { color: var(--stop); font-size: 12px; } .empty { align-self: center; margin: auto; text-align: center; max-width: 360px; } .msg.recording { max-width: 100%; } .msg.recording audio { display: block; width: 320px; max-width: 100%; } .msg.recording a { color: var(--accent); } nav.top { max-width: 1200px; margin: 0 auto; padding: 18px 16px 0; display: flex; gap: 22px; align-items: baseline; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; } nav.top a { color: var(--muted); text-decoration: none; } nav.top a.active, nav.top a:hover { color: var(--accent); } nav.top a.brand { display: inline-flex; align-items: center; margin-right: 10px; align-self: center; } nav.top a.brand img { height: 26px; width: auto; display: block; } :root[data-theme="light"] nav.top a.brand img.dark, :root:not([data-theme="light"]) nav.top a.brand img.light { display: none; } nav.top .spacer { flex: 1; } nav.top .theme-toggle { font-family: var(--sans); font-size: 16px; line-height: 1; background: var(--card); border: 1px solid var(--line); color: var(--muted); border-radius: 999px; width: 32px; height: 32px; padding: 0; cursor: pointer; align-self: center; } nav.top .theme-toggle:hover { color: var(--accent); border-color: var(--accent); } .prose pre { background: var(--code-bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; overflow: auto; font-size: 13px; line-height: 1.55; color: var(--text); max-height: none; } .prose pre code { background: none; padding: 0; font-size: inherit; } .prose .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 14px 0; } .prose .cards a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px; text-decoration: none; color: var(--text); } .prose .cards a:hover { border-color: var(--accent); } .prose .cards strong { display: block; font-family: var(--serif); font-size: 20px; margin-bottom: 4px; } .prose .cards span { color: var(--muted); font-size: 14px; } body.article { background: var(--bg); } .prose { max-width: 760px; margin: 0 auto; padding: 24px 16px 64px; } .prose h1 { font-size: clamp(38px, 5.5vw, 56px); line-height: 1.04; letter-spacing: -0.02em; margin: 20px 0 16px; } .prose h2 { font-size: 28px; margin: 44px 0 10px; color: var(--text); padding-top: 18px; border-top: 1px solid var(--line); } .prose h3 { font-size: 21px; margin: 24px 0 6px; } .prose p, .prose li { color: var(--body); line-height: 1.7; font-size: 16px; } .prose strong { color: var(--text); font-weight: 600; } .prose .lede { font-family: var(--serif); font-size: 22px; line-height: 1.4; color: var(--lede); } .prose time, .prose .meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); } .prose a { color: var(--accent); } .prose code { background: var(--code-bg); padding: 1px 5px; border-radius: 4px; font-size: 13px; } .prose table { margin: 10px 0 4px; } figure.chart { margin: 1.5rem 0; } figure.chart img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); } .prose.wide { max-width: 980px; } .prose .big li { font-size: 18px; margin-bottom: 10px; } figure.chart figcaption { color: var(--muted); font-size: 14px; line-height: 1.6; margin-top: 10px; }