/* ==========================================================================
   Cheaz Hub — site styles
   Palette mirrors the launcher: #07070b base, #e11d2e red, #3ddc97 ok.
   No external fonts, no framework, no build step.
   ========================================================================== */

:root {
  --bg:        #07070b;
  --bg-2:      #0b0b10;
  --panel:     #121217;
  --panel-2:   #17171d;
  --panel-3:   #1d1d24;
  --line:      rgba(255, 255, 255, .08);
  --line-2:    rgba(255, 255, 255, .15);
  --text:      #ececf2;
  --dim:       #9a9aa6;
  --dim-2:     #6b6b78;
  --red:       #e11d2e;
  --red-hi:    #ff4654;
  --red-dk:    #8e0f1b;
  --red-soft:  rgba(225, 29, 46, .14);
  --green:     #3ddc97;
  --amber:     #ffb020;
  --blue:      #5aa9ff;
  --radius:    16px;
  --radius-sm: 10px;
  --container: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", monospace;
  --shadow: 0 24px 70px rgba(0, 0, 0, .55);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.03em; line-height: 1.08; font-weight: 700; }
h1 { font-size: clamp(2.7rem, 6vw, 5rem); letter-spacing: -.045em; line-height: .98; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.015em; }
::selection { background: var(--red); color: #fff; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-weight: 600; transition: top .15s ease;
}
.skip:focus { top: 12px; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section + .section { padding-top: 0; }.workshop-head { margin-top: 64px !important; margin-bottom: 22px !important; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.is-center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red-hi); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7;
}
.section-head.is-center .eyebrow::after {
  content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7;
}

.lede { color: var(--dim); font-size: 1.06rem; margin-top: 16px; }
.muted { color: var(--dim); }
.tiny { font-size: .82rem; color: var(--dim-2); }
.mono { font-family: var(--mono); }

.grad {
  background: linear-gradient(96deg, #fff 20%, #ffb3ba 55%, var(--red-hi) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ------------------------------------------------------------------ buttons */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 10px;
  background: var(--btn-bg);
  font-size: .94rem; font-weight: 650; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn .ico { flex: none; }

.btn-primary {
  background: linear-gradient(180deg, var(--red-hi), var(--red));
  border-color: rgba(255, 255, 255, .16);
  color: #fff;
  box-shadow: 0 10px 30px rgba(225, 29, 46, .28), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #ff5c69, #ef2436);
  box-shadow: 0 14px 38px rgba(225, 29, 46, .42), inset 0 1px 0 rgba(255, 255, 255, .26);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, .025);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .26); }

.btn-sm { min-height: 38px; padding: 0 15px; font-size: .86rem; border-radius: 9px; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 1rem; }
.btn-block { width: 100%; }

/* -------------------------------------------------------------------- chips */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--dim);
}
.chip::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; box-shadow: 0 0 10px currentColor;
}
.chip.is-ok    { color: var(--green); background: rgba(61, 220, 151, .1);  border-color: rgba(61, 220, 151, .26); }
.chip.is-warn  { color: var(--amber); background: rgba(255, 176, 32, .1);  border-color: rgba(255, 176, 32, .26); }
.chip.is-bad   { color: var(--red-hi); background: rgba(225, 29, 46, .12); border-color: rgba(225, 29, 46, .3); }
.chip.is-info  { color: var(--blue); background: rgba(90, 169, 255, .1);  border-color: rgba(90, 169, 255, .26); }
.chip.is-unknown { color: var(--dim); }
.chip.is-plain::before { display: none; }

.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(61, 220, 151, .6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(61, 220, 151, .5); }
  70%  { box-shadow: 0 0 0 7px rgba(61, 220, 151, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); }
}

/* ------------------------------------------------------------------- ribbon */
.ribbon {
  position: relative; z-index: 60;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(225, 29, 46, .16), rgba(225, 29, 46, .04) 55%, transparent);
  font-size: .82rem;
}
.ribbon-in { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.ribbon p { color: var(--text); flex: 1; }
.ribbon-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--red-hi);
  box-shadow: 0 0 12px var(--red-hi); flex: none;
}
.ribbon-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--red-hi); font-weight: 650; white-space: nowrap;
}
.ribbon-link:hover { color: #fff; }

/* -------------------------------------------------------------------- header */
.site-head {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}
.site-head.is-stuck {
  background: rgba(7, 7, 11, .82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.head-in { display: flex; align-items: center; gap: 28px; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-img { border-radius: 8px; }
.brand-name {
  font-family: var(--display); font-weight: 800; font-size: 1.02rem;
  letter-spacing: .12em; text-transform: uppercase;
}
.brand-name::after { content: "."; color: var(--red); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  padding: 8px 12px; border-radius: 8px;
  font-size: .9rem; color: var(--dim); font-weight: 550;
  transition: color .15s ease, background .15s ease;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-link[aria-current="page"] { color: var(--text); }
.nav-out { display: inline-flex; align-items: center; gap: 7px; }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: 10px; }

.burger {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border-radius: 9px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
  cursor: pointer;
}
.burger-box { display: grid; gap: 4px; width: 18px; margin: 0 auto; }
.burger-box i { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .18s ease, opacity .18s ease; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -1px 0 auto; height: 720px; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 30% 10%, #000 0%, transparent 100%);
  mask-image: radial-gradient(70% 70% at 30% 10%, #000 0%, transparent 100%);
}
.hero::after {
  content: ""; position: absolute; left: -18vw; top: -30vw; width: 70vw; height: 70vw;
  background: radial-gradient(circle, rgba(225, 29, 46, .18), transparent 62%);
  pointer-events: none; filter: blur(10px);
}
.hero-in {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-copy { max-width: 620px; }
.hero h1 { margin-bottom: 22px; }
.hero-sub { color: var(--dim); font-size: clamp(1rem, 1.4vw, 1.13rem); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-trust li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .8rem; color: var(--dim);
}
.hero-trust .ico { color: var(--green); }

/* launcher mockup */
.mock-wrap { position: relative; }
.mock {
  position: relative; z-index: 2;
  border: 1px solid var(--line-2); border-radius: 18px;
  background: linear-gradient(170deg, #16161c, #0a0a0e 60%);
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, .6), 0 0 90px rgba(225, 29, 46, .12);
  overflow: hidden;
  transform: perspective(1300px) rotateY(-9deg) rotateX(3deg);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.mock:hover { transform: perspective(1300px) rotateY(-4deg) rotateX(1.5deg) translateY(-4px); }
.mock-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
}
.mock-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: #2c2c34; }
.mock-bar .dot.r { background: #7d1e26; }
.mock-title {
  margin-left: 8px; font-family: var(--display); font-size: .68rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--dim);
}
.mock-build { margin-left: auto; font-family: var(--mono); font-size: .64rem; color: var(--dim-2); }

.mock-body { display: grid; grid-template-columns: 128px minmax(0, 1fr); min-height: 300px; }
.mock-side {
  padding: 14px 12px; border-right: 1px solid var(--line);
  background: rgba(0, 0, 0, .25); display: flex; flex-direction: column; gap: 10px;
}
.mock-avatar {
  width: 46px; height: 46px; border-radius: 50%; margin: 2px auto 4px;
  border: 2px solid var(--red); background: #101014; color: var(--red-hi);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: .92rem; letter-spacing: .04em;
  box-shadow: 0 0 0 6px rgba(225, 29, 46, .08);
}
.mock-name { text-align: center; font-size: .76rem; font-weight: 700; }
.mock-plan {
  text-align: center; font-size: .58rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red-hi);
}
.mock-side-line { height: 1px; background: var(--line); margin: 4px 0; }
.mock-kv { display: flex; justify-content: space-between; font-size: .58rem; color: var(--dim-2); }
.mock-kv b { color: var(--dim); font-weight: 600; }
.mock-dotline { display: flex; align-items: center; gap: 6px; font-size: .58rem; color: var(--green); margin-top: auto; }
.mock-dotline i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }

.mock-main { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-tile {
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), transparent);
}
.mock-cover { height: 58px; background: linear-gradient(120deg, #2a1217, #141418 70%); position: relative; }
.mock-cover::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 20% 20%, rgba(255, 70, 84, .35), transparent 70%);
}
.mock-tile:nth-child(2) .mock-cover { background: linear-gradient(120deg, #131a24, #141418 70%); }
.mock-tile:nth-child(2) .mock-cover::after { background: radial-gradient(60% 80% at 20% 20%, rgba(90, 169, 255, .3), transparent 70%); }
.mock-tile-body { padding: 8px 9px 9px; }
.mock-tile-title { font-size: .72rem; font-weight: 700; }
.mock-tile-sub { font-size: .56rem; color: var(--dim-2); margin-top: 1px; }
.mock-btn {
  margin-top: 8px; min-height: 24px; border-radius: 6px;
  background: linear-gradient(180deg, var(--red-hi), var(--red));
  display: grid; place-items: center;
  font-size: .58rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #fff;
}
.mock-btn.is-off { background: #24242b; color: var(--dim); }
.mock-status { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .54rem; color: var(--green); }
.mock-status i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.mock-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line); padding-top: 9px;
  font-size: .56rem; color: var(--dim-2);
}
.mock-foot b { color: var(--green); font-weight: 600; }
.mock-glow {
  position: absolute; inset: auto -8% -12% -8%; height: 45%;
  background: radial-gradient(ellipse at center, rgba(225, 29, 46, .25), transparent 70%);
  filter: blur(24px); z-index: 1;
}

/* --------------------------------------------------------------- stat strip */
.stats {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .018), transparent);
}
.stats-in {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 22px 0;
}
.stat { padding: 4px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b {
  display: block; font-family: var(--display); font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  letter-spacing: -.02em; font-weight: 750;
}
.stat span { font-size: .76rem; color: var(--dim-2); letter-spacing: .04em; text-transform: uppercase; }

/* ------------------------------------------------------------------ products */
.grid-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), #0c0c11);
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.product:hover {
  border-color: rgba(225, 29, 46, .38);
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(225, 29, 46, .12);
}
.product-cover {
  position: relative; aspect-ratio: 16 / 7; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(90% 120% at 15% 0%, rgba(225, 29, 46, .12), transparent 65%),
    #0a0a0e;
}
.product-cover img {
  width: 100%; height: 100%; object-fit: contain; padding: 22px 26px;
  opacity: .95; transition: transform .5s ease, opacity .3s ease;
}
.product:hover .product-cover img { transform: scale(1.04); opacity: 1; }
.product-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(7, 7, 11, .85));
}
.product-chip { position: absolute; top: 14px; right: 14px; z-index: 2; }
.cover-art {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 7px;
  text-align: center; padding: 18px;
  background:
    radial-gradient(70% 120% at 20% 0%, rgba(90, 169, 255, .18), transparent 70%),
    linear-gradient(120deg, #101722, #0b0d12 70%);
}
.cover-word {
  font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.15rem);
  letter-spacing: .16em; text-transform: uppercase; color: #dbe9ff; line-height: 1;
}
.cover-sub {
  font-size: .62rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(219, 233, 255, .42);
}
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-eyebrow { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red-hi); font-weight: 700; }
.product-title { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.product-title h3 { font-size: 1.45rem; }
.product-blurb { color: var(--dim); font-size: .92rem; margin-top: 8px; }
.product-list { display: grid; gap: 7px; margin: 16px 0 20px; }
.product-list li { display: flex; gap: 9px; align-items: flex-start; font-size: .86rem; color: var(--dim); }
.product-list .ico { color: var(--red-hi); flex: none; margin-top: 2px; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-meta { font-size: .76rem; color: var(--dim-2); }
.product-meta b { color: var(--text); font-weight: 600; }

/* --------------------------------------------------------------------- plans */
.grid-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), #0b0b10);
}
.plan.is-featured {
  border-color: rgba(225, 29, 46, .5);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(225, 29, 46, .13), transparent 60%),
    linear-gradient(180deg, #171219, #0b0b10);
  box-shadow: 0 26px 80px rgba(0, 0, 0, .5);
}
.plan-badge {
  position: absolute; top: -11px; left: 24px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--red); color: #fff;
  font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(225, 29, 46, .35);
}
.plan-name { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 12px; }
.plan-price b { font-family: var(--display); font-size: 2.5rem; letter-spacing: -.04em; font-weight: 750; }
.plan-price span { color: var(--dim-2); font-size: .86rem; }
.plan-price em { color: var(--dim-2); font-size: 1.1rem; font-style: normal; }
.plan-note { color: var(--dim); font-size: .88rem; margin-top: 8px; min-height: 42px; }
.plan-list { display: grid; gap: 9px; margin: 18px 0 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.plan-list li { display: flex; gap: 9px; align-items: flex-start; font-size: .87rem; color: var(--dim); }
.plan-list .ico { color: var(--green); flex: none; margin-top: 2px; }
.plan .btn { margin-top: auto; }
.plan-foot { margin-top: 12px; font-size: .74rem; color: var(--dim-2); text-align: center; }

/* ------------------------------------------------------------------ features */
.grid-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature {
  padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .028), transparent);
  transition: border-color .2s ease, background .2s ease;
}
.feature:hover { border-color: var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, .045), transparent); }
.feature-ico {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center; margin-bottom: 16px;
  color: var(--red-hi);
  background: var(--red-soft);
  border: 1px solid rgba(225, 29, 46, .26);
}
.feature h3 { font-size: 1.02rem; }
.feature p { color: var(--dim); font-size: .87rem; margin-top: 8px; }

/* --------------------------------------------------------------------- steps */
.grid-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 24px 22px 24px 24px; border-left: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--mono); font-size: .8rem;
  color: var(--red-hi); margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--dim); font-size: .89rem; margin-top: 8px; }
.step::after {
  content: ""; position: absolute; left: -1px; top: 0; width: 1px; height: 34px;
  background: var(--red);
}

/* --------------------------------------------------------------- status band */
.status-band {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background:
    radial-gradient(80% 140% at 0% 0%, rgba(61, 220, 151, .06), transparent 60%),
    linear-gradient(180deg, var(--panel), #0b0b10);
}
.status-band-main { flex: 1; min-width: 260px; }
.status-band h2 { font-size: 1.35rem; margin-top: 8px; }
.status-band p { color: var(--dim); font-size: .88rem; margin-top: 4px; }

/* ----------------------------------------------------------------------- faq */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .022);
  padding: 0 18px;
  transition: border-color .2s ease, background .2s ease;
}
.faq details[open] { border-color: var(--line-2); background: rgba(255, 255, 255, .035); }
.faq summary {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: .95rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; margin-left: auto; color: var(--red-hi);
  font-family: var(--mono); font-size: 1.15rem; line-height: 1;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { color: var(--dim); font-size: .9rem; padding: 0 0 18px; max-width: 72ch; }

/* ------------------------------------------------------------------ cta band */
.cta-band {
  position: relative; overflow: hidden;
  border: 1px solid rgba(225, 29, 46, .35); border-radius: 22px;
  padding: clamp(34px, 6vw, 62px);
  background:
    radial-gradient(90% 160% at 15% 0%, rgba(225, 29, 46, .22), transparent 60%),
    linear-gradient(180deg, #15101a, #0a0a0e);
  display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center;
}
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
.cta-band p { color: var(--dim); margin-top: 10px; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------- pages */
.page-head { padding: clamp(48px, 7vw, 84px) 0 36px; position: relative; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-head .lede { max-width: 64ch; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .8rem; color: var(--dim-2); margin-bottom: 18px; }
.crumbs a:hover { color: var(--text); }

.prose { max-width: 800px; color: var(--dim); }
.prose h2 { color: var(--text); font-size: 1.4rem; margin: 40px 0 12px; }
.prose h3 { color: var(--text); font-size: 1.08rem; margin: 26px 0 8px; }
.prose p { margin: 12px 0; font-size: .95rem; }
.prose ul, .prose ol { display: grid; gap: 8px; margin: 14px 0; padding-left: 20px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--red-hi); }
.prose a { color: var(--red-hi); border-bottom: 1px solid rgba(225, 29, 46, .4); }
.prose a:hover { color: #fff; border-color: #fff; }
.prose strong { color: var(--text); }
.prose .callout {
  border: 1px solid var(--line); border-left: 2px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px; background: rgba(255, 255, 255, .025);
  margin: 20px 0; font-size: .9rem;
}
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .88rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); font-weight: 650; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.legal-meta { font-size: .8rem; color: var(--dim-2); margin-bottom: 28px; }

/* ------------------------------------------------------------------- download */
.dl-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 22px; align-items: start; }
.dl-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), #0b0b10);
  padding: 26px;
}
.dl-card h2 { font-size: 1.25rem; margin-bottom: 6px; }
.dl-card p { color: var(--dim); font-size: .9rem; }
.dl-steps { display: grid; gap: 18px; margin-top: 22px; counter-reset: dl; }
.dl-step { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.dl-step-n {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  border: 1px solid rgba(225, 29, 46, .3); background: var(--red-soft);
  color: var(--red-hi); font-family: var(--mono); font-size: .82rem; font-weight: 700;
}
.dl-step h3 { font-size: .98rem; }
.dl-step p { margin-top: 4px; font-size: .87rem; }
.dl-side { display: grid; gap: 14px; }
.dl-side .dl-card { padding: 22px; }
.dl-list { display: grid; gap: 8px; margin-top: 12px; }
.dl-list li { display: flex; gap: 9px; font-size: .86rem; color: var(--dim); }
.dl-list .ico { color: var(--green); flex: none; margin-top: 2px; }
.dl-list.is-bad .ico { color: var(--amber); }
.dl-actions { display: grid; gap: 9px; margin-top: 16px; }
.kbd {
  display: inline-block; padding: 1px 7px; border-radius: 5px;
  border: 1px solid var(--line-2); border-bottom-width: 2px;
  background: #1b1b22; font-family: var(--mono); font-size: .78rem; color: var(--text);
}

/* --------------------------------------------------------------------- status page */
.status-hero {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background:
    radial-gradient(70% 150% at 0% 0%, rgba(61, 220, 151, .08), transparent 60%),
    linear-gradient(180deg, var(--panel), #0b0b10);
}
.status-orb {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  display: grid; place-items: center; position: relative;
  background: rgba(61, 220, 151, .1); border: 1px solid rgba(61, 220, 151, .35);
  color: var(--green);
}
.status-orb::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 1px solid rgba(61, 220, 151, .18);
}
.status-orb.is-warn { background: rgba(255, 176, 32, .1); border-color: rgba(255, 176, 32, .35); color: var(--amber); }
.status-orb.is-warn::after { border-color: rgba(255, 176, 32, .18); }
.status-orb.is-bad { background: rgba(225, 29, 46, .12); border-color: rgba(225, 29, 46, .4); color: var(--red-hi); }
.status-orb.is-bad::after { border-color: rgba(225, 29, 46, .2); }
.status-orb.is-info { background: rgba(90, 169, 255, .1); border-color: rgba(90, 169, 255, .3); color: var(--blue); }
.status-orb.is-info::after { border-color: rgba(90, 169, 255, .18); }
.status-hero-main { flex: 1; min-width: 230px; }
.status-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.status-hero p { color: var(--dim); font-size: .88rem; margin-top: 6px; }
.status-hero-side { text-align: right; }
.status-hero-side b { display: block; font-family: var(--mono); font-size: .84rem; color: var(--text); }
.status-hero-side span { font-size: .74rem; color: var(--dim-2); }

.status-list { display: grid; gap: 10px; margin-top: 22px; }
.status-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center;
  padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .022);
}
.status-row:hover { border-color: var(--line-2); }
.status-name { display: flex; align-items: center; gap: 12px; }
.status-name img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.status-name b { display: block; font-size: .96rem; }
.status-name span { font-size: .76rem; color: var(--dim-2); }
.status-note { color: var(--dim); font-size: .84rem; grid-column: 1 / -1; margin-top: -4px; }
.status-when { font-family: var(--mono); font-size: .76rem; color: var(--dim-2); text-align: right; }
.status-legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; }
.legend {
  padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .02);
}
.legend b { display: flex; align-items: center; gap: 8px; font-size: .84rem; margin-bottom: 6px; }
.legend i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 9px currentColor; }
.legend p { font-size: .78rem; color: var(--dim-2); }
.legend.is-ok b { color: var(--green); }
.legend.is-warn b { color: var(--amber); }
.legend.is-bad b { color: var(--red-hi); }
.legend.is-info b { color: var(--blue); }

.refresh {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; color: var(--dim-2); margin-top: 18px;
}
.refresh i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.refresh.is-stale i { background: var(--amber); }

/* ---------------------------------------------------------------------- panel */
.panel-wrap { min-height: calc(100vh - 260px); padding: clamp(40px, 6vw, 72px) 0; }
.auth-card {
  max-width: 440px; margin: 0 auto;
  border: 1px solid var(--line); border-radius: var(--radius);
  background:
    radial-gradient(100% 80% at 50% 0%, rgba(225, 29, 46, .1), transparent 60%),
    linear-gradient(180deg, var(--panel), #0a0a0e);
  padding: 32px 30px;
  box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 1.6rem; letter-spacing: -.03em; }
.auth-card > p { color: var(--dim); font-size: .9rem; margin-top: 8px; }
.auth-form { display: grid; gap: 14px; margin-top: 24px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .78rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); }
.input {
  width: 100%; min-height: 46px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 9px;
  background: #0c0c11; color: var(--text);
  font: inherit; font-size: .95rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder { color: var(--dim-2); }
.input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(225, 29, 46, .18); }
.input.is-key { font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.form-note { font-size: .78rem; color: var(--dim-2); }
.form-note.is-bad { color: var(--red-hi); }
.auth-alt { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--dim-2); }
.auth-alt a { color: var(--red-hi); }

.alert {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: 9px; font-size: .86rem;
  border: 1px solid rgba(225, 29, 46, .3); background: rgba(225, 29, 46, .1); color: #ffc9ce;
}
.alert.is-ok { border-color: rgba(61, 220, 151, .3); background: rgba(61, 220, 151, .08); color: #b8f5da; }

.panel-head { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.panel-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.panel-head p { color: var(--dim); font-size: .9rem; margin-top: 6px; }
.panel-head .btn { margin-left: auto; }

.panel-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 18px; align-items: start; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), #0b0b10);
  padding: 22px 24px;
}
.card + .card { margin-top: 16px; }
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.card-head h2 { font-size: 1.02rem; letter-spacing: -.01em; }
.card-head .chip { margin-left: auto; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; font-size: .9rem; }
.kv dt { color: var(--dim-2); }
.kv dd { margin: 0; color: var(--text); }
.kv dd .mono { font-size: .86rem; }
.sep { height: 1px; background: var(--line); margin: 18px 0; }
.access-list { display: grid; gap: 8px; }
.access {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px;
  background: rgba(255, 255, 255, .02);
}
.access img { width: 30px; height: 30px; border-radius: 7px; object-fit: cover; }
.access b { font-size: .9rem; }
.access span { display: block; font-size: .74rem; color: var(--dim-2); }
.access .chip { margin-left: auto; }

/* ---------------------------------------------------------------------- footer */
.site-foot {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .018));
  padding: 56px 0 30px; margin-top: 40px;
}
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, .8fr)); gap: 32px; }
.foot-brand p { margin-top: 14px; }
.foot-blurb { color: var(--dim-2); font-size: .86rem; max-width: 34ch; }
.foot-discord { margin-top: 16px; }
.foot-col h2 { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim-2); margin-bottom: 12px; font-family: var(--font); font-weight: 700; }
.foot-col a { display: block; padding: 5px 0; font-size: .88rem; color: var(--dim); }
.foot-col a:hover { color: var(--text); }
.foot-base {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between;
  margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: .78rem; color: var(--dim-2);
}
.foot-note { max-width: 60ch; }

/* --------------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------------- responsive */
@media (max-width: 1040px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .mock { transform: none; max-width: 640px; }
  .mock:hover { transform: translateY(-4px); }
  .grid-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plan.is-featured { order: -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .panel-grid { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .head-in { min-height: 62px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 62px 12px auto; z-index: 55;
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px; border: 1px solid var(--line-2); border-radius: 14px;
    background: rgba(10, 10, 14, .97);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav-link { padding: 12px 14px; font-size: .95rem; }
  .nav-cta { flex-direction: column; align-items: stretch; margin: 10px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
  .nav-cta .btn { width: 100%; }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 14px 16px; border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .grid-products { grid-template-columns: 1fr; }
  .grid-steps { grid-template-columns: 1fr; }
  .step { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
  .step::after { top: 0; left: 0; width: 34px; height: 1px; }
  .status-legend { grid-template-columns: 1fr 1fr; }
  .status-row { grid-template-columns: 1fr auto; }
  .status-when { grid-column: 1 / -1; text-align: left; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dd { margin-bottom: 10px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .ribbon p { font-size: .76rem; }
  .ribbon-link { display: none; }
  .mock-body { grid-template-columns: 96px minmax(0, 1fr); }
  .mock-row { grid-template-columns: 1fr; }
  .mock-cover { height: 44px; }
  .grid-features { grid-template-columns: 1fr; }
  .status-legend { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .foot-base { flex-direction: column; }
  .auth-card { padding: 24px 20px; }
  .panel-head .btn { margin-left: 0; }
  .hero-actions .btn { width: 100%; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
}
