:root {
  color-scheme: light dark;
  --ink: #1f2430;
  --muted: #5d6573;
  --bg: #fbfaf7;
  --panel: #ffffff;
  --line: #e5e2da;
  --slate: #2a303c;
  --on-slate: #f4f3ef;
  --on-slate-muted: #aab0bd;
  --amber: #b86e00;
  --caret: #ffa62b;
  --button: #2a303c;
  --button-hover: #1f2430;
  --on-button: #f4f3ef;
  --shadow: 0 24px 60px -28px rgba(31, 36, 48, .45);
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eceae4;
    --muted: #a3a8b3;
    --bg: #171a20;
    --panel: #20242c;
    --line: #333844;
    --slate: #20242c;
    --amber: #ffb84d;
    --button: #ffb84d;
    --button-hover: #ffc56e;
    --on-button: #1f2430;
    --shadow: 0 24px 60px -28px rgba(0, 0, 0, .8);
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--amber); }
a:focus-visible { outline: 2px solid var(--caret); outline-offset: 2px; border-radius: 3px; }
img { display: block; max-width: 100%; height: auto; }
code, kbd { font-family: var(--mono); font-size: .92em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

/* Header */
header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; }
header nav { display: flex; gap: 20px; font-size: 15px; }
header nav a { color: var(--muted); text-decoration: none; }
header nav a:hover, header nav a[aria-current] { color: var(--ink); }

/* Hero */
.hero { padding-top: 72px; padding-bottom: 40px; }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; max-width: 15em; }
.caret { display: inline-block; width: .09em; height: .95em; margin-left: .06em; vertical-align: -.1em; background: var(--caret); border-radius: 2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 36em; margin-top: 20px; }
.availability { margin-top: 24px; font-size: 15px; color: var(--muted); }
.availability strong { color: var(--ink); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.button { display: inline-block; padding: 12px 22px; border-radius: 10px; background: var(--button); color: var(--on-button); font-weight: 650; text-decoration: none; }
.button:hover { background: var(--button-hover); }
.source { color: var(--ink); font-weight: 600; }

/* Screenshots */
.window { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); }
.titlebar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; background: var(--panel); border-bottom: 1px solid var(--line); }
.titlebar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.titlebar span { flex: 1; text-align: center; font-size: 12.5px; color: var(--muted); margin-right: 50px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot { padding-bottom: 72px; }

/* Sections */
section { padding: 56px 0; }
h2 { font-size: clamp(25px, 3.4vw, 34px); line-height: 1.2; letter-spacing: -.02em; font-weight: 750; }
h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; }
section > .wrap > p.intro { color: var(--muted); font-size: 18px; max-width: 36em; margin-top: 12px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 8px; }
.three p { color: var(--muted); margin-top: 8px; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.split.flip { grid-template-columns: 7fr 5fr; }
.split p { color: var(--muted); margin-top: 12px; }
.split ul { margin-top: 14px; padding-left: 1.1em; color: var(--muted); }
.split li { margin-top: 6px; }
.dark { background: var(--slate); color: var(--on-slate); }
.dark p, .dark ul { color: var(--on-slate-muted); }
.dark .window { border-color: #454c5a; }
.languages { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; list-style: none; }
.languages li { font-family: var(--mono); font-size: 13.5px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); }

/* Text pages */
.page { padding-top: 56px; padding-bottom: 72px; }
.page h1 { font-size: clamp(32px, 5vw, 44px); }
.page .lead { font-size: 18px; }
.page h2 { font-size: 23px; margin-top: 42px; }
.page h3 { margin-top: 26px; }
.page p, .page li { margin-top: 10px; }
.page ul { padding-left: 1.2em; }
.page .updated { color: var(--muted); font-size: 15px; margin-top: 10px; }
.contact { margin-top: 18px; }
kbd { padding: 1px 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--panel); white-space: nowrap; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14.5px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (max-width: 760px) {
  .hero { padding-top: 44px; }
  .three, .split, .split.flip { grid-template-columns: 1fr; gap: 28px; }
  .split.flip .window { order: 2; }
  section { padding: 44px 0; }
}
