:root {
  --bg: #f7f5f0;
  --fg: #1d1b18;
  --muted: #6b665d;
  --rule: #ddd8cc;
  --accent: #0a4e92;
  --brand-ink: #0a1638;
  --on-accent: #ffffff;
  --panel: #efebe2;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161513;
    --fg: #ebe7df;
    --muted: #a39d92;
    --rule: #34312c;
    --accent: #f4a259;
    --brand-ink: #ebe7df;
    --on-accent: #161513;
    --panel: #201e1b;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main { max-width: 38rem; margin: 0 auto; padding: 3rem 16px 4rem; }
header { margin-bottom: 2.5rem; }
header a { color: inherit; text-decoration: none; }
/* The logo from brand/emit.mjs, with our tagline set as live text where
   Gemini's was: under the wordmark, which starts 31.4% across the image. It is
   sized by the lockup's own width so the two scale as one piece. */
.lockup { position: relative; display: block; container-type: inline-size; width: min(100%, 26rem); }
.lockup img { display: block; width: 100%; height: auto; }
.lockup .tagline {
  position: absolute; left: 31.4%; top: 77%;
  font: 500 4.6cqw/1 "Montserrat", system-ui, sans-serif;
  color: var(--brand-ink); white-space: nowrap;
}
.lockup.small { width: 9.5rem; }
.hero { margin: 0.5rem 0 2.5rem; }
h1 { font-size: 2rem; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 1rem; }
h2 { font-size: 1.15rem; margin: 2.25rem 0 0.5rem; }
p, li { max-width: 65ch; }
a { color: var(--accent); }
.muted { color: var(--muted); }
footer {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
}
footer a { color: inherit; }

/* The connect guide. */
code { font: 0.92em ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.address code { display: inline-block; background: var(--panel); padding: 0.4rem 0.7rem; border-radius: 8px; font-size: 1rem; }
.jump { margin: 1.5rem 0 0; color: var(--muted); }
section { margin-top: 2.5rem; padding-top: 0.25rem; border-top: 1px solid var(--rule); }
section h2 { margin-top: 1.25rem; }
ol { padding-left: 1.4rem; }
ol li { margin: 0.35rem 0; }
a.button {
  display: inline-block; background: var(--accent); color: var(--on-accent);
  text-decoration: none; padding: 0.75rem 1.4rem; border-radius: 10px; font-weight: 600;
}
.status { display: inline-block; margin: 0 0 0.5rem; padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--panel); color: var(--muted); font-size: 0.85rem; }
.try { background: var(--panel); padding: 0.75rem 1rem; border-radius: 10px; }
details { margin: 1rem 0; }
summary { cursor: pointer; color: var(--accent); }

/* The docs page's tool tables: they scroll inside themselves at phone width, never the page. */
h3 { font-size: 1rem; margin: 1.5rem 0 0.4rem; }
table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 0.95rem; margin: 0.5rem 0 1rem; }
th, td { text-align: left; vertical-align: top; padding: 0.45rem 0.6rem 0.45rem 0; border-bottom: 1px solid var(--rule); }
th { color: var(--muted); font-weight: 600; }
td:last-child { color: var(--muted); }
td code { overflow-wrap: normal; word-break: keep-all; white-space: nowrap; font-size: 0.85em; }
