:root {
  --bg: #ffffff;
  --bg-2: #f6f6f5;
  --text: #111111;
  --muted: #62625f;
  --faint: #8d8d89;
  --line: #e6e6e3;
  --btn: #111111;
  --btn-text: #ffffff;
  --btn-hover: #2b2b2b;
  --good: #1a9a52;
  --win: #ffffff;
  --win-2: #f8f8f7;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 24px 48px -12px rgba(0, 0, 0, 0.10);
  --radius: 12px;
  --wrap: 1080px;
  --gutter: 20px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0b;
    --bg-2: #151515;
    --text: #f1f1f0;
    --muted: #a2a29e;
    --faint: #74746f;
    --line: #252524;
    --btn: #f1f1f0;
    --btn-text: #0b0b0b;
    --btn-hover: #d8d8d6;
    --good: #3cc97a;
    --win: #121212;
    --win-2: #171717;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 24px 48px -12px rgba(0, 0, 0, 0.6);
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; height: 60px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.mark { width: 24px; height: 24px; border-radius: 6px; background: var(--text); color: var(--bg); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.links { display: none; gap: 24px; font-size: 14px; }
.links a { color: var(--muted); text-decoration: none; }
.links a:hover, .links a[aria-current] { color: var(--text); }
.nav .btn { margin-left: auto; }
@media (min-width: 820px) { .links { display: flex; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--btn);
  background: var(--btn); color: var(--btn-text); text-decoration: none;
  font: 500 15px/1 var(--font); cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-2 { background: transparent; color: var(--text); border-color: var(--line); }
.btn-2:hover { background: var(--bg-2); border-color: var(--line); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; }

/* Hero */
.hero { text-align: center; padding: 88px 0 0; }
@media (min-width: 720px) { .hero { padding-top: 128px; } }
h1 {
  margin: 0 auto; max-width: 13em;
  font-size: clamp(40px, 7.2vw, 68px); line-height: 1.03; font-weight: 600; letter-spacing: -0.04em;
  text-wrap: balance;
}
.lead { margin: 22px auto 0; max-width: 32em; color: var(--muted); font-size: clamp(17px, 2vw, 19px); line-height: 1.55; text-wrap: pretty; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.cta-meta { margin: 16px 0 0; color: var(--faint); font-size: 13px; }
@media (max-width: 519px) { .cta .btn { width: 100%; } }
.phone-note {
  margin: 28px auto 0; max-width: 440px; padding: 16px 18px; text-align: left;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); font-size: 14px; color: var(--muted);
}
.phone-note p { margin: 0 0 12px; }
.phone-note strong { color: var(--text); font-weight: 600; }

/* Product illustration */
.shot { margin: 72px auto 0; max-width: 860px; }
.window { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--win); box-shadow: var(--shadow); text-align: left; }
.bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--win-2); }
.bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.bar span { margin: 0 auto; padding-right: 51px; font-size: 12px; color: var(--faint); }
.wbody { display: grid; grid-template-columns: 180px 1fr; min-height: 340px; }
.wside { border-right: 1px solid var(--line); background: var(--win-2); padding: 16px 10px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--muted); }
.wside div { padding: 7px 10px; border-radius: 7px; }
.wside .on { background: var(--bg-2); color: var(--text); font-weight: 500; }
@media (prefers-color-scheme: dark) { .wside .on { background: #222; } }
.wmain { padding: 32px 36px; }
.wlabel { font-size: 12px; color: var(--faint); margin: 0 0 6px; }
.wid { font: 500 clamp(26px, 4.4vw, 40px)/1.1 var(--mono); letter-spacing: 0.02em; white-space: nowrap; }
.wrow { display: flex; gap: 48px; margin-top: 28px; flex-wrap: wrap; }
.wpw { font: 500 20px/1.2 var(--mono); }
.wstate { display: flex; align-items: center; gap: 8px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.wstate b { width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
@media (max-width: 599px) {
  .shot { margin-top: 56px; }
  .wbody { grid-template-columns: 1fr; min-height: 0; }
  .wside { display: none; }
  .wmain { padding: 22px 20px; }
  .wrow { gap: 28px; }
}

/* Sections */
.section { padding: 96px 0; }
.section + .section { border-top: 1px solid var(--line); }
@media (max-width: 719px) { .section { padding: 64px 0; } }
.hero + .section { margin-top: 96px; border-top: 1px solid var(--line); }
@media (max-width: 719px) { .hero + .section { margin-top: 64px; } }
h2 { margin: 0; font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; font-weight: 600; letter-spacing: -0.03em; }
.sub { margin: 10px 0 0; color: var(--muted); max-width: 34em; }
.head { margin-bottom: 44px; }

/* Downloads */
.dl { border: 1px solid var(--line); border-radius: var(--radius); }
.dl-row { display: grid; gap: 16px; padding: 24px; align-items: center; }
.dl-row + .dl-row { border-top: 1px solid var(--line); }
@media (min-width: 720px) { .dl-row { grid-template-columns: 40px 1fr auto; gap: 20px; padding: 28px; } }
.os { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; }
.os svg { width: 19px; height: 19px; }
.dl-row h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.dl-row p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.tag { font-size: 12px; font-weight: 500; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; }
.acts { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.acts a.alt { font-size: 14px; color: var(--muted); text-underline-offset: 3px; }
.acts a.alt:hover { color: var(--text); }
@media (max-width: 719px) {
  .dl-row { grid-template-columns: 40px 1fr; }
  .acts { grid-column: 1 / -1; flex-direction: column-reverse; align-items: stretch; gap: 12px; }
  .acts a.alt { text-align: center; }
}
.sums { margin-top: 20px; font-size: 13px; color: var(--muted); }
.sums summary { cursor: pointer; width: fit-content; }
.sums ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.sums code { display: block; font: 12px/1.5 var(--mono); color: var(--faint); overflow-wrap: anywhere; background: none; border: 0; padding: 0; }

/* Features, steps */
.grid3 { display: grid; gap: 36px 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.item { border-top: 1px solid var(--line); padding-top: 20px; }
.item h3 { margin: 0 0 6px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.item p { margin: 0; color: var(--muted); font-size: 15px; }
.item a { text-decoration: none; }
.item a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.num { display: block; font: 500 13px var(--mono); color: var(--faint); margin-bottom: 14px; }

/* Help */
.grid2 { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid2 h3 { margin: 0 0 14px; font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 9px; }
.grid2 h3 svg { width: 16px; height: 16px; }
.grid2 ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.grid2 li::marker { color: var(--faint); }
.grid2 strong { color: var(--text); font-weight: 600; }
.aside { margin: 18px 0 0; font-size: 14px; color: var(--faint); }
.aside a { color: var(--muted); text-underline-offset: 3px; }
code { font: 13px var(--mono); background: var(--bg-2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; color: var(--text); overflow-wrap: anywhere; }

/* FAQ */
.faq { max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 500; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 1.5px; background: var(--muted); transition: transform 0.2s ease;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { margin: 0; padding: 0 40px 22px 0; color: var(--muted); font-size: 15px; }

/* Articles (blog posts, landing pages) */
.article { max-width: 720px; margin: 0 auto; padding: 64px 0 32px; }
@media (min-width: 720px) { .article { padding-top: 88px; } }
.crumbs { font-size: 14px; color: var(--faint); margin: 0 0 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.article h1 { margin: 0; max-width: none; font-size: clamp(32px, 5.4vw, 48px); line-height: 1.08; letter-spacing: -0.035em; }
.article .dek { margin: 18px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 19px); line-height: 1.55; }
.article .meta { margin: 18px 0 0; color: var(--faint); font-size: 14px; }
.prose { margin-top: 44px; font-size: 17px; line-height: 1.75; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.4em 0; }
.prose li::marker { color: var(--faint); }
.prose h2 { font-size: clamp(22px, 3vw, 26px); line-height: 1.25; letter-spacing: -0.02em; margin: 2.1em 0 0.6em; }
.prose h3 { font-size: 18px; letter-spacing: -0.01em; margin: 1.8em 0 0.4em; }
.prose a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { font-weight: 600; }
.prose .note { border-left: 2px solid var(--line); padding: 2px 0 2px 18px; color: var(--muted); }
.prose .table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose tr:last-child td { border-bottom: 0; }
.prose th { font-weight: 600; background: var(--bg-2); white-space: nowrap; }
.prose .legal { font-size: 13px; color: var(--faint); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 2.4em; }
.cta-box { margin: 56px 0 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.cta-box h2 { font-size: 22px; margin: 0; }
.cta-box p { margin: 8px 0 20px; color: var(--muted); }
.cta-box .cta { justify-content: flex-start; margin: 0; }
.related { margin: 56px 0 0; }
.related h2 { font-size: 18px; margin: 0 0 8px; }

/* Blog list */
.posts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.posts li { border-bottom: 1px solid var(--line); }
.posts a { display: block; padding: 24px 0; text-decoration: none; }
.posts h2, .posts h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; }
.posts a:hover h2, .posts a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.posts p { margin: 0; color: var(--muted); font-size: 15px; }
.posts time { display: block; margin-top: 8px; font-size: 13px; color: var(--faint); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 calc(32px + env(safe-area-inset-bottom)); font-size: 13px; color: var(--faint); margin-top: 32px; }
.foot { display: grid; gap: 24px; }
@media (min-width: 720px) { .foot { grid-template-columns: 1fr auto; align-items: start; } }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot p { margin: 6px 0 0; }
.status { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.dot.on { background: var(--good); }
.dot.off { background: #d64545; }
