/* Landing page only. Tokens: css/tokens.css. Reset and buttons: css/base.css. */
/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-color: var(--border); }
.nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; }
.brand > span:last-child { color: var(--muted); font-weight: 500; margin-left: -6px; }
.brand__mark { display: block; width: 28px; height: 28px; flex: none; }
.nav__links { display: flex; gap: 6px; }
.nav__links a { padding: 6px 12px; border-radius: 8px; color: var(--muted); font-weight: 500; font-size: .9rem; transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--text); background: var(--surface-2); }
.nav__actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.nav__burger { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 0; }
.hero__aura { position: absolute; inset: 0 0 auto 0; height: 760px; pointer-events: none;
  background: radial-gradient(900px 420px at 50% -10%, var(--aura), transparent 70%);
}
.hero__aura::after { content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(var(--border-strong) 1px, transparent 1px); background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, #000, transparent 75%);
}
.hero__text { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow-sm); font-size: .85rem; font-weight: 500; color: var(--muted); }
.badge:hover { color: var(--text); }
.badge__new { background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.badge .i { width: 14px; height: 14px; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.02; max-width: 880px; margin: 28px 0 22px; letter-spacing: -.045em;
  background: linear-gradient(180deg, var(--text) 40%, color-mix(in srgb, var(--text) 55%, var(--accent))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 620px; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero__note { margin-top: 18px; font-size: .84rem; color: var(--muted); }

/* ---------- App mockup ---------- */
.app {
  position: relative; display: grid; grid-template-columns: 210px 1fr; margin-top: 64px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 18px 18px 0 0; border-bottom: 0;
  box-shadow: var(--shadow-lg); overflow: hidden; text-align: left; font-size: .85rem;
  mask-image: linear-gradient(#000 82%, transparent); -webkit-mask-image: linear-gradient(#000 82%, transparent);
}
.app__side { padding: 18px 14px; border-right: 1px solid var(--border); background: var(--surface-2); display: flex; flex-direction: column; gap: 16px; }
.app__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; padding: 0 6px; }
.app__srv { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.app__srv b { display: block; font-size: .84rem; line-height: 1.2; }
.app__srv small { color: var(--muted); font-size: .72rem; }
.app__side nav { display: flex; flex-direction: column; gap: 2px; }
.app__side nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--muted); font-weight: 500; }
.app__side nav a.is-active { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.dot--live { background: var(--good); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--good) 55%, transparent); } 80%, 100% { box-shadow: 0 0 0 8px transparent; } }

.app__main { padding: 20px 22px 0; min-width: 0; }
.app__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.app__top h3 { font-size: 1.1rem; letter-spacing: -.02em; }
.app__top small { color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--border); font-size: .76rem; font-weight: 600; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { position: relative; padding: 14px 14px 10px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); overflow: hidden; }
.kpi small { color: var(--muted); font-size: .74rem; font-weight: 500; }
.kpi strong { display: block; font-size: 1.5rem; letter-spacing: -.03em; line-height: 1.3; }
.kpi em { font-style: normal; font-size: .74rem; font-weight: 600; color: var(--muted); }
.kpi em.up { color: var(--good); }
.spark { position: absolute; right: 10px; bottom: 12px; width: 70px; height: 28px; }
.spark polyline { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

.panels { display: grid; grid-template-columns: 1.55fr 1fr; gap: 12px; margin-top: 12px; }
.panel { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 14px; min-width: 0; }
.panel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.panel__head b { font-size: .86rem; }
.panel__head small { color: var(--muted); font-size: .72rem; }
.panel__head--sub { margin-top: 16px; }
.feed { display: flex; flex-direction: column; min-height: 268px; overflow: hidden; }
.kill { display: grid; grid-template-columns: 62px 1fr auto 52px; align-items: center; gap: 10px; padding: 9px 4px; border-top: 1px solid var(--border); animation: slideIn .4s cubic-bezier(.2, .8, .2, 1); }
.kill:first-child { border-top: 0; }
.kill time { font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.kill .who { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kill .who b { font-weight: 600; }
.kill .who span { color: var(--kill); margin: 0 6px; font-size: .8rem; }
.kill i { font-style: normal; font-family: var(--mono); font-size: .68rem; padding: 2px 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); white-space: nowrap; }
.kill em { font-style: normal; font-family: var(--mono); font-size: .72rem; color: var(--muted); text-align: right; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); background: color-mix(in srgb, var(--accent) 12%, transparent); } to { opacity: 1; transform: none; } }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 96px; }
.bars span { flex: 1; border-radius: 4px 4px 2px 2px; background: color-mix(in srgb, var(--accent) 35%, transparent); transition: height .6s; }
.bars span:nth-last-child(-n+3) { background: var(--accent); }
.top li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-weight: 500; }
.top span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--surface-2); font-size: .7rem; color: var(--muted); }
.top em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: .75rem; color: var(--muted); }

/* ---------- Works with ---------- */
.works { padding: 56px 0 24px; }
.works__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.works p { color: var(--muted); font-size: .85rem; }
.works ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; }
.works li { font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; color: var(--muted); opacity: .8; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section--tint { background: var(--bg-tint); border-block: 1px solid var(--border); }
.head { text-align: center; max-width: 640px; margin: 0 auto 72px; }
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.08; }
.head p { color: var(--muted); font-size: 1.1rem; margin-top: 16px; }

/* ---------- Feature rows ---------- */
.row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; margin-bottom: 120px; }
.row--flip .row__copy { order: 2; }
.row__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 20px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.row__ic .i { width: 22px; height: 22px; }
.row h3 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); line-height: 1.12; margin-bottom: 14px; }
.row__copy > p { color: var(--muted); font-size: 1.04rem; }
.ticks { margin-top: 24px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 500; font-size: .95rem; }
.ticks .i { color: var(--accent); width: 18px; height: 18px; stroke-width: 2.4; }
.row__ui { position: relative; }
.row__ui::before { content: ''; position: absolute; inset: -24px; z-index: 0; border-radius: 32px; background: radial-gradient(closest-side, var(--aura), transparent); opacity: .6; }
.row__ui > * { position: relative; z-index: 1; }

.card-ui { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 20px; }
.card-ui__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.card-ui__head small { color: var(--muted); }
.seg { display: inline-flex; padding: 3px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); font-size: .75rem; font-weight: 600; }
.seg span { padding: 3px 10px; border-radius: 6px; color: var(--muted); }
.seg .is-on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

.lb { width: 100%; border-collapse: collapse; font-size: .88rem; }
.lb th { text-align: left; color: var(--muted); font-weight: 500; font-size: .74rem; padding: 0 0 10px; }
.lb td { padding: 11px 0; border-top: 1px solid var(--border); font-weight: 500; }
.lb td:first-child { color: var(--muted); width: 28px; font-family: var(--mono); font-size: .78rem; }
.lb td:nth-child(2) { display: flex; align-items: center; gap: 10px; }
.lb td:nth-child(3), .lb td:nth-child(4) { font-family: var(--mono); font-size: .82rem; }
.lb td:last-child { width: 28%; }
.lb td i { display: block; height: 6px; border-radius: 99px; width: var(--w); background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.av { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, hsl(var(--h) 80% 65%), hsl(calc(var(--h) + 50) 70% 45%)); flex: none; }

.heat { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; }
.heat span { aspect-ratio: 1; border-radius: 3px; background: var(--accent); }
.heat__legend { display: flex; align-items: center; gap: 10px; margin-top: 14px; justify-content: flex-end; }
.heat__legend small { color: var(--muted); font-size: .72rem; }
.heat__legend span { width: 90px; height: 6px; border-radius: 99px; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 10%, transparent), var(--accent)); }

.discord { display: grid; gap: 18px; padding: 22px; border-radius: 16px; background: #313338; color: #dbdee1; box-shadow: var(--shadow-lg); }
.discord__msg { display: flex; gap: 14px; }
.discord__av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.discord__body { flex: 1; min-width: 0; }
.discord__head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: .92rem; }
.discord__head b { color: #fff; }
.discord__head small { background: #5865f2; color: #fff; font-size: .6rem; font-weight: 700; padding: 1px 5px; border-radius: 4px; }
.discord__head time { color: #949ba4; font-size: .72rem; }
.embed { border-left: 4px solid var(--accent-2); background: #2b2d31; border-radius: 4px; padding: 12px 16px; }
.embed--gold { border-color: #f5b83d; }
.embed h4 { color: #fff; font-size: .95rem; margin-bottom: 10px; }
.embed dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.embed dt { font-size: .72rem; font-weight: 700; color: #fff; }
.embed dd { font-size: .86rem; }

.mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.mini > div { padding: 28px; background: var(--bg); }
.mini .i { width: 22px; height: 22px; color: var(--accent); margin-bottom: 14px; }
.mini h4 { font-size: 1rem; margin-bottom: 6px; letter-spacing: -.01em; }
.mini p { color: var(--muted); font-size: .9rem; }

/* ---------- Flow ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.flow li { padding: 28px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.flow__n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: #fff; font-weight: 700; font-size: .85rem; margin-bottom: 18px; }
.flow h3 { font-size: 1.2rem; margin-bottom: 8px; letter-spacing: -.02em; }
.flow p { color: var(--muted); font-size: .94rem; }
.flow__ui { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); font-size: .85rem; }
.flow__ui code { font-family: var(--mono); font-size: .76rem; color: var(--muted); }
.flow__ui span:last-child { margin-left: auto; font-family: var(--mono); color: var(--muted); }
.flow__ui small { margin-left: auto; color: var(--good); font-weight: 600; }

/* ---------- Pricing ---------- */
.toggle { display: inline-flex; margin-top: 28px; padding: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.toggle button { border: 0; background: transparent; padding: 7px 18px; border-radius: 9px; font-weight: 600; font-size: .88rem; color: var(--muted); }
.toggle button.is-on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.toggle small { color: var(--good); font-weight: 700; margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }
.plan--pop { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(160deg, var(--accent-2), var(--accent) 60%, transparent) border-box; border: 1.5px solid transparent; box-shadow: var(--shadow-lg); }
.plan__badge { position: absolute; top: 20px; right: 20px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 1.15rem; letter-spacing: -.02em; }
.plan__desc { color: var(--muted); font-size: .92rem; margin-top: 2px; }
.price { margin: 22px 0; display: flex; align-items: baseline; gap: 6px; }
.price span { font-size: 3.4rem; font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.price small { color: var(--muted); }
.plan ul { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); display: grid; gap: 13px; font-size: .92rem; }
.plan li { display: flex; gap: 12px; align-items: center; }
.plan li .i { color: var(--accent); width: 17px; height: 17px; stroke-width: 2.4; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; align-items: start; }
.faq__intro { position: sticky; top: 100px; }
.faq__intro h2 { margin-bottom: 14px; }
.faq__intro p { color: var(--muted); }
.faq__intro a { color: var(--accent); font-weight: 600; }
.faq__list details { border-bottom: 1px solid var(--border); }
.faq__list summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 600; font-size: 1.04rem; display: flex; justify-content: space-between; gap: 16px; letter-spacing: -.01em; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--muted); font-weight: 400; transition: transform .2s; }
.faq__list details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq__list p { color: var(--muted); padding: 0 40px 22px 0; }

/* ---------- CTA ---------- */
.cta { padding: 112px 0; }
.cta__box { position: relative; overflow: hidden; text-align: center; padding: 88px 28px; border-radius: 28px; background: var(--surface); border: 1px solid var(--border-strong); }
.cta__box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% 120%, var(--aura), transparent 70%), radial-gradient(var(--border-strong) 1px, transparent 1px) 0 0 / 24px 24px; mask-image: linear-gradient(transparent, #000 90%); -webkit-mask-image: linear-gradient(transparent, #000 90%); }
.cta__box > * { position: relative; }
.cta__box h2 { max-width: 640px; margin: 0 auto; }
.cta__box p { margin-top: 16px; color: var(--muted); font-size: 1.1rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 28px; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand p { color: var(--muted); margin-top: 14px; max-width: 300px; font-size: .92rem; }
.footer__cols { display: flex; gap: 72px; flex-wrap: wrap; }
.footer__cols h4 { font-size: .82rem; color: var(--text); margin-bottom: 14px; font-weight: 600; }
.footer__cols a { display: block; margin-bottom: 10px; font-size: .92rem; color: var(--muted); }
.footer__cols a:hover { color: var(--text); }
.footer__legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: .84rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .row, .faq { grid-template-columns: 1fr; gap: 40px; }
  .row--flip .row__copy { order: 0; }
  .row { margin-bottom: 80px; }
  .faq__intro { position: static; }
  .flow, .plans { grid-template-columns: 1fr; }
  .plans { max-width: 460px; margin-inline: auto; }
  .mini { grid-template-columns: 1fr 1fr; }
  .panels { grid-template-columns: 1fr; }
  .panel--side { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav__inner { grid-template-columns: auto 1fr; }
  .nav__burger { display: grid; }
  .nav__signin { display: none; }
  .nav__links { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 20px 16px; display: none; }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 4px; }
  .app { grid-template-columns: 1fr; }
  .app__side { display: none; }
}
@media (max-width: 560px) {
  .hero { padding-top: 44px; }
  .section, .cta { padding: 72px 0; }
  .mini { grid-template-columns: 1fr; }
  .kill { grid-template-columns: 1fr auto; }
  .kill time, .kill em { display: none; }
  .nav__actions .btn--primary { display: none; }
  .head { margin-bottom: 48px; }
  .discord { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
