/* ============================================================
   Malaphas — dark storefront
   Shared by index.html and features.html
   ============================================================ */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
}

:root {
  --bg: #08070b;
  --surface: #0d0c12;
  --surface-2: #111017;
  --text: #f3f1f6;
  --muted: #a29cae;
  --muted-2: #726c7d;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --accent: #9b5cff;
  --accent-strong: #b184ff;
  --accent-dim: #6d3bd0;
  --accent-soft: rgba(155, 92, 255, 0.1);
  --green: #5ddc9a;
  --header-h: 76px;
  --wrap: 1240px;
  --mono: ui-monospace, "SFMono-Regular", "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

::selection {
  background: rgba(155, 92, 255, 0.35);
  color: #fff;
}

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

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

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

.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;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- Background ---------- */

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(950px 560px at 74% -12%, rgba(124, 58, 237, 0.16), transparent 64%),
    radial-gradient(720px 520px at 4% 34%, rgba(91, 33, 182, 0.06), transparent 70%),
    var(--bg);
}

.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 820px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%);
  opacity: 0.6;
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bg-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(8, 7, 11, 0.86);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: brightness(1.3) saturate(1.1);
}

.brand-name {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.045em;
  color: var(--text);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  font-size: 13.5px;
  font-weight: 450;
  color: var(--muted);
  transition: color 0.18s ease;
}

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

.nav-link.is-active {
  color: var(--text);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 1px;
  height: 1px;
  background: var(--accent-strong);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid transparent;
  color: var(--muted);
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.icon-button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.menu-toggle {
  display: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 550;
  letter-spacing: -0.005em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s var(--ease);
}

.btn .icon {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-primary:hover {
  background: #8b4bf0;
}

.btn-outline {
  background: transparent;
  border-color: var(--line-2);
  color: var(--text);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.035);
}

.btn-quiet {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line);
  color: var(--text);
}

.btn-quiet:hover {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.06);
}

.btn-lg {
  height: 46px;
  padding: 0 20px;
  font-size: 14px;
}

.btn-sm {
  height: 38px;
  padding: 0 14px;
  font-size: 13px;
}

.btn-discord {
  background: var(--accent);
}

/* ---------- Mobile menu ---------- */

.mobile-menu {
  display: none;
}

/* ---------- Hero ---------- */

main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  padding: calc(var(--header-h) + 74px) 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.eyebrow-sep {
  width: 18px;
  height: 1px;
  background: var(--line-2);
}

.eyebrow-strong {
  color: var(--accent-strong);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(93, 220, 154, 0.09);
  flex: 0 0 auto;
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(58px, 7.7vw, 112px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-wrap: balance;
}

.hero h1 .accent {
  color: var(--accent-strong);
}

.lede {
  margin-top: 30px;
  max-width: 470px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  max-width: 470px;
}

.meta-row li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-left: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.meta-row li:first-child {
  padding-left: 0;
  border-left: 0;
}

.meta-row .icon {
  width: 14px;
  height: 14px;
  color: var(--muted-2);
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.mark-frame {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(155deg, #0e0c14 0%, #0a080e 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mark-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 74%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 74%);
}

.mark-frame::after {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
}

.mark-frame img {
  position: relative;
  z-index: 1;
  width: 62%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: brightness(1.12) saturate(1.08);
}

.frame-tag {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.frame-caption {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- Sections ---------- */

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

.section-head {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 40px;
  margin-bottom: 46px;
}

.section-index {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
  padding-top: 7px;
}

.section-index span {
  color: var(--muted-2);
}

.section-head h2 {
  font-size: clamp(30px, 3.2vw, 42px);
  letter-spacing: -0.045em;
}

.section-head p {
  margin-top: 14px;
  max-width: 560px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-strong);
}

.section-link .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.18s ease;
}

.section-link:hover .icon {
  transform: translate(2px, -1px);
}

/* ---------- Product ---------- */

.product {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}

.product-art {
  position: relative;
  min-height: 430px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(78% 64% at 50% 42%, rgba(124, 58, 237, 0.12), transparent 72%),
    #0a080e;
  overflow: hidden;
}

.product-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 45%, #000 8%, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 8%, transparent 76%);
}

.product-art-main {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 0;
}

.product-art-main img {
  width: min(290px, 70%);
  object-fit: contain;
  mix-blend-mode: screen;
  filter: brightness(1.15) saturate(1.1);
}

.product-badges {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 9px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-quiet {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
}

.badge-quiet .status-dot {
  width: 5px;
  height: 5px;
  box-shadow: none;
}

.product-art-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.product-info {
  padding: 34px 38px 32px;
  display: flex;
  flex-direction: column;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-meta .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--green);
}

.product-info h3 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 650;
  letter-spacing: -0.045em;
}

.product-desc {
  margin-top: 12px;
  max-width: 540px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

.product-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 20px;
  margin-top: 22px;
}

.product-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #c6c0d1;
}

.product-list .icon {
  width: 13px;
  height: 13px;
  color: var(--accent-strong);
  stroke-width: 2.2;
}

.product-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 28px;
}

.price strong {
  display: block;
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
}

.price span {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.product-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted-2);
}

.product-note a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-note a:hover {
  color: var(--accent-strong);
}

/* ---------- Feature index ---------- */

.feature-index {
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 104px 20px;
  align-items: center;
  gap: 20px;
  padding: 20px 10px;
  border-bottom: 1px solid var(--line);
  transition: background 0.18s ease, padding 0.18s ease;
}

.feature-row:hover {
  background: rgba(255, 255, 255, 0.022);
  padding-left: 16px;
}

.feature-num {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted-2);
}

.feature-row h3 {
  font-size: 17.5px;
  font-weight: 550;
  letter-spacing: -0.025em;
}

.feature-count {
  justify-self: end;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}

.feature-row .icon {
  width: 15px;
  height: 15px;
  color: var(--muted-2);
  transition: color 0.18s ease, transform 0.18s ease;
}

.feature-row:hover .icon {
  color: var(--accent-strong);
  transform: translate(2px, -2px);
}

/* ---------- Showcase ---------- */

.showcase {
  margin-top: 74px;
}

.showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.showcase-head h3 {
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.02em;
}

.showcase-head span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.script-window {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0a080e;
  overflow: hidden;
}

.script-titlebar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.traffic {
  display: inline-flex;
  gap: 6px;
}

.traffic i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}

.traffic i:first-child { background: rgba(255, 106, 135, 0.55); }
.traffic i:nth-child(2) { background: rgba(255, 195, 84, 0.5); }
.traffic i:nth-child(3) { background: rgba(93, 220, 154, 0.45); }

.script-title {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.script-title .slash {
  color: var(--muted-2);
  padding: 0 2px;
}

.script-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 23px;
  padding: 0 9px;
  border: 1px solid rgba(93, 220, 154, 0.18);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a6ecc3;
}

.script-status .status-dot {
  width: 5px;
  height: 5px;
  box-shadow: none;
}

.script-body {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  min-height: 440px;
}

.script-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 16px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
}

.side-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 2px;
}

.side-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: brightness(1.15);
}

.side-brand strong {
  display: block;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: -0.03em;
}

.side-brand span {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}

.script-tabs {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.script-tab {
  position: relative;
  height: 36px;
  padding: 0 11px;
  border-radius: 6px;
  text-align: left;
  font-size: 12.5px;
  color: var(--muted);
  transition: color 0.16s ease, background 0.16s ease;
}

.script-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.script-tab.is-active {
  color: var(--text);
  background: var(--accent-soft);
}

.script-tab.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  background: var(--accent-strong);
}

.side-card {
  margin-top: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.side-card-label {
  display: block;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.side-card strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 550;
}

.side-card-sub {
  display: block;
  margin-top: 1px;
  font-size: 10.5px;
  color: var(--muted-2);
}

.script-main {
  padding: 22px 24px;
}

.script-pane[hidden] {
  display: none;
}

.pane-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.pane-head h3 {
  font-size: 17px;
  font-weight: 550;
  letter-spacing: -0.025em;
}

.pane-note {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.row:last-child {
  border-bottom: 0;
}

.row-text strong {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: #e4dfeb;
}

.row-text span {
  display: block;
  margin-top: 1px;
  font-size: 11px;
  color: var(--muted-2);
}

.switch {
  position: relative;
  width: 34px;
  height: 19px;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.switch span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #a49dae;
  transition: transform 0.2s var(--ease), background 0.2s ease;
}

.switch.is-on {
  border-color: var(--accent);
  background: var(--accent);
}

.switch.is-on span {
  transform: translateX(15px);
  background: #fff;
}

.range-row {
  padding: 14px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.range-row .row-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.range-row .row-text span {
  margin: 0;
  color: var(--accent-strong);
  font-family: var(--mono);
  font-size: 10px;
}

.range {
  position: relative;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.range-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
  background: var(--accent);
}

.range-knob {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.fill-62 { width: 62%; }
.knob-62 { left: 62%; }
.fill-48 { width: 48%; }
.knob-48 { left: 48%; }

.script-caption {
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted-2);
}

/* ---------- Support ---------- */

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 64px;
  align-items: start;
}

.support-aside h3 {
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -0.04em;
}

.support-aside > p {
  margin-top: 14px;
  max-width: 380px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.support-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.support-card img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: brightness(1.15);
}

.support-card-copy {
  min-width: 0;
}

.support-card-copy strong {
  display: block;
  font-size: 13px;
  font-weight: 550;
}

.support-card-copy span {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--muted-2);
}

.support-card .btn {
  margin-left: auto;
  flex: 0 0 auto;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.faq-q {
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #ddd7e5;
}

.faq-item p {
  max-width: 680px;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 56px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 36px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

.footer-brand a.brand {
  margin-bottom: 4px;
}

.footer-note {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--muted-2);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-col h4 {
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.footer-col a {
  font-size: 12.5px;
  color: #b0aab9;
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--muted-2);
}

.footer-disclaimer {
  max-width: 560px;
  text-align: right;
}

/* ---------- Search overlay ---------- */

.scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(4, 3, 7, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s;
}

.scrim.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 14vh 20px 32px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s;
}

.search-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-dialog {
  width: 100%;
  max-width: 640px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #0d0b12;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  transform: translateY(6px);
  transition: transform 0.24s var(--ease);
}

.search-modal.is-open .search-dialog {
  transform: none;
}

.search-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
}

.search-row > .icon {
  color: var(--muted-2);
}

.search-row input {
  flex: 1;
  min-width: 0;
  height: 30px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14.5px;
  color: var(--text);
}

.search-row input::placeholder {
  color: var(--muted-2);
}

.search-row input::-webkit-search-cancel-button,
.search-row input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.search-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  color: var(--muted-2);
}

.search-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.search-results {
  max-height: 52vh;
  overflow-y: auto;
  padding: 7px;
}

.search-group-title {
  padding: 9px 10px 5px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.search-result {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 6px;
  text-align: left;
  transition: background 0.15s ease;
}

.search-result:hover,
.search-result.is-focused {
  background: rgba(155, 92, 255, 0.1);
}

.search-result-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--accent-strong);
}

.search-result-icon .icon {
  width: 15px;
  height: 15px;
}

.search-result-text {
  min-width: 0;
}

.search-result-text strong {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: #ece7f3;
}

.search-result-text span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  color: var(--muted-2);
}

.search-result-go {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.search-empty {
  padding: 30px 14px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}

.search-help {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 9px 15px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted-2);
}

kbd {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 5px;
  margin-right: 4px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--muted);
}

/* ---------- Features page ---------- */

.feature-hero {
  padding: calc(var(--header-h) + 72px) 0 44px;
}

.feature-hero h1 {
  margin-top: 22px;
  font-size: clamp(48px, 6.4vw, 88px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.feature-hero h1 .accent {
  color: var(--accent-strong);
}

.feature-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: end;
  margin-top: 28px;
}

.feature-hero-copy p {
  max-width: 440px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.feature-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.stat-row {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  margin-top: 30px;
}

.stat-row strong {
  display: block;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-row span {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.feature-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 7, 11, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.toolbar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  transition: border-color 0.18s ease;
}

.search-field:focus-within {
  border-color: rgba(155, 92, 255, 0.5);
}

.search-field .icon {
  width: 15px;
  height: 15px;
  color: var(--muted-2);
}

.search-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 12.5px;
  color: var(--text);
}

.search-field input::placeholder {
  color: var(--muted-2);
}

.search-field input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.clear-search {
  display: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  color: var(--muted-2);
}

.clear-search:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.clear-search.is-visible {
  display: inline-flex;
}

.filter-count {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}

.feature-layout {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  gap: 56px;
  padding: 48px 0 80px;
}

.feature-layout > * {
  min-width: 0;
}

.rail-nav,
.group-grid > * {
  min-width: 0;
}

.feature-group li {
  overflow-wrap: break-word;
}

.feature-rail {
  position: sticky;
  top: 150px;
  align-self: start;
}

.rail-title {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 0 10px 8px;
}

.rail-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.rail-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  border-left: 1px solid transparent;
  border-radius: 0 5px 5px 0;
  font-size: 12px;
  color: var(--muted);
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.rail-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.rail-link.is-active {
  color: var(--text);
  background: rgba(155, 92, 255, 0.08);
  border-left-color: var(--accent);
}

.rail-link.is-muted {
  opacity: 0.3;
  pointer-events: none;
}

.rail-count {
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--muted-2);
}

.rail-foot {
  margin-top: 18px;
  padding: 12px 10px 0;
  border-top: 1px solid var(--line);
}

.rail-foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--muted-2);
}

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

.category {
  padding-bottom: 58px;
  scroll-margin-top: 146px;
}

.category + .category {
  border-top: 1px solid var(--line);
  padding-top: 48px;
}

.category-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 10px;
}

.category-num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent-strong);
}

.category-head h2 {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.category-count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.category-desc {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}

.feature-group {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-group h3 {
  margin-bottom: 11px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #e7e2ee;
}

.feature-group ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.feature-group li {
  position: relative;
  padding-left: 12px;
  font-size: 11.5px;
  line-height: 1.55;
  color: #a19baa;
}

.feature-group li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #58525f;
}

.no-results {
  padding: 56px 0 72px;
  text-align: center;
}

.no-results strong {
  display: block;
  font-size: 18px;
  font-weight: 550;
}

.no-results p {
  margin-top: 7px;
  font-size: 13px;
  color: var(--muted);
}

.no-results button {
  margin-top: 16px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(105deg, rgba(155, 92, 255, 0.1), transparent 56%),
    var(--surface);
}

.cta-panel h2 {
  font-size: 24px;
  letter-spacing: -0.035em;
}

.cta-panel p {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
}

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

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .hero-grid {
    gap: 40px;
  }
  .mark-frame {
    width: min(380px, 100%);
  }
  .section-head {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 28px;
  }
  .feature-row {
    grid-template-columns: 38px 190px minmax(0, 1fr) 92px 18px;
    gap: 14px;
  }
  .feature-layout {
    grid-template-columns: 176px minmax(0, 1fr);
    gap: 36px;
  }
}

@media (max-width: 940px) {
  :root {
    --header-h: 68px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    gap: 16px;
  }

  .mobile-menu {
    display: block;
    width: min(560px, calc(100% - 32px));
    margin: 8px auto 0;
    padding: 10px;
    border: 1px solid var(--line-2);
    border-radius: 10px;
    background: #0c0a11;
    box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s var(--ease), visibility 0.2s;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .mobile-menu .nav-link {
    display: flex;
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--text);
  }

  .mobile-menu .nav-link.is-active {
    background: var(--accent-soft);
  }

  .mobile-menu .nav-link.is-active::after {
    display: none;
  }

  .mobile-menu .btn {
    width: 100%;
    margin-top: 8px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 55px);
    padding-bottom: 66px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero h1 {
    font-size: clamp(56px, 12vw, 92px);
  }

  .lede {
    max-width: 520px;
  }

  .meta-row {
    max-width: 100%;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .mark-frame {
    width: min(420px, 100%);
  }

  .section {
    padding: 76px 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 34px;
  }

  .section-index {
    padding-top: 0;
  }

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

  .product-art {
    min-height: 340px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-art-main img {
    width: min(240px, 62%);
  }

  .product-info {
    padding: 28px 24px 26px;
  }

  .feature-row {
    grid-template-columns: 32px minmax(0, 1fr) 18px;
    gap: 10px 12px;
    padding: 16px 6px;
  }

  .feature-count {
    display: none;
  }

  .feature-row .icon {
    grid-column: 3;
    grid-row: 1;
  }

  .feature-row:hover {
    padding-left: 6px;
  }

  .showcase {
    margin-top: 52px;
  }

  .script-body {
    grid-template-columns: 1fr;
  }

  .script-side {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px;
    gap: 14px;
  }

  .script-tabs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .script-tab {
    flex: 0 0 auto;
    text-align: center;
    padding: 0 13px;
  }

  .script-tab.is-active::before {
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 0;
    width: auto;
    height: 2px;
  }

  .side-card {
    display: none;
  }

  .script-main {
    padding: 18px 18px 20px;
  }

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

  .support-aside > p {
    max-width: 520px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .feature-hero {
    padding-top: calc(var(--header-h) + 52px);
  }

  .feature-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .feature-hero-copy p {
    max-width: 560px;
  }

  .feature-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
  }

  .feature-rail {
    position: static;
    margin: 0 0 26px;
    padding: 12px 0;
  }

  .rail-title {
    padding-left: 0;
  }

  .rail-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
  }

  .rail-link {
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 11.5px;
  }

  .rail-link.is-active {
    border-color: rgba(155, 92, 255, 0.45);
    border-left-color: rgba(155, 92, 255, 0.45);
  }

  .rail-count {
    display: none;
  }

  .rail-foot {
    display: none;
  }

  .category {
    padding-bottom: 44px;
  }

  .category + .category {
    padding-top: 38px;
  }

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

  .toolbar-inner {
    gap: 10px;
  }

  .filter-count {
    display: none;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 36px);
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .header-actions .btn-discord {
    width: 38px;
    padding: 0;
  }

  .header-actions .btn-discord span {
    display: none;
  }

  .header-actions .btn-discord .icon {
    width: 17px;
    height: 17px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 40px);
  }

  .eyebrow {
    font-size: 9.5px;
    letter-spacing: 0.12em;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(48px, 14.5vw, 68px);
    letter-spacing: -0.05em;
  }

  .lede {
    margin-top: 22px;
    font-size: 14.5px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .meta-row {
    margin-top: 30px;
  }

  .meta-row li {
    padding: 0 10px;
    font-size: 10.5px;
  }

  .hero-visual {
    display: none;
  }

  .section {
    padding: 62px 0;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .section-head p {
    font-size: 13.5px;
  }

  .product-art {
    min-height: 300px;
    padding: 20px;
  }

  .product-art-main img {
    width: min(210px, 64%);
  }

  .product-info {
    padding: 24px 20px;
  }

  .product-info h3 {
    font-size: 27px;
  }

  .product-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .product-buy {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .product-buy .btn {
    width: 100%;
  }

  .feature-row h3 {
    font-size: 15.5px;
  }

  .feature-row p {
    font-size: 11.5px;
  }

  .showcase-head span {
    display: none;
  }

  .script-titlebar {
    padding: 0 12px;
  }

  .script-title {
    font-size: 9.5px;
  }

  .script-status {
    display: none;
  }

  .script-main {
    padding: 14px 14px 16px;
  }

  .pane-head h3 {
    font-size: 15.5px;
  }

  .support-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .support-card .btn {
    margin-left: 0;
    width: 100%;
  }

  .faq-q {
    font-size: 13.5px;
  }

  .faq-item {
    padding: 17px 0;
  }

  .faq-item p {
    font-size: 12.5px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-disclaimer {
    text-align: left;
  }

  .feature-hero {
    padding-top: calc(var(--header-h) + 38px);
    padding-bottom: 30px;
  }

  .feature-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .stat-row {
    gap: 24px;
  }

  .stat-row strong {
    font-size: 21px;
  }

  .feature-toolbar {
    padding: 10px 0;
  }

  .toolbar-inner .btn {
    display: none;
  }

  .category-head h2 {
    font-size: 23px;
  }

  .category-count {
    display: none;
  }

  .category-desc {
    font-size: 12.5px;
  }

  .feature-group {
    padding: 16px;
  }

  .cta-panel {
    padding: 22px;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .search-modal {
    padding: 9vh 12px 20px;
  }
}

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