/* SmartyBuild — one stylesheet, no framework, no external requests.
   Google's reviewer loads these pages directly; nothing here should depend on
   a CDN that might be slow or blocked when they do. */

:root {
  --bg: #ffffff;
  --surface: #f7f9fb;
  --border: #e3e9ef;
  --text: #16212b;
  --muted: #5a6b7a;
  --brand: #4682b4;
  --brand-dark: #35617f;
  --radius: 12px;
  --maxw: 860px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1519;
    --surface: #161f26;
    --border: #26333d;
    --text: #e8eef3;
    --muted: #9aabb8;
    --brand: #6ba3d4;
    --brand-dark: #8fbde4;
  }
}

:root[data-theme="dark"] {
  --bg: #0f1519;
  --surface: #161f26;
  --border: #26333d;
  --text: #e8eef3;
  --muted: #9aabb8;
  --brand: #6ba3d4;
  --brand-dark: #8fbde4;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

header.site {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px;
}
.wordmark {
  font-size: 21px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--text); text-decoration: none;
}
.wordmark span { color: var(--brand); }
nav a {
  color: var(--muted); text-decoration: none; font-size: 14px; margin-left: 18px;
}
nav a:hover { color: var(--brand); }

.hero { padding: 64px 0 48px; }
.hero h1 {
  font-size: clamp(30px, 6vw, 44px); line-height: 1.15; letter-spacing: -0.03em;
  margin: 0 0 18px;
}
.hero p.lede { font-size: clamp(17px, 2.6vw, 19px); color: var(--muted); margin: 0 0 12px; max-width: 62ch; }

h2 {
  font-size: 22px; letter-spacing: -0.02em; margin: 44px 0 14px;
  padding-top: 28px; border-top: 1px solid var(--border);
}
h3 { font-size: 16px; margin: 26px 0 8px; }
p, li { color: var(--text); }
p { margin: 0 0 14px; max-width: 70ch; }
ul, ol { max-width: 70ch; padding-left: 20px; }
li { margin-bottom: 8px; }
a { color: var(--brand); }
strong { font-weight: 650; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 18px 0; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px;
}
.card h3 { margin: 0 0 6px; font-size: 15px; }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); }

table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
code {
  background: var(--surface); border: 1px solid var(--border); border-radius: 5px;
  padding: 1px 5px; font-size: 13px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.note {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--brand); border-radius: var(--radius);
  padding: 16px 18px; margin: 20px 0;
}
.note p:last-child { margin-bottom: 0; }

.updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }

footer.site {
  margin-top: 64px; border-top: 1px solid var(--border);
  padding: 26px 0 44px; color: var(--muted); font-size: 14px;
}
footer.site a { color: var(--muted); }
footer.site .wrap { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
