:root {
  color-scheme: light;
  --paper: #f7f8f7;
  --white: #fff;
  --ink: #101722;
  --muted: #637080;
  --line: #e4e8ec;
  --navy: #0d1625;
  --teal: #25c9b9;
  --teal-dark: #107f7b;
  --font-body: 'Avenir Next', Avenir, system-ui, sans-serif;
  --font-display: 'Avenir Next', Avenir, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }
.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid rgba(15, 25, 39, .08); background: rgba(247, 248, 247, .92); backdrop-filter: blur(16px); }
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 18px; font-weight: 800; letter-spacing: -1px; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 32px; color: #515e6c; font-size: 13px; font-weight: 600; }
.nav-links a:not(.nav-github):hover, .footer-links a:hover { color: var(--teal-dark); }
.nav-github { display: inline-flex; align-items: center; gap: 10px; padding: 10px 15px; border: 1px solid #dce2e8; border-radius: 7px; color: var(--ink); background: white; }
.nav-github:hover { border-color: #aebdc8; }
.menu-toggle { display: none; }
.hero { padding: 72px 0 0; }
.hero-heading { display: grid; grid-template-columns: 1fr .74fr; gap: 60px; align-items: end; margin-bottom: 37px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 15px; color: #687687; font-size: 10px; font-weight: 700; letter-spacing: 1.35px; }
.live-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #25bfa4; box-shadow: 0 0 0 3px rgba(37, 191, 164, .12); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); }
.hero h1 { margin: 0; color: #111c2a; font-size: clamp(54px, 7vw, 82px); font-weight: 600; letter-spacing: -5.5px; line-height: .98; }
.hero h1 span { color: #178a89; }
.hero-intro { padding-bottom: 5px; }
.hero-intro > p { max-width: 450px; margin-bottom: 19px; color: #596776; font-size: 15px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 23px; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 0 16px; border-radius: 6px; font-size: 12px; font-weight: 700; transition: background .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-dark { background: var(--navy); color: white; }
.button-dark:hover { background: #202e41; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: #293849; font-size: 11px; font-weight: 700; }
.text-link:hover { color: var(--teal-dark); }
.hero-image { overflow: hidden; margin: 0; border: 1px solid #e2e6e8; border-radius: 11px; background: #111925; box-shadow: 0 20px 50px rgba(24, 39, 52, .1); }
.hero-image img { width: 100%; height: auto; }
.hero-meta { display: flex; justify-content: space-between; padding: 15px 1px 0; color: #778392; font-size: 10px; }
.hero-meta > span:first-child { display: flex; align-items: center; gap: 8px; }
.hero-meta .live-dot { width: 6px; height: 6px; flex-basis: 6px; }
.hero-release a { color: #283c50; font-weight: 700; }
.home-hero .source-status { margin-top: 10px; padding-top: 9px; }
.home-highlights { background: #f0f3f4; }
.home-gallery .screenshot-grid, .feature-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.section-more-link { margin-top: 20px; }
.home-gallery { background: #fff; }
.home-links { background: #f7f8f7; }
.home-links-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.home-link-card { min-height: 108px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 17px 19px; border: 1px solid #e0e5e9; border-radius: 8px; background: #fff; transition: border-color .2s ease, transform .2s ease; }
.home-link-card:hover { transform: translateY(-2px); border-color: #9dc9c5; }
.home-link-card .eyebrow { margin-bottom: 14px; color: #278b89; font-size: 9px; }
.home-link-card strong { margin: 0; color: #1c2a3a; font-size: 15px; font-weight: 600; letter-spacing: -.3px; }
.page-intro { background: #f0f3f4; }
.page-heading, .page-intro h1 { margin: 0; color: #152131; font-size: clamp(42px, 6vw, 64px); font-weight: 600; letter-spacing: -3.5px; line-height: 1.02; }
.page-lede { max-width: 650px; margin: 17px 0 29px; color: #647180; font-size: 13px; line-height: 1.8; }
.feature-gallery { margin-top: 28px; }
.feature-topics-section { margin-top: 48px; }
.feature-topics-section .subsection-title { margin-bottom: 14px; }
.feature-topics { display: flex; flex-wrap: wrap; gap: 9px; }
.feature-topic { display: inline-flex; min-height: 38px; align-items: center; padding: 8px 13px; border: 1px solid #dbe3e7; border-radius: 999px; background: rgba(255, 255, 255, .82); color: #354557; font-size: 11px; font-weight: 600; transition: border-color .2s ease, background .2s ease; }
.feature-topic:hover { border-color: #89c4be; background: #fff; color: #137e7b; }
.setup .page-lede { margin-bottom: 26px; }
.setup .guide-panel { max-width: 900px; }
.setup-more { max-width: 900px; margin-top: 14px; }
.setup-more > h2 { margin: 0 0 8px; color: #213043; font: 600 18px/1.35 var(--font-display); letter-spacing: -.5px; }
.setup-more > p:not(.eyebrow) { margin-bottom: 13px; color: #697787; font-size: 10px; line-height: 1.7; }
.section-pad { padding: 100px 0; }
.features { margin-top: 91px; border-top: 1px solid var(--line); background: #f0f3f4; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 35px; }
.section-heading .eyebrow { margin-bottom: 11px; }
.section-heading h2, .setup h2 { margin: 0; color: #152131; font-size: clamp(34px, 4vw, 46px); font-weight: 600; letter-spacing: -2.4px; line-height: 1.12; }
.section-heading > p { max-width: 340px; margin: 0 0 5px; color: #647180; font-size: 12px; line-height: 1.75; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.feature-card { overflow: hidden; border: 1px solid #e0e5e9; border-radius: 8px; background: #fbfcfc; }
.feature-copy { padding: 19px 21px 21px; }
.feature-number { display: block; margin-bottom: 14px; color: #278b89; font-size: 12px; font-weight: 700; letter-spacing: -.05px; }
.feature-copy h3, .feature-copy h4 { margin: 11px 0 7px; color: #172333; font-size: 17px; font-weight: 600; letter-spacing: -.4px; }
.feature-copy p, .feature-copy li { max-width: 510px; color: #627081; font-size: 11px; line-height: 1.8; }
.feature-copy p:last-child, .feature-copy ul:last-child { margin-bottom: 0; }
.feature-copy ul, .feature-copy ol { padding-left: 17px; }
.feature-copy li + li { margin-top: 5px; }
.source-project-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 11px; color: #137e7b; font-size: 9px; font-weight: 700; }
.source-project-link:hover { color: #0c5654; }
.feature-copy pre, .markdown-content pre { overflow-x: auto; margin: 12px 0; padding: 12px; border: 1px solid #263548; border-radius: 6px; background: #0e1826; color: #e3edf5; font: 10px/1.7 'SFMono-Regular', Consolas, monospace; tab-size: 2; }
.feature-copy pre code, .markdown-content pre code { color: inherit; }
.markdown-content :not(pre) > code { padding: 2px 4px; border-radius: 3px; background: #edf2f3; color: #34505c; font: .9em 'SFMono-Regular', Consolas, monospace; overflow-wrap: anywhere; }
.markdown-content a { color: #137f7b; text-decoration: underline; text-decoration-color: #acdbd7; text-underline-offset: 2px; }
.markdown-content a:hover { color: #0b5553; }
.source-loading, .source-status { color: #687686; font-size: 11px; line-height: 1.7; }
.source-error { padding: 15px; border: 1px solid #efcfc5; border-radius: 6px; background: #fff8f5; color: #683c31; }
.source-error p { margin: 0 0 8px; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.source-error a { color: #824839; font-size: 10px; font-weight: 700; }
.source-retry { display: block; margin-top: 10px; padding: 6px 9px; border: 1px solid #e5c4b9; border-radius: 4px; background: #fff; color: #68463c; cursor: pointer; font-size: 9px; font-weight: 700; }
.image-unavailable { display: grid; min-height: 100px; place-items: center; padding: 16px; color: #bdc8d4; font-size: 10px; line-height: 1.7; text-align: center; }
.release-date { color: #7a8792; font-size: 9px; }
.library-showcase { background: #fff; }
.screenshot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 15px; align-items: start; }
.screenshot-card { min-width: 0; overflow: hidden; margin: 0; border: 1px solid #e3e7eb; border-radius: 7px; background: #0d1420; }
.screenshot-card > a { display: block; overflow: hidden; background: #101722; }
.screenshot-card img { width: 100%; aspect-ratio: 1.55; object-fit: contain; object-position: center; transition: transform .3s ease; }
.screenshot-card-mobile img { width: auto; max-width: 100%; height: 330px; margin: 0 auto; aspect-ratio: auto; object-fit: contain; }
.screenshot-card-light > a { background: #eef1f3; }
.screenshot-card:hover img { transform: scale(1.025); }
.screenshot-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 41px; padding: 9px 11px; background: #fff; color: #354252; font-size: 10px; text-transform: capitalize; }
.image-arrow { color: #158a84; font-size: 14px; }
.full-gallery-link { margin-top: 21px; }
.setup { padding: 86px 0 80px; background: #f0f3f4; }
.guide-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 20px; align-items: start; }
.guide-panel, .guide-aside { min-width: 0; padding: 21px; border: 1px solid #e0e5e9; border-radius: 8px; background: #fff; }
.content-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 15px; color: #607080; font-size: 9px; font-weight: 700; letter-spacing: .8px; }
.markdown-content h3, .markdown-content h4 { margin: 19px 0 8px; color: #203144; font-size: 16px; letter-spacing: -.3px; }
.markdown-content h2 { margin: 22px 0 10px; color: #203144; font-size: 19px; letter-spacing: -.5px; }
.markdown-content > :first-child { margin-top: 0; }
.markdown-content p, .markdown-content li { color: #586878; font-size: 11px; line-height: 1.8; }
.markdown-content li + li { margin-top: 5px; }
.markdown-content ol, .markdown-content ul { padding-left: 20px; }
.markdown-content ol > li::marker { color: #178a89; font-weight: 700; }
.markdown-content strong { color: #304255; }
.markdown-content h1 { color: #192838; font-size: 24px; }
.guide-aside { position: sticky; top: 88px; }
.guide-aside .eyebrow { font-size: 8px; letter-spacing: 1px; }
.guide-aside h3 { margin: 0 0 9px; color: #213043; font: 600 18px/1.35 var(--font-display); letter-spacing: -.5px; }
.guide-aside > p:not(.eyebrow) { margin: 0 0 15px; color: #697787; font-size: 10px; line-height: 1.7; }
.guide-aside .button { font-size: 10px; }
.guide-doc-content { margin-top: 16px; padding-top: 12px; border-top: 1px solid #e5e9ec; }
.guide-doc-content h3 { margin-top: 0; font-size: 13px; }
.guide-doc-content h4, .guide-doc-content h5, .guide-doc-content h6 { margin-top: 14px; font-size: 11px; }
.guide-doc-content p, .guide-doc-content li { font-size: 9px; }
.guide-doc-content pre { max-height: 160px; padding: 9px; font-size: 8px; }
.install-success { display: flex; gap: 11px; align-items: flex-start; margin-top: 17px; padding: 13px 15px; border: 1px solid #cfe6df; border-radius: 7px; background: #f1faf7; }
.success-mark { width: 20px; height: 20px; display: grid; flex: 0 0 20px; place-items: center; border-radius: 50%; background: #dbf0e9; color: #187263; font-size: 11px; }
.install-success p { margin: 0; color: #526c67; font-size: 10px; line-height: 1.7; }
.install-success strong { color: #23554a; }
.faq-section { background: #fff; }
.faq-list { border-top: 1px solid #e1e6e9; }
.faq-item { padding: 0 3px; border-bottom: 1px solid #e1e6e9; }
.faq-item summary { position: relative; padding: 16px 32px 16px 0; color: #233246; cursor: pointer; font-size: 13px; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; top: 13px; right: 2px; color: #188a86; content: '+'; font-size: 18px; font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-answer { max-width: 800px; padding: 0 28px 16px 0; }
.faq-answer p, .faq-answer li { font-size: 10px; }
.faq-source { display: inline-block; margin-top: 6px; color: #157f7c; font-size: 9px; font-weight: 700; }
.developers { background: #f0f3f4; }
.developer-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 38px; align-items: start; }
.subsection-title { margin: 0 0 14px; color: #283849; font: 600 16px var(--font-display); letter-spacing: -.4px; }
.tech-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tech-card { min-width: 0; padding: 14px; border: 1px solid #e0e5e9; border-radius: 6px; background: #fff; }
.tech-card h4 { margin: 0 0 8px; color: #267f7c; font-size: 11px; text-transform: capitalize; }
.tech-card ul { margin: 0; padding-left: 16px; }
.tech-card li { margin-top: 4px; color: #5d6c7c; font-size: 9px; line-height: 1.6; overflow-wrap: anywhere; }
.doc-list { border-top: 1px solid #dbe2e6; }
.doc-link { display: grid; grid-template-columns: minmax(0, 1fr) 18px; gap: 3px 12px; align-items: center; padding: 11px 3px; border-bottom: 1px solid #dbe2e6; }
.doc-link strong { overflow: hidden; color: #324257; font-size: 10px; text-overflow: ellipsis; text-transform: capitalize; }
.doc-link small { overflow: hidden; color: #82909c; font-size: 8px; text-overflow: ellipsis; }
.doc-link .image-arrow { grid-column: 2; grid-row: 1 / 3; }
.doc-link:hover strong { color: #137e7b; }
.source-status { margin: 20px 0 0; padding-top: 12px; border-top: 1px solid #dbe2e6; font-size: 9px; }
.source-status[role='alert'] { color: #824839; }
.site-footer { padding: 25px 0; background: white; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { font-size: 15px; }
.footer-brand img { width: 29px; height: 29px; }
.footer-inner > p { margin: 0; color: #7c8893; font-size: 10px; }
.footer-links { display: flex; align-items: center; gap: 17px; color: #667382; font-size: 9px; }
.footer-links a { font-weight: 600; }
.footer-links span { color: #8b96a1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (max-width: 840px) {
  .container { width: min(100% - 44px, 680px); }
  .hero { padding-top: 54px; }
  .hero-heading { grid-template-columns: 1fr; gap: 19px; }
  .hero-intro { max-width: 550px; }
  .hero-intro > p { margin-bottom: 14px; }
  .section-pad { padding: 77px 0; }
  .features { margin-top: 68px; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .section-heading > p { max-width: 440px; }
  .home-gallery .screenshot-grid, .feature-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-links-grid { grid-template-columns: 1fr; }
  .home-link-card { min-height: 0; }
  .screenshot-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 235px), 1fr)); }
  .guide-layout { grid-template-columns: 1fr; gap: 13px; }
  .guide-aside { position: static; }
  .guide-doc-content { max-height: 340px; overflow: auto; }
  .developer-layout { grid-template-columns: 1fr; gap: 28px; }
  .setup { padding: 74px 0; }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 36px); }
  .nav { height: 64px; }
  .menu-toggle { width: 38px; height: 38px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid #dbe1e5; border-radius: 6px; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 16px; height: 1.5px; background: #1a2633; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .nav-links { position: absolute; top: 63px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 18px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .nav-links.is-open { display: flex; }
  .nav-links > a:not(.nav-github) { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-github { justify-content: center; margin-top: 11px; }
  .hero { padding-top: 43px; }
  .hero-heading { gap: 16px; margin-bottom: 25px; }
  .hero h1 { font-size: clamp(54px, 13vw, 72px); letter-spacing: -4px; }
  .hero-intro > p { font-size: 13px; }
  .hero-actions { flex-wrap: wrap; gap: 13px; }
  .hero-image { margin-right: -3px; margin-left: -3px; border-radius: 6px; }
  .hero-meta { align-items: start; gap: 12px; font-size: 9px; }
  .section-pad { padding: 61px 0; }
  .features { margin-top: 58px; }
  .section-heading h2, .setup h2 { font-size: 35px; letter-spacing: -1.8px; }
  .page-heading, .page-intro h1 { font-size: clamp(39px, 11vw, 52px); letter-spacing: -2.8px; }
  .page-lede { font-size: 12px; }
  .feature-grid { grid-template-columns: 1fr; gap: 13px; }
  .home-gallery .screenshot-grid, .feature-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .screenshot-card-mobile img { height: 245px; }
  .feature-topics-section { margin-top: 37px; }
  .feature-topic { min-height: 35px; padding: 7px 10px; font-size: 10px; }
  .feature-copy { padding: 16px; }
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .tech-grid { grid-template-columns: 1fr; }
  .setup { padding: 58px 0; }
  .guide-panel, .guide-aside { padding: 16px; }
  .markdown-content h3, .markdown-content h4 { overflow-wrap: anywhere; }
  .hero-meta { flex-wrap: wrap; }
  .faq-item summary { font-size: 12px; }
  .footer-inner { justify-content: space-between; }
  .footer-inner > p { order: 3; width: 100%; }
  .footer-links { gap: 12px; font-size: 8px; }
}
