:root {
  color-scheme: dark;
  --background: #121016;
  --panel: #1d1823;
  --line: #393040;
  --ink: #fbf3ff;
  --muted: #c3b4ca;
  --violet: #d7adf7;
  --deep: #2a1439;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--ink); font-size: 1rem; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: var(--violet); text-underline-offset: .22em; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--violet); outline-offset: 5px; border-radius: 4px; }
h1, h2, h3, p, figure { margin: 0; }
.shell { max-width: 1160px; width: min(100% - 48px, 1160px); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 720; white-space: nowrap; }
.brand img { border-radius: 9px; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
nav a { font-size: .94rem; text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--ink); }
nav .account { border: 1px solid var(--line); border-radius: 10px; color: var(--ink); padding: 8px 13px; }

.hero { position: relative; isolation: isolate; min-height: 580px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, .75fr); align-items: center; gap: 40px; padding-block: 70px; }
.hero::before { content: ""; z-index: -1; position: absolute; inset: 0 -12px; background: radial-gradient(ellipse at 75% 47%, #562d6e 0%, #2a1b37 28%, transparent 64%); opacity: .8; pointer-events: none; }
.hero-copy { position: relative; }
.platform { font-size: .9rem; font-weight: 650; color: var(--violet); letter-spacing: .06em; text-transform: uppercase; }
.hero h1 { font-size: clamp(4rem, 9.5vw, 8.2rem); font-weight: 760; line-height: .96; letter-spacing: -.075em; margin: 14px 0 23px -3px; }
.hero h1 span { color: var(--violet); }
.lede { max-width: 440px; font-size: clamp(1.05rem, 2vw, 1.2rem); line-height: 1.65; color: var(--muted); margin-bottom: 26px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 17px; border: 1px solid transparent; border-radius: 10px; text-decoration: none; font-weight: 680; white-space: nowrap; transition: background-color .18s ease, border-color .18s ease; }
.primary { color: var(--deep); background: var(--violet); }
.primary:hover { color: var(--deep); background: #e8ccff; }
.secondary { color: var(--ink); background: #2e2137; border-color: #53405e; }
.secondary:hover { background: #44304f; border-color: #785f83; }
.preview { display: grid; justify-items: center; gap: 11px; }
.preview-image { width: clamp(220px, 26vw, 300px); border-radius: 18px; border: 1px solid #735980; overflow: hidden; box-shadow: 0 22px 80px #08040bc9, 0 0 62px #9e5db340; }
.preview-image img { width: 100%; height: auto; }
figcaption { font-size: .875rem; line-height: 1.4; color: var(--muted); text-align: center; }

.downloads { padding: 50px 38px 35px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); scroll-margin-top: 20px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 730; line-height: 1.12; letter-spacing: -.035em; }
.section-head h2 { margin-top: 7px; }
.subdued { color: var(--muted); font-size: .92rem; }
.download-list { border-block: 1px solid var(--line); }
.download-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 16px 0; }
.download-row + .download-row { border-top: 1px solid var(--line); }
.file-type { display: grid; place-items: center; width: 49px; height: 49px; border-radius: 11px; background: #33243d; color: #e3c2f5; font-size: .875rem; font-weight: 740; }
.file-info h3 { font-size: 1.05rem; line-height: 1.3; }
.file-info p { font-size: .94rem; color: var(--muted); margin-top: 4px; }
.release-note { color: var(--muted); font-size: .95rem; margin-top: 18px; }

.setup { padding-block: 72px 80px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 26px 0 0; padding: 0; list-style: none; }
.steps li { padding-top: 15px; border-top: 1px solid var(--line); }
.steps li strong, .steps li span { display: block; }
.steps li span { color: var(--muted); margin-top: 5px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 90px; }

.document { max-width: 800px; padding-block: 64px 78px; overflow-wrap: anywhere; }
.document h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.04; letter-spacing: -.055em; margin-bottom: 16px; }
.doc-lede { color: var(--muted); font-size: 1.1rem; }
.document h2 { margin: 38px 0 13px; font-size: clamp(1.45rem, 4vw, 1.9rem); }
.document h3 { margin: 25px 0 7px; font-size: 1.13rem; }
.document p + p { margin-top: 12px; }
.document .languages { margin-block: 12px 24px; }
.document ul { padding-left: 22px; }
.document code { color: #f0cfff; }
.components { display: grid; margin: 20px 0; }
.components > div { border-top: 1px solid var(--line); padding-block: 12px; }
.components dt { font-weight: 690; }
.components dd { margin: 4px 0 0; color: var(--muted); }

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 1160px); }
  .header-inner, .footer-inner { flex-wrap: wrap; padding-block: 13px; min-height: auto; }
  nav { gap: 12px 16px; }
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 32px; padding-block: 54px 43px; }
  .hero h1 { font-size: clamp(3.2rem, 13vw, 5rem); }
  .hero::before { background: radial-gradient(ellipse at 56% 65%, #4b2b5f, transparent 70%); }
  .preview-image { width: clamp(195px, 49vw, 245px); }
  .downloads { padding: 26px 17px 22px; border-radius: 17px; }
  .section-head { flex-wrap: wrap; }
  .setup { padding-block: 50px; }
  .steps { grid-template-columns: 1fr; gap: 15px; }
}

@media (max-width: 420px) {
  .brand { white-space: normal; }
  .download-row { grid-template-columns: auto 1fr; gap: 10px; }
  .download-row a { grid-column: 2; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
