:root { color-scheme: light; --bg: #f7f7f5; --text: #171717; --muted: #666; --line: #d8d8d3; --link: #174ea6; }
* { box-sizing: border-box; }
html { background: var(--bg); }
body { background: var(--bg); color: var(--text); font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; margin: 0; }
a { color: var(--link); text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }
.skip-link { background: var(--text); color: white; left: 1rem; padding: .6rem .8rem; position: absolute; top: -4rem; z-index: 2; }
.skip-link:focus { top: 1rem; }
.site-header, main, footer { margin-inline: auto; width: min(calc(100% - 2rem), 880px); }
.site-header { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; justify-content: space-between; padding: 1.25rem 0; }
.wordmark { color: var(--text); font-size: 1rem; font-weight: 700; text-decoration: none; }
nav { display: flex; gap: 1.25rem; }
nav a { color: var(--muted); font-size: .9rem; text-decoration: none; }
.hero { padding: clamp(3.5rem, 10vw, 7rem) 0 clamp(2.5rem, 7vw, 4.5rem); }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(2.6rem, 9vw, 5.5rem); letter-spacing: -.055em; line-height: .95; margin-bottom: 1.25rem; }
.hero p { color: var(--muted); font-size: clamp(1.05rem, 3vw, 1.35rem); margin: 0; }
.app-list { border-top: 1px solid var(--line); }
.app-row { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr) auto; min-width: 0; padding: 1.75rem 0; }
.app-row > div { min-width: 0; }
.app-row h2 { font-size: 1.2rem; letter-spacing: -.02em; margin-bottom: .25rem; }
.app-row h2 a { color: inherit; text-decoration: none; }
.app-row h2 a:hover, .app-row h2 a:focus-visible { color: var(--link); text-decoration: underline; }
.app-row p { color: var(--muted); margin-bottom: 0; max-width: 36rem; overflow-wrap: anywhere; }
.download-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; }
.download-link { border: 1px solid var(--text); border-radius: 999px; color: var(--text); display: inline-flex; font-size: .9rem; font-weight: 600; min-height: 2.75rem; padding: .62rem 1rem; text-decoration: none; }
.download-link:hover { background: var(--text); color: var(--bg); }
.app-page { max-width: 42rem; padding: clamp(3rem, 10vw, 7rem) 0; }
.app-heading { align-items: center; display: flex; gap: 1rem; }
.app-heading h1 { margin-bottom: 0; }
.app-icon { border-radius: 18%; display: block; flex: 0 0 auto; }
.app-page h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); }
.app-page > p:not(.back) { color: var(--muted); font-size: 1.15rem; }
.app-page .download-actions { justify-content: flex-start; margin-top: 2rem; }
.back { font-size: .9rem; margin-bottom: 2rem; }
footer { color: var(--muted); font-size: .9rem; padding: 3rem 0 4rem; }
@media (max-width: 640px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  nav { gap: .85rem; }
  .app-row { align-items: start; grid-template-columns: 1fr; }
  .download-actions { display: grid; gap: .5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: initial; width: 100%; }
  .download-link { align-items: center; font-size: .82rem; justify-content: center; line-height: 1.15; min-height: 2.75rem; padding: .5rem .6rem; text-align: center; width: 100%; }
  .app-heading { align-items: flex-start; }
  .app-icon { height: 56px; width: 56px; }
}
@media (min-width: 480px) and (max-width: 640px) { .download-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
