/* visualtalker.com: shared by the home page and the manual. Visual Talker's tomato accent on quiet greys. */
:root {
  --accent: #ff6347; --accent-dark: #d4401f; --ink: #1d1d1f; --muted: #5c5c63;
  --paper: #ffffff; --soft: #f5f5f7; --strip: #dedede; --line: #d8d8dc; --radius: 12px;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --display: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #f5f5f7; --muted: #a1a1a8; --paper: #111113; --soft: #1c1c1f; --strip: #2a2a2e; --line: #3a3a3f; --accent-dark: #ff8a73; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { scroll-padding-top: 16px; }
body { margin: 0; font: 18px/1.55 var(--body); color: var(--ink); background: var(--paper); }
a { color: var(--accent-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }

header.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; text-decoration: none; color: var(--ink); font-family: var(--display); }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
nav a { color: var(--muted); text-decoration: none; font-size: 16px; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }

.button { display: inline-block; background: var(--ink); color: var(--paper); padding: 14px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.button:hover { opacity: .88; }
.button.secondary { background: none; color: var(--ink); border: 1.5px solid var(--line); margin-left: 8px; }
.fine { font-size: 15px; color: var(--muted); margin-top: 14px; }

section { padding: 64px 0; }
section.alt { background: var(--soft); }
h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.01em; }
.section-lead { color: var(--muted); font-size: 20px; max-width: 700px; margin: 0 0 36px; }

footer { padding: 40px 0 56px; color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer a { color: var(--muted); }

@media (max-width: 820px) {
  nav a.optional { display: none; }
  .button.secondary { margin: 10px 0 0; }
}
