/* Apple-style system theme. Load after styles.css. System fonts, Apple greys, system blue. */
:root {
  color-scheme: light dark;
  --font-system: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Helvetica Neue", Arial, sans-serif;
  --font-mono-system: ui-monospace, "SF Mono", Menlo, monospace;
  --accent: #2997ff;
  --link: #2997ff;
  --background: #000;
  --surface: #1d1d1f;
  --surface-step: #161617;
  --foreground: #f5f5f7;
  --secondary-foreground: #a1a1a6;
  --faint-foreground: #86868b;
  --border: rgb(255 255 255 / .12);
  --border-strong: rgb(255 255 255 / .2);
  --primary: #0071e3;
  --primary-foreground: #fff;
}
@media (prefers-color-scheme: light) {
  :root {
    --accent: #0071e3;
    --link: #0066cc;
    --background: #fff;
    --surface: #f5f5f7;
    --surface-step: #fbfbfd;
    --foreground: #1d1d1f;
    --secondary-foreground: #6e6e73;
    --faint-foreground: #86868b;
    --border: rgb(0 0 0 / .1);
    --border-strong: rgb(0 0 0 / .16);
    --primary: #0071e3;
    --primary-foreground: #fff;
  }
}
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { font-family: var(--font-system); letter-spacing: -.011em; }
h1, h2, h3, .display { font-family: var(--font-system); letter-spacing: -.03em; font-weight: 600; }
a:not(.btn) { color: var(--link); }
.btn-primary { background: var(--primary); color: var(--primary-foreground); border-radius: 980px; }
.btn-primary:hover { filter: brightness(1.08); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.28,.11,.32,1), transform .8s cubic-bezier(.28,.11,.32,1); }
  .reveal.in { opacity: 1; transform: none; }
}
