:root {
  --accent: #0b66ff;
  --accent-hover: #0052d6;
  --particle-core: rgba(11, 102, 255, 0.72);
  --particle-core-strong: rgba(11, 102, 255, 0.88);
  --cursor-field-opacity: 0.56;
  --cursor-x: 50vw;
  --cursor-y: 50vh;
  --cursor-shift-x: 0px;
  --cursor-shift-y: 0px;
  --bg-top: #f5f8ff;
  --bg-bottom: #eaf0ff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --surface: rgba(255, 255, 255, 0.68);
  --surface-border: rgba(148, 163, 184, 0.28);
  --focus-ring: rgba(11, 102, 255, 0.35);
  --radius: 22px;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
  --shadow-hover: 0 28px 70px rgba(15, 23, 42, 0.13);
  --chip-border: rgba(148, 163, 184, 0.34);
  --chip-bg: rgba(255, 255, 255, 0.74);
  --chip-hover-border: rgba(11, 102, 255, 0.4);
  --chip-hover-bg: rgba(255, 255, 255, 0.95);
  --button-dark-text: #f8fafc;
  --button-dark-bg: #0b0f19;
  --button-dark-border: #0b0f19;
  --button-dark-hover-bg: #171d2b;
  --button-dark-hover-border: #171d2b;
  --button-light-text: #0b3b8c;
  --button-light-bg: #dbeafe;
  --button-light-border: #93c5fd;
  --button-light-hover-text: #0a3278;
  --button-light-hover-bg: #bfdbfe;
  --button-light-hover-border: #60a5fa;
  --button-ghost-border: rgba(11, 102, 255, 0.35);
  --button-ghost-bg: rgba(255, 255, 255, 0.8);
  --button-ghost-hover-bg: rgba(255, 255, 255, 0.95);
  --note-border: rgba(148, 163, 184, 0.34);
  --note-bg: rgba(255, 255, 255, 0.66);
  --preview-border: rgba(148, 163, 184, 0.36);
  --preview-bg: #05070e;
  --preview-shadow: 0 16px 35px rgba(15, 23, 42, 0.2);
  --step-badge-bg: rgba(11, 102, 255, 0.12);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --accent: #f5f5f5;
  --accent-hover: #ffffff;
  --particle-core: rgba(255, 255, 255, 0.42);
  --particle-core-strong: rgba(255, 255, 255, 0.8);
  --cursor-field-opacity: 0.72;
  --bg-top: #000000;
  --bg-bottom: #000000;
  --text-primary: #f5f5f5;
  --text-secondary: #a3a3a3;
  --surface: rgba(10, 10, 10, 0.82);
  --surface-border: rgba(255, 255, 255, 0.14);
  --focus-ring: rgba(255, 255, 255, 0.36);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  --shadow-hover: 0 28px 70px rgba(0, 0, 0, 0.8);
  --chip-border: rgba(255, 255, 255, 0.2);
  --chip-bg: rgba(10, 10, 10, 0.9);
  --chip-hover-border: rgba(255, 255, 255, 0.42);
  --chip-hover-bg: rgba(24, 24, 24, 0.95);
  --button-dark-text: #111111;
  --button-dark-bg: #f5f5f5;
  --button-dark-border: #f5f5f5;
  --button-dark-hover-bg: #ffffff;
  --button-dark-hover-border: #ffffff;
  --button-light-text: #f3f4f6;
  --button-light-bg: rgba(20, 20, 20, 0.96);
  --button-light-border: rgba(255, 255, 255, 0.3);
  --button-light-hover-text: #ffffff;
  --button-light-hover-bg: rgba(34, 34, 34, 0.98);
  --button-light-hover-border: rgba(255, 255, 255, 0.45);
  --button-ghost-border: rgba(255, 255, 255, 0.35);
  --button-ghost-bg: rgba(15, 15, 15, 0.85);
  --button-ghost-hover-bg: rgba(30, 30, 30, 0.95);
  --note-border: rgba(255, 255, 255, 0.2);
  --note-bg: rgba(10, 10, 10, 0.82);
  --preview-border: rgba(255, 255, 255, 0.25);
  --preview-bg: #000000;
  --preview-shadow: 0 16px 35px rgba(0, 0, 0, 0.75);
  --step-badge-bg: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .bg-shape-a {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}

html[data-theme="dark"] .bg-shape-b {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
}

html[data-theme="dark"] .dot-field,
html[data-theme="dark"] .dot-arc {
  background-image: radial-gradient(circle at center, var(--particle-core) 1.2px, transparent 1.4px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Outfit", "Segoe UI", Tahoma, sans-serif;
  color: var(--text-primary);
  background: linear-gradient(165deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  line-height: 1.5;
  position: relative;
  overflow-x: hidden;
  isolation: isolate;
}

[data-parallax] {
  --px: 0px;
  --py: 0px;
  transform: translate3d(var(--px), var(--py), 0);
  transition: transform 170ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.bg-shape {
  position: fixed;
  border-radius: 999px;
  filter: blur(40px);
  pointer-events: none;
  z-index: -3;
}

.bg-shape-a {
  width: 540px;
  height: 540px;
  top: -160px;
  right: -120px;
  background: radial-gradient(circle, rgba(11, 102, 255, 0.24), rgba(11, 102, 255, 0));
}

.bg-shape-b {
  width: 460px;
  height: 460px;
  bottom: -160px;
  left: -130px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18), rgba(56, 189, 248, 0));
}

.dot-field,
.dot-arc {
  position: fixed;
  pointer-events: none;
  z-index: -2;
  background-image: radial-gradient(circle at center, var(--particle-core) 1.2px, transparent 1.4px);
  background-size: 22px 22px;
}

.dot-field-a {
  inset: 0;
  opacity: 0.27;
  animation: dotDrift 30s linear infinite;
}

.dot-field-b {
  width: min(46vw, 620px);
  height: min(40vw, 500px);
  right: -120px;
  top: 40px;
  opacity: 0.35;
  border-radius: 50%;
  mask-image: radial-gradient(circle at center, black 42%, transparent 73%);
  -webkit-mask-image: radial-gradient(circle at center, black 42%, transparent 73%);
  animation: dotDriftAlt 25s linear infinite;
}

.dot-arc {
  width: min(56vw, 760px);
  height: min(56vw, 760px);
  right: -230px;
  top: 120px;
  opacity: 0.52;
  border-radius: 50%;
  mask-image: radial-gradient(circle at center, transparent 36%, black 37%, black 58%, transparent 59%);
  -webkit-mask-image: radial-gradient(circle at center, transparent 36%, black 37%, black 58%, transparent 59%);
  clip-path: ellipse(58% 52% at 65% 42%);
  animation: arcPulse 14s ease-in-out infinite;
}

.cursor-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: var(--cursor-field-opacity);
  background-image: radial-gradient(circle at center, var(--particle-core-strong) 1.3px, transparent 1.6px);
  background-size: 18px 18px;
  transform: translate3d(var(--cursor-shift-x), var(--cursor-shift-y), 0);
  mask-image: radial-gradient(circle 200px at var(--cursor-x) var(--cursor-y), rgba(0, 0, 0, 1) 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle 200px at var(--cursor-x) var(--cursor-y), rgba(0, 0, 0, 1) 0%, transparent 72%);
  transition: transform 120ms ease-out;
}

.container {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  padding-top: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.header-brand {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

#main-content {
  display: grid;
  gap: clamp(1rem, 2vw, 1.45rem);
}

.repo-label {
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.repo-label:hover {
  color: var(--text-primary);
}

.github-profile-link {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--text-secondary);
  text-decoration: none;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.github-profile-link:hover {
  color: var(--text-primary);
  border-color: var(--chip-hover-border);
  background: var(--chip-hover-bg);
  transform: translateY(-1px);
}

.github-icon {
  width: 1.05rem;
  height: 1.05rem;
}

.theme-toggle {
  min-height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1;
  padding: 0 0.75rem;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.theme-toggle:hover {
  color: var(--text-primary);
  border-color: var(--chip-hover-border);
  background: var(--chip-hover-bg);
  transform: translateY(-1px);
}

.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: clamp(1.35rem, 3vw, 2.2rem);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.hero {
  min-height: clamp(480px, 62vh, 650px);
  padding-top: clamp(1.6rem, 4vw, 3rem);
  padding-bottom: clamp(1.6rem, 4vw, 3rem);
}

.hero-grid {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.1rem, 2.2vw, 1.7rem);
  position: relative;
  text-align: center;
  padding-bottom: clamp(2.8rem, 5vw, 3.6rem);
}

.hero-content {
  max-width: 760px;
}

.hero-actions {
  margin-top: clamp(2rem, 4.2vw, 2.8rem);
  width: min(100%, 760px);
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--text-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Outfit", "Segoe UI", Tahoma, sans-serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.1rem);
  margin-bottom: 0.95rem;
  margin-inline: auto;
  max-width: 18ch;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.06rem;
  margin-bottom: 0.3rem;
}

p {
  margin: 0;
  color: var(--text-secondary);
}

.hero-copy {
  max-width: 55ch;
  margin-inline: auto;
  font-size: 1.08rem;
}

.cta-row {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.version-meta {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.86rem;
}

.version-meta strong {
  color: var(--text-primary);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  padding: 0.88rem 1.2rem;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease, color 180ms ease;
  min-height: 50px;
}

.button-primary {
  color: #fff;
  background: var(--accent);
}

.button-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.button-dark {
  color: var(--button-dark-text);
  background: var(--button-dark-bg);
  border-color: var(--button-dark-border);
}

.button-dark:hover {
  background: var(--button-dark-hover-bg);
  border-color: var(--button-dark-hover-border);
  transform: translateY(-1px);
}

.button-light {
  color: var(--button-light-text);
  background: var(--button-light-bg);
  border-color: var(--button-light-border);
}

.button-light:hover {
  color: var(--button-light-hover-text);
  background: var(--button-light-hover-bg);
  border-color: var(--button-light-hover-border);
  transform: translateY(-1px);
}

.button-ghost {
  color: var(--accent);
  border-color: var(--button-ghost-border);
  background: var(--button-ghost-bg);
}

.button-ghost:hover {
  border-color: var(--accent);
  background: var(--button-ghost-hover-bg);
  transform: translateY(-1px);
}

.text-link {
  margin-top: 1.35rem;
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.hero-releases-link {
  position: absolute;
  left: 0;
  bottom: 0;
  margin-top: 0;
}

.preview-card {
  display: grid;
  grid-template-columns: minmax(230px, 0.36fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 2.8vw, 2rem);
}

.preview-copy p {
  margin-top: 0.55rem;
}

.preview-media {
  display: block;
  width: min(100%, 663px);
  justify-self: end;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--preview-border);
  background: var(--preview-bg);
  text-decoration: none;
  box-shadow: var(--preview-shadow);
}

.preview-media img {
  width: 100%;
  height: auto;
  display: block;
}

.setup-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.45fr);
  gap: clamp(1rem, 2.2vw, 1.5rem);
  align-items: start;
}

.setup-main h2 {
  margin-bottom: 1.2rem;
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.steps-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.step-badge {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: var(--step-badge-bg);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-top: 0.08rem;
}

.accessibility-card {
  border: 1px solid var(--note-border);
  background: var(--note-bg);
  border-radius: 14px;
  padding: 1rem 1.05rem;
}

.accessibility-card h2,
.accessibility-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.accessibility-card p {
  font-size: 0.95rem;
}

.accessibility-intro {
  margin-bottom: 0.5rem;
}

.accessibility-steps {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.45rem;
}

.accessibility-steps li {
  color: var(--text-secondary);
  line-height: 1.4;
}

.accessibility-card strong,
.accessibility-card code {
  color: var(--text-primary);
}

.accessibility-card code {
  font-weight: 600;
}

.inline-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.inline-link:hover {
  text-decoration: underline;
}

.note-strip {
  border: 1px solid var(--note-border);
  background: var(--note-bg);
  border-radius: 14px;
  padding: 1rem 1.05rem;
}

.note-strip strong {
  color: var(--text-primary);
}

.support-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer {
  padding: 1rem 0 2.5rem;
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.site-footer p {
  font-size: 0.95rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  color: #fff;
  background: var(--accent);
  z-index: 20;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 380ms ease, transform 380ms ease;
}

@keyframes dotDrift {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 180px 160px;
  }
}

@keyframes dotDriftAlt {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -160px 140px;
  }
}

@keyframes arcPulse {
  0%,
  100% {
    opacity: 0.48;
  }
  50% {
    opacity: 0.6;
  }
}

@media (max-width: 900px) {
  .preview-card {
    grid-template-columns: 1fr;
  }

  .setup-layout {
    grid-template-columns: 1fr;
  }

  .preview-media {
    justify-self: start;
    width: min(100%, 663px);
  }

  .dot-arc {
    right: -320px;
    top: 190px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1080px, calc(100% - 1.25rem));
  }

  .site-header {
    padding-top: 1.25rem;
    margin-bottom: 0.9rem;
  }

  .hero {
    min-height: 0;
  }

  .hero-grid {
    align-items: stretch;
    text-align: left;
    padding-bottom: 0;
  }

  .hero-content {
    max-width: 100%;
  }

  h1,
  .hero-copy {
    margin-inline: 0;
  }

  .version-meta {
    text-align: left;
  }

  .hero-releases-link {
    position: static;
    align-self: flex-start;
    margin-top: 0.4rem;
  }

  .cta-row {
    grid-template-columns: 1fr;
  }

  .support-row {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 2rem;
  }

  .dot-field-b,
  .dot-arc {
    opacity: 0.24;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  [data-parallax] {
    transform: none !important;
  }

  .cursor-field {
    display: none;
  }
}
