/* HenzyBots: near-black night, electric blue + violet light (the brand banner's colours).
   Colour glow lives in the animated sky and on interaction; UI surfaces stay dark and flat. */
:root {
  --bg: #04050A;
  --bg-2: #0A0C16;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(140, 160, 255, .12);
  --line-2: rgba(140, 160, 255, .22);
  --text: #E9ECFA;
  --muted: #8A90AD;
  --sun: #4C6BFF;
  --rose: #4C6BFF;
  --violet: #8B6BFF;
  --copper: #4C6BFF;
  --ice: #A08CFF;
  --mix: var(--copper);
  --ok: #4ADE9B;
  --warn: #FFB547;
  --bad: #FF5C7A;
  --font: "Bricolage Grotesque", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --wrap: 1200px;
  --r-sm: 8px;
  --r-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 85% 0%, rgba(61, 91, 255, .22), transparent 70%),
              radial-gradient(50% 45% at 0% 35%, rgba(122, 85, 255, .14), transparent 70%),
              radial-gradient(40% 40% at 60% 100%, rgba(40, 70, 220, .12), transparent 70%); }
/* Smooth cross-page navigation (Chrome/Edge); other browsers just navigate. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: transparent; color: var(--text); font: 400 17px/1.6 var(--font); font-optical-sizing: auto; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: #9DB2FF; text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
code, kbd { font-family: var(--mono); font-size: .88em; }
::selection { background: var(--rose); color: #fff; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(3rem, 7.4vw, 6.4rem); font-weight: 800; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; max-width: 64ch; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; position: relative; }
.muted { color: var(--muted); }
.mix { background: var(--mix); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: mixshift 8s ease-in-out infinite alternate; }
@keyframes mixshift { to { background-position: 100% 0; } }
/* SplitType wraps letters in their own boxes, so the gradient has to be painted per word. */
.mix .word { background: var(--mix); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: mixshift 8s ease-in-out infinite alternate; }
.mix .char { color: transparent; background: inherit; -webkit-background-clip: text; background-clip: text; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* animated background layers */
#sky { position: fixed; inset: 0; z-index: -2; width: 100vw; height: 100vh; display: block; pointer-events: none; }
.grain { position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-4%); } 60% { transform: translate(-4%,-1%); } 80% { transform: translate(3%,3%); } }
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: -1; background: radial-gradient(circle, rgba(76, 107, 255, .16), rgba(139, 107, 255, .08) 40%, transparent 70%); filter: blur(10px); will-change: transform; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--mix); transform-origin: 0 50%; transform: scaleX(0); z-index: 40; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(4, 5, 10, .55); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.22rem; letter-spacing: -.03em; }
.brand, .brand svg { flex-shrink: 0; max-width: none; }
.brand svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 6px; margin-right: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; padding: 8px 14px; border-radius: 99px; position: relative; transition: color .25s, background .25s; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.account { display: flex; align-items: center; gap: 12px; }
.chip-credit { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text); text-decoration: none; padding: 7px 14px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line-2); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); object-fit: cover; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--rose); }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: 600 1rem var(--font); text-decoration: none; cursor: pointer; isolation: isolate; overflow: hidden; transition: border-color .25s, background .25s, color .25s; }
.btn:hover { border-color: rgba(255, 255, 255, .35); background: var(--surface-2); color: var(--text); }
.btn.primary { border: 0; color: #fff; background: linear-gradient(135deg, #3D5BFF, #7A55FF); box-shadow: 0 8px 30px -10px rgba(76, 107, 255, .8); transition: background .3s, color .3s; }
.btn.primary:hover { background: var(--text); color: var(--bg); }
.btn.primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%); transform: translateX(-120%); animation: shine 5s ease-in-out infinite; }
@keyframes shine { 60%, 100% { transform: translateX(120%); } }
.btn.small { min-height: 36px; padding: 0 15px; font-size: .9rem; }
.btn[disabled] { opacity: .4; cursor: not-allowed; pointer-events: none; }
.btn.discord svg { width: 20px; height: 20px; }

/* hero */
.hero { padding: 72px 0 30px; min-height: calc(100vh - 70px); display: flex; align-items: center; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: .3em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .thin { font-weight: 300; color: var(--muted); }
.hero .lead { font-size: 1.2rem; color: var(--muted); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: .92rem; color: var(--muted); margin-bottom: 26px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(74, 222, 155, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(74, 222, 155, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 155, 0); } }

/* zenith dial */
.dial { position: relative; }
.dial svg { width: 100%; height: auto; overflow: visible; }
.dial .ring { fill: none; stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 6; }
.dial .ring.main { stroke: url(#mixline); stroke-width: 2; stroke-dasharray: none; }
.dial .tick { stroke: var(--muted); stroke-width: 1; }
.dial .tick-label { fill: var(--muted); font: 500 11px var(--mono); }
.dial .horizon { stroke: var(--line-2); stroke-width: 1; }
.dial .henzy-mark { fill: #fff; filter: drop-shadow(0 0 8px var(--rose)); }
.dial .henzy-label { fill: var(--text); font: 700 12px var(--font); letter-spacing: .06em; }
.dial .beam { fill: url(#beam); transform-origin: 300px 300px; }
.dial .glow { fill: url(#sunglow); }
.star { cursor: pointer; }
.star circle.core { fill: #fff; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .8)); }
.star circle.halo { fill: var(--rose); opacity: 0; transition: opacity .25s; }
.star circle.orbit { fill: none; stroke: var(--rose); stroke-width: 1; opacity: 0; }
.star text { fill: var(--text); font: 600 13px var(--font); paint-order: stroke; stroke: var(--bg); stroke-width: 4px; }
.star:hover circle.halo, .star:focus-visible circle.halo { opacity: .35; }
.star[aria-pressed="true"] circle.halo { opacity: .5; }
.star[aria-pressed="true"] circle.orbit { opacity: .6; }
.star[aria-pressed="true"] circle.core { fill: var(--sun); }
.star:focus { outline: none; }
.readout { position: relative; margin-top: -6px; border-radius: var(--r-lg); padding: 20px 24px; min-height: 160px; background: rgba(10, 12, 22, .72); backdrop-filter: blur(14px); border: 1px solid var(--line-2); overflow: hidden; }
.readout::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--mix); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .6; pointer-events: none; }
.readout .cmd { font: 500 .98rem var(--mono); color: #9DB2FF; }
.readout .cmd::before { content: "› "; color: var(--muted); }
.readout .caret { display: inline-block; width: .55em; height: 1.05em; vertical-align: -.15em; background: var(--rose); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.readout h3 { margin: 8px 0 4px; }
.readout p { color: var(--muted); margin: 0; font-size: .98rem; }
.readout .bot { font-size: .82rem; color: var(--muted); margin-top: 10px; opacity: .8; }

/* marquee */
.marquee { border-block: 1px solid var(--line); background: rgba(10, 12, 22, .5); overflow: hidden; padding: 20px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .track { display: flex; gap: 48px; width: max-content; font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.marquee .track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee .track span::after { content: "✦"; font-size: .6em; color: var(--rose); }
.marquee .track span:nth-child(3n+1) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .5); }

/* sections */
.band { padding: 120px 0; position: relative; }
.band-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.band-head p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.glass { background: rgba(10, 12, 22, .55); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: var(--r-lg); }

/* bots: big glass panels with a moving gradient edge */
.bot-row { position: relative; display: grid; grid-template-columns: 240px 1fr auto; gap: 36px; padding: 36px; align-items: start; margin-bottom: 20px; border-radius: 26px; background: rgba(10, 12, 22, .6); backdrop-filter: blur(14px); border: 1px solid var(--line); overflow: hidden; transform-style: preserve-3d; }
.bot-row::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(76, 107, 255, .28), transparent 65%); pointer-events: none; }
.bot-row:nth-child(2)::before { background: radial-gradient(circle, rgba(139, 107, 255, .32), transparent 65%); left: -140px; right: auto; }
.bot-row .name { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; }
.bot-row ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 32px; }
.bot-row li { padding: 4px 0 4px 20px; position: relative; break-inside: avoid; color: #C9CEE6; }
.bot-row li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 2px; background: var(--mix); transform: rotate(45deg); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; padding: 0; margin: 0; }
.steps li { list-style: none; padding: 30px; border-radius: var(--r-lg); background: rgba(10, 12, 22, .55); backdrop-filter: blur(12px); border: 1px solid var(--line); position: relative; overflow: hidden; }
.steps li::before { counter-increment: s; content: "0" counter(s); display: block; font-size: 4rem; font-weight: 800; line-height: 1; margin-bottom: 18px; background: var(--mix); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps li p { color: var(--muted); margin: 0; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 26px; }
.stat .v { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .k { color: var(--muted); margin-top: 8px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; perspective: 1200px; }
.plan { position: relative; padding: 30px; display: flex; flex-direction: column; border-radius: 24px; background: rgba(10, 12, 22, .62); backdrop-filter: blur(14px); border: 1px solid var(--line); transform-style: preserve-3d; }
.plan.featured { border-color: transparent; background: linear-gradient(rgba(10, 12, 22, .92), rgba(10, 12, 22, .92)) padding-box, var(--mix) border-box; border: 1.5px solid transparent; box-shadow: 0 30px 80px -30px rgba(76, 107, 255, .55); }
.plan .ribbon { position: absolute; top: 18px; right: 18px; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: linear-gradient(135deg, #3D5BFF, #7A55FF); color: #fff; }
.plan .price { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; margin: 12px 0 0; }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { padding: 0; margin: 20px 0 26px; list-style: none; flex: 1; }
.plan li { padding: 8px 0 8px 26px; border-top: 1px solid var(--line); position: relative; color: #C9CEE6; }
.plan li::before { content: "✦"; position: absolute; left: 2px; color: var(--rose); }
.plan .tagline { color: var(--muted); min-height: 3.2em; margin: 0; }

/* faq */
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--rose); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* commands */
.search { display: flex; align-items: center; gap: 14px; padding: 6px 10px 6px 22px; border-radius: 22px; background: rgba(10, 12, 22, .7); backdrop-filter: blur(14px); border: 1px solid var(--line-2); transition: box-shadow .3s, border-color .3s; }
.search input { flex: 1; border: 0; background: transparent; font: 500 1.3rem var(--font); color: var(--text); padding: 16px 0; min-width: 0; }
.search input::placeholder { color: #555B78; }
.search input:focus { outline: none; }
.search:focus-within { border-color: transparent; box-shadow: 0 0 0 1.5px var(--rose), 0 20px 60px -20px rgba(76, 107, 255, .6); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 30px; }
.filter { border: 1px solid var(--line-2); background: var(--surface); border-radius: 99px; padding: 8px 15px; font: 500 .92rem var(--font); color: var(--muted); cursor: pointer; transition: all .25s; }
.filter:hover { color: var(--text); }
.filter[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.cmd-list { display: grid; gap: 10px; }
.cmd-row { display: grid; grid-template-columns: minmax(220px, 320px) 1fr 150px; gap: 24px; padding: 18px 22px; border-radius: 16px; background: rgba(10, 12, 22, .9); border: 1px solid var(--line); transition: border-color .25s, background .25s; }
.cmd-row:hover { border-color: rgba(76, 107, 255, .45); background: rgba(18, 22, 44, .95); }
.cmd-row .usage { font: 500 .95rem var(--mono); color: #9DB2FF; word-break: break-word; }
.cmd-row .alt { font: 400 .82rem var(--mono); color: var(--muted); margin-top: 4px; }
.cmd-row .meta { font-size: .88rem; color: var(--muted); text-align: right; }
.cmd-row .meta b { display: block; color: var(--text); font-weight: 600; }
.cmd-row p { margin: 0; color: #C9CEE6; }
mark { background: rgba(76, 107, 255, .3); color: #fff; border-radius: 4px; padding: 0 2px; }
.empty { padding: 40px 0; color: var(--muted); }

/* panel / admin */
.page-head { padding: 64px 0 30px; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 0; }
.balance { text-align: right; }
.balance .v { font-size: 2.8rem; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.tabs { display: flex; gap: 6px; padding: 5px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 28px; width: max-content; max-width: 100%; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs button { background: none; border: 0; padding: 10px 18px; border-radius: 99px; font: 600 .98rem var(--font); color: var(--muted); cursor: pointer; white-space: nowrap; transition: all .25s; }
.tabs button[aria-selected="true"] { color: var(--bg); background: var(--text); }
.list { display: grid; gap: 12px; }
.item { border-radius: 16px; padding: 20px 22px; display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; align-items: center; background: rgba(10, 12, 22, .6); backdrop-filter: blur(12px); border: 1px solid var(--line); }
.item h3 { margin: 0; }
.item .sub { color: var(--muted); font-size: .95rem; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; padding: 5px 11px; border-radius: 99px; white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.badge.pending { color: var(--warn); background: rgba(255, 181, 71, .12); }
.badge.installed { color: var(--ok); background: rgba(74, 222, 155, .12); }
.badge.expired, .badge.cancelled { color: var(--bad); background: rgba(255, 92, 122, .12); }
.checks { display: flex; gap: 14px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); grid-column: 1 / -1; }
.checks span::before { content: "○ "; }
.checks .on { color: var(--ok); }
.checks .on::before { content: "● "; }
.checks .later { opacity: .55; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: end; }
table.ledger { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ledger th, .ledger td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.ledger th { font-weight: 600; color: var(--muted); font-size: .9rem; }
.ledger .num { text-align: right; }
.plus { color: var(--ok); } .minus { color: var(--bad); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; }
input.text, select.text { font: 500 1rem var(--font); padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(4, 5, 10, .7); color: var(--text); min-height: 46px; }
input.text:focus, select.text:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(76, 107, 255, .25); }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; }
.notice { padding: 14px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 20px; }
.notice.error { border-color: rgba(255, 92, 122, .4); background: rgba(255, 92, 122, .1); color: #FFC2CD; }
.notice.ok { border-color: rgba(74, 222, 155, .4); background: rgba(74, 222, 155, .1); color: #B8F5D6; }

/* buy dialog */
dialog { border: 1px solid var(--line-2); border-radius: 24px; padding: 0; width: min(520px, 100vw - 32px); color: var(--text); background: rgba(10, 12, 22, .92); backdrop-filter: blur(20px); box-shadow: 0 40px 120px -20px rgba(76, 107, 255, .45); }
dialog[open] { animation: pop .35s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.96); } }
dialog::backdrop { background: rgba(4, 3, 8, .7); backdrop-filter: blur(4px); }
dialog form { padding: 30px; display: grid; gap: 18px; }
dialog .sum { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; border-top: 1px solid var(--line); padding-top: 14px; font-variant-numeric: tabular-nums; }
dialog .sum b { text-align: right; }
dialog menu { display: flex; justify-content: end; gap: 10px; margin: 0; padding: 0; }

/* footer */
.foot { position: relative; padding: 80px 0 40px; border-top: 1px solid var(--line); background: linear-gradient(to bottom, transparent, rgba(139, 107, 255, .08)); overflow: hidden; }
.foot .giant { font-size: clamp(4rem, 17vw, 15rem); font-weight: 800; letter-spacing: -.06em; line-height: .85; text-align: center; margin: 0 0 50px; background: var(--mix); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; user-select: none; }
.foot .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; color: var(--muted); }
.foot a { color: var(--text); text-decoration: none; display: block; padding: 3px 0; opacity: .85; }
.foot a:hover { opacity: 1; color: #9DB2FF; }
.foot h4 { margin: 0 0 10px; color: var(--text); font-size: 1rem; }
.foot .brand { margin-bottom: 12px; opacity: 1; }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; font-size: .9rem; }

/* billing terms switch */
.terms { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 5px; margin: 0 0 34px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); --i: 0; }
.terms button { position: relative; z-index: 1; background: none; border: 0; padding: 12px 26px; font: 700 1rem var(--font); color: var(--muted); cursor: pointer; display: grid; gap: 2px; transition: color .3s; }
.terms button em { font-style: normal; font: 500 .74rem var(--mono); color: var(--ice); }
.terms button[aria-checked="true"] { color: var(--bg); }
.terms button[aria-checked="true"] em { color: #3B2A9A; }
.terms .thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 3); border-radius: 12px; background: var(--text); transform: translateX(calc(var(--i) * 100%)); transition: transform .45s cubic-bezier(.3, 1.4, .5, 1); }
.plan .per { font-size: .9rem; color: var(--muted); min-height: 1.4em; }
.plan .per s { opacity: .6; }

/* sky-angle gauge: fixed on the left edge, driven by scroll (0° horizon .. 90° zenith) */
.hud { position: fixed; left: 22px; top: 50%; transform: translateY(-50%); z-index: 25; display: flex; gap: 12px; align-items: center; pointer-events: none; font: 500 11px var(--mono); color: var(--muted); }
.hud .scale { position: relative; width: 14px; height: 46vh; overflow: hidden; mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); }
.hud .ticks { position: absolute; left: 0; right: 0; top: 0; height: 400%; background: repeating-linear-gradient(to bottom, var(--line-2) 0 1px, transparent 1px 12px), repeating-linear-gradient(to bottom, var(--text) 0 1px, transparent 1px 60px); background-size: 8px 100%, 14px 100%; background-repeat: repeat-y; }
.hud .needle { position: absolute; left: 0; right: -4px; top: 50%; height: 2px; background: var(--copper); }
.hud .read { display: grid; gap: 4px; padding: 8px 10px; border-radius: 10px; background: rgba(4, 5, 10, .8); }
.hud .alt { font-size: 15px; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.hud .stage { color: var(--ice); }

/* hero ascent: pinned stage that lifts away on scroll */
.ascent { position: relative; }
.ascent .hero { position: relative; }

/* horizontal module flight */
.flight { position: relative; overflow: hidden; }
.flight .rail { display: flex; gap: 20px; width: max-content; padding: 0 8vw; }
.flight .card { width: min(40vw, 440px); min-height: 46vh; flex-shrink: 0; display: grid; align-content: space-between; padding: 28px; border-radius: 24px; background: rgba(10, 12, 22, .72); backdrop-filter: blur(14px); border: 1px solid var(--line); }
.flight .card .no { font: 500 .9rem var(--mono); color: var(--ice); }
.flight .card .cmdline { font: 600 clamp(1rem, 1.6vw, 1.35rem) var(--mono); color: var(--copper); letter-spacing: -.02em; word-break: break-word; }
.flight .card h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin: 12px 0 8px; }
.flight .card p { color: var(--muted); font-size: 1rem; }
.flight .card .bot { font: 500 .85rem var(--mono); color: var(--muted); }
.flight-head { padding-top: 100px; }

/* reveal hooks: hidden only when JS animation layer is active */


@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero .wrap, .band-head { grid-template-columns: 1fr; }
  .bot-row { grid-template-columns: 1fr; gap: 14px; padding: 26px; }
  .bot-row ul { columns: 1; }
  .steps, .stats { grid-template-columns: 1fr 1fr; }
  .cmd-row { grid-template-columns: 1fr; gap: 6px; }
  .cmd-row .meta { text-align: left; }
  .cmd-row .meta b { display: inline; margin-right: 6px; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; background: rgba(4, 5, 10, .95); padding: 16px 20px; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-flex !important; margin-right: auto; }
  .cursor-glow { display: none; }
}
.menu-btn { display: none; }
@media (max-width: 600px) {
  .top .wrap { gap: 12px; }
  .steps, .stats { grid-template-columns: 1fr; }
  .account .btn:not(.discord), .account .chip-credit { display: none; }
  .account .btn.discord { padding: 0 12px; font-size: 0; gap: 0; }
  .account .btn.discord svg { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fx [data-reveal] { opacity: 1; }
}
h1 .thin, h2 .thin { font-weight: 300; color: var(--muted); }
.flight { padding-bottom: 80px; }
.group-head { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 48px 0 22px; }
.group-head:first-child { margin-top: 0; }
.group-head .thin { font-size: .55em; letter-spacing: 0; margin-left: 10px; }
.plan .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.plan .chips span { font: 500 .78rem var(--mono); padding: 4px 9px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--text); }
.plan .chips span.soon { color: var(--muted); border-style: dashed; }
.plan .save { font: 500 .85rem var(--mono); color: var(--ice); margin-top: 4px; }
.plan.soon { opacity: .72; }
.plan.soon .price { color: var(--muted); }
.soon-tag { position: absolute; top: 18px; right: 18px; font: 600 .75rem var(--mono); padding: 4px 10px; border-radius: 99px; border: 1px dashed var(--line-2); color: var(--muted); }
.pager { display: flex; gap: 8px; align-items: center; justify-content: end; margin: 22px 0 80px; flex-wrap: wrap; }
.pager .muted { margin-right: auto; }
/* logo: the zenith star turns slowly, faster on hover */
.brand .zstar { transform-origin: 25.5px 7.5px; animation: zspin 9s linear infinite; }
.brand:hover .zstar { animation-duration: 1.6s; }
@keyframes zspin { to { transform: rotate(360deg); } }

/* team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.member { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 20px; background: rgba(10, 12, 22, .7); border: 1px solid var(--line); }
.member img, .member .ph { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; flex-shrink: 0; background: var(--surface-2); }
.member .ph { display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; color: var(--copper); }
.member h3 { margin: 0; font-size: 1.15rem; }
.member .role { font: 500 .8rem var(--mono); color: var(--ice); text-transform: none; margin-top: 3px; }
.member .handle { font-size: .85rem; color: var(--muted); }
.team-edit { display: grid; gap: 12px; }
.team-edit .item { grid-template-columns: 72px 1fr; }
.team-edit .thumb { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; background: var(--surface-2); }
/* brand: the H mark glows like the banner; wordmark in a wide geometric face */
.brand svg { filter: drop-shadow(0 0 6px rgba(120, 150, 255, .7)); }
.brand .wordmark { font-family: "Montserrat", var(--font); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; font-size: 1.02rem; }

/* card spotlight + border beam (added by fx.js on [data-tilt]) */
@property --beam { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.spot { position: relative; isolation: isolate; transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .3s; }
.spot:hover { transform: translateY(-4px); border-color: rgba(120, 140, 255, .35); }
.spot::before { content: ""; position: absolute; inset: 0; right: auto; bottom: auto; width: 100%; height: 100%; left: 0; top: 0;
  border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 1;
  background: conic-gradient(from var(--beam), transparent 0 62%, #4C6BFF 76%, #B9A4FF 84%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s; }
.spot:hover::before { opacity: 1; animation: beam 2.6s linear infinite; }
@keyframes beam { to { --beam: 360deg; } }
.plan.featured.spot::before { opacity: .8; animation: beam 4s linear infinite; }

/* hero dot grid (anime.js ripples it) */
.hero { position: relative; overflow: hidden; }
.dots { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-columns: repeat(var(--cols, 28), 1fr); align-content: space-evenly; justify-items: center; pointer-events: none;
  mask-image: radial-gradient(70% 70% at 60% 50%, #000 30%, transparent 85%); }
.dots i { width: 4px; height: 4px; margin: 14px 0; border-radius: 50%; background: #6F86FF; opacity: .22; }

/* raid demo: a Discord-like window */
.raid { margin: 0; display: grid; grid-template-columns: 190px 1fr; min-height: 380px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2);
  background: #0B0E1A; box-shadow: 0 40px 120px -40px rgba(61, 91, 255, .55); font-size: .92rem; }
.raid-side { background: #080A14; padding: 16px 12px; border-right: 1px solid var(--line); }
.raid-server { font-weight: 700; padding: 0 6px 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.raid-cat { font: 600 .7rem var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding: 0 6px 6px; }
.raid-ch { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.raid-ch li { padding: 6px 8px; border-radius: 6px; color: #AEB5D6; }
.raid-ch li.gone { text-decoration: line-through; color: #FF6B86; }
.raid-main { display: grid; grid-template-rows: auto 1fr auto; }
.raid-head { padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 600; }
.raid-feed { padding: 16px 18px; display: grid; align-content: start; gap: 10px; }
.msg { opacity: 0; }
.msg.evil { color: #FF8FA3; }
.msg.ok { color: #7EE2B0; }
.msg.guard { padding: 12px 14px; border-radius: 10px; background: #111633; border-left: 3px solid #5B74FF; display: grid; gap: 3px; }
.msg.guard .who { font: 600 .78rem var(--mono); color: #9DB2FF; }
.msg.guard .t { font-weight: 700; }
.raid-status { padding: 12px 18px; border-top: 1px solid var(--line); font: 500 .82rem var(--mono); display: flex; align-items: center; gap: 8px; }
.raid-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.raid-status[data-state="ok"] { color: #7EE2B0; }
.raid-status[data-state="bad"] { color: #FF6B86; }
.raid-status[data-state="fix"] { color: #9DB2FF; }
@media (max-width: 600px) { .raid { grid-template-columns: 1fr; } .raid-side { display: none; } }
@media (prefers-reduced-motion: reduce) { .msg { opacity: 1; } }
[hidden] { display: none !important; }
textarea.text { font: 500 .95rem var(--font); padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(4, 5, 10, .7); color: var(--text); resize: vertical; width: 100%; }
textarea.text:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(76, 107, 255, .25); }
.product-edit, #tab-site .item { grid-template-columns: 1fr; }
.check { display: flex; gap: 8px; align-items: center; min-height: 44px; }
/* legal pages */
.legal-doc { max-width: 820px; padding-bottom: 80px; }
.legal-doc section { margin: 40px 0; scroll-margin-top: 90px; }
.legal-doc h2 { font-size: 1.5rem; }
.legal-doc h3 { margin: 22px 0 8px; font-size: 1.05rem; color: #C8D2FF; }
.legal-doc li { margin: 6px 0; color: #C9CEE6; }
.legal-doc p { color: #C9CEE6; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 20px; }
.toc a { font-size: .85rem; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--text); text-decoration: none; }
.toc a:hover { border-color: rgba(120, 140, 255, .5); }
.callout { padding: 16px 20px; border-radius: 14px; background: rgba(61, 91, 255, .08); border: 1px solid rgba(120, 140, 255, .3); margin: 16px 0; }
.callout p { margin: 6px 0; }
table.data { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .92rem; }
.data th, .data td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data th { color: var(--muted); font-weight: 600; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); line-height: 1.5; }
.consent input { margin-top: 3px; flex-shrink: 0; width: 18px; height: 18px; }
.cmd-edit { grid-template-columns: 1fr; }

/* money is the most important text on the page: bright, glowing, never muted */
.plan .price, .balance .v, .price-line { color: #fff; }
.plan .price .amount, .balance .v, .price-line {
  background: linear-gradient(180deg, #FFFFFF 20%, #B7C6FF); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(91, 124, 255, .55)); }
.plan .price small, .price-line small { color: #C3CEFF; font-weight: 600; -webkit-text-fill-color: #C3CEFF; }
.plan .per { color: #D3DBFF; font-weight: 500; }
.plan .per s { opacity: .5; }
.plan .save { color: #8EF0C2; font-weight: 600; }
.plan.soon { opacity: .9; }
.plan.soon .price { color: #fff; }
.price-line { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; }
.chip-credit { color: #fff; border-color: rgba(120, 140, 255, .45); box-shadow: 0 0 14px rgba(91, 124, 255, .35); }
.bot-row.soon { opacity: .85; }
.soon-tag.inline { position: static; display: inline-block; margin-top: 10px; }
.btn[aria-disabled="true"] { opacity: .5; cursor: default; }

/* Discord calls to action (Discord blurple so it is recognised at a glance) */
.btn.discord-cta { background: #5865F2; border-color: #5865F2; color: #fff; box-shadow: 0 8px 28px -10px rgba(88, 101, 242, .9); }
.btn.discord-cta:hover { background: #4752C4; border-color: #4752C4; color: #fff; }
.btn.discord-cta svg { width: 18px; height: 18px; }
.btn.big { min-height: 56px; padding: 0 30px; font-size: 1.08rem; }
.dc-card { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 44px; border-radius: 28px;
  background: radial-gradient(80% 140% at 100% 0%, rgba(88, 101, 242, .35), transparent 60%), rgba(10, 12, 22, .85); border: 1px solid rgba(120, 140, 255, .35); }
.dc-card h2 { margin-bottom: 10px; }
.dc-card p { margin: 0; color: #C9CEE6; }
@media (max-width: 700px) { .dc-card { grid-template-columns: 1fr; padding: 28px; } .discord-cta span { display: none; } }
dialog.confirm form { gap: 22px; }
dialog.confirm p { margin: 0; white-space: pre-line; font-size: 1.05rem; color: var(--text); }
.btn.danger { background: #E5484D; border-color: #E5484D; color: #fff; }
.btn.danger:hover { background: #C93C41; border-color: #C93C41; color: #fff; }
.who-row { display: flex; gap: 14px; align-items: center; }
.avatar.big { width: 52px; height: 52px; flex-shrink: 0; }
.setup-note { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: 12px 16px; border-radius: 12px; background: rgba(88, 101, 242, .12); border: 1px solid rgba(88, 101, 242, .4); color: #DDE2FF; }
.setup-note code { color: #fff; font-weight: 600; }

/* admin product list + editor dialog */
.list-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.list-head p { margin: 0; }
.prod-list { display: grid; gap: 8px; }
.prod-row { display: grid; grid-template-columns: minmax(200px, 1.4fr) 120px 1fr auto; gap: 16px; align-items: center; padding: 14px 18px; border-radius: 14px; background: rgba(10, 12, 22, .85); border: 1px solid var(--line); }
.prod-row:hover { border-color: rgba(120, 140, 255, .35); }
.prod-main { display: grid; gap: 2px; }
.prod-main .muted { font-size: .85rem; }
.prod-price { font-weight: 800; font-size: 1.1rem; color: #fff; }
.prod-price small { color: #C3CEFF; font-weight: 600; }
.prod-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font: 600 .75rem var(--mono); padding: 4px 10px; border-radius: 99px; }
.tag.ok { color: #7EE2B0; background: rgba(74, 222, 155, .12); }
.tag.off { color: #FF8FA3; background: rgba(255, 92, 122, .12); }
.tag.warn { color: #FFC56B; background: rgba(255, 181, 71, .12); }
.tag.star { color: #C9B8FF; background: rgba(139, 107, 255, .16); }
dialog.editor { width: min(860px, 100vw - 32px); max-height: 90vh; overflow: auto; padding: 0; }
dialog.editor .editor-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px 0; }
dialog.editor .editor-head h3 { margin: 0; font-size: 1.3rem; }
dialog.editor form { padding: 20px 26px 26px; background: transparent; border: 0; }
@media (max-width: 800px) { .prod-row { grid-template-columns: 1fr auto; } .prod-tags { grid-column: 1 / -1; } }

/* checkboxes as switches, so on/off is obvious */
.check input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 42px; height: 24px; border-radius: 99px; background: #2A2F45; position: relative; cursor: pointer; transition: background .2s; flex-shrink: 0; margin: 0; }
.check input[type="checkbox"]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #9AA2C0; transition: transform .2s, background .2s; }
.check input[type="checkbox"]:checked { background: linear-gradient(135deg, #3D5BFF, #7A55FF); }
.check input[type="checkbox"]:checked::after { transform: translateX(18px); background: #fff; }
.check input[type="checkbox"]:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.plan .per .saved { color: #8EF0C2; }
