:root {
  --bg: #070a0f;
  --bg-raised: #0b1017;
  --surface: #0f151e;
  --surface-2: #141c27;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.15);
  --text: #f4f7fb;
  --muted: #9ca9ba;
  --muted-strong: #c5ced9;
  --accent: #32b6ff;
  --accent-strong: #0c9de8;
  --accent-soft: rgba(50, 182, 255, 0.12);
  --success: #71d7a4;
  --warning: #f4c66c;
  --danger: #ff8390;
  --shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --radius-sm: 12px;
  --content: 1180px;
}

html[data-theme="red"] {
  --accent: #ff7385;
  --accent-strong: #e9596c;
  --accent-soft: rgba(255, 115, 133, 0.12);
}

html[data-theme="purple"] {
  --accent: #a98cff;
  --accent-strong: #8e6ce8;
  --accent-soft: rgba(169, 140, 255, 0.12);
}

html[data-theme="green"] {
  --accent: #68d5a0;
  --accent-strong: #45b983;
  --accent-soft: rgba(104, 213, 160, 0.12);
}

html[data-theme="pink"] {
  --accent: #f48bc4;
  --accent-strong: #d96fab;
  --accent-soft: rgba(244, 139, 196, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -160px, var(--accent-soft), transparent 540px),
    var(--bg);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: #071019;
  background: var(--accent);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 72%, white);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand,
.btn,
.eyebrow,
.section-kicker {
  letter-spacing: -0.02em;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.65rem, 6vw, 5.2rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.12;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

.wrap {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 15, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.tm {
  margin-left: 2px;
  color: var(--muted);
  font-size: 0.45em;
  vertical-align: top;
}

.navlinks {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.navlinks a {
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.navlinks a:hover,
.navlinks a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.navlinks a.active {
  box-shadow: inset 0 -2px var(--accent);
}

.community {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--muted-strong);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.community:hover {
  color: var(--text);
  border-color: var(--accent);
}

.menu-btn {
  display: none;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--text);
  background: transparent;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}

.hero {
  padding: clamp(72px, 10vw, 132px) 0 76px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.hero-copy {
  max-width: 660px;
}

.hero-copy h1 span,
.brush,
.wordmark-accent {
  color: var(--accent);
}

.hero-copy > p {
  max-width: 600px;
  margin-bottom: 30px;
  color: var(--muted-strong);
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
}

.eyebrow,
.section-kicker,
.product-sub,
.changelog-product-label,
.release-verify-kicker,
.security-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.actions,
.page-actions,
.card-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.04em;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  color: var(--text);
  border-color: var(--accent);
}

.btn.primary {
  color: #06111a;
  border-color: transparent;
  background: var(--accent);
}

.btn.primary:hover {
  color: #06111a;
  background: color-mix(in srgb, var(--accent) 86%, white);
}

.hero-products {
  display: grid;
  gap: 14px;
}

.product-peek {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 116px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 160ms ease, transform 160ms ease;
}

.product-peek:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}

.product-peek img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.product-peek strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.08rem;
}

.product-peek span {
  color: var(--muted);
  font-size: 0.89rem;
}

.product-peek .peek-arrow {
  color: var(--accent);
  font-size: 1.25rem;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.83rem;
}

.hero-note span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 2px;
}

.section {
  padding: clamp(64px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 38px;
}

.section-head h2,
.section-head p {
  margin-bottom: 0;
}

.section-head p {
  justify-self: end;
  max-width: 460px;
}

.section-title {
  max-width: 700px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.tech-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.tech-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.product-wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.wordmark-raccoon {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.wordmark-text {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.035em;
}

.product-text {
  flex: 1;
  margin: 18px 0 24px;
}

.learn {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.04em;
}

.learn.secondary-link {
  color: var(--muted-strong);
}

.mock-window,
.product-shot {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #080c12;
}

.mock-window img,
.product-shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--line);
}

.feature {
  min-height: 150px;
  padding: 24px;
  background: var(--bg-raised);
}

.feature h3 {
  color: var(--text);
}

.feature p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.simple-cta,
.support-callout,
.update-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.simple-cta h2,
.support-callout h2,
.update-strip h2,
.simple-cta p,
.support-callout p,
.update-strip p {
  margin-bottom: 0;
}

.page-hero {
  padding: clamp(58px, 7vw, 86px) 0 48px;
  border-bottom: 1px solid var(--line);
}

.page-hero .wrap {
  max-width: var(--content);
}

.page-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2.55rem, 5vw, 4.6rem);
}

.page-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted-strong);
  font-size: 1.06rem;
}

.page-actions {
  margin-top: 28px;
}

.content-card,
.support-product,
.github-project,
.capability-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.content-card {
  padding: 30px;
}

.content-grid,
.product-detail-grid,
.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: start;
  gap: 24px;
}

.product-showcase {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  background: var(--line);
}

.quick-fact {
  padding: 18px;
  background: var(--surface);
}

.quick-fact span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.quick-fact strong {
  font-size: 0.86rem;
}

.product-summary .tag,
.download-card .tag {
  display: inline-flex;
  margin: 0 5px 8px 0;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.68rem;
  font-weight: 750;
}

.detail-wordmark {
  margin-bottom: 18px;
}

.product-summary h2 {
  margin-top: 18px;
}

.independent-note {
  display: grid;
  gap: 4px;
  margin: 24px 0;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
}

.independent-note strong {
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.independent-note span {
  color: var(--muted-strong);
  font-size: 0.88rem;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.capability-card {
  padding: 22px;
}

.capability-card strong {
  color: var(--text);
}

.capability-card p {
  margin: 8px 0 0;
  font-size: 0.91rem;
}

.download-hero-meta,
.latest-version-line,
.release-asset-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.download-hero-meta span,
.latest-version-line,
.release-asset-pill {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.035em;
}

.latest-version-line {
  display: inline-flex;
}

.downloads-stack {
  display: grid;
  gap: 24px;
}

.downloads-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.download-product-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.download-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: start;
  gap: 18px;
  border-radius: var(--radius) var(--radius) 0 0;
}

.download-card > img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.download-card h2 {
  margin-bottom: 8px;
}

.download-card p {
  margin-bottom: 14px;
}

.download-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}

.download-inline-links a,
.mini-action {
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 800;
}

.download-action {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  width: 100%;
  margin-top: 4px;
}

.download-action-kind,
.download-action-file {
  opacity: 0.72;
  font-size: 0.62rem;
}

.release-verification {
  flex: 1;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--bg-raised);
}

.release-verify-head,
.release-file,
.security-header,
.security-item,
.security-reports {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.release-verify-head {
  margin-bottom: 16px;
}

.release-verify-head strong {
  display: block;
}

.release-verify-kicker {
  margin-bottom: 2px;
}

.release-verify-status,
.release-status,
.security-state,
.security-badge {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--success) 32%, transparent);
  border-radius: 999px;
  color: var(--success);
  background: color-mix(in srgb, var(--success) 9%, transparent);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.release-file {
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.release-file-title {
  display: flex;
  min-width: 0;
  gap: 10px;
}

.release-file-title strong,
.release-file-title small {
  display: block;
}

.release-file-title small {
  color: var(--muted);
}

.file-type-badge {
  align-self: flex-start;
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 6px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 0.58rem;
  font-weight: 850;
}

.release-checks {
  display: grid;
  flex: 0 1 230px;
  gap: 7px;
}

.release-check {
  display: grid;
  min-width: 0;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.61rem;
}

.release-check strong {
  justify-self: end;
  color: var(--accent);
}

.release-check code {
  display: block;
  overflow: hidden;
  color: var(--muted-strong);
  font-family: Consolas, monospace;
  font-size: 0.62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-security {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.security-heading h2,
.security-heading p {
  margin-bottom: 0;
}

.security-shield,
.security-icon {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 850;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--line);
}

.security-item {
  display: block;
  padding: 20px;
  background: var(--bg-raised);
}

.security-item .security-icon,
.security-item h3 {
  margin-bottom: 10px;
}

.security-item p {
  margin-bottom: 14px;
  font-size: 0.86rem;
}

.security-reports {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.security-report-actions {
  display: flex;
  gap: 8px;
}

.security-report-btn {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted-strong);
  font-size: 0.68rem;
  font-weight: 800;
}

.security-report-btn em {
  display: none;
}

.security-footnote,
.notice {
  margin: 0;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  background: var(--accent-soft);
  font-size: 0.86rem;
}

.changelog-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.changelog-jump a {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted-strong);
  font-size: 0.69rem;
  font-weight: 800;
}

.changelog-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.changelog-intro p {
  max-width: 700px;
  margin-bottom: 0;
}

.changelog-stack {
  display: grid;
  gap: 64px;
}

.changelog-product {
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.changelog-product-head,
.release-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.changelog-product-head h2 {
  margin-bottom: 0;
}

.release-entry {
  margin-top: 24px;
}

.release-meta {
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.release-meta span {
  color: var(--muted);
  font-size: 0.82rem;
}

.release-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-top: 24px;
}

.release-entry ul,
.checklist {
  padding-left: 20px;
  color: var(--muted);
}

.release-entry li,
.checklist li {
  margin-bottom: 9px;
}

.release-entry .product-text {
  max-width: 900px;
}

.support-product-grid,
.github-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.support-product {
  padding: 28px;
}

.support-product-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.support-product-head img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.support-product-head span {
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.support-product-head h2 {
  margin-bottom: 0;
}

.privacy-warning {
  display: grid;
  gap: 5px;
  margin-top: 24px;
  padding: 15px;
  border-left: 3px solid var(--danger);
  background: color-mix(in srgb, var(--danger) 8%, transparent);
}

.privacy-warning strong {
  color: var(--danger);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.privacy-warning span {
  color: var(--muted-strong);
  font-size: 0.88rem;
}

.support-paths {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  gap: 1px;
}

.support-path {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 20px;
  background: var(--surface);
}

.support-path > span {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 850;
}

.support-path p {
  margin: 5px 0 0;
  font-size: 0.88rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.faq-item summary {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 18px;
  color: var(--text);
  font-weight: 720;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-number {
  color: var(--accent);
  font-size: 0.68rem;
}

.faq-toggle::before {
  content: "+";
  color: var(--accent);
}

.faq-item[open] .faq-toggle::before {
  content: "−";
}

.faq-answer {
  padding: 0 18px 18px 60px;
}

.faq-answer p {
  margin-bottom: 0;
}

.github-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.github-project {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  padding: 26px;
}

.github-project > span {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.github-project h2 {
  margin-top: 24px;
}

.github-project p {
  flex: 1;
}

.github-project strong {
  color: var(--accent);
  font-size: 0.74rem;
}

.github-notice {
  margin-top: 18px;
}

.home-theme-panel {
  position: relative;
  flex: 0 0 auto;
}

.home-theme-label {
  display: none;
}

.theme-picker {
  position: relative;
}

.theme-picker-button {
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
}

.theme-picker-current {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-picker-current small {
  display: none;
}

.theme-picker-current strong {
  display: block;
  font-size: 0.7rem;
}

.theme-current-swatch,
.theme-option-swatch {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.theme-picker-chevron {
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
}

.theme-picker-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 9px);
  right: 0;
  width: 210px;
  overflow: hidden;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #0c1119;
  box-shadow: var(--shadow);
}

.theme-option {
  display: grid;
  width: 100%;
  grid-template-columns: 14px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border: 0;
  border-radius: 8px;
  color: var(--muted-strong);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.theme-option:hover,
.theme-option[aria-selected="true"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.theme-option[data-theme-value="blue"] .theme-option-swatch { background: #32b6ff; }
.theme-option[data-theme-value="red"] .theme-option-swatch { background: #ff7385; }
.theme-option[data-theme-value="purple"] .theme-option-swatch { background: #a98cff; }
.theme-option[data-theme-value="green"] .theme-option-swatch { background: #68d5a0; }
.theme-option[data-theme-value="pink"] .theme-option-swatch { background: #f48bc4; }

.theme-option-check {
  visibility: hidden;
  color: var(--accent);
}

.theme-option[aria-selected="true"] .theme-option-check {
  visibility: visible;
}

.footer {
  padding: 34px 0 44px;
  color: var(--muted);
  background: #06090d;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px 34px;
}

.footer .brand img {
  width: 32px;
  height: 32px;
}

.footer-grid > span {
  justify-self: end;
  font-size: 0.84rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.78rem;
}

.footer-links a:hover {
  color: var(--text);
}

.trademark-note {
  justify-self: end;
  color: #737f8e;
  font-size: 0.7rem;
}

.not-found-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
}

.not-found-shell {
  width: min(100%, 880px);
}

.not-found-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.not-found-brand img {
  width: 38px;
  height: 38px;
}

.not-found-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  gap: 28px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.not-found-code {
  display: none;
}

.not-found-visual img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.not-found-content h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.not-found-links,
.not-found-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.76rem;
}

.not-found-foot {
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .hero-grid,
  .product-detail-grid,
  .content-grid,
  .support-layout {
    grid-template-columns: 1fr;
  }

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

  .downloads-products-grid,
  .github-grid {
    grid-template-columns: 1fr;
  }

  .github-project {
    min-height: 0;
  }

  .quick-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .nav {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 0;
  }

  .brand {
    margin-right: auto;
  }

  .community {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .navlinks {
    display: none;
    order: 5;
    width: 100%;
    flex-basis: 100%;
    align-items: stretch;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .nav.open .navlinks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .navlinks a {
    text-align: center;
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
  }

  .section-head p {
    justify-self: start;
  }

  .product-grid,
  .support-product-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .capability-grid,
  .release-columns,
  .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .changelog-intro,
  .simple-cta,
  .support-callout,
  .update-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .wrap {
    width: min(calc(100% - 28px), var(--content));
  }

  .home-theme-panel {
    order: 2;
  }

  .theme-picker-current strong {
    display: none;
  }

  .theme-picker-chevron {
    margin-left: 7px;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-grid {
    gap: 42px;
  }

  .product-peek {
    grid-template-columns: 52px 1fr auto;
  }

  .product-peek img {
    width: 48px;
    height: 48px;
  }

  .tech-card-content,
  .content-card,
  .support-product {
    padding: 22px;
  }

  .feature-grid,
  .capability-grid,
  .release-columns,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .download-card {
    grid-template-columns: 52px 1fr;
    padding: 22px;
  }

  .download-card > img {
    width: 50px;
    height: 50px;
  }

  .download-action {
    grid-template-columns: 1fr;
  }

  .download-action-kind,
  .download-action-file {
    display: none;
  }

  .release-file,
  .release-verify-head,
  .security-header,
  .security-reports {
    align-items: flex-start;
    flex-direction: column;
  }

  .release-checks {
    width: 100%;
    flex-basis: auto;
  }

  .simple-cta,
  .support-callout,
  .update-strip {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > span,
  .trademark-note {
    justify-self: start;
  }

  .not-found-card {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .not-found-visual img {
    width: 100px;
    height: 100px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
