:root {
  --bg: #08080a;
  --bg-elev: #0f0f12;
  --surface: rgba(18, 18, 22, 0.78);
  --surface-solid: #121216;
  --surface-2: #18181d;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  --accent: #d4d4d8;
  --accent-strong: #ffffff;
  --accent-soft: rgba(255, 255, 255, 0.08);
  --green: #34d399;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 8, 10, 0.65);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav .wrap {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s var(--spring), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:active { transform: scale(0.95); }

.btn-light {
  background: #f4f4f5;
  color: #09090b;
}

.btn-light:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

/* Copy animation */
.copy-btn {
  position: relative;
  overflow: hidden;
}

.copy-btn.copied {
  background: rgba(52, 211, 153, 0.16);
  border-color: rgba(52, 211, 153, 0.5);
  color: #34d399;
  animation: copyPop 0.36s var(--spring);
}

.btn-light.copy-btn.copied {
  background: #34d399;
  color: #052e16;
  border-color: #34d399;
}

@keyframes copyPop {
  0% { transform: scale(0.92); }
  55% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  padding: 120px 0 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #08080a;
}

.hero-bg .img {
  position: absolute;
  inset: 0;
  background: url("assets/hero-bg.jpg") center 42% / cover no-repeat;
  filter: grayscale(55%) contrast(1.08) brightness(0.48);
  transform: scale(1.03);
}

.hero-bg .dim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 50% 40%, rgba(8, 8, 10, 0.25) 0%, rgba(8, 8, 10, 0.78) 85%),
    linear-gradient(180deg, rgba(8, 8, 10, 0.55) 0%, rgba(8, 8, 10, 0.35) 45%, #08080a 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Preview section right below Hero */
.preview-section {
  position: relative;
  padding: 20px 0 88px;
  background: linear-gradient(180deg, #08080a 0%, #0a0a0d 100%);
}

.preview-head {
  text-align: center;
  margin-bottom: 32px;
}

.preview-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.preview-head p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.o-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
  padding: 0 20px;
}

.orion {
  background: #0d0d10;
  border: 1px solid #232328;
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: grid;
  grid-template-columns: 176px 1fr;
  grid-template-rows: 46px 376px;
  overflow: hidden;
  position: relative;
  will-change: transform, opacity;
}

.o-top {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: #0a0a0c;
  border-bottom: 1px solid #1e1e23;
}

.o-brand-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 2px 0;
}

.o-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.o-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

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

.o-win-group {
  display: inline-flex;
  align-items: center;
  background: #131317;
  border: 1px solid #26262c;
  border-radius: 7px;
  overflow: hidden;
}

.o-win-group button {
  width: 28px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-right: 1px solid #26262c;
  color: #d4d4d8;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.o-win-group button:last-child {
  border-right: none;
}

.o-win-group button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.o-search {
  display: flex;
  align-items: center;
  background: #141418;
  border: 1px solid #26262c;
  border-radius: 7px;
  padding: 3px 9px;
  width: 155px;
}

.o-search[hidden] {
  display: none;
}

.o-search input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.76rem;
  width: 100%;
}

.o-search input::placeholder { color: #71717a; }

.o-side {
  border-right: 1px solid #1e1e23;
  background: #0a0a0c;
  display: flex;
  flex-direction: column;
  padding: 10px 8px;
  overflow-y: auto;
  scrollbar-width: none;
}

.o-side::-webkit-scrollbar { display: none; }

.o-tabs {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.o-tab-group {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #d99b1e;
  padding: 8px 8px 3px;
  font-weight: 800;
}

.o-tab-group:first-child {
  padding-top: 2px;
}

.o-tab-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #a1a1aa;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 7px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.o-tab-btn svg {
  color: #71717a;
  flex-shrink: 0;
}

.o-tab-btn:hover {
  background: rgba(255, 255, 255, 0.045);
  color: #f4f4f5;
}

.o-tab-btn.active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 600;
}

.o-tab-btn.active svg {
  color: #eab308;
}

.o-content {
  padding: 14px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: radial-gradient(ellipse 90% 80% at 50% 0%, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

.o-dash-welcome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(161, 120, 24, 0.25) 0%, rgba(20, 20, 24, 0.92) 72%);
  border: 1px solid rgba(212, 160, 36, 0.25);
}

.o-dash-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #27272a;
  border: 2px solid #eab308;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.o-dash-avatar svg {
  width: 54px;
  height: 54px;
  display: block;
}

.o-dash-welcome h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.o-dash-link {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #d99b1e;
  margin: 2px 0;
}

.o-dash-welcome p {
  font-size: 0.75rem;
  color: #a1a1aa;
}

.o-dash-card {
  padding: 14px 16px;
  border-radius: 10px;
  background: #101014;
  border: 1px solid #1e1e24;
}

.o-dash-card strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.o-dash-card span {
  font-size: 0.76rem;
  color: #a1a1aa;
}

.o-bar {
  height: 6px;
  border-radius: 999px;
  background: #222228;
  margin-top: 12px;
  overflow: hidden;
}

.o-bar > i {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #b45309 0%, #fef08a 48%, #eab308 100%);
}

.o-stats-label {
  font-size: 0.76rem;
  color: #a1a1aa;
  margin-top: 2px;
  margin-bottom: -2px;
}

.o-stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.o-stat-box {
  padding: 11px 8px;
  border-radius: 10px;
  background: #101014;
  border: 1px solid #1e1e24;
  text-align: center;
}

.o-stat-box span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #71717a;
  margin-bottom: 4px;
}

.o-stat-box b {
  font-size: 0.86rem;
  color: #eab308;
  font-weight: 800;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.status > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  font-weight: 500;
}

.status > span:last-child {
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.7);
  display: inline-block;
}

.word {
  font-size: clamp(3rem, 8.5vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 28px;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Inline Loadstring Bar (no white scrollbar) */
.loader {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 15, 18, 0.9);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 5px 5px 5px 18px;
  max-width: 100%;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.ls {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 440px;
  scrollbar-width: none;
}

.ls::-webkit-scrollbar { display: none; }
.ls-a { color: var(--text-dim); }
.ls-host { color: var(--text); }
.ls-path { color: #d4d4d8; font-weight: 600; }

.cue {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.cue svg {
  width: 16px;
  height: 16px;
  animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Interactive Orion-style Menu Preview (Monochrome Gray) */
.o-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 880px;
  padding: 0 24px;
}

.orion {
  background: rgba(14, 14, 17, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-rows: 52px 420px;
  overflow: hidden;
  position: relative;
}

.o-top {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
}

.o-brand-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 4px 0;
}

.o-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.o-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

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

.o-win-group {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.o-win-group button {
  width: 30px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.o-win-group button:last-child {
  border-right: none;
}

.o-win-group button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.o-search {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 10px;
  width: 170px;
}

.o-search[hidden] {
  display: none;
}

.o-search input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.8rem;
  width: 100%;
}

.o-search input::placeholder { color: var(--text-dim); }

.o-side {
  border-right: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 8px;
  overflow-y: auto;
  scrollbar-width: none;
}

.o-side::-webkit-scrollbar { display: none; }

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

.o-tab-group {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d4a024;
  padding: 10px 10px 4px;
  font-weight: 700;
}

.o-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.o-tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.o-tab-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 600;
}

.o-me {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  margin-top: 8px;
  border-top: 1px solid var(--border);
}

.o-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #27272a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.o-av img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.o-me b {
  display: block;
  font-size: 0.78rem;
  line-height: 1.2;
}

.o-me span {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.o-content {
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.12) transparent;
}

.o-sec {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin: 8px 0 2px;
}

.o-sec:first-child { margin-top: 0; }

.o-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: var(--text);
  width: 100%;
  text-align: left;
}

button.o-row {
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

button.o-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.o-chk {
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: #27272a;
  position: relative;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.o-chk::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #a1a1aa;
  transition: transform 0.2s var(--spring), background-color 0.2s ease;
}

.o-row[aria-checked="true"] .o-chk {
  background: #e4e4e7;
}

.o-row[aria-checked="true"] .o-chk::after {
  transform: translateX(14px);
  background: #09090b;
}

.o-chip, .mc-val, .mc-dd {
  font-size: 0.74rem;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--mono);
}

/* Blocks / Sections */
.block {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}

.head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.aside {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.lead {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 32px;
}

/* Inside main.lua horizontal strip */
.tc-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: none;
}

.tc-strip::-webkit-scrollbar { display: none; }

.tabcard {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tc-group {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-dim);
  font-weight: 600;
}

.tabcard h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.tc-more {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* Scripts Grid */
.scripts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.script {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.2s ease;
}

.script:hover {
  border-color: var(--border-strong);
}

.script-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.script-top h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ver {
  font-size: 0.72rem;
  font-family: var(--mono);
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.tag {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
  color: #34d399;
  white-space: nowrap;
}

.feat-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 10px;
}

.feat-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}

.feat-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}

.feat-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-dim);
  position: absolute;
  left: 0;
  top: 0.58em;
}

.script .loader {
  border-radius: 12px;
  padding: 8px 8px 8px 14px;
  justify-content: space-between;
  margin-top: auto;
}

.script .ls {
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: none;
}

.script-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Hero Pop-in & Scroll Reveal */
.hero-pop {
  opacity: 0;
  animation: heroPopIn 0.7s var(--spring) var(--d, 0ms) forwards;
}

@keyframes heroPopIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.reveal-block {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--spring);
}

.reveal-block.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Blurred Security Check Modal */
.captcha-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(6, 6, 8, 0.72);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeInOverlay 0.25s ease;
}

.captcha-overlay[hidden] {
  display: none;
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

.captcha-sheet {
  width: 100%;
  max-width: 400px;
  background: rgba(16, 16, 20, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 30px 26px;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: sheetPop 0.35s var(--spring);
}

@keyframes sheetPop {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.captcha-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-bottom: 4px;
}

.captcha-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.captcha-reason {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.28);
  padding: 5px 12px;
  border-radius: 999px;
}

.captcha-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.captcha-widget-wrap {
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.turnstile-status {
  font-size: 0.8rem;
  color: var(--text-muted);
  min-height: 1.2em;
}

.turnstile-status.is-error {
  color: #f87171;
}

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

.qa {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}

.qa h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cat {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-dim);
  font-weight: 600;
}

.answer p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 44px 0;
  background: #060608;
}

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

.about {
  max-width: 520px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

footer span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

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

/* Legal pages */
.legal-wrap {
  padding: 120px 0 80px;
}

.legal-box {
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-box h1 {
  font-size: 2rem;
  margin-bottom: 6px;
}

.legal-box .updated {
  font-size: 0.84rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.legal-box h2 {
  font-size: 1.1rem;
  margin: 22px 0 8px;
}

.legal-box p, .legal-box li {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.legal-box ul {
  padding-left: 20px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (max-width: 820px) {
  .scripts, .faq {
    grid-template-columns: 1fr;
  }

  .orion {
    grid-template-columns: 1fr;
    grid-template-rows: 52px auto 340px;
  }

  .o-side {
    border-right: none;
    border-bottom: 1px solid var(--border);
    flex-direction: row;
    overflow-x: auto;
  }

  .o-tabs {
    flex-direction: row;
  }

  .o-tab-group, .o-me {
    display: none;
  }

  .loader {
    border-radius: 14px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
  }

  .ls {
    max-width: 100%;
    white-space: pre-wrap;
    word-break: break-all;
  }
}
