@font-face {
  font-family: "Days One";
  src: url("/site-assets/DaysOne-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --canvas: #18181a;
  --card: #222225;
  --text: #f2f2f4;
  --muted: #a7a7ad;
  --accent: #7d67cd;
  --button-text: #1d1d1f;
  --line: #ffffff0f;
  --page-gutter: 40px;
  --frame-gutter: 120px;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 0; background: var(--canvas); color: var(--text); font: 400 14px/1.57 "Days One", sans-serif; }
h1, h2, p { margin: 0; font-weight: 400; }
a { color: inherit; }
a:focus-visible { outline: 2px solid #ccc1f6; outline-offset: 3px; border-radius: 4px; }
.frame { width: calc(100% - 2 * var(--frame-gutter)); margin-inline: auto; }
.header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand img { display: block; width: 70px; height: 70px; }
.nav { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; padding: 9px 16px; border-radius: 12px; }
.nav a:hover, .footer a:hover { color: var(--text); }
.nav [aria-current="page"] { color: var(--text); background: var(--accent); }
.card { margin-inline: var(--page-gutter); border-radius: 16px; background: var(--card); }
.hero { min-height: 648px; display: grid; place-items: center; text-align: center; padding: 36px 20px; }
.hero h1 { font-size: 64px; line-height: 80px; margin-bottom: 32px; }
.downloads { display: grid; grid-template-columns: repeat(2, 320px); gap: 16px; }
.download { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 16px; color: var(--button-text); background: var(--text); text-decoration: none; }
.download:hover { background: #e6e2fc; }
.download:active { background: #ccc1f6; }
.platform { display: grid; place-items: center; width: 20px; height: 20px; flex: 0 0 20px; }
.platform svg { display: block; fill: currentColor; }
.subtitle { margin-top: 16px; font-size: 12px; color: var(--muted); }
.document { padding: 56px 24px; }
.document-inner { max-width: 880px; margin-inline: auto; }
.document-header { display: grid; gap: 16px; margin-bottom: 40px; }
.document h1 { font-size: 32px; line-height: 1.25; overflow-wrap: anywhere; }
.document .meta { font-size: 12px; color: var(--muted); }
.document h2 { font-size: 20px; line-height: 1.4; margin-bottom: 12px; }
.document section + section { margin-top: 32px; }
.document section p { color: var(--muted); overflow-wrap: anywhere; }
.document section p + p { margin-top: 12px; }
.document a { color: var(--text); text-underline-offset: .2em; }
.footer { padding: 48px 0 28px; color: var(--muted); font-size: 12px; }
.footer-row { display: flex; gap: 20px; flex-wrap: wrap; align-items: baseline; justify-content: space-between; }
.footer-row:first-child { border-top: 1px solid var(--line); padding-top: 20px; }
.footer-row + .footer-row { margin-top: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.footer a { text-decoration: none; }
@media (max-width: 1150px) {
  :root { --frame-gutter: 40px; }
}
@media (max-width: 800px) {
  :root { --page-gutter: 16px; --frame-gutter: 16px; }
  .header { flex-wrap: wrap; padding-block: 8px 14px; gap: 8px; }
  .nav { justify-content: flex-start; }
  .nav a { padding-inline: 12px; }
  .hero { min-height: 520px; }
  .hero h1 { font-size: clamp(32px, 8vw, 56px); line-height: 1.25; }
  .downloads { grid-template-columns: minmax(0, 320px); }
  .document { padding-block: 36px; }
  .document h1 { font-size: clamp(20px, 6.6vw, 26px); }
  .footer { padding-top: 32px; }
}
