:root {
  color-scheme: light dark;
  --bg: #fafafd;
  --surface: #f0f0f8;
  --surface-raised: #fdfdff;
  --text: #20202c;
  --muted: #595969;
  --accent: #514fc7;
  --accent-hover: #3f3da7;
  --line: #dcdce7;
  --tint: #e9e8fc;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121219;
    --surface: #1c1c27;
    --surface-raised: #20202e;
    --text: #f3f3f8;
    --muted: #b0b0c3;
    --accent: #aaa8ff;
    --accent-hover: #c8c7ff;
    --line: #363646;
    --tint: #282741;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: .23em; }
a:hover { color: var(--accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 4px; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, figure { margin: 0; }
p + p { margin-top: 16px; }
.container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 100; padding: 12px 20px; background: var(--bg); border: 2px solid var(--accent); }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 19px; font-weight: 700; text-decoration: none; }
.logo img { flex-shrink: 0; }
nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; padding-block: 12px; }
nav a:hover { color: var(--text); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px; border: 1px solid transparent; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 650; white-space: nowrap; transition: background .18s, transform .18s; }
.button.primary { background: #514fc7; color: #fff; }
.button.primary:hover { background: #403eab; }
.button.secondary { background: var(--surface-raised); border-color: var(--line); color: var(--text); }
.button.secondary:hover { background: var(--surface); }
.button:active { transform: translateY(1px); }
.hero { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 48px; padding-block: 76px 58px; }
.eyebrow { color: var(--accent); font-weight: 650; font-size: 13px; letter-spacing: .04em; margin-bottom: 18px; }
h1 { font-size: clamp(42px, 4.8vw, 64px); line-height: 1.06; letter-spacing: -.045em; font-weight: 720; }
.hero-description { color: var(--muted); max-width: 40ch; margin-top: 24px; font-size: 18px; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.product-preview { min-width: 0; }
.product-preview img { width: 100%; border-radius: 14px; box-shadow: 0 18px 55px rgb(30 28 80 / 13%); }
.product-preview a { display: block; border-radius: 14px; }
.product-preview figcaption { margin-top: 14px; color: var(--muted); font-size: 12px; text-align: center; }
.product-preview figcaption a { display: inline; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); padding: 28px 0; border-block: 1px solid var(--line); gap: 28px; }
.facts p { margin: 0; }
.facts strong, .facts span { display: block; }
.facts strong { font-size: 14px; font-weight: 650; }
.facts span { font-size: 13px; color: var(--muted); margin-top: 3px; }
.section { padding-block: 88px; }
h2 { font-size: clamp(30px, 3.2vw, 42px); font-weight: 680; letter-spacing: -.035em; line-height: 1.2; }
.section-heading { max-width: 660px; margin-bottom: 36px; }
.section-heading p { margin-top: 18px; color: var(--muted); font-size: 17px; }
h3 { font-size: 20px; font-weight: 650; letter-spacing: -.02em; line-height: 1.35; }
.feature-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 18px; }
.feature { padding: 30px; background: var(--surface); border-radius: 16px; }
.feature p { margin-top: 14px; font-size: 15px; color: var(--muted); }
.feature-lead { grid-row: span 2; background: var(--tint); padding: 38px; }
.feature-lead h3 { font-size: 36px; line-height: 1.15; margin-top: 22px; }
.feature .feature-label { color: var(--accent); font-size: 14px; font-weight: 600; margin: 0; }
.feature-lead a { display: inline-block; margin-top: 28px; font-weight: 600; font-size: 14px; }
.feature-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; background: var(--surface-raised); border: 1px solid var(--line); }
.feature-wide p { margin: 0; }
.workflow-section, .install-section { background: var(--surface); }
.workflow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.workflow-grid article + article { padding-left: 48px; border-left: 1px solid var(--line); }
.workflow-grid ul { margin: 22px 0; padding-left: 20px; }
.workflow-grid li { padding: 5px 0; }
.workflow-grid li::marker { color: var(--accent); }
.workflow-grid p { font-size: 14px; color: var(--muted); }
.release-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; }
.release-heading > p:not(.eyebrow) { color: var(--muted); font-size: 14px; margin-top: 16px; }
.release-heading > a { display: inline-block; margin-top: 24px; font-size: 15px; }
.release-list { list-style: none; padding: 0; margin: 0; }
.release-list li + li { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; }
.release-list h3 { font-size: 18px; }
.release-list p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.install-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.install-option { padding: 28px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; min-width: 0; }
.install-option > p { color: var(--muted); font-size: 15px; margin-top: 12px; }
.install-option > .button { margin-top: 22px; }
.command { margin-top: 20px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: 10px; padding: 18px; position: relative; }
pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.8; }
code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; }
.copy-button { margin-top: 12px; border: 1px solid var(--line); border-radius: 6px; padding: 8px 16px; color: var(--text); background: var(--bg); cursor: pointer; font-size: 13px; min-height: 40px; }
.copy-button:hover { border-color: var(--accent); }
.tool-setup { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding: 24px 0 0; }
.tool-setup p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.tool-setup .command { margin-top: 0; }
.install-option > .small { font-size: 12px; }
.copy-status { color: var(--muted); min-height: 24px; font-size: 13px; margin-top: 12px; }
.faq { max-width: 840px; }
.faq h2 { margin-bottom: 32px; }
details { border-bottom: 1px solid var(--line); padding-block: 6px; }
summary { cursor: pointer; font-weight: 600; padding: 17px 0; }
details p { color: var(--muted); font-size: 15px; padding-bottom: 22px; max-width: 72ch; }
footer { padding-block: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-inner > div { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-inner a { display: inline-block; padding-block: 8px; }
@media (max-width: 960px) {
  .hero { gap: 28px; padding-block: 56px; }
  h1 { font-size: 48px; }
  .hero-description { font-size: 16px; }
  .header-inner { gap: 20px; }
  nav { gap: 18px; }
}
@media (max-width: 767px) {
  .container { width: calc(100% - 40px); }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-block: 44px 34px; }
  .hero-copy { max-width: 520px; }
  h1 { font-size: 52px; }
  .hero-description { max-width: 44ch; font-size: 17px; }
  .product-preview { max-width: 650px; }
  .facts { gap: 16px; padding-block: 24px; }
  .facts strong { font-size: 13px; }
  .facts span { font-size: 12px; }
  .feature-grid, .workflow-grid, .release-section, .install-grid, .tool-setup { grid-template-columns: 1fr; }
  .feature-lead { grid-row: auto; }
  .feature-wide { grid-template-columns: 1fr; gap: 14px; }
  .feature { padding: 28px; }
  .feature-lead h3 { font-size: 32px; }
  .workflow-grid { gap: 32px; }
  .workflow-grid article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }
  .section { padding-block: 60px; }
  .release-section { gap: 32px; }
  .tool-setup { gap: 20px; padding-top: 12px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 136px; }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding-top: 10px; }
  .logo { font-size: 18px; }
  nav { grid-row: 2; grid-column: 1 / -1; width: 100%; justify-content: space-between; gap: 12px; }
  nav a { font-size: 13px; padding-block: 14px; }
  .header-download { grid-column: 2; grid-row: 1; min-height: 42px; padding: 8px 18px; }
}
@media (max-width: 420px) {
  .container { width: calc(100% - 32px); }
  h1 { font-size: 46px; }
  .facts { grid-template-columns: 1fr; gap: 16px; }
  .facts p { display: flex; justify-content: space-between; gap: 12px; }
  .facts span { margin: 0; text-align: right; }
  .feature, .install-option { padding: 22px; }
  .actions { gap: 10px; }
  .button { padding-inline: 18px; }
  .hero .button { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
