/* Release notes page. Same colors and fonts as the app, kept in its own
   file so it never touches the app styles. */

:root {
  --ground: #0E0D0C;
  --text: #F2EDE6;
  --muted: #A39C93;
  --dim: #8A847C;
  --line: rgba(242, 237, 230, 0.1);
  --serif: "Newsreader", Georgia, serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p, ul { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid rgba(242, 237, 230, 0.75); outline-offset: 3px; border-radius: 4px; }

.page {
  max-width: 880px;
  margin: 0 auto;
  padding: env(safe-area-inset-top) max(20px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(20px, env(safe-area-inset-left));
}

.top { display: flex; justify-content: space-between; align-items: center; min-height: 76px; }
.brand { font-family: var(--serif); font-size: 22px; text-decoration: none; }
.quiet {
  color: var(--muted);
  text-decoration: underline; text-decoration-color: rgba(163, 156, 147, 0.4);
  text-underline-offset: 5px;
}
.quiet:hover { color: var(--text); text-decoration-color: var(--text); }

main { padding-top: 56px; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 7vw, 64px); line-height: 1.05; letter-spacing: -0.02em; }
.lede { margin-top: 14px; color: var(--muted); }

.release { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.when { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.release h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -0.01em; }
.release time { color: var(--dim); font-size: 15px; }
.release ul { padding-left: 1.1em; color: var(--muted); display: grid; gap: 8px; max-width: 38em; }
.release li::marker { color: var(--dim); }

.foot { margin-top: 96px; padding: 28px 0 40px; border-top: 1px solid var(--line); font-size: 15px; }

@media (min-width: 720px) {
  .page { padding-left: 40px; padding-right: 40px; }
  .release { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
  .when { flex-direction: column; justify-content: flex-start; gap: 4px; }
}
