/* The page about WorkAist Sidekick at the relay's root — the look of WorkAist (docs/DESIGN.md): white surfaces, warm
   neutrals, black pill buttons, Geist; orange only in the mark. Values from design/tokens.css; fonts and mark from the
   demo site on the same server; nothing from other servers. */

@font-face { font-family: "Geist"; src: url("/demo/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/demo/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #ffffff; --bg-side: #faf9f7; --bg-chip: #f3f1ed;
  --fg: #141312; --fg-2: #5d5a55; --muted: #76726b; --border: #e7e4df; --border-strong: #cfcac2;
  --ink: #141312; --on-ink: #ffffff; --ink-hover: #34312d;
  --shadow-shot: 0 18px 48px rgba(20, 19, 18, 0.12), 0 2px 6px rgba(20, 19, 18, 0.06);
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #262624; --bg-side: #2e2d2a; --bg-chip: #393733;
    --fg: #f2f0ec; --fg-2: #c3beb5; --muted: #a39e96; --border: #3f3d39; --border-strong: #5a5752;
    --ink: #f2f0ec; --on-ink: #1f1e1c; --ink-hover: #dad6cf;
    --shadow-shot: 0 18px 48px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--fg); font: 15px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; }
.page { max-width: 1040px; margin: 0 auto; padding: 24px 16px 40px; }
.top { display: flex; align-items: center; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.wordmark { height: 22px; width: auto; color: var(--fg); }
.lockup { font: 500 10px/1 var(--font-mono); letter-spacing: 0.34em; color: var(--muted); background: var(--bg-chip); padding: 5px 4px 5px 8px; border-radius: 6px; }
a { color: var(--fg); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.hero { display: grid; justify-items: start; gap: 14px; padding: 40px 0 28px; }
.mark { width: 56px; height: 56px; border-radius: 14px; }
h1 { margin: 0; font-size: 34px; line-height: 1.15; font-weight: 650; letter-spacing: -0.02em; }
.lead { margin: 0; max-width: 34em; font-size: 18px; line-height: 1.5; color: var(--fg-2); text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 46px; padding: 6px 22px; border: 1px solid transparent; border-radius: 999px; font: 500 15px/1.2 var(--font-sans); text-decoration: none; transition: background .18s, border-color .18s; }
.btn small { font-size: 11px; font-weight: 400; opacity: .7; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.btn-primary:hover { background: var(--ink-hover); border-color: var(--ink-hover); }
.btn-ghost { background: var(--bg); border-color: var(--border-strong); color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg); }
.hint { margin: 0; font-size: 13px; color: var(--muted); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

.shot { margin: 8px 0 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-shot); }
.shot figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }

.features { display: grid; gap: 14px; margin: 36px 0 0; padding: 0; list-style: none; }
.features li { padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-side); }
.features h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.35; font-weight: 600; }
.features p { margin: 0; color: var(--fg-2); }
.code-note { margin: 28px 0 0; color: var(--fg-2); }

.foot { display: grid; gap: 8px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { color: var(--fg-2); }
.foot p { margin: 0; }

@media (min-width: 720px) {
  .page { padding: 32px 24px 56px; }
  .hero { padding: 56px 0 36px; }
  h1 { font-size: 44px; }
  .features { grid-template-columns: 1fr 1fr; }
}
