/* HyperFrame — site public */

:root {
  --bg: #07070a;
  --surface: #0f0f15;
  --surface-2: #13131b;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --text: #f3f3f5;
  --muted: #a3a3b0;
  --dim: #6f6f7c;
  --accent: #f5c451;
  --accent-2: #e0922a;
  --accent-rgb: 245, 196, 81;
  --on-accent: #140f03;
  --discord: #5865f2;
  --green: #3ddc84;
  --red: #ff6464;
  --orange: #ffb23e;
  --radius: 16px;
  --font-display: 'Unbounded', 'Inter', system-ui, sans-serif;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --nav-h: 72px;
  --gold: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { flex: 1; position: relative; z-index: 1; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(var(--accent-rgb), 0.35); color: #fff; }
[hidden] { display: none !important; }
.ico { width: 1.1em; height: 1.1em; flex: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 880px; }
.center { text-align: center; }
.gap-top { margin-top: 26px; }
.gap-top-lg { margin-top: 48px; }

.display { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.04; letter-spacing: -0.01em; text-transform: uppercase; }
.dot { color: var(--accent); }
.gold-text {
  background: linear-gradient(180deg, #fff0c2 0%, var(--accent) 48%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  --py: 12px;
  --px: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--py) var(--px);
  border: 1px solid transparent;
  border-radius: 10px;
  font: 700 13px/1 var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn[disabled], .btn.disabled { opacity: 0.45; pointer-events: none; }
.btn .ico { width: 1.25em; height: 1.25em; }
.btn-gold { background: var(--gold); color: var(--on-accent); box-shadow: 0 10px 30px -10px rgba(var(--accent-rgb), 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(var(--accent-rgb), 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-soft { background: rgba(var(--accent-rgb), 0.1); border-color: rgba(var(--accent-rgb), 0.35); color: var(--accent); }
.btn-soft:hover { background: rgba(var(--accent-rgb), 0.18); border-color: rgba(var(--accent-rgb), 0.6); }
.btn-ghost { background: rgba(255, 255, 255, 0.03); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.26); }
.btn-discord { background: var(--discord); color: #fff; box-shadow: 0 10px 30px -12px rgba(88, 101, 242, 0.7); }
.btn-discord:hover { background: #4b56e6; transform: translateY(-2px); }
.btn-sm { --py: 9px; --px: 14px; border-radius: 8px; font-size: 11.5px; }
.btn-lg { --py: 16px; --px: 28px; font-size: 14px; }
.btn-xl { --py: 22px; --px: 50px; border-radius: 12px; font-family: var(--font-display); font-size: 17px; letter-spacing: 0.14em; }
.btn-block { width: 100%; }
.glow { animation: glow 3.2s ease-in-out infinite; }
@keyframes glow {
  0%, 100% { box-shadow: 0 10px 34px -10px rgba(var(--accent-rgb), 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
  50% { box-shadow: 0 14px 60px -6px rgba(var(--accent-rgb), 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
}

/* ---------- background ---------- */
#particles { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- announcement, nav ---------- */
.announce { position: relative; z-index: 60; padding: 9px 16px; background: var(--gold); color: var(--on-accent); text-align: center; font: 700 13px/1.35 var(--font); }
.announce a { text-decoration: underline; text-underline-offset: 3px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(7, 7, 10, 0.7);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition: background 0.3s, border-color 0.3s;
}
.nav.scrolled { background: rgba(7, 7, 10, 0.86); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 22px; height: 100%; max-width: 1360px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: 11px; }
.brand-mark { width: auto; height: 30px; }
.brand-mark-full { height: 34px; }
.brand-text { font: 700 16px/1 var(--font-display); letter-spacing: 0.06em; }
.brand-text em { color: var(--accent); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { padding: 8px 10px; border-radius: 8px; color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap; transition: color 0.2s, background 0.2s; }
.nav-links a.nav-extra { display: none; }
@media (min-width: 1440px) { .nav-links a.nav-extra { display: block; } }
.nav-links a:hover { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-login { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; transition: color 0.2s; }
.nav-login:hover { color: var(--text); }
.nav-account { display: inline-flex; align-items: center; gap: 9px; max-width: 190px; padding: 5px 13px 5px 5px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13.5px; font-weight: 600; transition: border-color 0.2s; }
.nav-account:hover { border-color: rgba(var(--accent-rgb), 0.5); }
.nav-account img { width: 26px; height: 26px; border-radius: 50%; }
.nav-account span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-admin { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 8px; background: rgba(var(--accent-rgb), 0.1); color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; }
.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0 11px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(255, 255, 255, 0.03); cursor: pointer; }
.nav-burger span { display: block; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.25s, opacity 0.2s; }
.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-drawer { display: none; }

/* ---------- flash ---------- */
.flash {
  position: fixed;
  top: calc(var(--nav-h) + 16px);
  left: 50%;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(560px, calc(100% - 32px));
  padding: 13px 12px 13px 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #16161f;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.8);
  font-size: 14.5px;
  font-weight: 500;
  transform: translateX(-50%);
  animation: flashIn 0.4s ease both;
}
.flash.out { opacity: 0; transform: translate(-50%, -10px); transition: opacity 0.3s, transform 0.3s; }
.flash-success > .ico { color: var(--green); }
.flash-error > .ico { color: var(--red); }
.flash-info > .ico { color: var(--accent); }
.flash-close { display: grid; place-items: center; width: 30px; height: 30px; margin-left: auto; border: 0; border-radius: 8px; background: none; color: var(--dim); cursor: pointer; }
.flash-close:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
@keyframes flashIn { from { opacity: 0; transform: translate(-50%, -12px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- sections ---------- */
.section { position: relative; padding: 120px 0; }
.section-tight { padding: 30px 0 120px; }
.section-head { max-width: 940px; margin: 0 auto 56px; text-align: center; }
.h2 { font-size: clamp(32px, 5.2vw, 60px); }
.lead { max-width: 620px; margin: 18px auto 0; color: var(--muted); font-size: 17px; }
.eyebrow { display: inline-block; margin-bottom: 16px; color: var(--accent); font: 800 12px/1 var(--font); letter-spacing: 0.2em; text-transform: uppercase; }
.footnote { max-width: 660px; margin: 28px auto 0; color: var(--dim); font-size: 13.5px; text-align: center; }
.micro-note { margin: 14px 0 0; color: var(--dim); font-size: 13px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 110px 0 96px; overflow: hidden; text-align: center; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 32%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 32%, #000 25%, transparent 75%);
}
.hero-glow { position: absolute; top: -240px; left: 50%; width: 960px; height: 640px; background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.2), transparent); transform: translateX(-50%); }
.hero-inner { position: relative; }
.badge-pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border: 1px solid rgba(var(--accent-rgb), 0.45); border-radius: 999px; background: rgba(var(--accent-rgb), 0.06); color: var(--accent); font: 700 12px/1.2 var(--font); letter-spacing: 0.14em; text-transform: uppercase; }
.live-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}
.hero-title { margin-top: 34px; font-size: clamp(38px, 7.4vw, 92px); }
.hero-title .line { display: block; }
.hero-title .gold-text { padding-bottom: 0.06em; filter: drop-shadow(0 8px 40px rgba(var(--accent-rgb), 0.35)); }
.hero-sub { max-width: 610px; margin: 28px auto 0; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 44px; }
.hero-actions-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-note { max-width: 470px; margin: 26px auto 0; color: var(--dim); font-size: 14px; }
.hero-stats { display: inline-grid; grid-auto-columns: 1fr; grid-auto-flow: column; margin: 54px auto 0; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.02); }
.hero-stat { display: flex; flex-direction: column; gap: 6px; padding: 16px 32px; }
.hero-stat + .hero-stat { border-left: 1px solid var(--line); }
.hero-stat b { font: 800 22px/1 var(--font-display); }
.hero-stat span { color: var(--dim); font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- app demo ---------- */
.app-window {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: #0b0b10;
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.9), 0 0 120px -40px rgba(var(--accent-rgb), 0.35);
}
.app-window::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.45), transparent 35%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.app-titlebar { display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 18px; border-bottom: 1px solid var(--line); background: #08080c; }
.app-brand { display: flex; align-items: center; gap: 10px; color: var(--accent); font: 700 12px/1 var(--font-display); letter-spacing: 0.12em; }
.app-brand img { height: 20px; }
.app-winctl { display: flex; gap: 18px; color: var(--dim); font-size: 13px; }
.app-body { display: grid; grid-template-columns: 224px 1fr; height: 610px; }
.app-side { display: flex; flex-direction: column; gap: 2px; padding: 14px 10px; overflow-y: auto; border-right: 1px solid var(--line); background: #09090d; }
.app-nav { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 12px; border: 0; border-radius: 9px; background: none; color: var(--muted); font-size: 13.5px; font-weight: 500; text-align: left; white-space: nowrap; cursor: pointer; transition: background 0.15s, color 0.15s; }
.app-nav:hover { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.app-nav.active { background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.16), rgba(var(--accent-rgb), 0.03)); color: var(--accent); box-shadow: inset 2px 0 0 var(--accent); }
.app-tag { margin-left: auto; padding: 3px 6px; border-radius: 5px; background: var(--accent); color: var(--on-accent); font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: 0.08em; }
.app-main { position: relative; padding: 24px; overflow-y: auto; background: radial-gradient(800px 300px at 85% -10%, rgba(var(--accent-rgb), 0.07), transparent), #0b0b10; }
.app-panel { display: none; }
.app-panel.active { display: block; animation: panelIn 0.35s ease both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ap-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ap-head small { color: var(--dim); font-size: 12.5px; }
.ap-head h3 { margin: 2px 0 0; font: 700 22px/1.15 var(--font-display); }
.ap-status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid rgba(61, 220, 132, 0.22); border-radius: 999px; background: rgba(61, 220, 132, 0.08); color: var(--green); font-size: 12px; font-weight: 600; white-space: nowrap; }
.ap-status .live-dot { background: var(--green); animation: none; }
.ap-card { padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: #111118; }
.card-title { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 13.5px; font-weight: 700; }
.card-title small { margin-left: auto; color: var(--dim); font-size: 10.5px; letter-spacing: 0.14em; }
.dash-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; }
.score-card { display: flex; align-items: center; gap: 18px; }
.ring-wrap { position: relative; flex: none; width: 108px; height: 108px; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring-track { stroke: rgba(255, 255, 255, 0.06); }
.ring-bar { stroke: url(#ringGrad); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ring-label { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 38px; }
.ring-label b { font: 800 30px/1 var(--font-display); }
.ring-label span { color: var(--dim); font-size: 12px; }
.score-meta { display: flex; flex-direction: column; gap: 6px; }
.score-meta strong { font-size: 15px; }
.score-meta span { color: var(--dim); font-size: 12.5px; line-height: 1.45; }
.metric-top { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--muted); font-size: 13px; font-weight: 600; }
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.metric-row small, .net-grid small, .stat-chips small { display: block; color: var(--dim); font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; }
.metric-row b { font: 700 22px/1.3 var(--font-display); font-variant-numeric: tabular-nums; }
.meter { height: 6px; margin-top: 14px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, 0.06); }
.meter i { display: block; height: 100%; border-radius: inherit; background: var(--gold); transition: width 0.8s ease; }
.lb { grid-column: span 2; }
.lb ol { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.lb li { display: grid; grid-template-columns: 26px 1fr auto 64px; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, 0.02); font-size: 13.5px; }
.rank { color: var(--dim); font: 800 12px/1 var(--font-display); text-align: center; }
.lb li:nth-child(1) .rank { color: #ffd76a; }
.lb li:nth-child(2) .rank { color: #cfd6e4; }
.lb li:nth-child(3) .rank { color: #e0a36b; }
.lb-name { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.tier-mini { font-size: 10px; font-weight: 800; letter-spacing: 0.1em; }
.tier-mini-diamond { color: #8fe3ff; }
.tier-mini-gold { color: var(--accent); }
.tier-mini-silver { color: #cfd6e4; }
.tier-mini-ruby { color: #ff8aa0; }
.lb-score { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.help-card { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; border-color: rgba(88, 101, 242, 0.3); background: linear-gradient(160deg, rgba(88, 101, 242, 0.2), rgba(88, 101, 242, 0.04)); }
.help-card strong { display: block; margin-bottom: 4px; }
.help-card span { color: #c5c8f0; font-size: 13px; }
.mini-btn { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 8px; margin-left: auto; padding: 8px 12px; border: 1px solid rgba(var(--accent-rgb), 0.4); border-radius: 8px; background: rgba(var(--accent-rgb), 0.1); color: var(--accent); font-size: 12px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: all 0.2s; }
.mini-btn:hover { background: rgba(var(--accent-rgb), 0.18); }
.mini-btn:disabled { cursor: default; opacity: 0.7; }
.mini-btn.done { border-color: rgba(61, 220, 132, 0.4); background: rgba(61, 220, 132, 0.1); color: var(--green); }
.mini-btn.ghost { border-color: var(--line-2); background: none; color: var(--muted); }
.mini-btn.discord { margin-left: 0; border-color: transparent; background: var(--discord); color: #fff; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 12.5px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend span::before { content: ''; width: 10px; height: 10px; border-radius: 3px; }
.lg-before::before { background: #3a3a46; }
.lg-after::before { background: var(--gold); }
.chart-card { padding: 10px 12px 4px; }
.fps-chart { width: 100%; height: auto; }
.fps-chart .grid line { stroke: rgba(255, 255, 255, 0.06); }
.fps-chart text { fill: var(--dim); font: 600 11px var(--font); }
.fps-chart .area { fill: url(#areaGrad); }
.fps-chart .line-before { fill: none; stroke: #5a5a68; stroke-dasharray: 6 6; stroke-width: 2.5; }
.fps-chart .line-after { fill: none; stroke: var(--accent); stroke-dasharray: 900; stroke-dashoffset: 900; stroke-linejoin: round; stroke-width: 3; }
.fps-chart .pt { fill: #0b0b10; stroke: var(--accent); stroke-width: 2.5; }
.app-panel.active .line-after { animation: draw 1.6s ease forwards 0.1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.stat-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.stat-chips b, .net-grid b { display: block; margin-top: 4px; font: 800 24px/1.1 var(--font-display); }
.good { color: var(--green); }
.scan-bar { height: 4px; margin-bottom: 14px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, 0.06); }
.scan-bar i { display: block; width: 0; height: 100%; background: var(--gold); }
.check-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: #111118; font-size: 14px; transition: opacity 0.3s; }
.check-list li.scanning { opacity: 0.45; }
.check-list em { margin-left: auto; color: var(--muted); font-size: 12.5px; font-style: normal; }
.check-ico { display: grid; flex: none; place-items: center; width: 28px; height: 28px; border-radius: 8px; }
[data-state='ok'] .check-ico { background: rgba(61, 220, 132, 0.12); color: var(--green); }
[data-state='warn'] .check-ico { background: rgba(255, 178, 62, 0.12); color: var(--orange); }
[data-state='warn'] em { color: var(--orange); }
.tw-count { color: var(--muted); font-size: 13px; }
.tw-count b { color: var(--accent); font-size: 16px; }
.tweak-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tweak-list.one { grid-template-columns: 1fr; max-width: 560px; }
.tweak { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: #111118; cursor: pointer; transition: border-color 0.2s; }
.tweak:hover { border-color: var(--line-2); }
.tweak strong { display: block; font-size: 13.5px; font-weight: 600; }
.tweak small { color: var(--dim); font-size: 12px; }
.switch { position: relative; flex: none; width: 38px; height: 22px; margin: 0; border-radius: 99px; background: rgba(255, 255, 255, 0.12); cursor: pointer; transition: background 0.2s; -webkit-appearance: none; appearance: none; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 0.2s, background 0.2s; }
.switch:checked { background: var(--accent); }
.switch:checked::after { background: var(--on-accent); transform: translateX(16px); }
.switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.inline-switch { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; }
.auto-wrap { display: flex; flex-direction: column; align-items: center; padding: 26px 0 10px; text-align: center; }
.auto-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 168px;
  height: 168px;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #ffeab0, var(--accent) 42%, var(--accent-2));
  color: var(--on-accent);
  font: 800 13px/1 var(--font-display);
  letter-spacing: 0.12em;
  cursor: pointer;
  box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0.08), 0 0 0 22px rgba(var(--accent-rgb), 0.04), 0 20px 60px -10px rgba(var(--accent-rgb), 0.6);
  transition: transform 0.2s;
}
.auto-btn:hover { transform: scale(1.04); }
.auto-btn .ico { width: 34px; height: 34px; }
.auto-btn.running { animation: breathe 1s ease-in-out infinite; }
.auto-btn.done { background: radial-gradient(circle at 32% 26%, #b8ffd6, var(--green) 50%, #1f9d59); }
@keyframes breathe { 50% { transform: scale(0.96); box-shadow: 0 0 0 16px rgba(var(--accent-rgb), 0.1), 0 0 0 32px rgba(var(--accent-rgb), 0.05), 0 20px 60px -10px rgba(var(--accent-rgb), 0.7); } }
.auto-status { margin: 28px 0 0; color: var(--muted); font-size: 14px; }
.auto-status.done { color: var(--green); font-weight: 600; }
.auto-progress { width: min(420px, 100%); height: 6px; margin-top: 14px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, 0.06); }
.auto-progress i { display: block; width: 0; height: 100%; background: var(--gold); transition: width 0.45s ease; }
.auto-log { display: grid; gap: 6px; width: min(420px, 100%); margin: 16px 0 0; padding: 0; color: var(--muted); font-size: 13px; text-align: left; list-style: none; }
.auto-log li { display: flex; align-items: center; gap: 8px; animation: panelIn 0.3s ease both; }
.auto-log li::before { content: '✓'; color: var(--green); font-weight: 800; }
.net-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 12px; }
.net-grid .good { font-size: 12px; font-weight: 700; }
.ping-bars { display: flex; align-items: flex-end; gap: 4px; height: 130px; }
.ping-bars i { flex: 1; min-height: 4px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--accent), rgba(var(--accent-rgb), 0.2)); transition: height 0.5s ease; }
.ping-bars.off i { background: linear-gradient(180deg, #8a8a98, rgba(138, 138, 152, 0.2)); }
.row-list { margin: 0; padding: 0; list-style: none; }
.row-list li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: #111118; }
.row-list li + li { margin-top: 8px; }
.row-text { min-width: 0; }
.row-text strong { display: block; font-size: 14px; }
.row-text small { color: var(--dim); font-size: 12.5px; }
.game-ico { display: grid; flex: none; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(var(--accent-rgb), 0.12); color: var(--accent); font: 800 11px/1 var(--font-display); }
.pill-ok { margin-left: auto; padding: 5px 10px; border-radius: 7px; background: rgba(61, 220, 132, 0.12); color: var(--green); font-size: 11.5px; font-weight: 700; }
.pill-warn { display: inline-block; padding: 6px 12px; border-radius: 8px; background: rgba(255, 178, 62, 0.14); color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; }

/* ---------- gameplay clips ---------- */
.clips { position: relative; }
.clips-track {
  position: relative;
  display: flex;
  gap: 24px;
  padding: 10px calc(50vw - min(460px, 44vw)) 34px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.clips-track::-webkit-scrollbar { display: none; }
.clip {
  display: grid;
  flex: 0 0 min(920px, 88vw);
  grid-template-columns: 1fr 250px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: var(--surface);
  opacity: 0.35;
  transform: scale(0.94);
  scroll-snap-align: center;
  cursor: pointer;
  transition: opacity 0.5s, transform 0.5s, border-color 0.5s, box-shadow 0.5s;
}
.clip.is-active { border-color: rgba(var(--accent-rgb), 0.45); opacity: 1; transform: none; box-shadow: 0 30px 80px -30px rgba(var(--accent-rgb), 0.35); cursor: default; }
.clip-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.clip-media video, .clip-media img, .clip-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.clip-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(600px 300px at 72% 18%, rgba(var(--accent-rgb), 0.22), transparent 60%),
    radial-gradient(500px 300px at 8% 92%, rgba(88, 101, 242, 0.2), transparent 60%),
    linear-gradient(135deg, #17171f, #07070a);
}
.clip-placeholder::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px); }
.clip-placeholder span { color: transparent; font: 800 clamp(40px, 8vw, 110px)/1 var(--font-display); letter-spacing: 0.04em; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.14); }
.clip-play { position: absolute; display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%; background: rgba(0, 0, 0, 0.35); color: rgba(255, 255, 255, 0.85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.clip-play .ico { width: 24px; height: 24px; margin-left: 3px; }
.clip-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 30%, transparent 52%, rgba(0, 0, 0, 0.78)); pointer-events: none; }
.clip-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.clip-game { padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: rgba(0, 0, 0, 0.55); font: 800 12px/1 var(--font-display); letter-spacing: 0.12em; }
.clip-on { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(var(--accent-rgb), 0.4); border-radius: 8px; background: rgba(var(--accent-rgb), 0.15); color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.clip-bottom { display: flex; align-items: flex-end; gap: 22px; }
.clip-fps { display: flex; align-items: flex-end; gap: 10px; }
.clip-fps b { background: linear-gradient(180deg, #fff3cf, var(--accent) 60%, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; font: 800 clamp(46px, 7vw, 92px)/0.85 var(--font-display); }
.clip-fps span { display: flex; flex-direction: column; padding-bottom: 4px; color: var(--accent); font: 800 15px/1.2 var(--font-display); letter-spacing: 0.14em; }
.clip-fps small, .clip-avg small { color: rgba(255, 255, 255, 0.65); font: 600 10px/1.4 var(--font); letter-spacing: 0.14em; }
.clip-avg { padding: 0 0 4px 22px; border-left: 1px solid rgba(255, 255, 255, 0.2); }
.clip-avg b { display: block; font: 800 30px/1 var(--font-display); }
.clip-specs { display: flex; flex-direction: column; justify-content: center; gap: 18px; margin: 0; padding: 22px; border-left: 1px solid var(--line); background: #0c0c12; }
.clip-specs dt { color: var(--dim); font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; }
.clip-specs dd { margin: 4px 0 0; font-size: 14px; font-weight: 600; }
.clips-arrow { position: absolute; top: 42%; z-index: 3; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(10, 10, 14, 0.8); color: var(--text); cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: border-color 0.2s, color 0.2s; }
.clips-arrow:hover { border-color: rgba(var(--accent-rgb), 0.6); color: var(--accent); }
.clips-arrow.prev { left: max(16px, calc(50vw - 560px)); }
.clips-arrow.next { right: max(16px, calc(50vw - 560px)); }
.clips-dots { display: flex; justify-content: center; gap: 8px; }
.clips-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, 0.2); cursor: pointer; transition: width 0.3s, background 0.3s; }
.clips-dots button.active { width: 26px; background: var(--accent); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 34px 30px 32px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface)); transition: border-color 0.3s, transform 0.3s; }
.step:hover { border-color: rgba(var(--accent-rgb), 0.35); transform: translateY(-4px); }
.step::after { content: ''; position: absolute; top: -60px; right: -60px; width: 180px; height: 180px; background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.13), transparent); }
.step-num { display: block; margin-bottom: 26px; color: transparent; font: 800 64px/1 var(--font-display); -webkit-text-stroke: 1.5px rgba(var(--accent-rgb), 0.6); }
.step h3 { margin: 0 0 12px; font: 700 19px/1.25 var(--font-display); text-transform: uppercase; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- marquee + calculator ---------- */
.marquee { display: grid; gap: 14px; margin-bottom: 56px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-row { overflow: hidden; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee var(--dur, 60s) linear infinite; }
.marquee-row.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
.result-chip { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 14px; white-space: nowrap; }
.rc-name { font-weight: 700; }
.rc-tag { color: var(--dim); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.rc-fps { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rc-fps i { color: var(--accent); font-style: normal; }
.rc-fps b { color: var(--accent); font-weight: 800; }
.sample-mini { padding: 1px 5px; border: 1px dashed rgba(255, 255, 255, 0.22); border-radius: 4px; color: var(--dim); font-size: 9.5px; font-style: normal; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.calc { display: grid; grid-template-columns: 380px 1fr; overflow: hidden; border: 1px solid var(--line-2); border-radius: 20px; background: var(--surface); }
.calc-controls { display: flex; flex-direction: column; gap: 30px; padding: 30px; border-right: 1px solid var(--line); background: #0c0c12; }
.calc-label { display: block; margin-bottom: 12px; color: var(--dim); font-size: 11px; font-weight: 800; letter-spacing: 0.16em; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-btn { padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(255, 255, 255, 0.02); color: var(--muted); font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.seg-btn:hover { border-color: rgba(255, 255, 255, 0.25); color: var(--text); }
.seg-btn.active { border-color: rgba(var(--accent-rgb), 0.6); background: rgba(var(--accent-rgb), 0.14); color: var(--accent); }
.cfg-list { display: grid; gap: 8px; }
.cfg { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255, 255, 255, 0.02); text-align: left; cursor: pointer; transition: all 0.2s; }
.cfg:hover { border-color: rgba(255, 255, 255, 0.25); }
.cfg strong { font-size: 15px; }
.cfg small { color: var(--dim); font-size: 12.5px; }
.cfg.active { border-color: rgba(var(--accent-rgb), 0.6); background: rgba(var(--accent-rgb), 0.08); }
.cfg.active strong { color: var(--accent); }
.calc-results { display: flex; flex-direction: column; gap: 26px; padding: 30px 34px; }
.calc-results-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.calc-results-head .calc-label { margin: 0; }
.mbars { display: grid; gap: 24px; }
.mbar-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.mbar-head span { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; }
.delta { font: 800 18px/1 var(--font-display); color: var(--muted); }
.delta.good { color: var(--green); }
.bar-row { display: grid; grid-template-columns: 1fr 84px; align-items: center; gap: 14px; }
.bar-row + .bar-row { margin-top: 8px; }
.bar { height: 14px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, 0.04); }
.bar i { display: block; width: 0; height: 100%; border-radius: inherit; transition: width 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.bar-row.before i { background: #3a3a46; }
.bar-row.after i { background: var(--gold); box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.45); }
.bar-val { font: 700 15px/1 var(--font-display); font-variant-numeric: tabular-nums; text-align: right; }
.bar-row.before .bar-val { color: var(--dim); }
.bar-row.after .bar-val { color: var(--accent); }
.calc-quote { margin: 0; padding: 22px; border: 1px solid rgba(var(--accent-rgb), 0.18); border-radius: 14px; background: rgba(var(--accent-rgb), 0.05); }
.calc-quote blockquote { margin: 0 0 16px; font-size: 16px; line-height: 1.55; }
.calc-quote figcaption { display: flex; align-items: center; gap: 12px; }
.avatar-initials { display: grid; flex: none; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--on-accent); font: 800 12px/1 var(--font-display); }
.review-who { min-width: 0; }
.review-who strong { display: block; font-size: 14px; }
.review-who small { color: var(--dim); font-size: 12.5px; }

/* ---------- reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.review { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color 0.3s, transform 0.3s; }
.review > .sample-tag.corner { position: absolute; top: -9px; right: 16px; margin: 0; border-style: solid; border-color: var(--line-2); background: #15151d; }
.review:hover { border-color: rgba(var(--accent-rgb), 0.3); transform: translateY(-3px); }
.review-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; min-height: 28px; }
.tier { padding: 6px 10px; border: 1px solid rgba(var(--accent-rgb), 0.3); border-radius: 7px; background: rgba(var(--accent-rgb), 0.12); color: var(--accent); font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; }
.tier-diamond { border-color: rgba(127, 220, 255, 0.3); background: rgba(127, 220, 255, 0.1); color: #8fe3ff; }
.tier-silver { border-color: rgba(207, 214, 228, 0.25); background: rgba(207, 214, 228, 0.08); color: #d6dce8; }
.tier-ruby { border-color: rgba(255, 92, 122, 0.35); background: rgba(255, 92, 122, 0.1); color: #ff8aa0; }
.review-fps { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.review-fps i { color: var(--accent); font-style: normal; }
.review-fps b { color: var(--accent); }
.review blockquote { flex: 1; margin: 0; color: #e4e4ea; font-size: 15px; line-height: 1.6; }
.review-foot { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.sample-tag { flex: none; margin-left: auto; padding: 3px 6px; border: 1px dashed rgba(255, 255, 255, 0.24); border-radius: 5px; color: var(--dim); font-size: 9.5px; font-weight: 800; letter-spacing: 0.12em; }
.sample-tag.light { margin-left: 0; border-color: rgba(255, 255, 255, 0.4); background: rgba(0, 0, 0, 0.45); color: rgba(255, 255, 255, 0.75); }
.review-link { flex: none; margin-left: auto; color: var(--dim); transition: color 0.2s; }
.sample-tag + .review-link { margin-left: 0; }
.review-link:hover { color: #8b95ff; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; margin-top: 40px; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: 0.14em; }
.link-arrow .ico { transition: transform 0.2s; }
.link-arrow:hover .ico { transform: translateX(4px); }
.filter-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -16px 0 36px; }
.chip { padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: none; color: var(--muted); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.chip.active { border-color: rgba(var(--accent-rgb), 0.5); background: rgba(var(--accent-rgb), 0.12); color: var(--accent); }

/* ---------- pricing ---------- */
.period-toggle { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto; padding: 5px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); }
.period-toggle button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border: 0; border-radius: 10px; background: none; color: var(--muted); font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.period-toggle button:hover { color: var(--text); }
.period-toggle button.active { background: var(--gold); color: var(--on-accent); box-shadow: 0 6px 20px -6px rgba(var(--accent-rgb), 0.6); }
.period-toggle em { padding: 3px 7px; border-radius: 6px; background: rgba(61, 220, 132, 0.15); color: var(--green); font-size: 11px; font-style: normal; font-weight: 800; }
.period-toggle button.active em { background: rgba(0, 0, 0, 0.16); color: var(--on-accent); }
.period-note { margin: 14px 0 34px; color: var(--dim); font-size: 13.5px; text-align: center; }
.included { max-width: 880px; margin: 0 auto 44px; padding: 22px 26px; border: 1px solid rgba(var(--accent-rgb), 0.25); border-radius: var(--radius); background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.08), rgba(var(--accent-rgb), 0.02)); }
.included-head { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; }
.included ul { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 14px 0; padding: 0; list-style: none; }
.included li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; }
.included li .ico { color: var(--accent); }
.included p { margin: 0; color: var(--dim); font-size: 13px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plans-3 { grid-template-columns: repeat(3, 1fr); max-width: 1040px; margin: 0 auto; }
.plans-2 { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; }
.plans-1 { grid-template-columns: minmax(0, 360px); justify-content: center; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 24px 24px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--surface); transition: transform 0.3s, border-color 0.3s; }
.plan:hover { border-color: rgba(255, 255, 255, 0.22); transform: translateY(-4px); }
.plan-hl { border-color: rgba(var(--accent-rgb), 0.6); background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.12), var(--surface) 45%); box-shadow: 0 30px 80px -30px rgba(var(--accent-rgb), 0.45); }
.plan-hl:hover { border-color: var(--accent); }
.plan-badge { position: absolute; top: -12px; left: 50%; padding: 6px 12px; border-radius: 7px; background: var(--gold); color: var(--on-accent); font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; white-space: nowrap; transform: translateX(-50%); }
.plan-level { color: var(--dim); font-size: 11px; font-weight: 800; letter-spacing: 0.16em; }
.plan-name { margin: 8px 0 18px; font-size: 25px; }
.plan-hl .plan-name { color: var(--accent); }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; min-height: 46px; }
.plan-price b { font: 800 40px/1 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan-price span { color: var(--muted); font-size: 14px; font-weight: 600; }
.plan-billing { min-height: 20px; margin: 8px 0 22px; color: var(--dim); font-size: 13px; }
.plan-features { display: grid; flex: 1; align-content: start; gap: 12px; margin: 0 0 26px; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.plan-features li { display: flex; gap: 10px; color: #dcdce3; font-size: 14px; line-height: 1.45; }
.plan-features .ico { margin-top: 2px; color: var(--accent); }
.pay-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 30px; color: var(--dim); font-size: 13px; text-align: center; }

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 10px; }
.faq { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color 0.2s; }
.faq[open] { border-color: rgba(var(--accent-rgb), 0.3); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-size: 16px; font-weight: 700; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--accent); transition: transform 0.25s; }
.faq[open] summary .ico { transform: rotate(180deg); }
.faq-a { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ---------- discord cta ---------- */
.discord-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; padding: 40px 44px; overflow: hidden; border: 1px solid rgba(88, 101, 242, 0.35); border-radius: 22px; background: radial-gradient(600px 300px at 0% 0%, rgba(88, 101, 242, 0.35), transparent 60%), linear-gradient(135deg, #14152b, #0c0c14); }
.dc-icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 20px; background: var(--discord); box-shadow: 0 16px 40px -10px rgba(88, 101, 242, 0.8); }
.dc-icon .ico { width: 42px; height: 42px; color: #fff; }
.discord-cta h2 { font-size: clamp(24px, 3vw, 34px); }
.discord-cta p { max-width: 560px; margin: 10px 0 0; color: #c5c8f0; }
.dc-stats { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; color: #e3e5ff; font-size: 13.5px; font-weight: 600; }
.dc-stats span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-green { background: var(--green); }
.dot-gray { background: #8a8fb8; }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 1; margin-top: 40px; padding: 64px 0 28px; border-top: 1px solid var(--line); background: #060608; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { max-width: 320px; margin: 18px 0 20px; color: var(--dim); font-size: 14px; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--muted); transition: all 0.2s; }
.socials a:hover { border-color: rgba(var(--accent-rgb), 0.5); color: var(--accent); }
.footer-col h4 { margin: 0 0 16px; font-size: 12px; font-weight: 800; letter-spacing: 0.16em; }
.footer-col a { display: block; padding: 5px 0; color: var(--dim); font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 22px; color: var(--dim); font-size: 13px; }
.footer-bottom::before { content: ''; position: absolute; top: 0; right: 24px; left: 24px; border-top: 1px solid var(--line); }
.dev-banner { position: fixed; bottom: 14px; left: 14px; z-index: 90; padding: 7px 12px; border-radius: 8px; background: var(--orange); color: #1a1000; font: 800 11px/1 var(--font); letter-spacing: 0.12em; }

/* ---------- inner pages ---------- */
.page { padding: 64px 0 100px; }
.alert { margin: 14px 0; padding: 13px 16px; border: 1px solid; border-radius: 11px; font-size: 14px; text-align: left; }
.alert-error { border-color: rgba(255, 100, 100, 0.35); background: rgba(255, 100, 100, 0.08); color: #ffb8b8; }
.alert-warn { border-color: rgba(255, 178, 62, 0.35); background: rgba(255, 178, 62, 0.08); color: #ffd699; }
.alert-info { border-color: rgba(var(--accent-rgb), 0.35); background: rgba(var(--accent-rgb), 0.07); color: #ffe6ad; }
.muted-note { color: var(--dim); font-size: 13.5px; }

.auth-wrap { display: grid; place-items: center; padding: 64px 16px 40px; }
.auth-card { width: 100%; max-width: 470px; padding: 42px 36px; border: 1px solid var(--line-2); border-radius: 22px; background: var(--surface); text-align: center; box-shadow: 0 40px 100px -40px rgba(var(--accent-rgb), 0.3); }
.auth-logo { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 22px; border: 1px solid rgba(var(--accent-rgb), 0.3); border-radius: 18px; background: rgba(var(--accent-rgb), 0.08); }
.auth-logo img { width: 40px; height: 40px; }
.auth-card h1 { font-size: 28px; }
.auth-lead { margin: 14px 0 26px; color: var(--muted); font-size: 15px; }
.auth-perks { display: grid; gap: 10px; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; text-align: left; }
.auth-perks li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.auth-perks .ico { color: var(--accent); }
.auth-legal { margin: 22px 0 0; color: var(--dim); font-size: 12.5px; }
.auth-legal a { color: var(--muted); text-decoration: underline; }
.dev-login { display: grid; gap: 10px; margin-top: 18px; padding: 14px; border: 1px dashed rgba(255, 178, 62, 0.5); border-radius: 12px; }
.dev-login > span { color: var(--orange); font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; }
.dev-login-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

.acc-head { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-bottom: 36px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.acc-avatar { width: 84px; height: 84px; border: 2px solid rgba(var(--accent-rgb), 0.5); border-radius: 50%; box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.08); }
.acc-id .eyebrow { margin-bottom: 8px; }
.acc-name { margin: 0; font: 800 clamp(24px, 4vw, 38px)/1.1 var(--font-display); overflow-wrap: anywhere; }
.acc-id small { color: var(--dim); }
.acc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.acc-actions form { margin: 0; }
.acc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 30px; }
.acc-title { margin: 0 0 16px; color: var(--muted); font: 700 13px/1 var(--font); letter-spacing: 0.16em; text-transform: uppercase; }
.acc-title:not(:first-child) { margin-top: 44px; }
.lic-card { margin-bottom: 14px; padding: 24px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--surface); }
.lic-card.state-active { border-color: rgba(var(--accent-rgb), 0.35); background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.06), var(--surface) 60%); }
.lic-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.lic-top h3 { margin-top: 6px; font-size: 24px; }
.status { display: inline-block; padding: 6px 10px; border-radius: 7px; background: rgba(255, 255, 255, 0.06); color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.status-active, .status-paid { background: rgba(61, 220, 132, 0.12); color: var(--green); }
.status-pending { background: rgba(255, 178, 62, 0.12); color: var(--orange); }
.status-revoked, .status-refunded, .status-failed { background: rgba(255, 100, 100, 0.1); color: var(--red); }
.lic-key { display: flex; align-items: center; gap: 8px; margin: 18px 0; padding: 6px 6px 6px 16px; border: 1px dashed rgba(var(--accent-rgb), 0.45); border-radius: 12px; background: #09090d; }
.lic-key code { flex: 1; min-width: 0; color: var(--accent); font: 700 16px/1.4 ui-monospace, 'Cascadia Code', Consolas, monospace; letter-spacing: 0.08em; overflow-wrap: anywhere; text-align: left; }
.icon-btn { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 9px; background: rgba(255, 255, 255, 0.03); color: var(--muted); cursor: pointer; transition: all 0.2s; }
.icon-btn:hover { border-color: rgba(var(--accent-rgb), 0.5); color: var(--accent); }
.icon-btn.copied { border-color: rgba(61, 220, 132, 0.5); color: var(--green); }
.lic-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; }
.lic-meta dt { color: var(--dim); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.lic-meta dd { margin: 4px 0 0; font-weight: 600; }
.lic-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.lic-note { margin: 16px 0 0; }
.cr-codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-bottom: 12px; }
.cr-code { padding: 20px 22px; border: 1px solid rgba(var(--accent-rgb), 0.35); border-radius: 18px; background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.06), var(--surface) 60%); }
.cr-code.inactive { border-color: var(--line-2); opacity: 0.7; }
.cr-code .lic-key { margin-top: 0; }
.cr-code .lic-key code { font-size: 20px; }
.cr-money { color: var(--green); font-weight: 700; }
.cr-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.cr-stat { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.cr-stat span { color: var(--dim); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.cr-stat b { font: 800 26px/1.1 var(--font-display); }
.cr-stat.highlight { border-color: rgba(61, 220, 132, 0.35); }
.cr-stat.highlight b { color: var(--green); }
@media (max-width: 640px) {
  .cr-stats { grid-template-columns: 1fr; }
  .table.cr-table thead { display: none; }
  .table.cr-table, .table.cr-table tbody { display: block; }
  .table.cr-table tr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 12px; padding: 14px 16px; }
  .table.cr-table tr + tr { border-top: 1px solid var(--line); }
  .table.cr-table td { padding: 0; border: 0; white-space: normal; }
  .table.cr-table td::before { content: attr(data-label); display: block; margin-bottom: 2px; color: var(--dim); font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
}
.app-acc { margin-bottom: 14px; padding: 22px 24px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--surface); }
.app-acc.state-active { border-color: rgba(61, 220, 132, 0.3); }
.app-acc.empty { border-style: dashed; }
.app-acc.empty p { margin: 0; color: var(--muted); font-size: 14.5px; }
.app-acc.empty b { color: var(--text); }
.app-acc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.acc-app-name { margin: 6px 0 0; font: 700 20px/1.2 var(--font-display); overflow-wrap: anywhere; }
.app-acc-note { margin: 14px 0 0; }
.app-acc-note a { color: var(--accent); text-decoration: underline; }
.lic-actions button { margin-left: auto; }
.empty-card { padding: 44px 24px; border: 1px dashed var(--line-2); border-radius: 18px; text-align: center; }
.empty-card > .ico { width: 36px; height: 36px; margin: 0 auto 14px; color: var(--accent); }
.empty-card h3 { margin: 0 0 8px; }
.empty-card p { margin: 0 0 20px; color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { padding: 12px 16px; background: var(--surface); color: var(--dim); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-align: left; text-transform: uppercase; }
.table td { padding: 13px 16px; border-top: 1px solid var(--line); white-space: nowrap; }
.side-card { display: block; margin-bottom: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.side-card h3 { margin: 0 0 14px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.dl-row { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.02); transition: border-color 0.2s; }
.dl-row + .dl-row { margin-top: 8px; }
.dl-row:hover { border-color: rgba(var(--accent-rgb), 0.5); }
.dl-row > .ico { width: 38px; height: 38px; padding: 9px; border-radius: 9px; background: rgba(var(--accent-rgb), 0.12); color: var(--accent); }
.dl-row strong { display: block; font-size: 14px; overflow-wrap: anywhere; }
.dl-row small { color: var(--dim); font-size: 12.5px; }
.howto { display: grid; gap: 8px; margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.discord-mini { display: flex; align-items: center; gap: 14px; border-color: rgba(88, 101, 242, 0.3); background: linear-gradient(160deg, rgba(88, 101, 242, 0.16), rgba(88, 101, 242, 0.03)); transition: border-color 0.2s; }
.discord-mini:hover { border-color: rgba(88, 101, 242, 0.6); }
.discord-mini > .ico { width: 26px; height: 26px; color: #8b95ff; }
.discord-mini strong { display: block; font-size: 14px; }
.discord-mini small { color: #c5c8f0; font-size: 12.5px; }
.discord-mini .arrow { width: 18px; height: 18px; margin-left: auto; color: #8b95ff; }

.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; color: var(--muted); font-size: 14px; font-weight: 600; transition: color 0.2s; }
.back-link:hover { color: var(--text); }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; align-items: start; gap: 30px; }
.co-plan { padding: 34px; border: 1px solid var(--line-2); border-radius: 20px; background: var(--surface); }
.co-plan h1 { margin: 8px 0 24px; color: var(--accent); font-size: clamp(32px, 4vw, 46px); }
.co-periods { margin-top: 30px; }
.co-period-list { display: grid; gap: 10px; }
.co-period { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 13px; transition: all 0.2s; }
.co-period:hover { border-color: rgba(255, 255, 255, 0.25); }
.co-period::before { content: ''; flex: none; width: 18px; height: 18px; border: 2px solid var(--line-2); border-radius: 50%; }
.co-period.active { border-color: rgba(var(--accent-rgb), 0.7); background: rgba(var(--accent-rgb), 0.08); }
.co-period.active::before { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 42%, transparent 48%); }
.co-period strong { min-width: 80px; }
.co-period span { color: var(--muted); font-size: 14px; }
.co-period em { margin-left: auto; padding: 4px 8px; border-radius: 6px; background: rgba(61, 220, 132, 0.14); color: var(--green); font-size: 11.5px; font-style: normal; font-weight: 800; }
.co-how { margin-top: 26px; padding: 18px 20px; border: 1px solid rgba(var(--accent-rgb), 0.25); border-radius: 14px; background: rgba(var(--accent-rgb), 0.05); }
.co-how p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.co-how b { color: var(--accent); }
.co-block-actions { display: grid; gap: 10px; margin: 6px 0 4px; }
.co-summary { position: sticky; top: calc(var(--nav-h) + 20px); padding: 30px; border: 1px solid var(--line-2); border-radius: 20px; background: var(--surface-2); }
.co-summary h2 { margin: 0 0 16px; color: var(--muted); font-size: 12.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.co-line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.co-discount > b { color: var(--green); }
.co-total { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 0 6px; }
.co-total b { color: var(--accent); font: 800 30px/1 var(--font-display); }
.co-renew { margin: 0 0 18px; color: var(--dim); font-size: 13px; }
.co-code { display: flex; gap: 8px; }
.input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #0a0a0e; color: var(--text); font: 600 14px var(--font); letter-spacing: 0.06em; text-transform: uppercase; }
.input::placeholder { color: var(--dim); letter-spacing: 0.02em; text-transform: none; }
.input:focus { border-color: rgba(var(--accent-rgb), 0.6); outline: none; box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.12); }
.co-code-msg { min-height: 18px; margin: 8px 0 10px; font-size: 13px; }
.co-code-msg.ok { color: var(--green); }
.co-code-msg.err { color: var(--red); }
.check { display: flex; align-items: flex-start; gap: 12px; margin: 12px 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; cursor: pointer; }
.check input { display: grid; flex: none; place-items: center; width: 20px; height: 20px; margin: 1px 0 0; border: 1.5px solid rgba(255, 255, 255, 0.3); border-radius: 6px; background: #0a0a0e; cursor: pointer; -webkit-appearance: none; appearance: none; transition: all 0.15s; }
.check input:checked { border-color: var(--accent); background: var(--accent); }
.check input:checked::after { content: ''; width: 5px; height: 10px; border: solid var(--on-accent); border-width: 0 2.5px 2.5px 0; transform: translate(0, -1px) rotate(45deg); }
.check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.check a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.co-summary .btn-lg { margin-top: 10px; }
.co-secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; color: var(--dim); font-size: 12.5px; }
.co-user { margin: 8px 0 0; color: var(--dim); font-size: 12.5px; text-align: center; }
.co-user a { color: var(--muted); text-decoration: underline; }

.success-card, .msg-card { padding: 50px 36px; border: 1px solid var(--line-2); border-radius: 24px; background: var(--surface); text-align: center; }
.success-icon, .msg-icon { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 26px; border-radius: 50%; background: rgba(61, 220, 132, 0.12); color: var(--green); box-shadow: 0 0 0 10px rgba(61, 220, 132, 0.05); }
.success-icon .ico, .msg-icon .ico { width: 40px; height: 40px; }
.success-icon.pending, .msg-icon { background: rgba(var(--accent-rgb), 0.12); color: var(--accent); box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0.05); }
.success-card h1, .msg-card h1 { font-size: clamp(28px, 4vw, 44px); }
.success-card p, .msg-card p { max-width: 540px; margin: 16px auto 0; color: var(--muted); }
.success-actions, .msg-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.msg-actions:empty { display: none; }
.success-card .lic-key { max-width: 500px; margin: 28px auto 0; }
.success-card .howto { max-width: 420px; margin: 30px auto 0; text-align: left; }
.demo-pay .pill-warn { margin-bottom: 20px; }
.demo-line { display: flex; justify-content: space-between; gap: 12px; max-width: 460px; margin: 28px auto 20px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 12px; text-align: left; }
.demo-line b { color: var(--accent); }
.demo-actions { display: grid; gap: 10px; max-width: 460px; margin: 0 auto; }

.legal { padding: 44px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.legal h2 { margin: 0 0 18px; font: 800 clamp(26px, 4vw, 38px)/1.1 var(--font-display); text-transform: uppercase; }
.legal h3 { margin: 34px 0 10px; color: var(--accent); font-size: 18px; }
.legal h4 { margin: 24px 0 8px; font-size: 16px; }
.legal p, .legal li { color: #cfcfd8; font-size: 15.5px; line-height: 1.75; }
.legal a { color: var(--accent); text-decoration: underline; overflow-wrap: anywhere; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity 0.7s ease, translate 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; translate: none; }

/* ---------- responsive ---------- */
@media (max-width: 1279px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-drawer { position: fixed; top: var(--nav-h); right: 0; bottom: 0; left: 0; z-index: 49; display: block; padding: 18px 0 40px; overflow-y: auto; background: rgba(7, 7, 10, 0.97); opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; }
  .nav-drawer nav { display: grid; }
  .nav-drawer a { padding: 16px 4px; border-bottom: 1px solid var(--line); font: 700 18px/1.2 var(--font-display); text-transform: uppercase; }
  .nav-open .nav-drawer { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-4 { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
}
@media (max-width: 960px) {
  .calc { grid-template-columns: 1fr; }
  .calc-controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .checkout-grid, .acc-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .discord-cta { grid-template-columns: 1fr; justify-items: center; padding: 34px 24px; text-align: center; }
  .dc-stats { justify-content: center; }
}
@media (max-width: 900px) {
  .plans-3 { grid-template-columns: minmax(0, 1fr); max-width: 460px; gap: 22px; }
}
@media (max-width: 860px) {
  .app-body { grid-template-columns: 1fr; height: auto; }
  .app-side { flex-direction: row; overflow-x: auto; padding: 10px; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .app-side::-webkit-scrollbar { display: none; }
  .app-nav { width: auto; flex: none; white-space: nowrap; }
  .app-nav.active { box-shadow: inset 0 -2px 0 var(--accent); }
  .app-main { min-height: 540px; padding: 18px; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .score-card, .lb { grid-column: 1 / -1; }
  .tweak-list { grid-template-columns: 1fr; }
  .clip { grid-template-columns: 1fr; }
  .clip-specs { flex-direction: row; flex-wrap: wrap; gap: 12px 26px; padding: 16px 18px; border-top: 1px solid var(--line); border-left: 0; }
  .clips-arrow { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .footer-bottom::before { right: 16px; left: 16px; }
  :root { --nav-h: 64px; }
  .section { padding: 84px 0; }
  .section-tight { padding: 20px 0 84px; }
  .hero { padding: 70px 0 64px; }
  .hero-sub { font-size: 16px; }
  .btn-xl { --px: 36px; --py: 19px; font-size: 15px; }
  .hero-stats { display: grid; grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .hero-stat { padding: 14px 8px; }
  .hero-stat b { font-size: 17px; }
  .hero-stat span { font-size: 10px; letter-spacing: 0.08em; }
  .nav-inner { gap: 12px; }
  .nav-actions { gap: 8px; }
  .nav-cta .lbl, .nav-account span, .nav-login span, .nav-admin span { display: none; }
  .nav-cta.btn-sm { --px: 11px; }
  .nav-account { padding: 4px; }
  .brand-text { font-size: 14px; }
  .brand-mark { height: 26px; }
  .review-grid, .plans { grid-template-columns: 1fr; }
  .period-toggle button { padding: 10px 14px; font-size: 13px; }
  .dash-grid, .net-grid, .stat-chips { grid-template-columns: 1fr; }
  .lb li { grid-template-columns: 22px 1fr auto; }
  .lb-score { display: none; }
  .clip-bottom { gap: 14px; }
  .clip-avg { padding-left: 14px; }
  .clip-avg b { font-size: 22px; }
  .calc-controls, .calc-results { padding: 22px 18px; }
  .bar-row { grid-template-columns: 1fr 70px; }
  .co-plan, .co-summary, .legal { padding: 24px 18px; }
  .lic-meta { grid-template-columns: 1fr 1fr; }
  .success-card, .msg-card { padding: 40px 20px; }
  .footer-grid { gap: 30px; }
  .auth-card { padding: 34px 22px; }
}
@media (max-width: 420px) {
  .nav-cta.btn-discord { display: none; }
  .acc-actions .btn { flex: 1; }
}
@media (max-width: 350px) {
  .brand-text { display: none; }
  .nav-account, .nav-login, .nav-admin { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; translate: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
