/* repos-app.com: a calm product page. Light and Dark follow the system. */
:root {
  color-scheme: light dark;
  --text: light-dark(#1d1d1f, #f5f5f7);
  --muted: light-dark(#5f5f66, #a1a1a8);
  --bg: light-dark(#ffffff, #000000);
  --alt: light-dark(#f5f5f7, #0e0e10);
  --line: light-dark(#d2d2d7, #2e2e33);
  --link: light-dark(#4b3fd0, #ab9fff);
  --on-link: light-dark(#ffffff, #000000);
  --header-bg: light-dark(rgb(255 255 255 / .8), rgb(0 0 0 / .76));
  --header-line: light-dark(rgb(0 0 0 / .08), rgb(255 255 255 / .1));
  --shot-ring: light-dark(rgb(0 0 0 / .06), rgb(255 255 255 / .16));
  --shot-shadow: light-dark(rgb(0 0 0 / .14), rgb(0 0 0 / .7));
  --grad-1: light-dark(#2f6fe0, #7cb6ff);
  --grad-2: light-dark(#6b56f0, #b3a8ff);
  --grad-3: light-dark(#d63f8f, #ff8cc8);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
}
/* Browsers without light-dark() get the Light colors. */
@supports not (color: light-dark(#000, #fff)) {
  :root { --text: #1d1d1f; --muted: #5f5f66; --bg: #ffffff; --alt: #f5f5f7; --line: #d2d2d7; --link: #4b3fd0; --on-link: #ffffff; --header-bg: rgb(255 255 255 / .92); --header-line: rgb(0 0 0 / .08); --shot-ring: rgb(0 0 0 / .06); --shot-shadow: rgb(0 0 0 / .14); --grad-1: #2f6fe0; --grad-2: #6b56f0; --grad-3: #d63f8f; }
  .chapter.dark { --text: #f5f5f7; --muted: #a1a1a8; --alt: #0e0e10; --line: #2e2e33; --shot-ring: rgb(255 255 255 / .16); --shot-shadow: rgb(0 0 0 / .7); }
}
*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; font: 17px/1.55 var(--font); color: var(--text); background: var(--bg); }
main { flex: 1 0 auto; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); }
[id] { scroll-margin-top: 64px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1100px, 100% - 48px); margin-inline: auto; }
.narrow { max-width: 760px; margin-inline: auto; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 20; padding: 8px 14px; border-radius: 8px; background: var(--text); color: var(--bg); }
.skip:focus { top: 12px; }

.top { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--header-line); background: var(--header-bg); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); }
.top .wrap { display: flex; align-items: center; gap: 32px; height: 52px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); font: 600 17px var(--display); text-decoration: none; }
.brand img { width: 26px; height: 26px; }
.top nav { display: flex; gap: 28px; margin-left: auto; }
.top nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
.top nav a:hover { color: var(--text); }
.get-pill { padding: 7px 16px; border-radius: 999px; background: var(--link); color: var(--on-link); font-size: 14px; font-weight: 600; text-decoration: none; }

.hero { padding: 96px 0 120px; text-align: center; }
.hero .icon { width: 128px; height: 128px; margin: 0 auto; }
.hero h1 { margin: 18px 0 0; font: 700 clamp(64px, 10vw, 128px)/1 var(--display); letter-spacing: -.045em; }
.sub { max-width: 17em; margin: 30px auto 0; font: 600 clamp(26px, 3.4vw, 42px)/1.15 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.sub span { background: linear-gradient(90deg, var(--grad-1), var(--grad-2) 50%, var(--grad-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 34em; margin: 26px auto 0; color: var(--muted); font-size: 19px; text-wrap: pretty; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; margin-top: 36px; }
.badge img { width: auto; height: 48px; }
.soon { margin: 0; color: var(--muted); font-size: 16px; }
.soon b { color: var(--text); font-weight: 600; }
.hero .shot { width: min(1200px, 100% - 48px); margin: 80px auto 0; }

.shot img { border-radius: 12px; box-shadow: 0 0 0 1px var(--shot-ring), 0 40px 120px var(--shot-shadow); }
.chapter { padding: 128px 0; background: var(--alt); }
.chapter.plain { background: var(--bg); }
.chapter.dark { color-scheme: dark; color: var(--text); }
/* In Dark, the band after the dark chapter has the same color, so a hairline parts them. */
.chapter.dark + .chapter { border-top: 1px solid light-dark(transparent, #2e2e33); }
.label { margin: 0 0 18px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
h2 { margin: 0; font: 700 clamp(40px, 6vw, 72px)/1.04 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.chapter p:not(.label) { max-width: 34em; margin: 22px auto 0; color: var(--muted); font-size: 21px; line-height: 1.5; text-wrap: pretty; }
.chapter .shot { margin-top: 72px; }
kbd { padding: 1px 8px; border-radius: 7px; border: 1px solid var(--line); color: var(--text); font: 600 .85em var(--font); white-space: nowrap; }

.facts { padding: 128px 0; background: var(--bg); }
.facts ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin: 0; padding: 0; list-style: none; text-align: center; }
.facts strong { display: block; font: 700 clamp(36px, 4.4vw, 54px)/1.05 var(--display); letter-spacing: -.03em; }
.facts span { display: block; max-width: 18em; margin: 14px auto 0; color: var(--muted); font-size: 17px; text-wrap: balance; }
.facts .after { margin: 64px auto 0; color: var(--muted); font-size: 17px; text-align: center; }

.duo { padding: 120px 0; background: var(--alt); }
.duo .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.duo h2, .platform h3 { margin: 0; font: 700 32px/1.15 var(--display); letter-spacing: -.02em; }
.duo p { margin: 16px 0 0; color: var(--muted); font-size: 19px; }

.download { padding: 128px 0; background: var(--bg); }
.download .narrow p { margin: 22px auto 0; color: var(--muted); font-size: 21px; }
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; max-width: 900px; margin: 72px auto 0; }
.platform { padding-top: 28px; border-top: 1px solid var(--line); }
.platform h3 { display: flex; align-items: baseline; gap: 14px; }
.platform h3 small { color: var(--muted); font: 600 15px var(--font); letter-spacing: 0; }
.platform dl { margin: 22px 0 28px; }
.platform dt { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.platform dd { margin: 4px 0 16px; font-size: 17px; }

.help { padding: 120px 0; background: var(--alt); }
.help .narrow p { margin: 22px auto 0; color: var(--muted); font-size: 19px; }
.more { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin: 36px 0 0; padding: 0; list-style: none; }
.more a { font-size: 19px; text-decoration: none; }
.more a::after { content: " ›"; }
.more a:hover { text-decoration: underline; }

.doc { padding: 88px 0 120px; }
.doc .wrap { width: min(720px, 100% - 48px); }
.doc h1 { margin: 0; font: 700 clamp(40px, 6vw, 56px)/1.05 var(--display); letter-spacing: -.035em; }
.doc .meta { margin: 14px 0 0; color: var(--muted); }
.doc h2 { margin: 48px 0 0; font: 700 24px/1.25 var(--display); letter-spacing: -.015em; }
.doc p, .doc li { font-size: 18px; line-height: 1.6; }
.doc p { margin: 12px 0 0; }
.doc ul { margin: 12px 0 0; padding-left: 22px; }
.doc li + li { margin-top: 8px; }
.doc code { font: 16px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.missing { padding: 160px 0 180px; text-align: center; }
.missing h1 { margin: 0; font: 700 clamp(44px, 7vw, 72px)/1.04 var(--display); letter-spacing: -.035em; }
.missing p { margin: 20px 0 0; color: var(--muted); font-size: 21px; }
.missing .more { margin-top: 28px; }

footer { padding: 28px 0 48px; border-top: 1px solid var(--line); background: var(--alt); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; }
footer nav { display: flex; gap: 22px; margin-left: auto; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); text-decoration: underline; }

@media (max-width: 900px) {
  .top nav { display: none; }
  .get-pill { margin-left: auto; }
  .hero { padding: 64px 0 88px; }
  .hero .icon { width: 96px; height: 96px; }
  .hero .shot { margin-top: 56px; }
  .chapter, .facts, .duo, .download, .help { padding: 88px 0; }
  .chapter p:not(.label) { font-size: 19px; }
  .chapter .shot { margin-top: 48px; }
  .facts ul, .duo .wrap, .platforms { grid-template-columns: 1fr; gap: 40px; }
  .doc { padding: 56px 0 88px; }
  .missing { padding: 112px 0 128px; }
  footer nav { margin-left: 0; }
}
