:root {
  color-scheme: dark;
  --bg: #111314;
  --bg-soft: #151719;
  --surface: #17191b;
  --surface-2: #1d2023;
  --border: #2a2f33;
  --border-strong: #3b4147;
  --text: #f3f3f0;
  --muted: #a5aaad;
  --dim: #666d72;
  --accent: #70e1c7;
  --cyan-600: #09a88f;
  --accent-2: #83a7ff;
  --warm: #f0b46b;
  --danger: #ff7a7a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, #151716 0%, var(--bg) 34%, #0f1010 100%);
  color: var(--text);
  font-family: var(--sans);
  letter-spacing: 0;
}

img {
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: var(--accent);
  color: #07100d;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0f1112;
}

::-webkit-scrollbar-thumb {
  background: #34393d;
  border-radius: 999px;
}

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 10px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 150px;
}

.brand strong {
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.brand span,
.mono {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.support-chip {
  min-height: 38px;
  padding: 9px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.support-chip:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.home-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 0 38px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 24px rgba(112, 225, 199, 0.6);
}

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

h1 {
  max-width: 720px;
  margin: 0 auto 20px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 800;
}

.lead {
  max-width: 740px;
  margin: 0 auto;
  color: #c3c7c9;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-weight: 700;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.075);
}

.button.primary {
  border-color: transparent;
  background: var(--text);
  color: #0f1112;
}

.button.primary:hover {
  background: #ffffff;
}

.button[aria-disabled="true"] {
  cursor: default;
}

.button[aria-disabled="true"]:hover {
  transform: none;
}

.plugins-section {
  padding: 28px 0 86px;
}

.plugins-grid {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.plugin-card {
  position: relative;
  min-height: 0;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-fallback, var(--surface));
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.plugin-card * {
  cursor: pointer;
}

.plugin-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

.plugin-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.42);
}

.plugin-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 17, 18, 0.1), rgba(15, 17, 18, 0.22) 38%, rgba(15, 17, 18, 0.78) 100%);
  pointer-events: none;
}

.plugin-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.58));
  pointer-events: none;
}

.card-top,
.card-bottom {
  position: relative;
  z-index: 2;
  padding: 22px;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  color: #dfe6e4;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.status-row .pill:first-child {
  border-color: color-mix(in srgb, var(--cyan-600) 58%, white 10%);
  background: var(--cyan-600);
  color: #f7fffd;
}

.plugin-card h2 {
  margin-bottom: 8px;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1;
}

.plugin-card p {
  margin: 0;
  max-width: 28ch;
  color: #d7dcdd;
  font-size: 14px;
  line-height: 1.48;
}

.card-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.arrow {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 21px;
  line-height: 1;
}

.section {
  padding: 78px 0;
  border-top: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-head p {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(23, 25, 27, 0.72);
  padding: 26px;
}

.panel h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.panel p,
.panel li {
  color: var(--muted);
  line-height: 1.62;
}

.panel ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.panel li {
  position: relative;
  padding-left: 18px;
}

.panel li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.product-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 0 24px;
  text-align: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 160ms ease;
}

.back-link:hover {
  color: var(--text);
}

.product-logo {
  width: min(420px, 84vw);
  min-height: 80px;
  display: grid;
  place-items: center;
}

.product-logo img {
  width: 100%;
  max-height: 118px;
  object-fit: contain;
}

.logo-fallback {
  font-size: clamp(44px, 8vw, 92px);
  line-height: 0.94;
  font-weight: 800;
}

.product-kicker {
  max-width: 690px;
  margin: 0 auto;
  color: #cbd0d2;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
}

.product-formats {
  margin: -10px 0 4px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.screenshot-frame {
  position: relative;
  width: min(980px, 100%);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(112, 225, 199, 0.12), rgba(131, 167, 255, 0.08)),
    #151719;
  box-shadow: var(--shadow);
}

.screenshot-frame.wide {
  aspect-ratio: 9 / 5;
}

.screenshot-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.copy-block {
  width: min(820px, 100%);
  margin: 0 auto;
}

.copy-block p {
  color: #c3c7c9;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.product-feature-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.product-feature-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.product-feature-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.product-copy-section {
  padding: 28px 0 30px;
}

.product-features-section {
  padding: 30px 0 72px;
}

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

.feature-grid-count-4 .feature-card:nth-child(4) {
  grid-column: 2;
}

.feature-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(23, 25, 27, 0.82);
}

.feature-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(112, 225, 199, 0.12), rgba(131, 167, 255, 0.08)),
    #151719;
}

.feature-media img,
.feature-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-media video[hidden] {
  display: none;
}

.feature-card .content {
  padding: 18px;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.product-guide-section {
  padding: 34px 0 72px;
}

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

.guide-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(23, 25, 27, 0.72);
  padding: 24px;
}

.guide-panel-head {
  margin-bottom: 20px;
}

.guide-panel-head h3 {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 24px;
  line-height: 1.16;
}

.guide-options {
  display: grid;
  gap: 16px;
}

.guide-option {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.guide-option strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 15px;
}

.guide-option p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.changelog-section {
  padding: 56px 0 70px;
}

.changelog {
  width: min(820px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.changelog-current,
.changelog-details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(23, 25, 27, 0.72);
}

.changelog-current {
  padding: 22px;
}

.changelog-current h3,
.changelog-details summary {
  margin: 0;
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.changelog-current ul,
.changelog-details ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.changelog-current li,
.changelog-details li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.changelog-current li::before,
.changelog-details li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.changelog-details {
  padding: 0;
}

.changelog-details summary {
  padding: 18px 22px;
  cursor: pointer;
}

.changelog-details summary::marker {
  color: var(--dim);
}

.changelog-details ul {
  padding: 0 22px 22px;
  margin-top: 0;
}

.support-open {
  overflow: hidden;
}

.support-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 9, 10, 0.82);
  backdrop-filter: blur(12px);
}

.support-modal[hidden] {
  display: none;
}

.support-dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: min(820px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(29, 32, 35, 0.98), rgba(17, 19, 20, 0.98)),
    var(--surface);
  box-shadow: var(--shadow);
  padding: 28px;
}

.support-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.support-close:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.support-dialog-head {
  padding-right: 42px;
  margin-bottom: 22px;
}

.support-dialog-head h2 {
  margin: 8px 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.support-dialog-head p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.support-form {
  display: grid;
  gap: 14px;
}

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

.support-form label {
  display: grid;
  gap: 7px;
}

.support-form label span {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(8, 9, 10, 0.56);
  color: var(--text);
  padding: 12px 13px;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.support-form textarea {
  min-height: 142px;
  resize: vertical;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  border-color: var(--accent);
  background: rgba(8, 9, 10, 0.78);
}

.support-form ::placeholder {
  color: var(--dim);
}

.support-honey {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.support-submit {
  width: 100%;
  margin-top: 4px;
}

.support-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.support-status.success {
  color: var(--accent);
}

.support-status.error {
  color: var(--danger);
}

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

.fact {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(23, 25, 27, 0.64);
  padding: 18px;
}

.fact strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 18px;
}

.fact span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 42px 0 34px;
  border-top: 1px solid var(--border);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer a {
  color: var(--muted);
}

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

@media (max-width: 920px) {
  .site-nav {
    align-items: center;
  }

  .intro-grid,
  .feature-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid-count-4 .feature-card:nth-child(4) {
    grid-column: auto;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

@media (max-width: 640px) {
  .page {
    width: min(100% - 24px, 1180px);
  }

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

  .card-top,
  .card-bottom,
  .panel {
    padding: 18px;
  }

  .product-feature-list {
    grid-template-columns: 1fr;
  }

  .product-hero {
    min-height: auto;
    padding-top: 48px;
  }

  .footer {
    flex-direction: column;
  }

  .support-modal {
    padding: 12px;
  }

  .support-dialog {
    max-height: calc(100vh - 24px);
    padding: 22px;
  }
}
