/* Shared styles for gettaskpin.com. Figtree comes from Google Fonts — each page links it in its
   <head>. Paths here are relative so the pages also render correctly opened straight from disk. */

:root {
  --blue: #2F6BFF;
  --bg: #fff;
  --fg: #12151B;
  --muted: #5b6472;
  --line: #e3e8f0;
  --panel: #f6f8fc;
  --font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root { --bg:#12151B; --fg:#EEF2FB; --muted:#98a2b3; --line:#262c38; --panel:#1a1f29; }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main { max-width: 46rem; margin: 0 auto; padding: 3rem 1.25rem 4rem; }

header { display: flex; align-items: center; gap: .75rem; margin-bottom: 2rem; }
header img { width: 40px; height: 40px; }
header a { color: inherit; text-decoration: none; font-weight: 600; }

h1 { font-size: 1.9rem; font-weight: 700; margin: 0 0 .35rem; letter-spacing: -.025em; }
h2 { font-size: 1.2rem; font-weight: 600; margin: 2.75rem 0 .6rem; letter-spacing: -.015em; scroll-margin-top: 1rem; }
h3 { font-size: 1rem; font-weight: 600; margin: 1.75rem 0 .4rem; }

.updated { color: var(--muted); margin: 0 0 2.5rem; font-size: .95rem; }

a { color: var(--blue); }
ul { padding-left: 1.15rem; }
li { margin: .4rem 0; }

table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .94rem; }
th, td { border: 1px solid var(--line); padding: .55rem .7rem; text-align: left; vertical-align: top; }
th { background: var(--panel); font-weight: 600; }

code { background: var(--panel); padding: .1rem .35rem; border-radius: 4px; font-size: .9em; }

.callout {
  background: var(--panel);
  border-left: 3px solid var(--blue);
  padding: .9rem 1.1rem;
  margin: 1.25rem 0;
  border-radius: 0 6px 6px 0;
}

footer {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}

/* Homepage only — bigger lockup, wider measure, spaced footer links. */
body.home main { max-width: 44rem; padding-top: 3.5rem; }
body.home header { gap: .85rem; margin-bottom: 2.5rem; }
body.home header img { width: 56px; height: 56px; }
body.home header h1 { font-size: 1.6rem; margin: 0; }
body.home header p { margin: .15rem 0 0; color: var(--muted); font-size: .95rem; }
body.home h2 { font-size: 1.15rem; margin: 2.5rem 0 .6rem; }
body.home .lead { font-size: 1.2rem; line-height: 1.55; font-weight: 400; }
body.home footer a { margin-right: 1rem; }
