/* Quiet Relay site. No JavaScript, no external fonts or requests. Dark to match the logo's near-black background. */
:root {
  --bg: #00040b; /* the logo's own edge color (measured: rgb 0,4,11) so the image blends into the page */
  --surface: #0a1220;
  --surface-2: #101b2e;
  --line: #1c2b44;
  --text: #e6edf7;
  --muted: #9fb0c8;
  --blue: #4aa3ff;
  --blue-strong: #7dbdff;
  --red: #e5242b;
  --warn-bg: #3a2a05;
  --warn-text: #ffd27a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--blue-strong); text-underline-offset: 3px; }
a:hover { color: #fff; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: #000; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* The logo file is opaque: it has no alpha channel and its near-black background has a vignette (lighter toward the top). It is shown
   unaltered as a tile with rounded corners and a hairline border instead of being keyed out or recolored. */
.logo img { display: block; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.site-header .logo img { border-radius: 10px; }

/* Header: smaller logo on inner pages, linked to the homepage */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .bar { max-width: 880px; margin: 0 auto; padding: 8px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header .logo img { width: 170px; }
.site-header nav { display: flex; gap: 20px; font-size: 16px; }
.site-header nav a { color: var(--muted); text-decoration: none; padding: 8px 2px; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: #fff; }

/* Homepage: prominent logo */
.site-header .bar.center { justify-content: center; }
h2.first { margin-top: 8px; }
.hero { text-align: center; padding: 28px 20px 8px; }
.hero .logo { display: inline-block; }
.site-header .hero .logo img { width: min(69vw, 465px); } /* keeps the homepage logo large, including on phones */
.hero p.lead { margin: 4px auto 0; max-width: 34em; color: var(--muted); font-size: 19px; }

main { max-width: 880px; margin: 0 auto; padding: 24px 20px 56px; }
h1 { font-size: 34px; line-height: 1.2; margin: 8px 0 8px; }
h2 { font-size: 22px; line-height: 1.3; margin: 40px 0 8px; padding-top: 4px; }
h3 { font-size: 18px; margin: 24px 0 4px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
code { font: 15px ui-monospace, Consolas, monospace; background: var(--surface-2); padding: 1px 6px; border-radius: 4px; overflow-wrap: anywhere; }

.card { display: flex; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; text-decoration: none; color: inherit; }
.card:hover { border-color: var(--blue); }
.card img { width: 72px; height: 72px; flex: none; }
.card h3 { margin: 0 0 2px; color: var(--text); }
.card p { margin: 0; color: var(--muted); }
.card .card-cta { display: inline-block; margin-top: 8px; color: var(--blue-strong); font-weight: 600; }
.card:hover .card-cta { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.card:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.product-head { display: flex; gap: 20px; align-items: center; margin: 8px 0 12px; }
.product-head img { width: 96px; height: 96px; flex: none; }
.product-head h1 { margin: 0; }
.product-head p { margin: 2px 0 0; color: var(--muted); font-size: 19px; }

.notice { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 8px; padding: 12px 16px; margin: 16px 0; }
.notice p:last-child { margin-bottom: 0; }

/* A placeholder the owner must replace before the site goes live. The preview and the checker both flag it. */
.tbd { background: var(--warn-bg); color: var(--warn-text); border: 1px dashed var(--warn-text); border-radius: 6px; padding: 2px 8px; font-weight: 600; }

dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 8px 0 16px; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; overflow-wrap: anywhere; }

footer { border-top: 1px solid var(--line); }
footer .bar { max-width: 880px; margin: 0 auto; padding: 18px 20px 32px; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }
footer a:hover { color: #fff; }

@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .site-header .bar { padding: 6px 14px; }
  .site-header .logo img { width: 140px; }
  .site-header nav { gap: 14px; font-size: 15px; }
  h1 { font-size: 28px; }
  .product-head { align-items: flex-start; gap: 14px; }
  .product-head img { width: 72px; height: 72px; }
  .card { align-items: flex-start; }
  .card img { width: 56px; height: 56px; }
  dl.facts { grid-template-columns: 1fr; gap: 0; }
  dl.facts dt { margin-top: 8px; }
}
