/* ============================================================
   BLACKOUT — design system
   near-black charcoal / warm orange / off-white
   ============================================================ */

:root {
  --bg: #0c0b09;
  --bg-2: #100f0c;
  --surface: #15130f;
  --surface-2: #1a1712;
  --line: rgba(237, 233, 226, 0.09);
  --line-strong: rgba(237, 233, 226, 0.16);
  --text: #ede9e2;
  --muted: #9a938a;
  --faint: #6b655d;
  --accent: #e87f3e;
  --accent-strong: #f8924f;
  --accent-dim: rgba(232, 127, 62, 0.12);
  --ok: #8aa862;
  --warn: #d9a441;
  --bad: #c0563f;
  --info: #7d8ea0;
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", "Space Grotesk", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --container: 1280px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-swift: cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #14100b; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a261f; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #38322a; }

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

/* ---------- utilities ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* technical framed label */
.tag-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 5px 12px;
  border: 1px solid rgba(232, 127, 62, 0.35);
  border-left: 0;
  border-right: 0;
  border-radius: 999px;
}

.section { padding: clamp(72px, 10vw, 136px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head .index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 14px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.section-title {
  font-size: clamp(30px, 4vw, 46px);
  max-width: 560px;
}

.section-sub {
  color: var(--muted);
  max-width: 420px;
  font-size: 15px;
}

/* reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow: hidden;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn .btn-label {
  position: relative;
  display: block;
  overflow: hidden;
  height: 1.2em;
  line-height: 1.2em;
}
.btn .btn-label span {
  position: relative;
  display: block;
  transition: transform 0.4s var(--ease-out);
}
.btn .btn-label span::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 100%;
  height: 1.2em;
  line-height: 1.2em;
  white-space: nowrap;
}

.btn-primary { background: var(--accent); color: #16110b; }

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn-label span[data-text] { transform: translateY(-100%); }
  .btn-primary:hover { background: var(--accent-strong); transform: translateY(-1px); }
  .btn-ghost:hover { border-color: var(--text); transform: translateY(-1px); }
}

.btn-sm { height: 42px; padding: 0 20px; font-size: 12px; }
.btn-block { width: 100%; justify-content: center; }

/* text link with expanding underline */
.u-link {
  position: relative;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 4px;
  transition: color 0.3s ease;
}
.u-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.u-link:hover { color: var(--text); }
.u-link:hover::after { width: 100%; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 140;
  border-bottom: 1px solid transparent;
  transition: transform 0.35s var(--ease-swift), background 0.35s ease, border-color 0.35s ease;
}
.site-header.is-scrolled {
  background: rgba(12, 11, 9, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.logo-mark {
  width: 32px; height: 32px;
  flex: none;
  object-fit: contain;
  display: block;
}
.logo-text { white-space: nowrap; }
.logo em { font-style: normal; color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 14px;
  transition: color 0.3s ease;
}
.main-nav a::before {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--text); }
.main-nav a:hover::before, .main-nav a.is-active::before { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-login {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 14px;
  transition: color 0.3s ease;
}
.header-login:hover, .header-login.is-active { color: var(--accent); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  z-index: 130;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.35s var(--ease-swift), opacity 0.25s ease, top 0.35s var(--ease-swift);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 27px; }
body.nav-open { overflow: hidden; }
body.nav-open .site-header { transform: none; }
body.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(12, 11, 9, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(24px, 8vw, 64px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
body.nav-open .mobile-drawer { opacity: 1; visibility: visible; }

.mobile-drawer a.drawer-link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(30px, 8vw, 44px);
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s ease;
}
.mobile-drawer a.drawer-link small {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.14em;
}
.mobile-drawer a.drawer-link:hover { color: var(--accent); }
body.nav-open .mobile-drawer a.drawer-link { opacity: 1; transform: none; }
body.nav-open .mobile-drawer a.drawer-link:nth-child(1) { transition-delay: 0.08s; }
body.nav-open .mobile-drawer a.drawer-link:nth-child(2) { transition-delay: 0.14s; }
body.nav-open .mobile-drawer a.drawer-link:nth-child(3) { transition-delay: 0.20s; }
body.nav-open .mobile-drawer a.drawer-link:nth-child(4) { transition-delay: 0.26s; }
body.nav-open .mobile-drawer a.drawer-link:nth-child(5) { transition-delay: 0.32s; }
body.nav-open .mobile-drawer a.drawer-link:nth-child(6) { transition-delay: 0.38s; }

.drawer-foot {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.5s ease 0.45s;
}
body.nav-open .drawer-foot { opacity: 1; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 90px;
}

.hero-bg {
  position: absolute;
  inset: -8% 0;
  z-index: 0;
  will-change: transform;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  transform: scale(1.08);
  transition: transform 2.4s var(--ease-out);
}
.hero.is-loaded .hero-bg img { transform: scale(1); }

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12,11,9,0.94) 0%, rgba(12,11,9,0.72) 34%, rgba(12,11,9,0.18) 62%, rgba(12,11,9,0.42) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(12,11,9,0) 26%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.5;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner { position: relative; z-index: 3; width: 100%; }

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  color: var(--muted);
}
.hero-kicker::before {
  content: "";
  width: 44px; height: 1px;
  background: var(--accent);
}

.hero-title {
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 13ch;
  margin-bottom: 28px;
}
.hero-title .accent { color: var(--accent); }

/* masked line reveal */
.mask-line { display: block; overflow: hidden; }
.mask-line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
  transition-delay: var(--line-delay, 0s);
}
.hero.is-loaded .mask-line > span { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .mask-line > span { transform: none; transition: none; }
}

.hero-desc {
  max-width: 480px;
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 40px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 4vw, 48px);
  bottom: 34px;
  display: flex;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.hero-meta span { display: flex; align-items: center; gap: 8px; }
.hero-meta i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  display: inline-block;
}

.scroll-hint {
  position: absolute;
  z-index: 3;
  left: clamp(20px, 4vw, 48px);
  bottom: 34px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 10px;
}
.scroll-hint::after {
  content: "";
  width: 1px; height: 46px;
  background: linear-gradient(var(--faint), transparent);
}

/* ---------- stats strip ---------- */

.stats-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat {
  padding: clamp(30px, 4vw, 52px) clamp(18px, 3vw, 44px);
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.stat-value .unit { color: var(--accent); }
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- product cards ---------- */

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.45s var(--ease-out), background 0.35s ease;
}
.product-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-5px);
  background: var(--surface-2);
}

.product-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.9s var(--ease-out), filter 0.6s ease;
  filter: saturate(0.9);
}
.product-card:hover .product-media img { transform: scale(1.1); filter: saturate(1); }
.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--surface) 0%, rgba(21,19,15,0) 34%);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(12, 11, 9, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--text);
}
.status-pill i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.status-pill.is-ok { color: var(--ok); border-color: rgba(138,168,98,0.4); }
.status-pill.is-warn { color: var(--warn); border-color: rgba(217,164,65,0.4); }
.status-pill.is-bad { color: var(--bad); border-color: rgba(192,86,63,0.4); }
.status-pill.is-info { color: var(--info); border-color: rgba(125,142,160,0.4); }

.product-media .status-pill {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 22px;
  gap: 14px;
}
.product-name {
  font-size: 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product-name .ver {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.1em;
}
.product-desc {
  color: var(--muted);
  font-size: 14px;
  flex: 1;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 6px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.product-card:hover .chip { border-color: var(--line-strong); }
.chip-spoof {
  color: var(--accent);
  border-color: rgba(232,127,62,0.45);
  background: var(--accent-dim);
}
.product-card:hover .chip-spoof { border-color: rgba(232,127,62,0.75); }

.stat-value.is-text { font-size: clamp(28px, 3.4vw, 46px); }

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.product-price {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.06em;
}
.product-price b {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.3s var(--ease-out), color 0.3s ease;
}
.card-link svg { transition: transform 0.3s var(--ease-out); }
.card-link:hover { gap: 13px; color: var(--accent-strong); }

/* ---------- why grid ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.why-item {
  padding: clamp(26px, 3vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.4s ease;
  min-height: 210px;
  display: flex;
  flex-direction: column;
}
.why-item:hover { background: var(--surface); }
.why-item .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.16em;
  margin-bottom: auto;
}
.why-item h3 {
  font-size: 19px;
  margin: 34px 0 10px;
}
.why-item p { color: var(--muted); font-size: 14px; }

/* ---------- menu showcase ---------- */

.menu-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.menu-copy h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 18px 0 18px; }
.menu-copy p { color: var(--muted); max-width: 460px; margin-bottom: 28px; }

.menu-facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.menu-facts li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.menu-facts li span:first-child { color: var(--muted); }
.menu-facts li span:last-child { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; }

.iface-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 10px 0;
  align-self: center;
}
.iface-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 26px;
  border-bottom: 1px solid var(--line);
}
.iface-row:last-child { border-bottom: 0; }
.iface-row span { color: var(--muted); font-size: 14.5px; }
.iface-row b {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text);
}
.iface-row b.is-accent { color: var(--accent); }

/* the dashboard mock */
.dash {
  background: #111009;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.8);
  font-size: 13px;
}
.dash-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: #0e0d09;
}
.dash-titlebar .tb-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.dash-titlebar .tb-dots { display: flex; gap: 6px; }
.dash-titlebar .tb-dots i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #2c2820;
}
.dash-titlebar .tb-dots i:first-child { background: var(--accent); }
.dash-titlebar .tb-right {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--faint);
  letter-spacing: 0.1em;
}

.dash-body { display: grid; grid-template-columns: 132px 1fr; min-height: 380px; }

.dash-side {
  border-right: 1px solid var(--line);
  padding: 12px 0;
  display: flex;
  flex-direction: column;
}
.dash-side button {
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 11px 16px;
  border-left: 2px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.dash-side button:hover { color: var(--text); }
.dash-side button.is-active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--accent-dim);
}
.dash-side .side-foot {
  margin-top: auto;
  padding: 12px 16px 4px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--faint);
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.dash-main { padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.dash-panel { display: none; flex-direction: column; gap: 4px; }
.dash-panel.is-active { display: flex; animation: dashIn 0.35s var(--ease-out); }
@keyframes dashIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.dash-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 10px;
  border-radius: 7px;
  transition: background 0.25s ease;
}
.dash-row:hover { background: rgba(237,233,226,0.03); }
.dash-row .row-name { color: var(--text); font-size: 12.5px; }
.dash-row .row-hint { color: var(--faint); font-size: 10.5px; font-family: var(--font-mono); margin-top: 1px; }

.dash-sep {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 12px 10px 4px;
}

/* toggle switch */
.toggle {
  position: relative;
  width: 34px; height: 19px;
  border-radius: 999px;
  background: #2a251c;
  border: 1px solid var(--line-strong);
  flex: none;
  transition: background 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}
.toggle::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform 0.3s var(--ease-out), background 0.3s ease;
}
.toggle.is-on { background: rgba(232,127,62,0.25); border-color: var(--accent); }
.toggle.is-on::after { transform: translateX(15px); background: var(--accent); }

/* slider */
.slider { display: flex; align-items: center; gap: 10px; flex: none; }
.slider output {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--accent);
  min-width: 34px;
  text-align: right;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 110px;
  height: 2px;
  background: #2c2820;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #111009;
  transition: transform 0.2s ease;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.25); }
input[type="range"]::-moz-range-thumb {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #111009;
}

.keybind {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 4px 9px;
  background: #0e0d09;
  min-width: 44px;
  text-align: center;
}

.select-sim {
  display: flex;
  gap: 6px;
}
.select-sim button {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 4px 10px;
  transition: all 0.25s ease;
}
.select-sim button.is-active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-dim);
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
}
.about-lede {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.about-lede em { font-style: normal; color: var(--accent); }
.about-body { color: var(--muted); font-size: 15px; display: grid; gap: 18px; align-content: start; }
.about-list { border-top: 1px solid var(--line); }
.about-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(48px, 6vw, 80px) 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}
.footer-brand p {
  color: var(--muted);
  font-size: 13.5px;
  max-width: 280px;
  margin-top: 16px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.25s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--faint);
  text-transform: uppercase;
}
.footer-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(64px, 12vw, 168px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: rgba(237,233,226,0.04);
  text-transform: uppercase;
  text-align: center;
  user-select: none;
  margin-top: 48px;
  white-space: nowrap;
  overflow: hidden;
}

/* ---------- page hero (subpages) ---------- */

.page-hero {
  padding: 170px 0 64px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 26px;
}
.crumbs a { color: var(--muted); transition: color 0.25s ease; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { color: var(--faint); }
.page-title { font-size: clamp(36px, 5.4vw, 64px); max-width: 16ch; }
.page-hero .section-sub { margin-top: 20px; }

/* ---------- product detail ---------- */

.pd-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
  padding: 56px 0 clamp(72px, 9vw, 120px);
}

.pd-banner {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 21 / 9;
  margin-bottom: 40px;
}
.pd-banner img { width: 100%; height: 100%; object-fit: cover; }
.pd-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12,11,9,0.55), rgba(12,11,9,0) 45%);
}
.pd-banner .status-pill { position: absolute; z-index: 2; top: 16px; left: 16px; }

.pd-section { padding: 40px 0; border-top: 1px solid var(--line); }
.pd-section:first-child { border-top: 0; padding-top: 0; }
.pd-section > h2 {
  font-size: 24px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.pd-section > h2 .idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.14em;
}
.pd-section > .pd-sub { color: var(--muted); font-size: 14px; margin-bottom: 28px; max-width: 560px; }

.compat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

/* feature category blocks */
.feat-cat {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.3s ease;
}
.feat-cat:hover { border-color: var(--line-strong); }
.feat-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
}
.feat-cat-head h3 { font-size: 16px; display: flex; align-items: center; gap: 12px; }
.feat-cat-head h3 .mono { color: var(--faint); font-size: 10px; }
.feat-cat-head .chev {
  width: 18px; height: 18px;
  flex: none;
  transition: transform 0.35s var(--ease-swift);
  color: var(--muted);
}
.feat-cat.is-open .feat-cat-head .chev { transform: rotate(180deg); }
.feat-cat-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-swift);
}
.feat-cat-body-inner {
  padding: 4px 22px 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}
.feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
  padding: 7px 0;
}
.feat-item svg { flex: none; color: var(--accent); }
.feat-media {
  grid-column: 1 / -1;
  margin-top: 10px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: zoom-in;
}
.feat-media img { width: 100%; transition: transform 0.6s var(--ease-out); }
.feat-media:hover img { transform: scale(1.02); }

/* demo tabs */
.demo-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
  overflow-x: auto;
}
.demo-tabs button {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 13px 18px;
  position: relative;
  white-space: nowrap;
  transition: color 0.25s ease;
}
.demo-tabs button::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-swift);
}
.demo-tabs button:hover { color: var(--text); }
.demo-tabs button.is-active { color: var(--accent); }
.demo-tabs button.is-active::after { transform: scaleX(1); }

.demo-panel { display: none; }
.demo-panel.is-active { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; animation: dashIn 0.4s var(--ease-out); align-items: center; }
.demo-media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: zoom-in;
  position: relative;
}
.demo-media img { width: 100%; transition: transform 0.7s var(--ease-out); }
.demo-media:hover img { transform: scale(1.03); }
.demo-copy h3 { font-size: 19px; margin-bottom: 12px; }
.demo-copy p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.demo-copy ul { display: grid; gap: 8px; }
.demo-copy li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13.5px;
  color: var(--muted);
}
.demo-copy li svg { color: var(--accent); flex: none; }

/* screenshot gallery */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.shot-grid a, .shot-grid .shot {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: zoom-in;
  display: block;
}
.shot-grid img { width: 100%; transition: transform 0.6s var(--ease-out); }
.shot-grid .shot:hover img { transform: scale(1.04); }
.shot-grid .shot figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 14px 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  background: linear-gradient(0deg, rgba(12,11,9,0.85), transparent);
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 7, 5, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 86vh;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  transform: scale(0.96);
  transition: transform 0.4s var(--ease-out);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox .lb-close {
  position: absolute;
  top: 22px; right: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  padding: 10px;
  transition: color 0.25s ease;
}
.lightbox .lb-close:hover { color: var(--text); }
.lightbox .lb-cap {
  position: absolute;
  bottom: 22px; left: 0; right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}
.lightbox .lb-count {
  position: absolute;
  top: 24px;
  left: 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}
.lightbox .lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(12, 11, 9, 0.72);
  color: var(--text);
  display: none;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, opacity 0.25s ease;
  z-index: 2;
}
.lightbox.has-nav .lb-nav { display: inline-flex; }
.lightbox .lb-nav:hover:not(:disabled) {
  color: var(--accent);
  border-color: rgba(230, 180, 90, 0.45);
  background: rgba(12, 11, 9, 0.92);
}
.lightbox .lb-nav:disabled { opacity: 0.35; cursor: default; }
.lightbox .lb-prev { left: clamp(12px, 3vw, 28px); }
.lightbox .lb-next { right: clamp(12px, 3vw, 28px); }
@media (max-width: 640px) {
  .lightbox .lb-nav { width: 38px; height: 38px; }
  .lightbox .lb-count { top: 18px; left: 16px; }
  .lightbox .lb-close { top: 16px; right: 14px; }
}

/* video cards */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.video-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.3s ease, transform 0.4s var(--ease-out);
}
.video-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out), filter 0.5s ease; filter: brightness(0.85); }
.video-card:hover .video-thumb img { transform: scale(1.05); filter: brightness(1); }
.video-thumb .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-thumb .play span {
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(237,233,226,0.35);
  background: rgba(12,11,9,0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ease-out), background 0.3s ease, border-color 0.3s ease;
}
.video-card:hover .play span { transform: scale(1.1); background: var(--accent); border-color: var(--accent); }
.video-card:hover .play svg { fill: #16110b; }
.video-thumb .dur {
  position: absolute;
  right: 10px; bottom: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  background: rgba(12,11,9,0.75);
  padding: 4px 8px;
  border-radius: 5px;
  color: var(--text);
}
.video-info { padding: 16px 18px 18px; }
.video-info h3 { font-size: 15.5px; margin-bottom: 6px; }
.video-info p { color: var(--muted); font-size: 13px; }

/* reviews */
.review-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.review {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
}
.review-meta .r-name { font-weight: 500; font-size: 14.5px; margin-bottom: 6px; }
.review-meta .r-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--faint);
  text-transform: uppercase;
  line-height: 1.9;
}
.stars { display: inline-flex; gap: 3px; color: var(--accent); margin-bottom: 10px; }
.stars svg { width: 13px; height: 13px; }
.review p { color: var(--muted); font-size: 14px; max-width: 640px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 500;
  transition: color 0.25s ease;
}
.faq-q:hover { color: var(--accent); }
.faq-q .chev {
  flex: none;
  width: 18px; height: 18px;
  color: var(--muted);
  transition: transform 0.35s var(--ease-swift);
}
.faq-item.is-open .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-swift);
}
.faq-a-inner {
  padding: 0 4px 26px;
  color: var(--muted);
  font-size: 14.5px;
  display: grid;
  gap: 14px;
  max-width: 720px;
}
.faq-a-inner img { border-radius: 8px; border: 1px solid var(--line); }
.faq-a-inner code, .code-block {
  font-family: var(--font-mono);
  font-size: 12.5px;
}
.code-block {
  background: #0e0d09;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--text);
  overflow-x: auto;
  line-height: 1.7;
}
.code-block .c-dim { color: var(--faint); }
.code-block .c-acc { color: var(--accent); }

/* purchase panel */
.buy-panel {
  position: sticky;
  top: 100px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
}
.buy-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.buy-head .mono { color: var(--faint); }
.buy-price {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.buy-price small {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.1em;
  display: block;
  margin-top: 2px;
  text-transform: uppercase;
}
.buy-plans { padding: 14px 16px; display: grid; gap: 8px; }
.plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  transition: border-color 0.25s ease, background 0.25s ease;
  text-align: left;
}
.plan:hover { border-color: var(--line-strong); }
.plan.is-active { border-color: var(--accent); background: var(--accent-dim); }
.plan .p-name { font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.plan .p-name .radio {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  position: relative;
  flex: none;
  transition: border-color 0.25s ease;
}
.plan.is-active .p-name .radio { border-color: var(--accent); }
.plan.is-active .p-name .radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
}
.plan .p-price { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.plan.is-active .p-price { color: var(--text); }
.plan .p-save {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--ok);
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}
.buy-body { padding: 6px 24px 24px; }
.buy-rows { border-top: 1px solid var(--line); margin: 12px 0 20px; }
.buy-rows li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.buy-rows li span:first-child { color: var(--faint); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 2px; }
.buy-rows li span:last-child { color: var(--text); text-align: right; }
.buy-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--faint);
  text-align: center;
}

/* ---------- status page ---------- */

.status-table-wrap {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}
.status-table-scroll { overflow-x: auto; }
.status-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}
.status-table th {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  white-space: nowrap;
}
.status-table td {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-size: 14px;
}
.status-table tr:last-child td { border-bottom: 0; }
.status-table tbody tr { transition: background 0.25s ease; }
.status-table tbody tr:hover { background: rgba(237,233,226,0.02); }
.status-table .cell-product { display: flex; align-items: center; gap: 14px; font-weight: 500; white-space: nowrap; }
.status-table .cell-product img.cell-game {
  width: 52px; height: 34px;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.cell-dim { color: var(--muted); font-size: 13px; white-space: nowrap; }

.status-legend {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.legend-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 28px;
  background: var(--surface);
}
.legend-card h3 { font-size: 16px; margin-bottom: 18px; display: flex; gap: 12px; align-items: center; }
.legend-card h3 .mono { color: var(--faint); font-size: 10px; }
.legend-rows { display: grid; gap: 14px; }
.legend-rows li { display: flex; gap: 14px; align-items: flex-start; }
.legend-rows .status-pill { flex: none; margin-top: 2px; }
.legend-rows p { color: var(--muted); font-size: 13px; }
.legend-rows p b { color: var(--text); font-weight: 500; display: block; font-size: 13.5px; margin-bottom: 2px; }

.status-updated {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 22px;
}
.status-updated i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(138,168,98,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(138,168,98,0); }
}

/* ---------- redesigned CTA band ---------- */

.cta-band {
  text-align: left;
  border-top: 1px solid var(--line);
  padding: clamp(56px, 7vw, 100px) 0;
}
.cta-panel {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  padding: clamp(44px, 6vw, 76px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 320px at 12% -10%, rgba(232, 127, 62, 0.13), transparent 62%),
    linear-gradient(180deg, rgba(237,233,226,0.02), transparent);
  pointer-events: none;
}
.cta-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(520px 300px at 80% 110%, rgba(0,0,0,0.5), transparent 75%);
  mask-image: radial-gradient(520px 300px at 80% 110%, rgba(0,0,0,0.5), transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}
.cta-left { position: relative; }
.cta-left .tag-label { margin-bottom: 20px; }
.cta-left h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 16px; max-width: 480px; }
.cta-left p { color: var(--muted); max-width: 460px; margin-bottom: 32px; font-size: 15px; }
.cta-left .hero-cta { justify-content: flex-start; }
.cta-side {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(12, 11, 9, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 26px 28px;
  display: grid;
  gap: 0;
}
.cta-side li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.cta-side li:last-child { border-bottom: 0; }
.cta-side li b {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text);
  white-space: nowrap;
}
.cta-side li b .ok-dot { color: var(--ok); }
@media (max-width: 900px) { .cta-panel { grid-template-columns: 1fr; } }

/* ---------- news ---------- */

.news-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.news-item {
  width: 100%;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 22px;
  align-items: baseline;
  text-align: left;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, padding-left 0.3s var(--ease-out);
}
.news-item:hover { background: rgba(237,233,226,0.02); padding-left: 14px; }
.news-item .n-date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--faint);
  text-transform: uppercase;
}
.news-item .n-title { display: block; font-family: var(--font-display); font-size: 17.5px; font-weight: 500; margin-bottom: 6px; }
.news-item .n-sum { display: block; color: var(--muted); font-size: 13.5px; max-width: 640px; }
.news-item .n-tag { flex: none; }
@media (max-width: 640px) { .news-item { grid-template-columns: 1fr; gap: 8px; } }

.news-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 4vw, 48px);
  background: rgba(8, 7, 5, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.news-modal.is-open { opacity: 1; visibility: visible; }
.news-modal-card {
  width: min(560px, 100%);
  max-height: 84vh;
  overflow-y: auto;
  background: #14120d;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 38px);
  position: relative;
  transform: translateY(22px) scale(0.98);
  transition: transform 0.4s var(--ease-out);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,0.85);
}
.news-modal.is-open .news-modal-card { transform: none; }
.news-modal-card .nm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.news-modal-card .nm-head .n-date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--faint);
  text-transform: uppercase;
}
.nm-close {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 4px;
  transition: color 0.25s ease;
  flex: none;
}
.nm-close:hover { color: var(--text); }
.news-modal-card h3 { font-size: 22px; margin-bottom: 14px; line-height: 1.25; }
.news-modal-card .nm-body { color: var(--muted); font-size: 14.5px; display: grid; gap: 12px; }
.news-modal-card .nm-body b { color: var(--text); font-weight: 500; }
.news-modal-card .nm-actions { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- ePVP badge ---------- */

.epvp-badge {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 13px 18px 13px 14px;
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out);
}
.epvp-badge:hover { border-color: var(--accent); transform: translateY(-2px); }
.epvp-badge .epvp-mark {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #0c0c0c;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.epvp-badge .epvp-mark img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  image-rendering: auto;
}
.epvp-badge .epvp-txt { font-size: 13px; color: var(--muted); line-height: 1.45; }
.epvp-badge .epvp-txt b {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

/* ---------- auth / dashboard ---------- */

.auth-wrap {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 60px;
}
.auth-card {
  width: min(430px, 100%);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface);
  padding: clamp(28px, 4vw, 42px);
}
.auth-card .logo { justify-content: center; margin-bottom: 10px; }
.auth-sub {
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 30px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  padding: 12px 14px;
  transition: border-color 0.25s ease;
  outline: none;
  resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.auth-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--faint);
  text-align: center;
  line-height: 1.6;
}
.auth-submit { width: 100%; justify-content: center; margin-top: 6px; }
.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.auth-links a {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s ease;
}
.auth-links a:hover { color: var(--accent); }
.header-login.is-active { color: var(--accent); }

.key-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--faint);
  line-height: 1.6;
}
.key-note b { color: var(--muted); font-weight: 600; }

.topup-box { flex: 1; min-width: min(320px, 100%); max-width: 460px; }
.topup-row { display: flex; gap: 10px; margin-top: 10px; }
.topup-row input {
  flex: 1;
  min-width: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  padding: 0 14px;
  outline: none;
  transition: border-color 0.25s ease;
}
.topup-row input:focus { border-color: var(--accent); }

.tickets-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) { .tickets-layout { grid-template-columns: 1fr; } }

.buy-or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.buy-or::before, .buy-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.buy-panel .btn-block + .buy-or { margin-top: 14px; }
.buy-panel .btn-ghost.btn-block { justify-content: center; }

.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.dash-user { display: flex; align-items: center; gap: 16px; }
.dash-avatar {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid rgba(232,127,62,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--accent);
}
.dash-user .du-name { font-family: var(--font-display); font-size: 19px; font-weight: 500; }
.dash-user .du-sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--faint); text-transform: uppercase; margin-top: 3px; }

.dash-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin: 40px 0 34px;
  overflow-x: auto;
  scrollbar-width: none;
}
.dash-tabs::-webkit-scrollbar { display: none; }
.dash-tabs button {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 14px 20px;
  position: relative;
  white-space: nowrap;
  transition: color 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.dash-tabs button::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-swift);
}
.dash-tabs button:hover { color: var(--text); }
.dash-tabs button.is-active { color: var(--accent); }
.dash-tabs button.is-active::after { transform: scaleX(1); }
.dash-tabs .t-count {
  font-size: 9.5px;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 999px;
  padding: 2px 8px;
}
.dash-panel { display: none; }
.dash-panel.is-active { display: block; animation: dashIn 0.35s var(--ease-out); }

.key-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 24px 26px;
  margin-bottom: 16px;
  transition: border-color 0.3s ease;
}
.key-card:hover { border-color: var(--line-strong); }
.key-card.is-frozen { opacity: 0.72; }
.key-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.key-prod { display: flex; align-items: center; gap: 14px; }
.key-prod img {
  width: 58px; height: 38px;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid var(--line);
}
.key-prod .kp-name { font-family: var(--font-display); font-size: 16.5px; font-weight: 500; }
.key-prod .kp-plan { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--faint); text-transform: uppercase; margin-top: 3px; }
.key-string {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 14px;
  margin-bottom: 18px;
}
.key-string code {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text);
  flex: 1;
  overflow-x: auto;
  white-space: nowrap;
}
.copy-btn {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(232,127,62,0.35);
  transition: background 0.25s ease;
  flex: none;
}
.copy-btn:hover { background: var(--accent-dim); }
.key-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.key-meta .km {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 14px;
  background: var(--bg-2);
}
.key-meta .km .k {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 5px;
}
.key-meta .km .v { font-size: 13.5px; }
.key-meta .km .v.warn { color: var(--warn); }
.key-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 720px) { .key-meta { grid-template-columns: repeat(2, 1fr); } }

.balance-card {
  border: 1px solid rgba(232,127,62,0.3);
  border-radius: 14px;
  background: linear-gradient(180deg, #16130d, #100f0c);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.balance-value {
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.balance-sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-top: 8px; }
.topup-amounts { display: flex; gap: 8px; flex-wrap: wrap; }
.topup-amounts button {
  font-family: var(--font-mono);
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 18px;
  color: var(--muted);
  background: var(--bg-2);
  transition: all 0.25s ease;
}
.topup-amounts button:hover { border-color: var(--line-strong); color: var(--text); }
.topup-amounts button.is-active { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

.tx-table { width: 100%; border-collapse: collapse; }
.tx-table th {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.tx-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.tx-table tr:last-child td { border-bottom: 0; }
.tx-table .tx-in { color: var(--ok); font-family: var(--font-mono); font-size: 13px; white-space: nowrap; }
.tx-table .tx-out { color: var(--muted); font-family: var(--font-mono); font-size: 13px; white-space: nowrap; }
.tx-table .cell-dim { white-space: nowrap; }

.ticket-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 20px 24px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: border-color 0.3s ease;
  width: 100%;
  text-align: left;
}
.ticket-card:hover { border-color: var(--line-strong); }
.ticket-card .t-id { font-family: var(--font-mono); font-size: 11px; color: var(--faint); letter-spacing: 0.08em; margin-bottom: 5px; }
.ticket-card .t-subject { font-size: 15px; font-weight: 500; }
.ticket-card .t-right { display: flex; align-items: center; gap: 16px; flex: none; }
.ticket-card .t-date { font-family: var(--font-mono); font-size: 11px; color: var(--faint); }

.panel-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 26px 28px;
  margin-bottom: 22px;
}
.panel-box h3 { font-size: 17px; margin-bottom: 18px; }

/* ---------- docs page ---------- */

.docs-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding: 56px 0 clamp(72px, 9vw, 120px);
}
.docs-nav { position: sticky; top: 110px; display: grid; gap: 2px; }
.docs-nav .dn-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 16px 12px 8px;
}
.docs-nav a {
  font-size: 13.5px;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 7px;
  border-left: 2px solid transparent;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.docs-nav a:hover { color: var(--text); background: rgba(237,233,226,0.03); }
.docs-nav a.is-active { color: var(--accent); border-left-color: var(--accent); background: var(--accent-dim); border-radius: 0 7px 7px 0; }
.docs-body { max-width: 780px; }
.docs-body section { padding: 34px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.docs-body section:first-child { border-top: 0; padding-top: 0; }
.docs-body h2 { font-size: 24px; margin-bottom: 16px; display: flex; align-items: baseline; gap: 14px; }
.docs-body h2 .idx { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.14em; }
.docs-body h3 { font-size: 16px; margin: 26px 0 10px; }
.docs-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.docs-body ul.docs-list { display: grid; gap: 8px; margin-bottom: 14px; }
.docs-body ul.docs-list li {
  color: var(--muted);
  font-size: 14px;
  padding-left: 20px;
  position: relative;
}
.docs-body ul.docs-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 9px;
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--accent);
}
.docs-body .code-block { margin: 14px 0; }
.docs-note {
  border: 1px solid rgba(217,164,65,0.35);
  background: rgba(217,164,65,0.06);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--muted);
  margin: 16px 0;
}
.docs-note b { color: var(--warn); font-weight: 500; }
@media (max-width: 900px) { .docs-layout { grid-template-columns: 1fr; } .docs-nav { position: static; } }

/* ---------- reseller packs + calculator ---------- */

.pack-icon {
  width: 34px; height: 34px;
  color: var(--accent);
  margin-bottom: 18px;
}
.pack-scope {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.tier-prices li .dep { color: var(--muted); }
.tier-prices li .off {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  white-space: nowrap;
}

/* profit calculator */
.calc-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(20px, 3vw, 34px);
  align-items: stretch;
}
.calc {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.calc-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 13px;
}
.calc-label svg { width: 13px; height: 13px; color: var(--accent); }
.calc-label .calc-val {
  margin-left: auto;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.calc-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-opt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.calc-opt svg { width: 18px; height: 18px; flex: none; transition: color 0.25s ease; }
.calc-opt:hover { border-color: var(--line-strong); color: var(--text); }
.calc-opt.is-active { border-color: var(--accent); background: var(--accent-dim); color: var(--text); }
.calc-opt.is-active svg { color: var(--accent); }
.calc-opt.col { flex-direction: column; align-items: flex-start; gap: 4px; }
.calc-opt.col small {
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--faint);
  text-transform: none;
}
.calc-opt.col.is-active small { color: var(--accent); }
input[type="range"].calc-range { width: 100%; }

.calc-out {
  border: 1px solid rgba(232, 127, 62, 0.35);
  border-radius: 14px;
  background: linear-gradient(180deg, #15120c 0%, #100f0c 100%);
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
}
.out-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.out-label svg { width: 13px; height: 13px; color: var(--accent); }
.out-price {
  font-family: var(--font-display);
  font-size: clamp(50px, 5vw, 68px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.out-price small { font-size: 0.32em; color: var(--muted); letter-spacing: 0; font-weight: 400; }
.out-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--faint);
  margin-top: 12px;
  letter-spacing: 0.04em;
}
.out-sub s { color: var(--faint); }
.out-sub b { color: var(--ok); font-weight: 500; }
.out-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 24px 0;
}
.out-stat {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
  padding: 14px 16px;
}
.out-stat .s-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
}
.out-stat .s-label svg { width: 12px; height: 12px; color: var(--accent); }
.out-stat .s-value {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.out-qualify {
  font-size: 12.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: auto;
  line-height: 1.7;
}
.out-qualify b { color: var(--text); font-weight: 500; }
.calc-out .btn { margin-top: 18px; }
.out-note {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--faint);
  text-align: center;
}

@media (max-width: 900px) {
  .calc-wrap { grid-template-columns: 1fr; }
}

/* ---------- reseller tiers ---------- */

.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tier-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.4s var(--ease-out), background 0.3s ease;
}
.tier-card:hover { border-color: var(--line-strong); transform: translateY(-4px); background: var(--surface-2); }
.tier-card.is-top { border-color: rgba(232,127,62,0.45); }
.tier-card.is-top::before {
  content: "Best margin";
  position: absolute;
  top: -11px; left: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #16110b;
  background: var(--accent);
  padding: 4px 12px;
  border-radius: 999px;
}
.tier-name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.tier-card.is-top .tier-name { color: var(--accent); }
.tier-discount {
  font-family: var(--font-display);
  font-size: clamp(44px, 4.4vw, 58px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.tier-discount .pct { color: var(--accent); }
.tier-req {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--faint);
  text-transform: uppercase;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.tier-prices { display: grid; gap: 0; margin-bottom: 22px; flex: 1; }
.tier-prices li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.tier-prices li span:first-child { color: var(--muted); }
.tier-prices li span:last-child {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
}
.tier-prices li s { color: var(--faint); font-size: 11px; margin-right: 7px; }
.tier-prices li:last-child { border-bottom: 0; }

.reseller-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.reseller-steps .why-item { min-height: 190px; }

@media (max-width: 1080px) {
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .reseller-steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tier-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA band (legacy, unused) ---------- */

.cta-band-legacy {
  border-top: 1px solid var(--line);
  padding: clamp(64px, 8vw, 110px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band-legacy h2 { font-size: clamp(30px, 4.4vw, 52px); margin-bottom: 16px; }
.cta-band-legacy p { color: var(--muted); margin-bottom: 34px; }
.cta-band-legacy .hero-cta { justify-content: center; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-layout { grid-template-columns: 1fr 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .main-nav, .header-actions .header-login { display: none; }
  .header-actions .btn { display: none; }
  .nav-toggle { display: block; }
  .pd-layout { grid-template-columns: 1fr; }
  .buy-panel { position: static; order: 2; }
  .menu-wrap { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .demo-panel.is-active { grid-template-columns: 1fr; }
  .status-legend { grid-template-columns: 1fr; }
  .review { grid-template-columns: 1fr; gap: 10px; }
  .hero-meta { display: none; }
}

@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .shot-grid, .video-grid { grid-template-columns: 1fr; }
  .feat-cat-body-inner { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .dash-side .side-foot { display: none; }
  .scroll-hint { display: none; }
}

/* ---- Product hero (Kernaim-style layout) ---- */
.ph-hero { padding: 130px 0 64px; border-bottom: 1px solid var(--line); }
.ph-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.ph-left .crumbs { margin-bottom: 18px; }
.ph-left .page-title { font-size: clamp(40px, 5vw, 64px); margin-bottom: 18px; }
.ph-status { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.ph-desc { font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 30px; max-width: 46ch; }
.ph-plans { display: grid; gap: 8px; margin-bottom: 22px; }
.ph-buy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ph-buy .btn-primary { flex: 1; min-width: 240px; justify-content: center; }
.ph-buy .btn-label { width: 100%; text-align: center; }

.ph-right { min-width: 0; }
.ph-media { position: relative; border: 1px solid var(--line); background: var(--surface); aspect-ratio: 16/10; overflow: hidden; cursor: zoom-in; }
.ph-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.ph-thumb { border: 1px solid var(--line); background: var(--surface); aspect-ratio: 16/10; overflow: hidden; cursor: zoom-in; transition: border-color .25s var(--ease-out); }
.ph-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-thumb:hover { border-color: var(--accent); }

/* Facts strip */
.ph-facts { border-bottom: 1px solid var(--line); padding: 34px 0; }
.ph-facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ph-fact { display: flex; gap: 14px; align-items: flex-start; }
.ph-fact > svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.ph-fact span { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 5px; }
.ph-fact b { display: block; font-size: 15px; font-weight: 500; }

/* Feature columns */
.feat-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.feat-col h3 { font-size: 17px; margin-bottom: 4px; }
.feat-col-sub { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.feat-col-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feat-item { display: flex; gap: 10px; align-items: baseline; font-size: 14px; color: var(--muted); }
.feat-item svg { color: var(--accent); flex-shrink: 0; transform: translateY(1px); }

/* Spoofer section */
.spoof-status { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.spoof-col { border: 1px solid var(--line); background: var(--surface); padding: 26px 28px; }
.spoof-title { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin: 0 0 20px; }
.spoof-title svg { color: var(--accent); }
.spoof-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.spoof-row span { color: var(--muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.spoof-row b { font-weight: 600; }
.spoof-row b.is-ok { color: var(--ok); }
.spoof-info { max-width: 72ch; margin-bottom: 32px; }
.spoof-info p { font-size: 15px; color: var(--muted); line-height: 1.75; }

/* Showcase */
.showcase { position: relative; border: 1px solid var(--line); background: var(--surface); aspect-ratio: 16/8; overflow: hidden; cursor: pointer; }
.showcase img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .8; }
.showcase .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.showcase .play span {
  width: 84px; height: 84px; border-radius: 50%;
  border: 1px solid var(--accent); background: rgba(12,11,9,.6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s var(--ease-out), background .3s ease;
}
.showcase .play svg { fill: var(--accent); margin-left: 4px; transition: fill .3s ease; }
.showcase:hover .play span { transform: scale(1.08); background: var(--accent); }
.showcase:hover .play svg { fill: #16110b; }

@media (max-width: 1080px) {
  .ph-grid { grid-template-columns: 1fr; gap: 36px; }
  .ph-facts-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .ph-hero { padding: 110px 0 48px; }
  .spoof-status { grid-template-columns: 1fr; }
  .feat-cols { grid-template-columns: 1fr; }
  .ph-thumbs { grid-template-columns: repeat(2, 1fr); }
  .ph-facts-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}

/* ---- Status page v2 ---- */
.status-pill.is-muted { color: var(--muted); border-color: var(--line-strong); }
.status-pill.is-muted i { background: var(--muted); }
.status-pill.is-dev { color: #c084fc; border-color: rgba(192,132,252,0.35); }
.status-pill.is-dev i { background: #a855f7; }
.status-table-wrap { overflow-x: auto; }
.status-table td { vertical-align: middle; }
.status-table .cell-sub { display: block; font-size: 11px; color: var(--faint); margin-top: 3px; }
.status-note { max-width: 76ch; margin: 34px 0 0; padding: 18px 22px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; color: var(--muted); line-height: 1.75; }
.status-note b { color: var(--text); font-weight: 500; display: block; margin-bottom: 6px; }
.status-note .status-pill { vertical-align: baseline; transform: translateY(1px); }
.status-legend-5 { grid-template-columns: repeat(5, 1fr); }
.status-legend-5 .legend-card h3 { font-size: 15px; }
.status-legend-5 .legend-rows p { font-size: 13px; }

/* mobile: table scrolls horizontally inside the box */
@media (max-width: 1080px) {
  .status-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .status-main .status-table { min-width: 940px; }
}
@media (max-width: 1280px) and (min-width: 1081px) {
  .status-legend-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1080px) {
  .status-legend-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .status-legend-5 { grid-template-columns: 1fr; }
}

/* status page: wide table container */
.status-main .container { max-width: 1560px; }
.status-main { padding-top: 40px; }
.status-main .status-table th, .status-main .status-table td { padding-left: 16px; padding-right: 16px; }
@media (max-width: 1080px) {
  .status-main .container { max-width: var(--container); }
}
.status-main .status-table th:first-child, .status-main .status-table td:first-child { min-width: 250px; }
.status-main .cell-dim { white-space: normal; min-width: 110px; }


/* ---- Product page v3 ---- */
.p2-hero { padding: 130px 0 56px; border-bottom: 1px solid var(--line); }
.p2-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 52px; align-items: start; }
.p2-left .crumbs { margin-bottom: 18px; }
.p2-left .page-title { font-size: clamp(38px, 4.6vw, 58px); margin-bottom: 22px; }

.p2-status { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; }
.p2-st { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); background: var(--surface); padding: 10px 14px; border-radius: 12px; min-width: 0; }
.p2-st-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }

.p2-desc { font-size: 15.5px; color: var(--muted); line-height: 1.7; margin-bottom: 28px; max-width: 52ch; }

.p2-video { position: relative; border: 1px solid var(--line); background: var(--surface); aspect-ratio: 16/9.5; overflow: hidden; cursor: pointer; margin: 0; }
.p2-video img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; transition: transform .7s var(--ease-out); }
.p2-video:hover img { transform: scale(1.02); }
.p2-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.p2-play span {
  width: 76px; height: 76px; border-radius: 50%;
  border: 1px solid var(--accent); background: rgba(12,11,9,.6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
  transition: transform .35s var(--ease-out), background .3s ease, color .3s ease;
}
.p2-play svg { margin-left: 4px; }
.p2-video:hover .p2-play span { transform: scale(1.08); background: var(--accent); color: #16110b; }
.p2-video-tag { position: absolute; left: 14px; bottom: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); background: rgba(12,11,9,.72); border: 1px solid var(--line); padding: 6px 10px; }
.p2-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }

/* features: category tabs + grid */
.ft-layout { display: grid; grid-template-columns: 230px 1fr; gap: 44px; align-items: start; }
.ft-cats { display: grid; gap: 4px; align-content: start; position: sticky; top: 96px; }
.ft-cat {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px; border: 1px solid transparent; background: none; cursor: pointer;
  font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--muted);
  text-align: left; transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.ft-cat:hover { color: var(--text); }
.ft-cat.is-active { color: var(--text); background: var(--surface); border-color: var(--line); }
.ft-cat .ft-count { font-family: var(--font-mono); font-size: 11px; color: var(--faint); }
.ft-cat.is-active .ft-count { color: var(--accent); }
.ft-panel { display: none; }
.ft-panel.is-active { display: block; }
.ft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 30px; }
.ft-item { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); padding: 7px 0; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ft-item svg { color: var(--accent); flex-shrink: 0; }
.ft-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* spoofer highlight panel */
.sp2-panel { border: 1px solid rgba(232,127,62,0.35); background: var(--surface); position: relative; }
.sp2-panel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.sp2-head { padding: 30px 32px 8px; max-width: 72ch; }
.sp2-head h3 { font-size: clamp(20px, 2.2vw, 27px); margin: 10px 0 12px; }
.sp2-head p { font-size: 15px; color: var(--muted); line-height: 1.75; }
.sp2-panel .spoof-status { padding: 18px 32px 30px; margin-bottom: 0; }

@media (max-width: 1080px) {
  .p2-grid { grid-template-columns: 1fr; gap: 36px; }
  .ft-layout { grid-template-columns: 1fr; gap: 20px; }
  .ft-cats { position: static; display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; }
  .ft-cat { flex: none; border-color: var(--line); background: var(--surface); }
  .ft-cat.is-active { border-color: var(--accent); }
}
@media (max-width: 760px) {
  .p2-hero { padding: 110px 0 44px; }
  .p2-status { grid-template-columns: 1fr 1fr; }
  .ft-grid { grid-template-columns: 1fr; }
  .p2-thumbs { grid-template-columns: repeat(2, 1fr); }
  .sp2-head, .sp2-panel .spoof-status { padding-left: 22px; padding-right: 22px; }
}
@media (min-width: 761px) and (max-width: 1280px) {
  .ft-grid { grid-template-columns: repeat(2, 1fr); }
}
.p2-left { min-width: 0; }
.p2-status { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.p2-st { flex-wrap: wrap; row-gap: 6px; overflow: hidden; }
.p2-st-label { min-width: 0; overflow-wrap: anywhere; }
.p2-st .status-pill { flex: 0 1 auto; min-width: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) {
  .p2-status { grid-template-columns: 1fr; }
}

.co-pay-opt.is-disabled, .co-pay-opt[disabled] { opacity: .45; cursor: not-allowed; }
.co-pay-note a { color: var(--accent); text-decoration: underline; }
.co-balance { position: relative; display: flex; align-items: center; gap: 12px; margin: 0 0 16px; cursor: pointer; user-select: none; }
.co-balance input { position: absolute; inset: 0; opacity: 0; margin: 0; appearance: none; -webkit-appearance: none; pointer-events: none; }
.co-balance-box { width: 18px; height: 18px; flex: none; border: 1px solid var(--line-strong); border-radius: 6px; background: rgba(12, 11, 9, 0.6); position: relative; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.co-balance-box::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border-right: 1.6px solid #16110b; border-bottom: 1.6px solid #16110b; transform: rotate(45deg) scale(0); transform-origin: center; transition: transform .15s ease; }
.co-balance input:checked + .co-balance-box { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 3px rgba(232, 127, 62, .12); }
.co-balance input:checked + .co-balance-box::after { transform: rotate(45deg) scale(1); }
.co-balance-text { font-size: 14px; color: var(--muted); }
.co-balance:hover .co-balance-box { border-color: var(--accent); }
.co-balance:hover .co-balance-text { color: var(--text); }

/* status legends: balanced 2-col grid */
.status-legend-2 { grid-template-columns: 1fr 1fr; align-items: stretch; }
.status-legend-2 .legend-card { display: flex; flex-direction: column; }
.status-legend-2 .legend-wide { grid-column: 1 / -1; }
.status-legend-2 .legend-wide .legend-rows { max-width: 620px; }
.legend-rows .status-pill { min-width: 218px; justify-content: center; text-align: center; }
.legend-rows li { align-items: center; }
.legend-rows p { line-height: 1.55; }
@media (max-width: 900px) {
  .status-legend-2 { grid-template-columns: 1fr; }
  .status-legend-2 .legend-wide { grid-column: auto; }
  .status-legend-2 .legend-wide .legend-rows { max-width: none; }
}
@media (max-width: 560px) {
  .legend-rows .status-pill { min-width: 0; }
  .legend-rows li { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* dashboard: simplified downloads */
.dl-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-lg { padding: 18px 34px; font-size: 15px; }
.dl-actions .btn { flex: 1; min-width: 220px; justify-content: center; text-align: center; }

/* ============ checkout modal ============ */
.checkout-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.checkout-modal[hidden] { display: none; }
.co-backdrop { position: absolute; inset: 0; background: rgba(8, 7, 5, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.co-box { position: relative; width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: co-in .25s ease; }
@keyframes co-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.co-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.co-head h3 { font-size: 20px; margin: 0 0 4px; }
.co-sub { margin: 0; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.co-close { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px; background: none; color: var(--muted); cursor: pointer; transition: color .15s, border-color .15s; }
.co-close:hover { color: var(--text); border-color: var(--muted); }
.co-group { margin-bottom: 18px; }
.co-label { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.co-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co-pay.is-single { grid-template-columns: 1fr; }
.co-pay-opt { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 16px; min-height: 46px; border: 1px solid var(--line); border-radius: 10px; background: none; color: var(--muted); font-family: var(--font-main); font-size: 14px; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.co-pay-opt:hover { color: var(--text); }
.co-pay-opt.is-active { color: var(--accent); border-color: var(--accent); background: rgba(232, 127, 62, .07); }
.co-input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); font-family: var(--font-main); font-size: 14px; outline: none; transition: border-color .15s; }
.co-input:focus { border-color: var(--accent); }
.co-input::placeholder { color: var(--faint); }
.co-coupon { display: flex; align-items: stretch; gap: 10px; }
.co-coupon .co-input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; }
.co-apply { flex: none; min-width: 92px; height: 46px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text); font-family: var(--font-display); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: border-color .15s ease, color .15s ease, background .15s ease; }
.co-apply:hover { border-color: var(--accent); color: var(--accent); }
.co-hint { margin: 7px 0 0; font-size: 12px; color: var(--faint); line-height: 1.5; }
.co-hint.is-ok { color: var(--ok); }
.co-hint.is-bad { color: var(--bad); }
.co-total { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--line); padding: 16px 0; margin-top: 4px; margin-bottom: 16px; }
.co-total > span:first-child { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.co-price { font-family: var(--font-mono); font-size: 22px; color: var(--text); }
.co-price s { color: var(--faint); font-size: 15px; margin-right: 10px; }
.co-price .co-off { color: var(--ok); font-size: 12px; margin-left: 10px; letter-spacing: .06em; }
.co-demo { text-align: center; }
@media (max-width: 480px) {
  .co-box { padding: 20px; }
}

/* ============ feature detail modal ============ */
.ft-item { cursor: pointer; transition: color .15s; }
.ft-item:hover { color: var(--text); }
.fm-box { max-width: 400px; }
.fm-cat { margin: 0 0 6px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.fm-shot { margin: 0 0 18px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; }
.fm-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fm-desc { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ============ rounded corners everywhere ============ */
.co-pay-opt, .co-input, .co-close { border-radius: 999px; }
.checkout-modal .btn .btn-label { overflow: hidden; }
.checkout-modal .btn-block { min-height: 48px; }
.plan, .copy-btn, .ft-cat, .calc-opt, .topup-amounts button, .chip,
.field input, .field textarea, .auth-card input, .iface-panel, .video-thumb,
.key-prod img, .ph-thumb, .shot, .product-media, .dash-avatar, .epvp-badge,
.pack-icon, .tier-card, .ticket-card, .stat, .ph-fact { border-radius: 12px; }
.buy-panel, .panel-box, .key-card, .key-string, .p2-video, .p2-thumbs a,
.co-box, .legend-card, .status-table-wrap, .p2-st, .balance-card, .topup-box,
.faq-item, .sp2-panel, .shot-grid a, .video-grid a, .video-card, .code-block,
.product-card, .calc-wrap, .calc-out, .why-item, .docs-note, .auth-card,
.cta-panel, .news-list > *, .docs-list a, .about-list li, .iface-row { border-radius: 16px; }
.status-pill, .p-save, .p2-play span, .t-count { border-radius: 999px; }
.fm-shot { border-radius: 12px; }
.feat-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.feat-modal[hidden] { display: none; }
