/* Plainkeel
   Edit colors, type, and spacing here. Page copy lives in the HTML files.
   Newsreader © The Newsreader Project Authors, SIL OFL 1.1.
   Source Sans 3 © Adobe, SIL OFL 1.1. Reserved Font Name "Source".
   Licenses: /fonts/OFL-Newsreader.txt and /fonts/OFL-SourceSans3.txt */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/newsreader-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/newsreader-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-sans-3-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-sans-3-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f4f1ea;
  --surface: #fbf9f4;
  --ink: #1c2430;
  --muted: #3e4a59;
  --line: #cfc6b6;
  --accent: #164840;
  --accent-ink: #f7fbfa;
  --soft: #e4eeea;
  --soft-ink: #123f3a;
  --focus: #164840;
  --glow: rgba(22, 72, 64, 0.08);
  --selection: #d5e8e2;
  --serif: "Newsreader", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Source Sans 3", "Avenir Next", "Segoe UI", sans-serif;
  --wrap: 56rem;
  --measure: 38rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12171b;
    --surface: #1b2228;
    --ink: #f3efe8;
    --muted: #c5ced6;
    --line: #3a4854;
    --accent: #a5ddd3;
    --accent-ink: #10211f;
    --soft: #1c3330;
    --soft-ink: #d5f3ec;
    --focus: #a5ddd3;
    --glow: rgba(165, 221, 211, 0.09);
    --selection: #24564f;
    color-scheme: dark;
  }
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  background-image: radial-gradient(ellipse 80% 42% at 0% -8%, var(--glow), transparent 58%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

main {
  flex: 1;
}

main:focus {
  outline: none;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
figure {
  margin: 0;
}

strong {
  font-weight: 600;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

:focus:not(:focus-visible) {
  outline: none;
}

::selection {
  background: var(--selection);
  color: var(--ink);
}

img,
svg {
  max-width: 100%;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 10;
  padding: 0.55rem 0.85rem;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  border-radius: 0.45rem;
  transform: translateY(-160%);
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

@media (min-width: 48rem) {
  .wrap {
    width: min(var(--wrap), calc(100% - 3rem));
  }
}

.site-header {
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.25rem;
  min-height: 4.25rem;
  padding-block: 0.8rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding-block: 0.35rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.logo:hover {
  color: var(--accent);
  text-decoration: none;
}

.mark {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
  flex: 0 0 auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1.15rem;
}

.nav a {
  display: inline-block;
  padding: 0.55rem 0.1rem;
  color: var(--ink);
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent);
}

.nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.28em;
  text-decoration-color: var(--accent);
}

.hero {
  padding-top: clamp(2.6rem, 8vw, 5.75rem);
  padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 11.2em;
  margin-bottom: 1.15rem;
  font-size: clamp(2.35rem, 6.2vw, 3.55rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.lede {
  max-width: var(--measure);
  font-size: 1.2rem;
  line-height: 1.55;
}

.byline {
  max-width: var(--measure);
  margin-top: 1.15rem;
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.4;
}

.apps {
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
}

.apps h2 {
  margin-bottom: 0.95rem;
  font-size: 1.45rem;
}

.cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 48rem) {
  .cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  min-height: 100%;
  padding: 1.25rem 1.3rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

@media (prefers-reduced-motion: no-preference) {
  .card {
    transition: border-color 160ms ease;
  }
}

.card:hover {
  border-color: var(--accent);
}

.card-top {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.card .kicker {
  margin: 0;
}

.num {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--accent);
}

.card h3 {
  font-size: clamp(1.85rem, 3vw, 2.2rem);
}

.card h3 a {
  color: var(--ink);
  text-underline-offset: 0.14em;
}

.card h3 a:hover {
  color: var(--accent);
}

.card p {
  max-width: 36rem;
}

.store-slot {
  margin-top: auto;
  padding-top: 0.35rem;
}

.coming-soon {
  display: inline-block;
  align-self: flex-start;
  padding: 0.32rem 0.72rem;
  background: var(--soft);
  color: var(--soft-ink);
  border-radius: 999px;
  font-size: 0.95rem;
  line-height: 1.35;
}

.store-badge {
  display: inline-block;
}

.store-badge img {
  display: block;
  width: auto;
  height: 2.5rem;
}

.page {
  padding-top: clamp(1.75rem, 5vw, 3.25rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.prose {
  max-width: var(--measure);
}

.crumbs {
  margin-bottom: 1.35rem;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.crumbs li {
  display: inline-flex;
  gap: 0.35rem;
}

.crumbs li:not(:last-child)::after {
  content: "/";
  color: var(--muted);
}

.crumbs [aria-current="page"] {
  color: var(--ink);
}

.prose h1 {
  margin-bottom: 0.85rem;
  font-size: clamp(2.35rem, 6vw, 3.35rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.prose .kicker {
  margin-bottom: 0.45rem;
}

.prose .lede {
  font-size: 1.175rem;
}

.prose .store-slot {
  margin-top: 1.2rem;
  margin-bottom: 0.25rem;
}

.effective {
  color: var(--muted);
}

.prose h2 {
  margin-top: 2.35rem;
  margin-bottom: 0.55rem;
  font-size: 1.6rem;
  scroll-margin-top: 1rem;
}

.prose p,
.prose ul,
.prose ol {
  margin-top: 0.7rem;
}

.prose h2 + p,
.prose h2 + ul,
.prose h2 + ol {
  margin-top: 0;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.prose li::marker {
  color: var(--accent);
}

.note {
  margin-top: 0.85rem;
  padding: 0.1rem 0 0.1rem 0.9rem;
  border-left: 3px solid var(--accent);
}

.facts {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

@media (min-width: 36rem) {
  .facts {
    grid-template-columns: 1fr 1fr;
  }
}

.facts div {
  display: grid;
  gap: 0.15rem;
}

.facts dt {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
}

.link-list {
  padding-left: 1.2rem;
}

.link-list li + li {
  margin-top: 0.35rem;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 1.2rem 2rem;
  padding-top: 1.6rem;
  padding-bottom: calc(1.8rem + env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 1rem;
}

@media (min-width: 52rem) {
  .footer-grid {
    grid-template-columns: 1.15fr 1fr 1fr 1.25fr;
    align-items: start;
  }
}

.footer-grid nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
}

.footer-label {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.copyright {
  margin: 0;
  color: var(--ink);
}

address {
  margin: 0;
  font-style: normal;
}

address a {
  overflow-wrap: anywhere;
}

.site-footer a {
  padding-block: 0.15rem;
}

@media (forced-colors: active) {
  .coming-soon,
  .card,
  .facts {
    border: 1px solid CanvasText;
  }
}

@media print {
  body {
    display: block;
    min-height: 0;
    background: #fff;
    color: #000;
  }

  .skip,
  .nav,
  .site-footer {
    display: none;
  }

  .site-header {
    border-bottom: 1px solid #000;
  }

  a {
    color: #000;
  }

  .prose a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.9em;
  }

  .card,
  .facts {
    break-inside: avoid;
    border-color: #000;
  }
}
