/* Shared styling for the guide pages. One file, no framework, no fonts loaded
   from anywhere — the pages must be fast and must not phone home, for the same
   reason the extension does not. */
:root {
  --ink: #14171c;
  --soft: #5c6673;
  --line: #e4e7ec;
  --accent: #1f6feb;
  --wash: #f6f8fb;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 0 22px 90px;
  font: 17px/1.7 -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
}
main, header.site { max-width: 720px; margin: 0 auto; }

header.site {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
header.site a.brand { font-weight: 650; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
header.site nav a { color: var(--soft); text-decoration: none; font-size: 15px; margin-left: 16px; }
header.site nav a:hover { color: var(--accent); }

h1 { font-size: 33px; line-height: 1.25; letter-spacing: -0.022em; margin: 0 0 10px; }
h2 { font-size: 21px; letter-spacing: -0.01em; margin: 38px 0 10px; }
h3 { font-size: 17px; margin: 26px 0 6px; }
p, li { color: #2b3138; }
ul, ol { padding-left: 22px; }
li { margin: 6px 0; }
a { color: var(--accent); }

.standfirst { font-size: 19px; color: var(--soft); margin: 0 0 30px; }
.meta { font-size: 14px; color: var(--soft); margin: -4px 0 30px; }

.callout {
  background: var(--wash);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 26px 0;
  font-size: 16px;
}
.callout p { margin: 0; }
.callout p + p { margin-top: 10px; }

table { border-collapse: collapse; width: 100%; margin: 18px 0; font-size: 15.5px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--soft); }

.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 26px 0; }
.card {
  border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px;
  text-decoration: none; color: inherit; display: block;
}
.card:hover { border-color: var(--accent); }
.card h3 { margin: 0 0 5px; font-size: 16.5px; color: var(--ink); }
.card p { margin: 0; font-size: 15px; color: var(--soft); }

footer.site {
  max-width: 720px; margin: 60px auto 0; padding-top: 20px;
  border-top: 1px solid var(--line); color: var(--soft); font-size: 14.5px;
}
footer.site a { color: var(--soft); }
