:root {
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --ink: #141a2b;
  --muted: #566079;
  --line: #e3e7f0;
  --brand: #2f5bd3;
  --brand-ink: #ffffff;
  --accent: #fe5a31;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(20, 26, 43, .06), 0 8px 24px rgba(20, 26, 43, .06);
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1320;
    --bg-soft: #151b2c;
    --ink: #e8ecf6;
    --muted: #a3acc2;
    --line: #262e44;
    --brand: #6f93ff;
    --brand-ink: #0b1020;
    --card: #171d2f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
code { font: .9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--bg-soft); padding: 1px 5px; border-radius: 5px; overflow-wrap: anywhere; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.01em; }
h3 { font-size: 1.1rem; }
h4 { font-size: 1rem; margin-top: .5em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
section { padding: 64px 0; }
section.wrap { padding-left: 16px; padding-right: 16px; }
.sub { color: var(--muted); max-width: 720px; margin: 0 0 28px; }
.fine { color: var(--muted); font-size: .85rem; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none; }
nav { display: flex; align-items: center; gap: 18px; }
nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
nav a:hover { color: var(--ink); }
@media (max-width: 640px) { .top nav a:not(.btn):not(.keep) { display: none; } }

/* buttons */
.btn { display: inline-block; background: var(--brand); color: var(--brand-ink) !important; text-decoration: none; font-weight: 600; padding: 12px 20px; border-radius: 10px; border: 1px solid transparent; }
.btn:hover { filter: brightness(1.08); }
.btn.alt { background: transparent; color: var(--brand) !important; border-color: var(--brand); }
.btn.small { padding: 7px 14px; font-size: .9rem; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% 0%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%), var(--bg-soft); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 600px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 12px; }
.hero-shot { margin: 0; justify-self: center; }
.hero-shot img { width: min(380px, 100%); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }

/* works with */
.works { padding: 28px 0; border-bottom: 1px solid var(--line); }
.eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; font-size: .92rem; }

/* features */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card h3::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--accent); margin-bottom: 12px; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* how */
.how { background: var(--bg-soft); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 20px 64px; position: relative; color: var(--muted); }
.steps li b { color: var(--ink); display: block; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 700; display: grid; place-items: center; }

/* screenshots */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.shots figure { margin: 0; }
.shots .wide { grid-column: 1 / -1; }
.shots img { border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.shots figcaption { color: var(--muted); font-size: .92rem; margin: 10px 2px 22px; }
.shots figcaption b { color: var(--ink); }
.shots .wide img { max-height: 760px; width: 100%; object-fit: cover; object-position: top; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }

/* privacy */
.privacy { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px 32px; }
.ticks li { padding-left: 32px; position: relative; color: var(--muted); }
.ticks li b { color: var(--ink); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 16%, transparent); color: var(--brand); font-weight: 700; font-size: .8rem; display: grid; place-items: center; }

/* download */
.dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 40px; }
.dl .card p { margin-bottom: 16px; }
.dl .btn { overflow-wrap: anywhere; }
#download ol { padding-left: 1.2em; color: var(--muted); }
#download ol li { margin: 6px 0; }
#download ol b { color: var(--ink); }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; }
footer p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 8px; }
footer .fine { display: block; max-width: 820px; }

/* privacy policy page */
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 48px; }
.doc h2 { font-size: 1.3rem; margin-top: 1.6em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 8px 0; color: var(--muted); }
.doc li b { color: var(--ink); }
.doc p { color: var(--muted); }
.doc p.lead { color: var(--muted); }
.doc .caps { text-transform: uppercase; font-size: .88rem; letter-spacing: .01em; color: var(--ink); }

/* feedback form */
.fb { display: grid; gap: 6px; margin: 20px 0 28px; }
.fb label { font-weight: 600; margin-top: 10px; }
.fb label .muted { font-weight: 400; color: var(--muted); }
.fb input[type=text], .fb input[type=email], .fb select, .fb textarea {
  font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%;
}
.fb textarea { resize: vertical; min-height: 160px; }
.fb input:focus, .fb select:focus, .fb textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.fb .counter { text-align: right; }
.fb .check { font-weight: 400; display: flex; gap: 8px; align-items: center; }
.fb .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fb .cf-turnstile { margin-top: 14px; min-height: 65px; }
.fb .row-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.fb button.btn { cursor: pointer; font: inherit; font-weight: 600; }
.fb button.btn:disabled { opacity: .6; cursor: default; }
.fine.err, #status.err { color: #c0262d; }
.thanks h2 { outline: none; }
.thanks { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin: 20px 0; }

/* help guides */
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.doc ol { padding-left: 1.4em; }
.guide h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.wb { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 36px 0 12px; }
.wb h2 { margin-top: 0; }
.wb .cta { margin: 18px 0 0; }
.chips a { color: inherit; text-decoration: none; }
.chips.links li:hover, .chips a:hover { color: var(--brand); border-color: var(--brand); }
.chips li:has(> a) { padding: 0; }
.chips li > a { display: block; padding: 5px 13px; }
.guides { padding-top: 48px; padding-bottom: 48px; }
.guides .intro { padding: 0; }
.guide-group { padding: 28px 0 8px; }
.guide-group .sub { margin-bottom: 18px; }
a.card { display: block; text-decoration: none; color: inherit; transition: border-color .15s; }
a.card:hover { border-color: var(--brand); }
a.card h3 { color: var(--ink); }
.guides > .doc { padding-top: 24px; padding-bottom: 0; }
