/* Steady: shared styles for the download page and the dashboard */
@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --mist: #F4F6F5; --white: #FFFFFF; --ink: #121917; --ink-2: #3D4945; --ink-3: #4F5B57;
  --pine: #1F6350; --pine-deep: #11302A; --pine-mid: #46947C; --pine-soft: #A9D3C4; --pine-pale: #D5EAE2; --pine-wash: #EEF6F3;
  --sun: #F0C56B; --line: #DDE3E0; --line-2: #CDD4D1; --error: #B42318;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: 'Manrope', system-ui, sans-serif; color: var(--ink); background: var(--mist); -webkit-font-smoothing: antialiased; }
a { color: var(--pine); }
a:hover { color: var(--pine-deep); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

/* ---------- Header ---------- */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 40px; height: 40px; flex: none; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 16px; font-weight: 600; }
.nav a:not(.pill) { color: var(--ink-2); text-decoration: none; }
.nav a:not(.pill):hover { color: var(--ink); text-decoration: underline; }
.pill { background: var(--pine); color: var(--white); text-decoration: none; padding: 12px 20px; border-radius: 999px; font-weight: 700; }
.pill:hover { background: var(--pine-deep); color: var(--white); }
@media (max-width: 760px) { .nav a:not(.pill) { display: none; } }

/* ---------- Hero ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 56px; padding-top: 48px; padding-bottom: 88px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(44px, 5.6vw, 80px); line-height: 1.0; font-weight: 800; letter-spacing: -0.035em; max-width: 11ch; }
.lede { font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.download { display: inline-flex; align-items: center; gap: 12px; background: var(--pine); color: var(--white); text-decoration: none; padding: 18px 28px; border-radius: 18px; font-size: 19px; font-weight: 800; min-height: 56px; }
.download:hover { background: var(--pine-deep); color: var(--white); }
.download svg { width: 22px; height: 22px; }
.download[aria-disabled="true"] { background: var(--line-2); color: var(--ink-3); pointer-events: none; }
.release-meta { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--ink-2); }
.release-meta strong { color: var(--ink); }
.text-link { font-size: 16px; font-weight: 700; }
.stairs { flex: 1 1 420px; min-width: 0; position: relative; height: 470px; }
.stairs .sun { position: absolute; right: 6%; top: 0; width: 76px; height: 76px; border-radius: 50%; background: var(--sun); }
.stairs .steps { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; }
.stairs .steps span { background: var(--pine); border-top: 6px solid var(--pine-mid); color: var(--white); padding: 14px; font-size: 16px; font-weight: 800; }
.stairs .steps span:nth-child(1) { height: 120px; border-top-left-radius: 14px; }
.stairs .steps span:nth-child(2) { height: 190px; }
.stairs .steps span:nth-child(3) { height: 260px; }
.stairs .steps span:nth-child(4) { height: 330px; }
.stairs .steps span:nth-child(5) { height: 400px; border-top-right-radius: 14px; }
@media (max-width: 520px) { .stairs { height: 330px; } .stairs .steps span { font-size: 13px; padding: 10px 8px; } .stairs .steps span:nth-child(n) { height: calc(var(--n) * 56px + 24px); } .stairs .sun { width: 56px; height: 56px; } }
.stairs .steps span:nth-child(1) { --n: 1; } .stairs .steps span:nth-child(2) { --n: 2; } .stairs .steps span:nth-child(3) { --n: 3; } .stairs .steps span:nth-child(4) { --n: 4; } .stairs .steps span:nth-child(5) { --n: 5; }

/* ---------- Sections ---------- */
.band-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section { padding-top: 88px; padding-bottom: 88px; }
.section-title { font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -0.025em; }
.section-intro { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 38em; margin-top: 12px; }
.split { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.split > :first-child { flex: 1 1 300px; min-width: 0; }
.split > :last-child { flex: 999 1 560px; min-width: 0; }
.install { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; }
.install li { display: flex; flex-direction: column; gap: 10px; }
.install .num { font-size: 44px; font-weight: 800; color: var(--pine); line-height: 1; }
.install h3 { font-size: 20px; font-weight: 800; }
.install p, .features dd, .faq p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.features { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px 48px; }
.features div { display: flex; flex-direction: column; gap: 8px; }
.features dt { font-size: 20px; font-weight: 800; }
.features dd { margin: 0; }
.privacy { background: var(--pine-deep); color: var(--white); }
.privacy .split { align-items: flex-start; }
.privacy h2 { font-size: 44px; line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; max-width: 11ch; }
.privacy p { font-size: 19px; line-height: 1.6; color: var(--pine-pale); max-width: 36em; }
.privacy ul { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.privacy li { border-top: 2px solid var(--pine-mid); padding-top: 14px; font-size: 17px; font-weight: 700; }
.faq-item { border-top: 1px solid var(--line-2); padding: 22px 0; display: flex; flex-direction: column; gap: 8px; }
.faq-item:last-child { border-bottom: 1px solid var(--line-2); }
.faq h3 { font-size: 19px; font-weight: 800; }
.changelog { list-style: none; margin: 0; padding: 0 0 0 24px; border-left: 2px solid var(--pine-soft); display: flex; flex-direction: column; gap: 28px; }
.changelog li { display: flex; flex-direction: column; gap: 4px; }
.changelog .head { font-size: 18px; font-weight: 800; }
.changelog .date { font-weight: 600; color: var(--ink-3); margin-left: 6px; }
.changelog .notes { font-size: 16px; line-height: 1.6; color: var(--ink-2); white-space: pre-line; }
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 40px; padding-bottom: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 15px; color: var(--ink-3); }
.site-footer .id { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.site-footer .id strong { color: var(--ink); }
.site-footer .links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.mono-wrap { overflow-wrap: anywhere; }
@media (max-width: 520px) { .section { padding-top: 64px; padding-bottom: 64px; } .section-title, .privacy h2 { font-size: 34px; } }
