/* SP Avatr — support site.
   One stylesheet, no build step, no external assets, no webfonts.
   Palette is sampled from the app icon: a deep navy ground and the cyan of the
   wireframe glow. Dark is the product's look, so it is the default; a light
   palette is defined for readers whose OS asks for one. Every colour is a token
   defined on bare :root first — none is only ever set inside a media query. */

:root {
  --bg:        #0A0E14;
  --surface:   #10161F;
  --border:    #1B2430;
  --rule:      #161E28;
  --fg:        #E9EEF4;
  --fg-soft:   #C2CCD8;
  --muted:     #7E8C9C;
  --accent:    #6BC5E8;
  --accent-in: #0A0E14;
  --shadow:    0 18px 40px rgba(0, 0, 0, .5);
}
@media (prefers-color-scheme: light) {
  :root {
    --bg:        #FBFCFD;
    --surface:   #FFFFFF;
    --border:    #E1E7ED;
    --rule:      #EBEFF3;
    --fg:        #0E141C;
    --fg-soft:   #35414F;
    --muted:     #64717F;
    --accent:    #0B6E8C;
    --accent-in: #FFFFFF;
    --shadow:    0 14px 34px rgba(14, 20, 28, .07);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg-soft);
  font: 400 16.5px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  padding: 0 28px 96px;
}

.wrap { max-width: 660px; margin: 0 auto; }

/* ---- masthead ---------------------------------------------------------- */

.masthead {
  display: flex; align-items: center; gap: 13px;
  padding: 40px 0 26px;
}
.masthead img {
  width: 36px; height: 36px; border-radius: 9px; display: block;
  border: 1px solid var(--border);
}
.masthead .name {
  font-size: 15px; font-weight: 600; color: var(--fg);
  letter-spacing: -.01em; line-height: 1.3;
}
.masthead .role {
  font-size: 13px; color: var(--muted); line-height: 1.3;
}
.masthead nav {
  margin-left: auto; display: flex; gap: 20px;
  font-size: 14px;
}
.masthead nav a { color: var(--muted); }
.masthead nav a:hover, .masthead nav a[aria-current] { color: var(--fg); }

/* ---- type -------------------------------------------------------------- */

h1 {
  font-size: 30px; line-height: 1.25; letter-spacing: -.021em;
  font-weight: 600; color: var(--fg); margin: 26px 0 16px;
}
.lede {
  font-size: 18px; line-height: 1.6; color: var(--fg-soft);
  margin: 0 0 12px; max-width: 58ch;
}

h2 {
  font-size: 12px; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted);
  margin: 0 0 22px; padding-top: 30px; border-top: 1px solid var(--rule);
}
h3 {
  font-size: 16.5px; font-weight: 600; color: var(--fg);
  letter-spacing: -.006em; margin: 0 0 6px;
}

p { margin: 0 0 15px; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px;
}
strong { color: var(--fg); font-weight: 600; }

ul { margin: 0 0 15px; padding-left: 20px; }
li { margin: 0 0 8px; }
li::marker { color: var(--muted); }

code {
  font: 400 13.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--fg); background: var(--surface);
  border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px;
}

.muted { color: var(--muted); }
.small { font-size: 14.5px; }

/* ---- sections ---------------------------------------------------------- */

section { margin-top: 44px; }
section:first-of-type h2 { border-top: 0; padding-top: 0; }

/* A list of things, separated by hairlines rather than boxed in cards. */
.rows { border-top: 1px solid var(--rule); }
.row {
  padding: 18px 0; border-bottom: 1px solid var(--rule);
}
.row:last-child { border-bottom: 0; }
.row h3 span { color: var(--muted); font-weight: 400; }
.row p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* Question / answer, same hairline rhythm. */
.qa { border-top: 1px solid var(--rule); }
.qa > div {
  padding: 22px 0; border-bottom: 1px solid var(--rule);
}
.qa > div:last-child { border-bottom: 0; }
.qa h3 { margin-bottom: 8px; }
.qa p { font-size: 15.5px; }

/* One quiet emphasis block — used sparingly, at most once per page. */
.callout {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px 18px; margin: 0 0 15px;
  font-size: 15.5px;
}

dl.meta { margin: 0; font-size: 15.5px; }
dl.meta div {
  display: flex; gap: 16px; padding: 11px 0;
  border-bottom: 1px solid var(--rule);
}
dl.meta div:last-child { border-bottom: 0; }
dl.meta dt { color: var(--muted); flex: 0 0 92px; }
dl.meta dd { margin: 0; }

/* ---- footer ------------------------------------------------------------ */

.colophon {
  margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--rule);
  font-size: 13.5px; line-height: 1.65; color: var(--muted);
}
.colophon p { margin: 0 0 7px; }
.colophon a {
  color: var(--muted);
  text-decoration: underline; text-decoration-color: var(--border);
  text-underline-offset: 3px;
}
.colophon a:hover { color: var(--fg); text-decoration-color: var(--muted); }

/* ---- small screens ----------------------------------------------------- */

@media (max-width: 560px) {
  body { padding: 0 20px 72px; font-size: 16px; }
  .masthead { flex-wrap: wrap; padding-top: 30px; }
  .masthead nav { margin-left: 0; width: 100%; padding-top: 4px; gap: 18px; }
  h1 { font-size: 26px; }
  .lede { font-size: 17px; }
  dl.meta div { flex-direction: column; gap: 2px; }
}
