/* Shared visual tokens follow the SkillHub public entry. */
:root {
  color-scheme: light;
  --ink: #111111;
  --soft: #4b5563;
  --muted: #6b7280;
  --line: #e5e7eb;
  --orange: #ff6a00;
  --orange-dark: #b45100;
  --accent-soft: #fff3e9;
  --paper: #ffffff;
  --wash: #faf9f7;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Noto Sans JP", Inter, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 14px/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--orange-dark); outline-offset: 3px; }
.eyebrow { font: 400 12px/1.6 var(--mono); letter-spacing: 1.5px; text-transform: uppercase; color: var(--orange-dark); }
.brand { font-weight: 700; letter-spacing: .5px; }
.terminal { background: #1d1b1a; border-radius: 12px; box-shadow: 0 24px 60px rgba(60,40,20,.22); overflow: hidden; font: 13px var(--mono); min-width: 0; }
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #2a2725; }
.terminal-dot { display: block; width: 11px; height: 11px; border-radius: 50%; background: #28c840; }
.terminal-dot:first-child { background: #ff5f57; }
.terminal-dot:nth-child(2) { background: #febc2e; }
.terminal-body { padding: 18px 18px 22px; color: #e9e6e2; line-height: 1.85; overflow-wrap: anywhere; }
.terminal-prompt { color: #ff9f5a; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 8px; font: 600 14px/1.6 var(--sans); cursor: pointer; transition: background .15s, border-color .15s; }
.button-orange { background: var(--orange); color: #fff; border-color: var(--orange); }
.button-orange:hover { background: #e85f00; border-color: #e85f00; }
.button-outline { background: #fff; color: var(--ink); }
.button-outline:hover { background: #f3f4f6; }
.text-link { color: var(--orange-dark); }
.text-link:hover { text-decoration: underline; }
/* The Agent page mirrors SkillHub's centered, single-command entry. */
.agent { font-family: var(--mono); }
.agent-wrap { max-width: 760px; min-height: 100vh; margin: 0 auto; padding: 24px; display: flex; flex-direction: column; }
.agent-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.agent-header .brand { font-size: 14px; }
.agent-header .header-link { flex-shrink: 0; border: 1px solid var(--line); border-radius: 4px; padding: 4px 12px; font: 400 12px/1.6 var(--mono); color: var(--muted); }
.agent-header .header-link:hover { background: #f3f4f6; color: var(--ink); }
.toggle-emoji { margin-right: 5px; }
.agent-main { width: 100%; max-width: 600px; margin: auto; text-align: center; font-family: var(--sans); }
.agent-main .eyebrow { margin: 0 0 14px; }
.agent-main h1 { font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -.4px; margin: 0 0 16px; }
.agent-lead { font-size: 16px; line-height: 1.65; color: var(--soft); margin: 0 0 24px; }
.agent-command { margin: 0 0 18px; text-align: left; }
.agent-command code { font: inherit; }
.agent-resources { margin: 0; font-size: 13px; color: var(--muted); }
.agent-resources a { color: var(--orange-dark); }
.agent-resources a:hover { text-decoration: underline; }
@media (max-width: 440px) {
  .agent-wrap { padding: 20px; }
  .agent-header { gap: 10px; }
  .agent-header .brand { font-size: 12px; }
  .agent-header .header-link { padding: 4px 8px; font-size: 11px; }
  .agent-main { padding: 36px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
