:root {
  color-scheme: light;
  --ink: #1d211f;
  --paper: #ffffff;
  --muted: #5f6662;
  --rule: #e1e4e2;
  --accent: #2e5745;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; }
header, main, footer { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; padding-block: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.125rem; font-weight: 600; text-decoration: none; letter-spacing: -.02em; }
.brand img { width: 32px; height: 32px; border-radius: 7px; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; font-size: .875rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
nav a:hover { text-decoration: underline; }
main { padding-block: 62px 84px; }
h1 { font-size: clamp(2.75rem, 4.8vw, 4.25rem); font-weight: 600; line-height: 1.08; letter-spacing: -.045em; overflow-wrap: anywhere; }
.hero { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 80px; }
.hero-copy { min-width: 0; }
.lead { max-width: 470px; color: var(--muted); font-size: 1.125rem; line-height: 1.7; margin-top: 26px; }
.app-facts { color: var(--muted); font-size: .875rem; margin-top: 18px; }
.app-preview { min-width: 0; padding-block: 12px; }
.app-preview img { width: min(100%, 284px); margin-inline: auto; border: 1px solid #d5d9d6; border-radius: 22px; box-shadow: 0 12px 36px #1d211f0a; }
.downloads { max-width: 440px; border-top: 1px solid var(--rule); margin-top: 34px; padding-top: 20px; scroll-margin-top: 24px; }
.download-topline { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; }
.downloads h2 { font-size: 1rem; }
.device-choice { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; max-width: 100%; font-size: .875rem; }
.device-choice label { color: var(--muted); }
.device-choice select { max-width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--rule); border-radius: 5px; background: var(--paper); color: var(--ink); }
.download-status { margin: 10px 0 18px; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.download-options { display: grid; gap: 24px; }
.download-option { min-width: 0; }
.platform-name { font-size: .875rem; margin-bottom: 8px; }
.button { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; width: 100%; padding: 12px 18px; border: 1px solid var(--ink); border-radius: 6px; background: var(--ink); color: var(--paper); font-size: 1rem; font-weight: 500; text-decoration: none; }
.button:hover { background: #363c38; }
.button.secondary { margin-top: 10px; background: var(--paper); color: var(--ink); border-color: var(--rule); }
.button.secondary:hover { border-color: var(--ink); }
.download-meta { font-size: .875rem; color: var(--muted); margin-top: 8px; }
.download-checksum { font-size: .8125rem; color: var(--muted); margin-top: 6px; overflow-wrap: anywhere; }
.download-checksum code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .75rem; color: var(--ink); word-break: break-all; }
.download-checksum .small-link { margin-left: 4px; white-space: nowrap; }
.download-details { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; font-size: .875rem; color: var(--muted); }
.small-link { color: var(--ink); }
.pending { padding: 12px 0; font-size: 1rem; color: var(--muted); }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; border-top: 1px solid var(--rule); margin-top: 88px; padding-top: 46px; }
.principles article { min-width: 0; }
.principles h2, .tablet-copy h2 { font-size: 1.5rem; letter-spacing: -.025em; line-height: 1.3; }
.principles p { color: var(--muted); margin-top: 18px; }
.principles a { display: inline-block; margin-top: 18px; }
.tablet-section { margin-top: 80px; padding-top: 42px; border-top: 1px solid var(--rule); }
.tablet-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-bottom: 30px; }
.tablet-copy p { color: var(--muted); }
.tablet-section > img { width: 100%; border: 1px solid var(--rule); border-radius: 8px; }
.tablet-caption { margin-top: 12px; font-size: .875rem; color: var(--muted); }
.body-copy { max-width: 720px; margin-inline: auto; }
.body-copy h1 { font-size: clamp(2.25rem, 4vw, 3rem); margin-bottom: 24px; letter-spacing: -.035em; }
.body-copy .lead { max-width: none; margin: 0 0 32px; }
.body-copy > p { margin-bottom: 22px; }
.body-copy h2 { font-size: 1.375rem; line-height: 1.3; margin: 34px 0 14px; letter-spacing: -.015em; }
.body-copy a { overflow-wrap: anywhere; }
.muted { color: var(--muted); font-size: .875rem; }
details { padding: 22px 0; border-bottom: 1px solid var(--rule); }
details:first-of-type { border-top: 1px solid var(--rule); }
details:target { scroll-margin-top: 24px; }
details[open] summary { margin-bottom: 16px; }
summary { min-height: 28px; font-size: 1rem; font-weight: 500; cursor: pointer; }
details p { color: var(--muted); margin-top: 14px; }
footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-block: 26px 32px; border-top: 1px solid var(--rule); font-size: .875rem; color: var(--muted); }
.footer-brand { font-weight: 600; text-decoration: none; color: var(--ink); }
footer > span:last-child { display: flex; flex-wrap: wrap; gap: 24px; }
.skip { position: fixed; z-index: 20; top: -100px; left: 16px; padding: 12px 20px; border: 1px solid var(--ink); background: var(--paper); }
.skip:focus { top: 12px; }
/* The unlisted library uses these shared classes. */
.eyebrow { font-size: .875rem; color: var(--muted); margin-bottom: 16px; }
.notice { border-left: 2px solid var(--rule); padding: 4px 0 4px 20px; margin: 30px 0; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; }
.feature-list > div { min-width: 0; }
.feature-list h2 { font-size: 1.375rem; line-height: 1.3; margin-bottom: 12px; }
.feature-list p { color: var(--muted); }
@media (max-width: 1000px) {
  header, main, footer { width: calc(100% - 64px); }
  .hero { gap: 40px; }
  .principles, .tablet-copy { gap: 40px; }
}
@media (max-width: 720px) {
  header, main, footer { width: calc(100% - 40px); }
  header { padding-block: 16px; }
  nav { gap: 20px; }
  main { padding-block: 36px 52px; }
  .hero { grid-template-columns: 1fr; gap: 40px; }
  h1 { font-size: clamp(2.75rem, 8vw, 3.75rem); }
  .lead { margin-top: 22px; }
  .downloads { max-width: none; margin-top: 28px; }
  .app-preview { padding-block: 0; }
  .app-preview img { width: min(72%, 264px); border-radius: 18px; }
  .principles { grid-template-columns: 1fr; gap: 36px; margin-top: 52px; padding-top: 32px; }
  .principles p { margin-top: 14px; }
  .tablet-section { margin-top: 46px; padding-top: 32px; }
  .tablet-copy { grid-template-columns: 1fr; gap: 14px; margin-bottom: 24px; }
  .tablet-section > img { border-radius: 4px; }
  .feature-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
