@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
}
:root {
  --bg: #fff; --fg: #20252c; --secondary: #56606d; --muted: #626c79;
  --line: #e2e6eb; --subtle: #f5f6f8; --card: #fff; --link: #245ba8;
  --button: #242a33; --button-text: #fff;
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171a1f; --fg: #f0f2f5; --secondary: #bac2ce; --muted: #a0abba;
    --line: #363d48; --subtle: #21262e; --card: #282e38; --link: #9bc5ff;
    --button: #eef1f5; --button-text: #20252c;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
a:focus-visible, summary:focus-visible, video:focus-visible { outline: 2px solid var(--link); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }
.wrap { width: min(100% - 64px, 1120px); margin-inline: auto; }
.header-inner, .nav-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-size: 25px; font-weight: 700; letter-spacing: -.9px; }
.logo img { flex: none; }
.header-inner nav, .nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 500; }
.header-inner nav a, .nav-links a { color: var(--secondary); text-decoration: none; padding-block: 9px; }
.header-inner nav a:hover, .nav-links a:hover { color: var(--fg); text-decoration: underline; }
.header-inner nav .nav-github { display: inline-flex; align-items: center; gap: 7px; }
.header-inner nav .nav-github:hover { text-decoration: none; color: var(--fg); }
.header-inner nav .nav-install { background: var(--button); color: var(--button-text); border-radius: 8px; padding: 9px 17px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { z-index: 10; left: 12px; top: 12px; background: var(--bg); padding: 8px 12px; outline: 2px solid var(--link); }
.hero { padding-top: 49px; padding-bottom: 0; }
.hero-copy { text-align: center; max-width: 760px; margin-inline: auto; }
h1 { margin: 0 0 24px; font-size: clamp(42px, 5vw, 62px); line-height: 1.08; font-weight: 600; letter-spacing: -2.8px; }
.hero-copy > p { max-width: 640px; margin: 0 auto 27px; color: var(--secondary); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; }
.button, .btn { display: inline-flex; justify-content: center; align-items: center; padding: 13px 24px; border: 1px solid var(--button); border-radius: 9px; background: var(--button); color: var(--button-text); text-decoration: none; font: 600 15px/1.5 var(--font); }
.button:hover, .btn:hover { opacity: .85; text-decoration: none; }
.button-secondary { background: var(--bg); color: var(--fg); border-color: var(--line); }
.button-secondary:hover { border-color: var(--muted); opacity: 1; }
.hero-copy .browser-note { max-width: none; margin: 15px 0 0; font-size: 13px; color: var(--muted); }
.hero-copy .browser-note a { color: var(--muted); }
.hero-copy .browser-note a:hover { color: var(--fg); }
.hero-shot { min-width: 0; width: min(100%, 1000px); margin: 47px auto 0; }
.hero-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 34px rgba(24,34,49,.08); }
.hero-shot figcaption { margin: 13px 3px 0; color: var(--muted); font-size: 12px; text-align: center; }
.steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; min-width: 0; }
.steps img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 20px; background: var(--subtle); }
.steps h3 { font-size: 19px; }
.steps h3::before { content: counter(step); display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%; background: var(--subtle); border: 1px solid var(--line); color: var(--fg); font-size: 13px; font-weight: 600; vertical-align: 2px; }
.steps p { font-size: 15px; }
h2 { margin: 0 0 21px; font-size: 34px; line-height: 1.18; font-weight: 600; letter-spacing: -1px; }
h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.4; font-weight: 600; letter-spacing: -.5px; }
.reading-section { display: grid; grid-template-columns: 1.5fr .8fr; gap: 96px; row-gap: 44px; padding-top: 76px; padding-bottom: 74px; }
.reading-section p { color: var(--secondary); font-size: 16px; }
#demo-description { margin-bottom: 18px; }
.limits-note { align-self: start; margin-top: 7px; padding-left: 25px; border-left: 2px solid var(--line); }
.limits-note h3 { font-size: 20px; }
.limits-note p, .limits-note a { font-size: 15px; }
.download-section { width: min(100% - 40px, 1160px); margin: 0 auto; background: var(--subtle); border-radius: 24px; padding: 46px; }
.download-section > .wrap { width: 100%; }
.browser-downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 29px; }
.browser-downloads > div { min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.browser-downloads p { margin-bottom: 24px; font-size: 15px; color: var(--secondary); }
.browser-downloads .button { font-size: 14px; padding: 11px 18px; }
.browser-downloads details { border: 0; margin-top: 12px; }
.browser-downloads summary { color: var(--secondary); font-size: 13px; }
.browser-downloads ol { font-size: 14px; padding-left: 20px; }
.browser-downloads li + li { margin-top: 9px; }
.browser-downloads .install-help { margin: 23px 0 0; font-size: 13px; }
.download-note { color: var(--secondary); font-size: 13px; margin: 24px 0 0; max-width: 100ch; }
.button-icon { gap: 9px; }
.button-icon .gh-mark { flex: none; }
.oss-section { padding-top: 6px; padding-bottom: 78px; }
.oss-head { max-width: 720px; }
.oss-head p { color: var(--secondary); font-size: 16px; }
.repos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 30px 0 0; padding: 0; list-style: none; }
.repos a { display: grid; grid-template-columns: auto 1fr; column-gap: 11px; row-gap: 8px; align-items: center; align-content: start; height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--fg); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.repos a:hover { border-color: var(--muted); box-shadow: 0 8px 24px rgba(24,34,49,.07); text-decoration: none; }
.repo-name { font: 600 15px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace; }
.repo-desc { grid-column: 1 / -1; color: var(--secondary); font-size: 14px; line-height: 1.55; }
.oss-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.oss-link { font-size: 15px; }
.footer-gh { display: inline-flex; align-items: center; gap: 6px; }
.trust-sections { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 78px; padding-top: 78px; padding-bottom: 78px; }
.text-section { min-width: 0; }
.text-section > p { color: var(--secondary); font-size: 16px; }
.text-section > a { font-size: 15px; }
code { font: 12px/1.6 ui-monospace, "SFMono-Regular", Consolas, monospace; padding: 2px 5px; background: var(--subtle); border: 1px solid var(--line); border-radius: 3px; overflow-wrap: anywhere; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 19px 0; font-size: 16px; font-weight: 500; }
summary::marker { color: var(--muted); font-size: 11px; }
details p { margin: 0 0 19px; color: var(--secondary); font-size: 15px; }
.test-results { margin-top: 18px; }
.test-results summary { font-size: 15px; }
.benchmark { width: 100%; margin: 10px 0 16px; border-collapse: collapse; font-size: 13px; }
.benchmark caption { text-align: left; color: var(--secondary); font-size: 12px; margin-bottom: 9px; }
.benchmark th, .benchmark td { padding: 10px 8px; text-align: left; border: 1px solid var(--line); }
.benchmark thead { background: var(--subtle); }
.benchmark thead th { font-weight: 600; font-size: 12px; }
.benchmark tbody th { font-weight: 400; }
.benchmark th:not(:first-child), .benchmark td { text-align: right; white-space: nowrap; }
#faq { width: min(100% - 64px, 780px); padding-bottom: 78px; }
#faq h2 { text-align: center; margin-bottom: 27px; }
#faq summary { font-size: 17px; }
footer { border-top: 1px solid var(--line); padding: 30px 0; color: var(--secondary); font-size: 13px; }
.footer-inner, body > footer > .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 25px; flex-wrap: wrap; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { color: var(--secondary); }
.prose { width: min(100% - 64px, 800px); margin-inline: auto; padding: 49px 0 68px; }
.prose h1 { max-width: none; font-size: 42px; letter-spacing: -1.4px; }
.prose h2 { margin-top: 38px; font-size: 28px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 22px 0; }
.prose th, .prose td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 14px 10px; }
.prose th { font-size: 12px; }
.prose p, .prose li { color: var(--secondary); }
.meta, .kicker { color: var(--muted); font-size: 13px; }
@media (max-width: 1000px) {
  .reading-section { gap: 50px; }
  .steps { gap: 20px; }
  .trust-sections { gap: 45px; }
  .download-section { padding: 35px; }
  .browser-downloads > div { padding: 23px; }
  h2 { font-size: 30px; }
}
@media (max-width: 700px) {
  .repos { grid-template-columns: 1fr; gap: 12px; }
  .oss-section { padding-bottom: 54px; }
  .oss-actions .button { flex: 1 1 auto; }
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 78px; gap: 14px; }
  .header-inner nav { flex: none; font-size: 14px; }
  .header-inner nav a:not(.nav-install):not(.nav-github) { display: none; }
  .header-inner nav .nav-github span { display: none; }
  .header-inner nav .nav-github .gh-mark { width: 22px; height: 22px; }
  .header-inner nav .nav-install { padding: 10px 15px; white-space: nowrap; }
  .logo { font-size: 24px; }
  .hero { padding-top: 38px; }
  h1 { font-size: clamp(36px, 8vw, 50px); letter-spacing: -1.7px; line-height: 1.1; }
  .hero-copy > p { max-width: 48ch; font-size: 16px; margin-bottom: 23px; }
  .hero-copy .browser-note { font-size: 12px; margin: 15px 0 0; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { padding: 12px 19px; font-size: 14px; }
  .hero-shot { margin-top: 34px; }
  .hero-shot img { border-radius: 9px; }
  .hero-shot figcaption { font-size: 11px; margin-inline: 0; }
  .steps { grid-template-columns: 1fr; gap: 36px; margin-top: 8px; }
  .reading-section { grid-template-columns: 1fr; gap: 26px; padding-top: 46px; padding-bottom: 46px; }
  .reading-section p { font-size: 15px; }
  h2 { font-size: 29px; letter-spacing: -.8px; }
  .limits-note { margin: 0; padding-left: 18px; }
  .download-section { width: calc(100% - 24px); padding: 28px 20px; border-radius: 18px; }
  .download-section h2 { max-width: 17ch; }
  .browser-downloads { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
  .browser-downloads > div { padding: 23px; border-radius: 11px; }
  .trust-sections { grid-template-columns: 1fr; gap: 43px; padding-block: 48px; }
  .text-section > p { font-size: 15px; }
  #faq { width: calc(100% - 40px); padding-bottom: 48px; }
  #faq h2 { text-align: left; margin-bottom: 17px; }
  #faq summary { font-size: 16px; }
  .prose { width: calc(100% - 40px); padding-top: 33px; }
  .prose h1 { font-size: 36px; }
  .nav-inner { flex-wrap: wrap; padding: 17px 0; gap: 10px; }
  .nav-links { width: 100%; justify-content: space-between; gap: 12px; font-size: 12px; }
}
@media (max-width: 380px) {
  h1 { font-size: 33px; letter-spacing: -1.4px; }
  .hero-actions .button { padding-inline: 16px; font-size: 13px; }
  .benchmark th, .benchmark td { padding: 9px 6px; font-size: 11px; }
  .benchmark thead th { font-size: 10px; }
}
@media (max-width: 480px) {
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
  .prose thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .prose tr { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .prose td { border: 0; padding: 5px 0; }
  .prose td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 11px; }
  .prose td:first-child { font-weight: 600; }
}

/* Guides (blog) */
.post { width: min(100% - 40px, 720px); margin-inline: auto; padding: 44px 0 76px; }
.post .crumbs { margin: 0 0 14px; font-size: 14px; }
.post .crumbs a { color: var(--muted); }
.post h1 { margin: 0 0 16px; font-size: clamp(32px, 4.6vw, 46px); line-height: 1.12; letter-spacing: -1.3px; }
.post-meta { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.post .lead { font-size: 19px; line-height: 1.7; color: var(--secondary); }
.post h2 { margin: 46px 0 14px; font-size: 27px; line-height: 1.25; letter-spacing: -.6px; }
.post p, .post li { color: var(--secondary); font-size: 17px; line-height: 1.75; }
.post ol, .post ul { padding-left: 22px; margin: 0 0 18px; }
.post li + li { margin-top: 9px; }
.post li strong { color: var(--fg); }
.post figure { margin: 32px 0; }
.post figure img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--subtle); }
.post figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; text-align: center; }
.table-scroll { overflow-x: auto; margin: 18px 0 24px; }
.post table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.post th, .post td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.post thead th { font-size: 13px; color: var(--muted); font-weight: 600; }
.post tbody th { font-weight: 600; color: var(--fg); }
.post td { color: var(--secondary); }
.post-faq { margin-top: 6px; }
.post-faq details p { font-size: 16px; }
.post-cta { margin-top: 52px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--subtle); }
.post-cta h2 { margin: 0 0 10px; font-size: 23px; }
.post-cta p { font-size: 16px; }
.post-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.post .blog-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.blog-list li + li { margin-top: 0; }
.blog-list a { display: block; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--fg); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.blog-list a:hover { border-color: var(--muted); box-shadow: 0 8px 24px rgba(24,34,49,.07); text-decoration: none; }
.blog-list a:has(img) { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: center; }
.blog-list img { width: 100%; height: auto; border-radius: 10px; background: var(--subtle); }
.post-cover { margin: 28px 0 36px; }
.post-cover figcaption { text-align: left; }
.blog-list time { color: var(--muted); font-size: 13px; }
.blog-list h2 { margin: 6px 0 8px; font-size: 22px; line-height: 1.3; letter-spacing: -.4px; }
.blog-list p { margin: 0; font-size: 15px; line-height: 1.6; }
@media (max-width: 700px) {
  .post { padding-top: 30px; }
  .post .lead { font-size: 17px; }
  .post p, .post li { font-size: 16px; }
  .post h2 { font-size: 23px; margin-top: 38px; }
  .post-cta { padding: 22px; }
  .post-cta-actions .button { flex: 1 1 auto; }
  .blog-list a:has(img) { grid-template-columns: 1fr; gap: 16px; }
}
