/* Minimal, self-contained styling for the public support site.
 *
 * No web font is loaded, no CSS is imported, no image is referenced and no
 * remote host appears anywhere in this file. That is deliberate: the site must
 * be independently inspectable and must carry no third-party request that a
 * visitor did not ask for. The system font stack below resolves locally on
 * every platform.
 */

:root {
  --ink: #16181d;
  --ink-soft: #4a4f58;
  --rule: #d9dce1;
  --page: #ffffff;
  --band: #f5f6f8;
  --link: #1b4a8a;
  --measure: 42rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8eaee;
    --ink-soft: #a8aeb8;
    --rule: #343841;
    --page: #16181d;
    --band: #1e2127;
    --link: #8fb6e8;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--page);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Header and navigation. Plain, always-visible links: never a collapsed menu,
 * because the Privacy Policy and Terms links have to be reachable without
 * anybody opening anything. */

.site-header {
  background: var(--band);
  border-bottom: 1px solid var(--rule);
  padding-block: 1rem;
}

.site-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.site-title a {
  color: var(--ink);
  text-decoration: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.site-nav a {
  color: var(--link);
  text-decoration: underline;
}

.site-nav a[aria-current="page"] {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
}

main {
  padding-block: 2rem 3rem;
}

h1 {
  font-size: 1.7rem;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 2rem 0 0.6rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
}

h3 {
  font-size: 1.02rem;
  margin: 1.4rem 0 0.4rem;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.4rem;
}

li {
  margin-bottom: 0.35rem;
}

a {
  color: var(--link);
}

.lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.meta {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* A callout for the things a reader must not misread as finished or as more
 * than the software actually does. */

.note {
  background: var(--band);
  border: 1px solid var(--rule);
  border-left-width: 4px;
  padding: 0.9rem 1.1rem;
  margin: 1.25rem 0;
}

.note > :last-child {
  margin-bottom: 0;
}

.contact-value {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--band);
  padding-block: 1.5rem 2rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.site-footer ul {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.site-footer p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}
