/* sereno.svsabado.com. Brand from the Passage Galley standards:
   Playfair Display headings, Open Sans body, #03A9F4 accent. Fonts are
   served from here, so the page loads nothing from any other site. */

@font-face {
  font-family: "Playfair Display";
  src: url("fonts/PlayfairDisplay-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("fonts/OpenSans-VF.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --accent: #03A9F4;
  --deep: #0A6E9C;
  --ink: #12303f;
  --text: #33464f;
  --muted: #5d6f78;
  --rule: #d9e6ec;
  --bg: #ffffff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #29b6f6;
    --deep: #7fcff5;
    --ink: #e9f3f8;
    --text: #c6d4db;
    --muted: #8fa3ad;
    --rule: #22343d;
    --bg: #0d171c;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 "Open Sans", -apple-system, "Segoe UI", sans-serif;
}
main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 3.5rem 1rem 4rem;
}

.masthead {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.badge { width: 96px; height: 96px; flex: none; border-radius: 50%; }
h1, h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin: 0;
}
h1 { font-size: 3rem; letter-spacing: 0.01em; }
.byline { margin: 0.1rem 0 0; color: var(--muted); font-size: 1rem; }

.lede { font-size: 1.15rem; color: var(--ink); margin: 0 0 2.5rem; }

.tool {
  border-top: 1px solid var(--rule);
  padding: 1.75rem 0 0.5rem;
}
.tool h2 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.tool p { margin: 0 0 0.75rem; }
.status { color: var(--muted); font-style: italic; }
.note { color: var(--muted); font-size: 0.92rem; }

a { color: var(--deep); }
.action a {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  min-height: 44px;
}
.action a:hover { background: var(--deep); }
.action a:focus-visible, a:focus-visible {
  outline: 3px solid var(--deep);
  outline-offset: 3px;
}

footer {
  margin-top: 2.5rem;
  padding: 1.5rem 1.25rem;
  border-left: 4px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--bg));
}
footer h2 { font-size: 1.4rem; margin-bottom: 0.4rem; }
footer p { margin: 0; overflow-wrap: anywhere; }

@media (max-width: 480px) {
  main { padding-top: 2rem; }
  h1 { font-size: 2.4rem; }
  .badge { width: 72px; height: 72px; }
}
