:root {
  --ink: #1f2330;
  --soft: #555c6e;
  --line: #e4e7ef;
  --accent: #2191FB;
  --tip-bg: #eaf4ff;
  --tip-line: #2191FB;
  --ok-bg: #e9faf6;
  --ok-line: #41D3BD;
  --help-bg: #fff6ec;
  --help-line: #e08a2b;
  --code-bg: #1f2330;
  --code-ink: #f4f6fb;
  --nav: #006571;
  --nav-current: #F902A8;
  --step-num: #006571;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: #fbfbfd;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 32px 20px 80px; }
nav.site-nav {
  border-bottom: 1px solid var(--line);
  padding: 0 0 18px;
  margin-bottom: 28px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}
nav.site-nav a {
  color: var(--nav);
  text-decoration: none;
  font-weight: 600;
}
nav.site-nav a:hover { color: var(--nav-current); }
nav.site-nav a.current {
  color: var(--nav-current);
  text-decoration: underline;
  text-underline-offset: 4px;
}
header { padding: 16px 0 8px; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 6px; }
.sub { color: var(--soft); font-size: 1.05rem; margin: 0 0 4px; }
.time { color: var(--soft); font-size: 0.95rem; }
h2 {
  font-size: 1.3rem; margin: 44px 0 4px; padding-top: 20px;
  border-top: 2px solid #cfe2fa;
}
h2 .num {
  display: inline-block; min-width: 1.8rem; color: var(--nav-current); font-weight: 700;
}
h3 {
  font-size: 1.05rem; margin: 26px 0 4px; color: var(--nav);
}
ul li::marker { color: var(--accent); }
ol li::marker { color: var(--step-num); font-weight: 700; }
code {
  background: #eef2f7;
  border: 1px solid #dce3ed;
  border-radius: 4px;
  padding: 1px 6px;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  color: var(--ink);
}
ol.steps { padding-left: 1.3rem; margin: 12px 0; }
ol.steps > li { margin: 8px 0; }
p { margin: 12px 0; }
a { color: var(--accent); }
.callout {
  border-left: 4px solid var(--tip-line);
  background: var(--tip-bg);
  padding: 12px 16px; border-radius: 6px; margin: 16px 0;
}
.done-banner {
  margin: 56px 0;
  padding: 22px 18px;
  text-align: center;
  background: var(--ok-bg);
  border: 3px solid var(--ok-line);
  border-radius: 10px;
  font-size: 1.3rem;
  font-weight: 700;
}
h2.section-label {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--soft);
  border-top: none;
}
details.ref summary h2 {
  border-top: none;
  padding-top: 6px;
  margin-top: 10px;
}
.done-banner .done-sub {
  display: block;
  margin-top: 6px;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--soft);
}
.callout.ok { border-color: var(--ok-line); background: var(--ok-bg); }
.callout.help { border-color: var(--help-line); background: var(--help-bg); }
.callout.security { border-color: var(--nav-current); background: #fff0f9; }
.callout.try { border-color: var(--nav); background: #e9f5f6; }
.callout .label {
  display: block; font-weight: 700; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px;
}
.callout.ok .label { color: var(--ok-line); }
.callout.help .label { color: var(--help-line); }
.callout.tip .label { color: var(--tip-line); }
.callout.security .label { color: var(--nav-current); }
.callout.try .label { color: var(--nav); }
.cmd {
  display: flex; align-items: stretch; gap: 0; margin: 14px 0;
  background: var(--code-bg); border-radius: 8px; overflow: hidden;
}
.cmd code {
  flex: 1; color: var(--code-ink); font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.95rem; padding: 12px 14px; white-space: pre-wrap; word-break: break-word;
  background: transparent; border: 0; border-radius: 0;
}
.cmd button {
  border: 0; background: rgba(255,255,255,0.12); color: #fff;
  padding: 0 16px; cursor: pointer; font-size: 0.85rem; font-weight: 600;
  transition: background 0.15s;
}
.cmd button:hover { background: rgba(255,255,255,0.25); }
.cmd button.copied { background: var(--ok-line); }
a.btn {
  display: inline-block; padding: 11px 22px; border-radius: 8px;
  background: var(--accent); color: #fff; font-weight: 600;
  text-decoration: none;
}
a.btn:hover { background: #1879d6; }
kbd {
  background: #fff; border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 4px; padding: 1px 6px; font-size: 0.85rem; font-family: inherit;
}
.pill {
  display: inline-block; background: #eef0f6; color: var(--soft);
  font-size: 0.8rem; padding: 2px 10px; border-radius: 999px; margin-top: 6px;
}
.os-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px;
  overflow: hidden; margin-top: 10px; background: #fff;
}
.os-toggle button {
  border: 0; background: transparent; color: var(--soft); cursor: pointer;
  padding: 6px 20px; font-size: 0.92rem; font-family: inherit;
}
.os-toggle button.active {
  background: var(--nav); color: #fff; font-weight: 600;
}
.os-windows .mac-only, .os-windows .linux-only { display: none; }
.os-mac .win-only, .os-mac .linux-only { display: none; }
.os-linux .win-only, .os-linux .mac-only { display: none; }
.os-linux .not-linux { display: none; }
.glossary-term {
  font-size: 1.05rem; font-weight: 700; margin: 26px 0 4px; color: var(--nav);
}
.glossary-term code { font-size: 0.95rem; }
.toc {
  background: var(--tip-bg); border: 1px solid #cfe2fa; border-radius: 8px;
  padding: 16px 20px; margin: 20px 0 28px;
}
.toc h3 { margin: 0 0 8px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--nav); }
.toc ul { margin: 0; padding-left: 1.2rem; }
.toc li { margin: 4px 0; }
footer {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line);
  color: var(--soft); font-size: 0.95rem;
}

/* Collapsible sections (<details class="fold">) — used on the setup
   page for the read-if-you-want background sections. Collapsed by
   default (browser behaviour); the summary keeps its h2 look and
   gains an arrow so it reads as openable. */
details.fold summary {
  cursor: pointer;
  list-style: none;
}
details.fold summary::-webkit-details-marker { display: none; }
details.fold summary h2::after {
  content: " ▸ show";
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--soft);
  white-space: nowrap;
}
details.fold[open] summary h2::after { content: " ▾ hide"; }
details.fold summary:hover h2 { color: var(--nav); }

/* Homepage: the get-set-up link + waiting-list sign-up box
   (form mirrors the one on fieldleveltech.org; sign-ups are relayed
   to the same waiting list — see functions/api/signup.js). */
a.cta {
  display: inline-block;
  background: var(--nav);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 8px;
}
a.cta:hover { background: var(--nav-current); }

/* The waiting-list card, styled to match the one on fieldleveltech.org
   (rules lifted from their live dialog 2026-07-23). Inter is
   self-hosted (one variable-weight latin file, ~47 KB) rather than
   loaded from Google — visitors' addresses stay off third-party
   servers, which the privacy policy will thank us for. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
.waitlist {
  background: rgb(245, 235, 235);
  border-radius: 28px;
  font-family: Inter, sans-serif;
  padding: 44px 40px 40px;
  position: relative;
  max-width: 480px;
  margin: 36px 0;
}
@media (max-width: 600px) { .waitlist { padding: 40px 26px 32px; } }
.waitlist__eyebrow {
  color: rgb(249, 2, 168);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.waitlist__heading {
  border-top: 0;
  padding-top: 0;
  color: rgb(0, 101, 113);
  font-family: Inter, sans-serif;
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0 0 16px;
}
.waitlist__accent { color: rgb(65, 211, 189); }
.waitlist__intro {
  color: rgb(0, 101, 113);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 28px;
  opacity: 0.85;
}
.wl-form { display: flex; flex-direction: column; }
.wl-form__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.wl-form__input,
.wl-form__label { color: rgb(0, 101, 113); font-family: Inter, sans-serif; }
.wl-form__input {
  background: #fff;
  border: 2px solid rgb(216, 201, 201);
  border-radius: 12px;
  font-size: 1rem;
  margin-bottom: 18px;
  padding: 12px 14px;
  transition: border-color 0.15s;
}
.wl-form__input::placeholder { color: rgb(0, 101, 113); opacity: 0.4; }
.wl-form__input:focus { border-color: rgb(33, 145, 251); outline: none; }
.wl-form__honeypot {
  height: 1px;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 1px;
}
.wl-form__error {
  color: rgb(192, 20, 60);
  font-family: Inter, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 16px;
}
.wl-form__submit {
  background: rgb(0, 101, 113);
  border: none;
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  font-family: Inter, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 6px;
  padding: 14px 18px;
  transition: background-color 0.15s;
}
.wl-form__submit:hover:not(:disabled) { background: rgb(33, 145, 251); }
.wl-form__submit:disabled { cursor: default; opacity: 0.65; }
.wl-form__privacy {
  color: rgb(0, 101, 113);
  font-family: Inter, sans-serif;
  font-size: 0.8rem;
  line-height: 1.4;
  margin: 16px 0 0;
  opacity: 0.7;
  text-align: center;
}
.wl-form__privacy a {
  border-bottom: 1px solid rgb(249, 2, 168);
  color: rgb(33, 145, 251);
  font-weight: 600;
  text-decoration: none;
}
.wl-form__privacy a:hover { color: rgb(0, 101, 113); }
.wl-form__done {
  background: rgb(0, 101, 113);
  border-radius: 12px;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 18px;
  text-align: center;
  margin: 0;
}
