/* The design of fynnstarke.com, used for the Dispatch pages at dispatch.fynnstarke.com. */
/* The server sends no cache headers, so browsers keep an old copy: bump ?v= in the pages' <link> whenever this file changes. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@400;800&display=swap');

:root {
  color-scheme: light;
  --ink: #192127;
  --muted: #647078;
  --line: #e4e8eb;
  --accent: #245acb;
  --paper: #fff;
  --tint: #f5f7fa;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
.page {
  max-width: 960px;
  padding: 0 48px;
  margin: auto;
}
header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: space-between;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
/* The Dispatch logo and name, so these pages carry the same mark as the app and its Google sign-in. */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Manrope, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
/* The stamp sits 14/120 of its width inside its square; the negative margins line it up with the text. */
.brand img {
  display: block;
  width: 36px;
  height: 36px;
  margin-left: -4px;
}
.brand:hover {
  color: inherit;
}
.app-icon {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 0 32px -13px;
}
h1 span {
  color: var(--accent);
}
nav {
  display: flex;
  gap: 28px;
  font-size: 0.9rem;
}
nav a {
  white-space: nowrap;
}
nav a[aria-current='page'] {
  text-decoration: underline;
  text-underline-offset: 4px;
}
h1,
h2,
p {
  margin-top: 0;
}
.intro {
  padding: 90px 0 76px;
  max-width: 700px;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 18px;
}
h1 {
  font-family: Manrope, sans-serif;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.1;
  margin-bottom: 25px;
}
.lead {
  font-family: Manrope, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.035em;
  line-height: 1.28;
  margin-bottom: 24px;
}
.bio {
  color: var(--muted);
  max-width: 600px;
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 0;
}
section + section {
  margin-bottom: 58px;
}
.section-heading {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
h2 {
  font-size: 1.1rem;
  letter-spacing: -0.025em;
  margin-bottom: 0;
  font-weight: 600;
}
.prose {
  max-width: 650px;
  padding-top: 24px;
  color: var(--muted);
  line-height: 1.7;
}
.prose p,
.prose li {
  margin: 0 0 11px;
}
.prose ul {
  margin: 0;
  padding-left: 1.2rem;
}
.prose a {
  color: var(--accent);
}
.prose a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose strong {
  font-weight: 500;
  color: var(--ink);
}
code {
  font-size: 0.85em;
  background: var(--tint);
  border-radius: 4px;
  padding: 1px 5px;
  overflow-wrap: anywhere;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 26px 0 40px;
  font-size: 0.875rem;
  color: var(--muted);
}
footer p {
  margin: 0;
}
footer a:hover {
  color: var(--accent);
}
.footer-links {
  display: flex;
  gap: 20px;
}
.skip {
  position: absolute;
  top: -100px;
  padding: 10px;
  background: white;
}
.skip:focus {
  top: 10px;
}
@media (max-width: 600px) {
  .page {
    padding: 0 24px;
  }
  header {
    padding: 25px 0;
  }
  nav {
    gap: 17px;
    font-size: 0.875rem;
  }
  .intro {
    padding: 62px 0 56px;
  }
  section + section {
    margin-bottom: 44px;
  }
  footer {
    flex-wrap: wrap;
  }
}
