/* ============================================================
   ClutchTick site design system (room-first, premium dark)
   ============================================================ */
:root {
  --bg: #080b11;
  --bg-2: #0a0e14;
  --surface: #111824;
  --surface-2: #0e141d;
  --border: #1e2a3a;
  --border-soft: #18222f;
  --muted: #8b9bb0;
  --muted-2: #6b7a8d;
  --text: #e6edf3;
  --accent: #3b82f6;
  --accent-strong: #2563eb;
  --cyan: #22d3ee;
  --good: #34d399;
  --warn: #fbbf24;
  --pro: #a855f7;
  --radius: 16px;
  --maxw: 1140px;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  background:
    radial-gradient(1200px 620px at 82% -12%, rgba(59, 130, 246, 0.12), transparent 58%),
    radial-gradient(900px 520px at -12% 18%, rgba(34, 211, 238, 0.07), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(59, 130, 246, 0.35); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--border), #243246); border-radius: 999px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(#2a3a52, #34507a); }
.center { text-align: center; }
.muted { color: var(--muted); }
.cyan { color: var(--cyan); }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent);
}
.gradient {
  background: linear-gradient(92deg, #ffffff 0%, #7cc1ff 45%, #22d3ee 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- skip-to-content link (a11y): hidden until keyboard-focused ---------- */
.skip-link { position: fixed; left: 8px; top: -64px; z-index: 200; padding: 11px 18px; border-radius: 0 0 11px 11px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none;
  box-shadow: 0 10px 26px -10px rgba(0,0,0,0.7); transition: top 0.16s ease; }
.skip-link:focus { top: 0; outline: 2px solid #fff; outline-offset: 2px; }
/* On-brand text selection (instead of the generic UA blue) */
::selection { background: rgba(59,130,246,0.55); color: #fff; text-shadow: none; }
::-moz-selection { background: rgba(59,130,246,0.55); color: #fff; text-shadow: none; }
/* Back-to-top button (injected by nav.js on long marketing pages) */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 45; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--text); background: rgba(17,24,36,0.92); border: 1px solid var(--border); box-shadow: 0 14px 32px -14px rgba(0,0,0,0.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px) scale(0.94); transition: opacity 0.22s ease, transform 0.22s ease, border-color 0.18s ease, background 0.18s ease; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { border-color: rgba(59,130,246,0.6); background: rgba(23,32,48,0.96); transform: translateY(-2px); }
.to-top svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { .to-top { transition: opacity 0.2s ease; } .to-top:hover { transform: none; } }
#main:focus { outline: none; }
/* Consistent, on-brand keyboard-focus ring. :focus-visible = keyboard nav only, so mouse
   clicks show no ring. Replaces the near-invisible dark UA outline on the dark theme. */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(16, 24, 39, 0.94) 0%, rgba(9, 13, 20, 0.78) 100%);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 16px 50px -30px rgba(34, 211, 238, 0.6);
}
header.site::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.55), rgba(34, 211, 238, 0.55), transparent);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 18px; }
.logo { display: flex; align-items: center; gap: 13px; font-weight: 800; letter-spacing: -0.02em; }
.logo img { height: 42px; width: auto; filter: drop-shadow(0 2px 10px rgba(34, 211, 238, 0.35)); }
.logo .mark {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center;
}
.logo .mark img, .logo .mark svg { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 2px 10px rgba(34, 211, 238, 0.4)); }
.logo .wm { font-size: 23px; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.logo .wm b { font-weight: 800; background: linear-gradient(92deg, #60a5fa, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo.logo-sm .mark { width: 34px; height: 34px; }
.logo.logo-sm .mark img, .logo.logo-sm .mark svg { width: 34px; height: 34px; }
.logo.logo-sm .wm { font-size: 19px; }
.nav-links { display: none; align-items: center; gap: 30px; font-size: 14.5px; color: var(--muted); }
.nav-links a { position: relative; padding: 4px 0; transition: color 0.16s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--cyan)); transition: right 0.22s ease; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { right: 0; }
.nav-links a.on, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a.on::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: 11px; flex: none; }
@media (min-width: 920px) { .nav-links { display: flex; flex: 1; justify-content: center; } }

/* ---------- mobile hamburger menu (<920px) ---------- */
.nav-burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 11px; flex: none; box-sizing: border-box;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); border-radius: 11px;
  cursor: pointer; transition: border-color 0.16s, background 0.16s;
}
.nav-burger:hover { border-color: rgba(59, 130, 246, 0.5); background: rgba(59, 130, 246, 0.08); }
.nav-burger span { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform 0.22s ease, opacity 0.18s ease; }
@media (min-width: 920px) { .nav-burger { display: none; } }
header.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
header.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 919px) {
  header.nav-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: linear-gradient(180deg, rgba(16, 24, 39, 0.98) 0%, rgba(9, 13, 20, 0.98) 100%);
    backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.18);
    padding: 8px 22px 16px; gap: 0;
    box-shadow: 0 26px 44px -16px rgba(0, 0, 0, 0.6);
    animation: navdrop 0.2s ease;
  }
  header.nav-open .nav-links a { padding: 14px 6px; font-size: 15.5px; color: #d6def0; border-bottom: 1px solid rgba(255, 255, 255, 0.055); }
  header.nav-open .nav-links a:last-child { border-bottom: none; }
  header.nav-open .nav-links a::after { display: none; }
  header.nav-open .nav-links a.on, header.nav-open .nav-links a[aria-current="page"] { color: var(--cyan); }
}
@keyframes navdrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  font-weight: 600; font-size: 14.5px; border-radius: 11px; padding: 11px 18px;
  border: 1px solid transparent; cursor: pointer; transition: all 0.16s ease; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); color: #fff; box-shadow: 0 10px 30px -10px rgba(34, 211, 238, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 16px 40px -10px rgba(34, 211, 238, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-ghost { border-color: var(--border); color: #fff; background: rgba(255, 255, 255, 0.025); }
.btn-ghost:hover { border-color: rgba(59, 130, 246, 0.55); background: rgba(59, 130, 246, 0.08); transform: translateY(-1px); }
.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 13px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: 18px; }
.grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(34, 211, 238, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34, 211, 238, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 35%, transparent 100%);
}
.glow { position: absolute; z-index: 0; border-radius: 50%; filter: blur(130px); pointer-events: none; }
.glow.a { top: -160px; right: -80px; width: 520px; height: 520px; background: rgba(59, 130, 246, 0.22); }
.glow.b { bottom: -220px; left: -120px; width: 460px; height: 460px; background: rgba(34, 211, 238, 0.12); }
.hero-inner { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; padding: 58px 0 40px; }
@media (min-width: 1000px) { .hero-inner { grid-template-columns: 1.05fr 1fr; padding: 78px 0 56px; } }

.pill {
  display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
h1 { margin-top: 22px; font-size: clamp(42px, 7.2vw, 70px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; color: var(--text); }
.sub { margin-top: 22px; max-width: 540px; font-size: 18.5px; color: var(--muted); }
.sub b { color: #fff; font-weight: 600; }
.hero-btns { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 13px; }
.hero-note { margin-top: 18px; display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); }
.hero-note .ok { color: var(--good); }

/* ---------- app window mock ---------- */
.appwin {
  position: relative; border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  background: var(--surface); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  transform: perspective(1700px) rotateY(-13deg) rotateX(5deg);
}
.appwin .bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.appwin .bar i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.appwin .bar .r { background: #f87171; } .appwin .bar .y { background: #fbbf24; } .appwin .bar .g { background: #34d399; }
.appwin .bar .name { margin-left: 8px; font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: -0.01em; }
.appwin .bar .badge { margin-left: auto; font-size: 9px; font-weight: 700; color: var(--accent); background: rgba(59, 130, 246, 0.15); padding: 3px 9px; border-radius: 999px; }
.appwin .body { display: flex; min-height: 250px; }
.appwin .rail { width: 56px; border-right: 1px solid var(--border); padding: 12px 0; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.appwin .rail .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.appwin .rail .ic.on { background: rgba(59, 130, 246, 0.16); color: var(--accent); }
.appwin .side { width: 150px; border-right: 1px solid var(--border); padding: 13px 10px; display: none; }
.appwin .side .lbl { font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); margin: 10px 4px 5px; font-weight: 700; }
.appwin .side .row { display: flex; align-items: center; gap: 7px; padding: 6px; border-radius: 7px; font-size: 12px; }
.appwin .side .row:hover { background: var(--surface-2); }
.appwin .side .av { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, rgba(59,130,246,0.6), rgba(34,211,238,0.4)); flex: none; }
.appwin .side .live { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--good); }
.appwin .stage { flex: 1; padding: 16px; background: radial-gradient(120% 100% at 0 0, rgba(59,130,246,0.08), transparent 55%); }
.appwin .stage .tag { display: inline-block; font-size: 10px; font-weight: 700; color: var(--accent); background: rgba(59,130,246,0.14); padding: 3px 9px; border-radius: 999px; }
.appwin .stage h4 { margin-top: 11px; font-size: 16px; letter-spacing: -0.02em; }
.appwin .stage p { margin-top: 5px; font-size: 11.5px; color: var(--muted); max-width: 220px; }
.appwin .stage .stats { margin-top: 14px; display: flex; gap: 8px; }
.appwin .stage .stat { border: 1px solid var(--border); border-radius: 9px; padding: 8px 11px; text-align: center; background: var(--bg-2); }
.appwin .stage .stat b { display: block; font-size: 14px; color: var(--good); font-variant-numeric: tabular-nums; }
.appwin .stage .stat span { font-size: 8.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-2); }
.appwin .dock { display: flex; align-items: center; gap: 9px; border-top: 1px solid var(--border); background: var(--surface-2); padding: 9px 14px; }
.appwin .dock .d { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--border); font-size: 12px; }
.appwin .dock .ptt { margin: 0 auto; font-size: 11px; font-weight: 700; color: #fff; padding: 7px 20px; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--cyan)); box-shadow: 0 0 0 2px rgba(34,211,238,0.3); }
.appwin .dock .ping { font-size: 10px; color: var(--good); }
@media (min-width: 560px) { .appwin .side { display: block; } }
.floaty { position: absolute; z-index: 2; border: 1px solid rgba(59,130,246,0.4); background: rgba(17,24,36,0.92); backdrop-filter: blur(6px); border-radius: 13px; padding: 11px 14px; box-shadow: 0 18px 40px -16px rgba(0,0,0,0.7); }
.floaty.gauge { left: -22px; bottom: 34px; display: none; }
.floaty .ttl { font-size: 9px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.floaty .big { font-size: 22px; font-weight: 800; color: var(--good); font-variant-numeric: tabular-nums; }
.floaty .cap { font-size: 10px; color: var(--muted); }
@media (min-width: 1100px) { .floaty.gauge { display: block; } }

/* ---------- generic sections ---------- */
section.block { padding: 64px 0; position: relative; }
.h2 { font-size: clamp(28px, 4.2vw, 40px); font-weight: 800; letter-spacing: -0.025em; margin-top: 12px; line-height: inherit; }
.lead { max-width: 560px; margin: 14px auto 0; color: var(--muted); font-size: 16.5px; }

/* strip */
.strip {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  background: rgba(17, 24, 36, 0.55); border: 1px solid var(--border); border-radius: 20px; padding: 13px; backdrop-filter: blur(8px);
}
@media (min-width: 720px) { .strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .strip { grid-template-columns: repeat(6, 1fr); } }
.chip { display: flex; align-items: center; gap: 11px; padding: 11px; border-radius: 12px; }
.chip .ic { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(59, 130, 246, 0.12); color: var(--accent); }
.chip b { font-size: 13.5px; display: block; }
.chip span { font-size: 11.5px; color: var(--muted); }

/* card grids */
.grid { display: grid; grid-template-columns: 1fr; gap: 15px; margin-top: 40px; }
.grid.c2 { } .grid.c3 { } .grid.c4 { }
@media (min-width: 640px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid.c3 { grid-template-columns: repeat(3, 1fr); } .grid.c4 { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: 18px; padding: 1px; background: linear-gradient(160deg, rgba(59,130,246,0.35), transparent 40%); -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 0.18s; pointer-events: none; }
.card:hover { border-color: rgba(59, 130, 246, 0.5); transform: translateY(-3px); box-shadow: 0 22px 55px -30px rgba(34, 211, 238, 0.55); }
.card:hover::before { opacity: 1; }
.card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(59, 130, 246, 0.12); color: var(--accent); font-size: 20px; }
.card h3 { margin-top: 16px; font-size: 16.5px; letter-spacing: -0.01em; }
.card p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.card.hot { border-color: rgba(59, 130, 246, 0.5); background: linear-gradient(165deg, var(--surface), var(--surface-2)); box-shadow: 0 0 0 1px rgba(59,130,246,0.1), 0 18px 50px -24px rgba(34,211,238,0.35); }
.free { font-size: 10px; font-weight: 800; color: var(--accent); background: rgba(59,130,246,0.16); padding: 3px 9px; border-radius: 999px; letter-spacing: 0.04em; }

/* steps */
.steps { counter-reset: s; display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px 22px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 22px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), var(--cyan)); box-shadow: 0 8px 20px -8px rgba(34,211,238,0.6); }
.step h3 { margin-top: 14px; font-size: 17px; }
.step p { margin-top: 7px; font-size: 14px; color: var(--muted); }

/* esports highlight */
.highlight { display: grid; gap: 30px; align-items: center; border: 1px solid rgba(59,130,246,0.3); border-radius: 24px; padding: 30px; background: linear-gradient(160deg, var(--surface), var(--surface-2)); box-shadow: 0 0 0 1px rgba(59,130,246,0.08), 0 30px 70px -34px rgba(34,211,238,0.3); }
@media (min-width: 860px) { .highlight { grid-template-columns: 1fr 1fr; padding: 46px; } }
.tagrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--accent); background: rgba(59,130,246,0.15); padding: 6px 13px; border-radius: 999px; }
.checklist { margin-top: 22px; display: grid; gap: 11px; }
.checklist li { list-style: none; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14.5px; }
.checklist .ok { color: var(--good); flex: none; }
.statgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.statbox { border: 1px solid var(--border); background: var(--bg-2); border-radius: 13px; padding: 16px 12px; text-align: center; }
.statbox b { display: block; font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; }
.statbox span { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-top: 4px; display: block; }

/* comparison */
.tablewrap { margin-top: 40px; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
thead tr { background: var(--surface-2); text-align: left; }
th, td { padding: 15px 18px; }
th.cmid { text-align: center; color: var(--accent); }
th.cright { text-align: center; color: var(--muted); }
tbody tr { border-top: 1px solid var(--border-soft); }
tbody tr:nth-child(even) { background: rgba(17, 24, 36, 0.4); }
td.mid { text-align: center; background: rgba(59,130,246,0.05); font-weight: 700; color: var(--accent); }
td.right { text-align: center; color: var(--muted); }
.ok-i { color: var(--good); } .no-i { color: var(--muted-2); }
/* homepage comparison teaser */
.cmp-home { max-width: 720px; margin: 36px auto 0; text-align: left; }
.cmp-home td:first-child { font-weight: 500; color: var(--text); }
.cmp-home .ci { width: 20px; height: 20px; vertical-align: middle; }
.cmp-home .cmp-part { font-size: 12.5px; font-weight: 700; color: var(--warn, #f59e0b); }
.cmp-fair { max-width: 640px; margin: 16px auto 0; text-align: center; font-size: 13px; color: var(--muted); }
.cmp-cta { margin-top: 22px; }
@media (max-width: 560px) { .cmp-home th, .cmp-home td { padding: 12px 12px; } .cmp-home td:first-child { font-size: 13px; } }
/* "Works everywhere" platforms section (4.2h) — .pe-* to avoid colliding with the
   download page's existing .plat-grid/.plat-card */
.pe-grid { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 980px; margin: 38px auto 0; text-align: left; }
@media (min-width: 760px) { .pe-grid { grid-template-columns: repeat(3, 1fr); } }
.pe-card { border: 1px solid var(--border); border-radius: 18px; padding: 26px 24px; background: var(--surface); transition: transform .18s, border-color .18s; }
.pe-card:hover { transform: translateY(-4px); border-color: rgba(46,230,255,.3); }
.pe-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.pe-ic svg { width: 26px; height: 26px; }
.pe-ic.blue { background: rgba(47,123,255,.15); color: #5b9bff; }
.pe-ic.purple { background: rgba(168,85,247,.15); color: #c084fc; }
.pe-ic.green { background: rgba(52,211,153,.15); color: #34d399; }
.pe-card h3 { font-size: 18px; margin-bottom: 8px; color: #fff; }
.pe-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.pe-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.pe-chips span { font-size: 11.5px; font-weight: 600; color: var(--muted); background: rgba(255,255,255,.05); border: 1px solid var(--border); padding: 4px 10px; border-radius: 999px; }

/* cta band */
.ctaband { position: relative; overflow: hidden; text-align: center; border: 1px solid rgba(59,130,246,0.3); border-radius: 26px; padding: 56px 26px; background: linear-gradient(160deg, var(--surface), var(--surface-2)); box-shadow: 0 0 0 1px rgba(59,130,246,0.08), 0 30px 80px -34px rgba(34,211,238,0.35); }
.ctaband .blob { position: absolute; bottom: -120px; left: 50%; transform: translateX(-50%); width: 320px; height: 320px; border-radius: 50%; background: rgba(59,130,246,0.2); filter: blur(110px); }
.ctaband > * { position: relative; }

/* footer */
footer.site { border-top: 1px solid rgba(30, 42, 58, 0.6); padding: 50px 0 40px; margin-top: 40px; color: var(--muted); font-size: 14px; }
.foot-grid { display: grid; gap: 30px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 2fr; } }
.foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (min-width: 560px) { .foot-cols { grid-template-columns: repeat(3, 1fr); } }
.foot-cols h5 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.foot-cols a { display: block; padding: 4px 0; }
.foot-cols a:hover { color: #fff; }
.foot-bottom { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border-soft); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted-2); }
.badge-soon { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--cyan); background: rgba(34, 211, 238, 0.08); border: 1px solid rgba(34, 211, 238, 0.25); border-radius: 999px; padding: 6px 13px; }

/* download page */
.dl-grid { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 720px) { .dl-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   marketing inline icons (custom stroke glyphs, no emoji)
   ============================================================ */
svg.mi { display: inline-flex; width: 1em; height: 1em; flex: none; vertical-align: -0.14em; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.card .ic svg.mi { width: 23px; height: 23px; }
.chip .ic svg.mi { width: 19px; height: 19px; }
.appwin .rail .ic svg.mi { width: 17px; height: 17px; }
.appwin .dock .d svg.mi { width: 15px; height: 15px; }
.appwin .bar .badge svg.mi, .appwin .stage .tag svg.mi, .tagrow svg.mi { width: 12px; height: 12px; vertical-align: -0.1em; }
.feat .ic svg.mi { width: 21px; height: 21px; }


/* legal / prose pages (privacy, terms) */
.legal { padding: 54px 0 10px; }
.legal .lead { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; }
.legal .updated { color: var(--muted-2); font-size: 13.5px; margin-top: 14px; }
.legal .intro { color: var(--muted); font-size: 16px; margin-top: 16px; }
/* legal "On this page" table of contents */
.legal-toc { max-width: 760px; margin: 4px 0 30px; padding: 16px 20px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.lt-h { font-size: 11.5px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 10px; }
.lt-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 26px; counter-reset: lt; }
.lt-list li { counter-increment: lt; }
.legal-toc .lt-list li { padding-left: 0; }
.legal-toc .lt-list li::before { content: none; }
.lt-list a { display: flex; gap: 8px; padding: 6px 2px; font-size: 14px; line-height: 1.35; color: var(--muted); transition: color 0.14s; }
.lt-list a::before { content: counter(lt); flex: none; width: 16px; color: var(--accent); font-weight: 700; }
.lt-list a:hover { color: #fff; }
@media (max-width: 640px) { .lt-list { grid-template-columns: 1fr; } }
.legal section[id] { scroll-margin-top: 92px; }
.prose { max-width: 800px; margin-top: 30px; }
.prose section { padding: 22px 0; border-top: 1px solid var(--border-soft); }
.prose section:first-child { border-top: 0; }
.prose h2 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: #fff; }
.prose h2 .n { color: var(--accent); font-variant-numeric: tabular-nums; margin-right: 10px; }
.prose p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.prose ul { margin: 12px 0 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.prose li { color: var(--muted); font-size: 15px; padding-left: 24px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; border-radius: 2px; background: linear-gradient(135deg, var(--accent), var(--cyan)); }
.prose a { color: var(--cyan); }
.prose a:hover { text-decoration: underline; }
.prose b { color: var(--text); }
.legal-note { margin-top: 26px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2); color: var(--muted); font-size: 13.5px; }
.dl-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; }
.dl-card.primary { border-color: rgba(59,130,246,0.5); box-shadow: 0 0 0 1px rgba(59,130,246,0.1), 0 18px 50px -26px rgba(34,211,238,0.4); }
.dl-card .os { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: rgba(59,130,246,0.12); color: var(--accent); }
.dl-card h3 { margin-top: 16px; font-size: 20px; }
.dl-card .meta { margin-top: 4px; font-size: 13px; color: var(--muted); }
.dl-card .spacer { flex: 1; }
.dl-card .dlbtn { margin-top: 20px; }
.tagver { font-size: 11px; color: var(--muted-2); margin-top: 10px; }
.reqs { margin-top: 18px; display: grid; gap: 10px; }
.reqs li { list-style: none; display: flex; gap: 10px; color: var(--muted); font-size: 14px; }
.reqs .ok { color: var(--good); }
.feat-row { display: grid; gap: 15px; margin-top: 18px; }
@media (min-width: 760px) { .feat-row { grid-template-columns: repeat(2, 1fr); } }
.feat { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface); }
.feat .ic { width: 42px; height: 42px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(59,130,246,0.12); color: var(--accent); font-size: 18px; }
.feat h4 { font-size: 15px; } .feat p { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* ============================================================
   mobile polish (<=620px): keep the public site flawless on phones
   ============================================================ */
@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  /* nav: show only the primary CTA so it never overflows/clips */
  .nav { height: 64px; gap: 10px; }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta .btn { padding: 9px 15px; font-size: 13.5px; }
  .logo .wm { font-size: 19px; }
  /* hero: flatten the 3D app mock so it can't bleed off-screen */
  .hero-inner { gap: 30px; padding: 30px 0 28px; }
  .appwin { transform: none; }
  .sub { font-size: 16.5px; }
  .hero-btns { gap: 10px; }
  .hero-btns .btn-lg { padding: 13px 18px; font-size: 15px; flex: 1 1 auto; }
  /* sections breathe a little less on phones */
  .block { padding-top: 4px; }
  .floaty.gauge { display: none; }
}
@media (max-width: 380px) {
  .nav-links, .nav-cta .btn span { font-size: 13px; }
  h1 { font-size: clamp(34px, 9vw, 44px); }
}

/* ============================================================
   REDESIGN 2026: full landing page (matches website-design.png)
   ============================================================ */

/* hero copy + two-line download buttons + trust badges */
.hero-copy h1 { margin-top: 6px; }
.btn-dl { padding: 12px 22px; text-align: left; }
.btn-dl svg { width: 22px; height: 22px; flex: none; }
.btn-dl .bl { display: flex; flex-direction: column; line-height: 1.15; }
.btn-dl .bl b { font-size: 15px; font-weight: 700; }
.btn-dl .bl i { font-style: normal; font-size: 11.5px; opacity: 0.8; font-weight: 500; }
.hero-badges { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 26px; }
.hbadge { display: flex; align-items: center; gap: 11px; }
.hbadge .hb-ic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(59,130,246,0.12); color: var(--accent); }
.hbadge .hb-ic svg { width: 20px; height: 20px; }
.hbadge b { display: block; font-size: 14px; }
.hbadge span { font-size: 12.5px; color: var(--muted); }

/* ---------- hero app mockup ---------- */
.hero-app-wrap { position: relative; }
.hero-app-wrap::before { content: ""; position: absolute; inset: -8% -6% -12% -6%; background: radial-gradient(60% 60% at 60% 35%, rgba(59,130,246,0.35), transparent 70%); filter: blur(30px); z-index: 0; }
/* real-app screenshot in a browser-style frame (replaces the illustrated mock) */
.app-shot { position: relative; z-index: 1; margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: #0c121c; box-shadow: 0 44px 100px -34px rgba(0,0,0,0.9), 0 0 0 1px rgba(59,130,246,0.1); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.app-shot:hover { transform: translateY(-6px); }
.app-shot-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 38px; padding: 0 14px; background: #0e1620; border-bottom: 1px solid var(--border); }
.asb-dots { justify-self: start; display: inline-flex; gap: 7px; }
.asb-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.asb-dots i:nth-child(1) { background: #ff5f57; } .asb-dots i:nth-child(2) { background: #febc2e; } .asb-dots i:nth-child(3) { background: #28c840; }
.asb-url { justify-self: center; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 4px 16px; }
.asb-url svg { width: 12px; height: 12px; opacity: 0.7; }
.app-shot img { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) { .app-shot { transition: none; } }
.heroapp {
  position: relative; z-index: 1; border: 1px solid rgba(59,130,246,0.28); border-radius: 14px; overflow: hidden;
  background: #0b1119; box-shadow: 0 50px 100px -34px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.03);
  transform: perspective(2000px) rotateY(-11deg) rotateX(4deg); transform-origin: center;
  font-size: 11px;
}
.ha-top { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 12px; background: #0e151f; border-bottom: 1px solid #1b2636; }
.ha-brand { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 11px; color: #fff; }
.ha-brand img { width: 15px; height: 15px; }
.ha-search { flex: 1; max-width: 200px; margin: 0 auto; background: #070b11; border: 1px solid #1b2636; border-radius: 7px; padding: 4px 9px; font-size: 10px; color: var(--muted-2); }
.ha-tools { display: flex; gap: 8px; }
.ha-tools i { width: 6px; height: 6px; border-radius: 50%; background: #2a3a4f; }
.ha-win { display: flex; gap: 6px; margin-left: 2px; }
.ha-win i { width: 9px; height: 9px; border-radius: 2px; background: #1d2939; }
.ha-win i.x { background: #b3344150; }
.ha-body { display: grid; grid-template-columns: 116px 1fr 118px; min-height: 318px; }
.ha-side { border-right: 1px solid #18222f; padding: 9px 8px; background: #0a1018; }
.ha-nav { display: flex; align-items: center; gap: 7px; padding: 5px 7px; border-radius: 7px; color: var(--muted); font-weight: 600; }
.ha-nav.on { background: rgba(59,130,246,0.16); color: #cfe1ff; }
.ha-nav .d { width: 12px; height: 12px; border-radius: 3px; background: currentColor; opacity: 0.85; }
.ha-h { font-size: 8.5px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted-2); font-weight: 700; margin: 11px 6px 5px; }
.ha-item { display: flex; align-items: center; gap: 7px; padding: 4px 7px; border-radius: 6px; color: #aebccd; }
.ha-item span { margin-left: auto; font-size: 8.5px; color: var(--muted-2); }
.ha-item .rdot, .ha-item .cdot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.rdot.a, .hr-ic.a { background: #a855f7; } .rdot.b, .hr-ic.b { background: #34d399; }
.rdot.c, .hr-ic.c { background: #3b82f6; } .rdot.d, .hr-ic.d { background: #fbbf24; }
.rdot.e, .hr-ic.e { background: #ef4444; } .hr-ic.f { background: #22d3ee; }
.cdot { border-radius: 4px !important; } .cdot.a { background: #7c5cff; } .cdot.b { background: #2dd4bf; }
.ha-add { font-size: 9.5px; color: var(--accent); padding: 5px 7px; }
.ha-main { padding: 12px 13px; }
.ha-greet b { font-size: 14px; color: #fff; font-weight: 800; }
.ha-greet span { display: block; font-size: 10px; color: var(--muted); margin-top: 1px; }
.ha-rooms { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ha-room { background: #0e151f; border: 1px solid #1a2536; border-radius: 9px; padding: 9px; }
.ha-room .hr-ic { width: 22px; height: 22px; border-radius: 7px; display: block; opacity: 0.92; }
.ha-room b { display: block; margin-top: 7px; font-size: 11px; color: #eaf1f8; }
.ha-room i { font-style: normal; font-size: 9px; color: var(--muted-2); }
.ha-fr-h { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 11px; font-weight: 700; color: #dde7f1; }
.ha-fr-h span { font-size: 9.5px; color: var(--accent); font-weight: 600; }
.ha-friends { margin-top: 9px; display: flex; gap: 7px; }
.ha-friends .fa { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #0b1119; }
.fa.a { background: linear-gradient(135deg,#3b82f6,#22d3ee); } .fa.b { background: linear-gradient(135deg,#a855f7,#ec4899); }
.fa.c { background: linear-gradient(135deg,#34d399,#22d3ee); } .fa.d { background: linear-gradient(135deg,#fbbf24,#f97316); }
.fa.e { background: linear-gradient(135deg,#ef4444,#a855f7); }
.ha-ctx { border-left: 1px solid #18222f; padding: 10px 9px; background: #0a1018; }
.ha-c-h { font-size: 8.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); font-weight: 700; margin: 4px 2px 6px; }
.ha-c-h:not(:first-child) { margin-top: 12px; }
.ha-c-card { background: #0e151f; border: 1px solid #1a2536; border-radius: 8px; padding: 8px 9px; }
.ha-c-card b { display: block; font-size: 10.5px; color: #eaf1f8; }
.ha-c-card span { font-size: 9px; color: var(--muted-2); }
.ha-c-row { font-size: 10px; color: #aebccd; padding: 6px 9px; background: #0d141d; border: 1px solid #18222f; border-radius: 7px; margin-bottom: 5px; }
.ha-dock { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 13px; background: #0e151f; border-top: 1px solid #1b2636; }
.ha-dock .hd-room { display: flex; align-items: center; gap: 7px; font-size: 10px; color: #dde7f1; font-weight: 600; }
.ha-dock .hd-room i { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 7px #34d399; }
.ha-dock .hd-room em { font-style: normal; color: var(--muted-2); font-weight: 500; font-size: 9px; }
.ha-dock .hd-ctrls { display: flex; gap: 7px; margin-left: auto; }
.ha-dock .hd-ctrls i { width: 22px; height: 22px; border-radius: 7px; background: #131c28; border: 1px solid #1d2939; }
.ha-dock .hd-ctrls i.leave { background: #b33441; border-color: #b33441; }
.ha-dock .hd-vol { display: flex; align-items: center; gap: 5px; }
.ha-dock .hd-vol i { width: 13px; height: 13px; border-radius: 3px; background: #1d2939; }
.ha-dock .hd-vol b { width: 52px; height: 4px; border-radius: 999px; background: linear-gradient(90deg,var(--accent),#1d2939 70%); display: block; }
@media (max-width: 1000px) { .heroapp { transform: none; } .hero-app-wrap { max-width: 640px; margin: 0 auto; } }

/* ---------- feature pills row ---------- */
.pills-wrap { position: relative; z-index: 2; padding-bottom: 40px; }
.pills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
@media (min-width: 720px) { .pills { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .pills { grid-template-columns: repeat(6, 1fr); } }
.pill-card { position: relative; overflow: hidden; display: block; color: inherit; text-decoration: none; background: linear-gradient(165deg, var(--surface), var(--surface-2)); border: 1px solid var(--border); border-radius: 16px; padding: 18px 16px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.03); transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease; }
.pill-card::after { content: ""; position: absolute; top: -34px; right: -34px; width: 96px; height: 96px; border-radius: 50%; background: var(--cyan); opacity: 0; filter: blur(28px); pointer-events: none; transition: opacity 0.22s ease; }
.pill-card:hover { transform: translateY(-4px); border-color: rgba(59,130,246,0.5); box-shadow: 0 22px 44px -28px rgba(34,211,238,0.75); }
.pill-card:hover::after { opacity: 0.4; }
.pc-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,0.15); }
.pc-ic svg { width: 21px; height: 21px; }
.pc-ic.blue { background: linear-gradient(150deg, rgba(59,130,246,0.32), rgba(59,130,246,0.07)); color: #7cb0ff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 10px 22px -12px rgba(59,130,246,0.95); }
.pc-ic.cyan { background: linear-gradient(150deg, rgba(34,211,238,0.32), rgba(34,211,238,0.07)); color: #5fe6f7; box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 10px 22px -12px rgba(34,211,238,0.95); }
.pc-ic.green { background: linear-gradient(150deg, rgba(52,211,153,0.32), rgba(52,211,153,0.07)); color: #5fe0b0; box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 10px 22px -12px rgba(52,211,153,0.95); }
.pc-ic.purple { background: linear-gradient(150deg, rgba(168,85,247,0.32), rgba(168,85,247,0.07)); color: #c98cf7; box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 10px 22px -12px rgba(168,85,247,0.95); }
.pc-ic.gold { background: linear-gradient(150deg, rgba(251,191,36,0.32), rgba(251,191,36,0.07)); color: #fcd34d; box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 10px 22px -12px rgba(251,191,36,0.95); }
.pc-ic.red { background: linear-gradient(150deg, rgba(244,63,94,0.32), rgba(244,63,94,0.07)); color: #fb7185; box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 10px 22px -12px rgba(244,63,94,0.95); }
.pill-card b { display: block; margin-top: 14px; font-size: 14.5px; letter-spacing: -0.01em; position: relative; z-index: 1; }
.pill-card > span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.42; position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .pill-card { transition: none; } }

/* ---------- everything you need ---------- */
.everything { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 14px; margin-top: 40px; }
@media (min-width: 680px) { .everything { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1040px) { .everything { grid-template-columns: repeat(8, 1fr); } }
.efeat { text-align: center; }
.efeat .ef-ic { width: 46px; height: 46px; margin: 0 auto; border-radius: 13px; display: grid; place-items: center; background: rgba(59,130,246,0.1); color: var(--accent); border: 1px solid rgba(59,130,246,0.2); }
.efeat .ef-ic svg { width: 22px; height: 22px; }
.efeat b { display: block; margin-top: 11px; font-size: 13.5px; }
.efeat span { display: block; margin-top: 3px; font-size: 11.5px; color: var(--muted); line-height: 1.4; }

/* ---------- choose your mode ---------- */
.modes-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px; text-align: left; }
@media (min-width: 640px) { .modes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .modes-grid { grid-template-columns: repeat(4, 1fr); } }
.mode-card { position: relative; border: 1px solid var(--border); border-radius: 18px; padding: 24px 22px; background: var(--surface); overflow: hidden; transition: transform 0.18s, border-color 0.18s; }
.mode-card::after { content: ""; position: absolute; top: -40%; right: -30%; width: 180px; height: 180px; border-radius: 50%; filter: blur(46px); opacity: 0.5; }
.mode-card:hover { transform: translateY(-4px); }
.mode-ic { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; }
.mode-ic svg { width: 26px; height: 26px; }
.mode-card h3 { position: relative; z-index: 1; margin-top: 18px; font-size: 18px; }
.mode-card p { position: relative; z-index: 1; margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.mode-link { position: relative; z-index: 1; display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 600; }
.mode-card.chill { border-color: rgba(168,85,247,0.4); } .mode-card.chill::after { background: #a855f7; } .mode-card.chill .mode-ic { background: rgba(168,85,247,0.15); color: #c084fc; } .mode-card.chill h3, .mode-card.chill .mode-link { color: #d8b4fe; }
.mode-card.watch { border-color: rgba(52,211,153,0.4); } .mode-card.watch::after { background: #34d399; } .mode-card.watch .mode-ic { background: rgba(52,211,153,0.15); color: #34d399; } .mode-card.watch h3, .mode-card.watch .mode-link { color: #6ee7b7; }
.mode-card.focus { border-color: rgba(59,130,246,0.45); } .mode-card.focus::after { background: #3b82f6; } .mode-card.focus .mode-ic { background: rgba(59,130,246,0.16); color: #60a5fa; } .mode-card.focus h3, .mode-card.focus .mode-link { color: #93c5fd; }
.mode-card.esports { border-color: rgba(239,68,68,0.4); } .mode-card.esports::after { background: #ef4444; } .mode-card.esports .mode-ic { background: rgba(239,68,68,0.15); color: #f87171; } .mode-card.esports h3, .mode-card.esports .mode-link { color: #fca5a5; }

/* ===== Interactive "Choose your mode" showcase (4.2g) ===== */
.mode-show { margin-top: 32px; text-align: left; }
.mode-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mode-tab { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); cursor: pointer; transition: border-color .16s, background .16s, transform .12s; text-align: left; }
.mode-tab:hover { transform: translateY(-2px); }
.mode-tab .mt-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.mode-tab .mt-ic svg { width: 20px; height: 20px; }
.mode-tab .mt-l { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.mode-tab .mt-l b { font-size: 14.5px; color: var(--text); }
.mode-tab .mt-l i { font-size: 11.5px; color: var(--muted); font-style: normal; margin-top: 2px; }
.mode-tab.chill .mt-ic { background: rgba(168,85,247,0.15); color: #c084fc; }
.mode-tab.watch .mt-ic { background: rgba(220,38,38,0.16); color: #f87171; }
.mode-tab.focus .mt-ic { background: rgba(59,130,246,0.16); color: #60a5fa; }
.mode-tab.esports .mt-ic { background: rgba(34,197,94,0.16); color: #4ade80; }
.mode-tab.on.chill { border-color: rgba(168,85,247,0.55); background: rgba(168,85,247,0.08); }
.mode-tab.on.watch { border-color: rgba(220,38,38,0.55); background: rgba(220,38,38,0.08); }
.mode-tab.on.focus { border-color: rgba(59,130,246,0.55); background: rgba(59,130,246,0.08); }
.mode-tab.on.esports { border-color: rgba(34,197,94,0.55); background: rgba(34,197,94,0.08); }

.mode-stage { position: relative; margin-top: 16px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); overflow: hidden; }
.mode-pane { display: none; grid-template-columns: 1fr 1fr; gap: 30px; padding: 32px; align-items: center; }
.mode-pane.on { display: grid; animation: mpFade .35s ease; }
@keyframes mpFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.mp-kicker { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.mode-pane.chill .mp-kicker { color: #c084fc; }
.mode-pane.watch .mp-kicker { color: #f87171; }
.mode-pane.focus .mp-kicker { color: #60a5fa; }
.mode-pane.esports .mp-kicker { color: #4ade80; }
.mp-copy h3 { font-size: 25px; line-height: 1.2; margin: 10px 0 9px; color: #fff; }
.mp-copy p { font-size: 14.5px; color: var(--muted); line-height: 1.62; margin: 0; }
.mp-feats { list-style: none; margin: 16px 0 20px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.mp-feats li { position: relative; padding-left: 24px; font-size: 13.5px; color: #c5cee0; }
.mp-feats li::before { content: ""; position: absolute; left: 0; top: 3px; width: 15px; height: 15px; border-radius: 50%; background: rgba(255,255,255,.06); }
.mp-feats li::after { content: ""; position: absolute; left: 5px; top: 7px; width: 4px; height: 7px; border: solid; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mode-pane.chill .mp-feats li::after { border-color: #c084fc; } .mode-pane.chill .mp-feats li::before { background: rgba(168,85,247,.16); }
.mode-pane.watch .mp-feats li::after { border-color: #f87171; } .mode-pane.watch .mp-feats li::before { background: rgba(220,38,38,.16); }
.mode-pane.focus .mp-feats li::after { border-color: #60a5fa; } .mode-pane.focus .mp-feats li::before { background: rgba(59,130,246,.16); }
.mode-pane.esports .mp-feats li::after { border-color: #4ade80; } .mode-pane.esports .mp-feats li::before { background: rgba(34,197,94,.16); }

/* mock panel */
.mp-mock { position: relative; border-radius: 16px; padding: 18px; min-height: 232px; border: 1px solid var(--border); background: #0b0e15; overflow: hidden; display: flex; flex-direction: column; gap: 13px; }
.mp-mock::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.m-chill::before { background: radial-gradient(120% 80% at 100% 0%, rgba(168,85,247,.16), transparent 60%); }
.m-watch::before { background: radial-gradient(120% 80% at 100% 0%, rgba(220,38,38,.16), transparent 60%); }
.m-focus::before { background: radial-gradient(120% 80% at 100% 0%, rgba(59,130,246,.16), transparent 60%); }
.m-esports::before { background: radial-gradient(120% 80% at 100% 0%, rgba(34,197,94,.16), transparent 60%); }
.mp-mock > * { position: relative; z-index: 1; }

/* chill mock */
.mk-head { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 700; color: #fff; }
.mk-live { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.mk-live.chill { background: #c084fc; box-shadow: 0 0 0 4px rgba(168,85,247,.18); }
.mk-meta { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.mk-avs { display: flex; gap: 9px; }
.mk-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #fff; flex: none; }
.mk-av.a1 { background: linear-gradient(135deg,#a855f7,#6366f1); }
.mk-av.a2 { background: linear-gradient(135deg,#2dd4bf,#3b82f6); }
.mk-av.a3 { background: linear-gradient(135deg,#f59e0b,#ef4444); }
.mk-av.a4 { background: linear-gradient(135deg,#ec4899,#a855f7); }
.mk-av.more { background: rgba(255,255,255,.07); color: var(--muted); font-size: 12px; }
.mk-av.speak { box-shadow: 0 0 0 2px #0b0e15, 0 0 0 4px #4ade80; }
.mk-bubbles { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.mk-b { align-self: flex-start; max-width: 80%; padding: 9px 13px; border-radius: 13px 13px 13px 4px; background: rgba(255,255,255,.05); font-size: 13px; color: #d7def0; }
.mk-b.me { align-self: flex-end; border-radius: 13px 13px 4px 13px; background: rgba(168,85,247,.22); color: #efe6ff; }

/* watch mock */
.mk-screen { position: relative; flex: 1; min-height: 130px; border-radius: 11px; background: linear-gradient(135deg,#1a0d10,#0a0a12); display: grid; place-items: center; overflow: hidden; }
.mk-badge { position: absolute; top: 10px; left: 10px; display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; color: #fff; background: rgba(220,38,38,.9); padding: 3px 8px; border-radius: 999px; }
.mk-rec { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: mkBlink 1.4s steps(2) infinite; }
@keyframes mkBlink { 50% { opacity: .25; } }
.mk-time { position: absolute; bottom: 10px; right: 12px; font-size: 11px; font-weight: 600; color: #e8c9cc; font-variant-numeric: tabular-nums; }
.mk-play { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; color: #fff; }
.mk-play svg { width: 22px; height: 22px; margin-left: 2px; }
.mk-react { position: absolute; bottom: 8px; font-size: 17px; animation: mkFloat 2.6s ease-in infinite; }
.mk-react.r1 { left: 18%; animation-delay: 0s; }
.mk-react.r2 { left: 40%; animation-delay: .9s; }
.mk-react.r3 { left: 62%; animation-delay: 1.7s; }
@keyframes mkFloat { 0% { transform: translateY(0); opacity: 0; } 18% { opacity: 1; } 100% { transform: translateY(-78px); opacity: 0; } }
.mk-scrub { height: 5px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.mk-scrub-fill { display: block; height: 100%; width: 58%; background: #ef4444; }
.mk-foot { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }

/* focus mock */
.m-focus { align-items: center; justify-content: center; text-align: center; }
.mk-ring { width: 124px; height: 124px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#3b82f6 58%, rgba(255,255,255,.08) 0); position: relative; }
.mk-ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #0b0e15; }
.mk-ring-t { position: relative; font-size: 26px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.mk-ring-s { position: relative; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #60a5fa; }
.mk-amb { display: flex; gap: 8px; }
.mk-pill { font-size: 12px; font-weight: 600; color: var(--muted); padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border); }
.mk-pill.on { color: #bfdbfe; background: rgba(59,130,246,.16); border-color: rgba(59,130,246,.5); }
.mk-stat { font-size: 12.5px; color: var(--muted); }

/* esports mock */
.mk-hud { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.mk-game { font-weight: 700; color: #d7def0; }
.mk-team { margin-left: auto; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: #4ade80; background: rgba(34,197,94,.14); padding: 3px 9px; border-radius: 999px; }
.mk-roster { display: flex; flex-direction: column; gap: 7px; }
.mk-pl { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #d7def0; font-family: "JetBrains Mono", ui-monospace, monospace; }
.mk-pl b { min-width: 30px; font-size: 9.5px; font-weight: 800; letter-spacing: .03em; color: #4ade80; }
.mk-mic { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.18); }
.mk-mic.on { background: #4ade80; box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.mk-bars { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: auto; }
.mk-bars span { display: flex; flex-direction: column; gap: 2px; padding: 9px 10px; border-radius: 10px; background: rgba(34,197,94,.07); border: 1px solid rgba(34,197,94,.16); }
.mk-bars i { font-size: 10px; font-style: normal; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.mk-bars b { font-size: 17px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }

@media (max-width: 820px) { .mode-pane { grid-template-columns: 1fr; gap: 22px; padding: 22px; } }
@media (max-width: 720px) { .mode-tabs { grid-template-columns: repeat(2, 1fr); } .mode-tab .mt-l i { display: none; } }

/* ---------- how it works + rewards ---------- */
.hiw-wrap { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 940px) { .hiw-wrap { grid-template-columns: 1.05fr 1fr; } }
.hiw-panel, .rewards-panel { position: relative; overflow: hidden; background: linear-gradient(170deg, var(--surface), var(--surface-2)); border: 1px solid var(--border); border-radius: 22px; padding: 28px; }
.hiw-panel::before, .rewards-panel::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; pointer-events: none; filter: blur(40px); opacity: 0.5; }
.hiw-panel::before { top: -150px; left: -90px; background: radial-gradient(circle, rgba(59,130,246,0.22), transparent 65%); }
.rewards-panel::before { top: -160px; right: -110px; background: radial-gradient(circle, rgba(251,191,36,0.16), transparent 65%); }
.panel-kicker { position: relative; display: inline-flex; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); background: rgba(34,211,238,0.1); border: 1px solid rgba(34,211,238,0.26); border-radius: 999px; padding: 5px 12px; margin-bottom: 12px; }
.panel-kicker.accent { color: var(--warn); background: rgba(251,191,36,0.1); border-color: rgba(251,191,36,0.28); }
.panel-h { position: relative; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.panel-sub { position: relative; margin-top: 6px; font-size: 14px; color: var(--muted); }

/* How it works: glowing numbered nodes on a connector rail */
.hiw-steps { position: relative; margin-top: 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hiw-line { position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 2px; border-radius: 2px; background: rgba(59,130,246,0.18); overflow: hidden; }
.hiw-line i { position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--cyan), transparent); animation: hiwFlow 3.4s ease-in-out infinite; }
@keyframes hiwFlow { 0% { transform: translateX(-120%); } 60%, 100% { transform: translateX(330%); } }
.hiw-step { position: relative; text-align: center; }
.hiw-step .hs-ic { position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 16px; display: grid; place-items: center; color: #cfe2ff;
  background: linear-gradient(160deg, #18243b, #101725); border: 1px solid rgba(59,130,246,0.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 12px 26px -14px rgba(59,130,246,0.8); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.hiw-step .hs-ic svg { width: 23px; height: 23px; }
.hiw-step .hs-num { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), var(--cyan)); box-shadow: 0 6px 14px -6px rgba(34,211,238,0.9); border: 2px solid var(--surface); }
.hiw-step:hover .hs-ic { transform: translateY(-4px); border-color: rgba(34,211,238,0.6); box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 18px 34px -14px rgba(34,211,238,0.85); }
.hiw-step b { display: block; font-size: 13.5px; }
.hiw-step span { display: block; margin-top: 5px; font-size: 11.5px; color: var(--muted); line-height: 1.45; }
.hiw-foot { display: flex; gap: 10px; margin-top: 26px; }
.hiw-stat { flex: 1; text-align: center; background: var(--bg-2); border: 1px solid var(--border); border-radius: 13px; padding: 12px 8px; }
.hiw-stat b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; background: linear-gradient(92deg, #fff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hiw-stat span { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }
@media (max-width: 620px) { .hiw-steps { grid-template-columns: 1fr 1fr; gap: 22px 12px; } .hiw-line { display: none; } }

/* Community Rewards: gamified dashboard */
.rw-level { position: relative; margin-top: 22px; display: flex; align-items: center; gap: 16px; background: linear-gradient(150deg, rgba(59,130,246,0.08), var(--bg-2)); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.rw-badge { position: relative; width: 54px; height: 54px; flex: none; border-radius: 15px; display: grid; place-items: center; font-size: 22px; font-weight: 800; color: #1a1205; background: linear-gradient(135deg, #fde68a, #f59e0b); box-shadow: 0 10px 24px -8px rgba(251,191,36,0.8), inset 0 1px 0 rgba(255,255,255,0.5); }
.rw-badge-ring { position: absolute; inset: -4px; border-radius: 18px; border: 2px solid rgba(251,191,36,0.4); animation: rwPulse 2.4s ease-in-out infinite; }
@keyframes rwPulse { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 0; transform: scale(1.14); } }
.rw-info { flex: 1; min-width: 0; }
.rw-info-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rw-info-top b { font-size: 14.5px; }
.rw-lvchip { font-size: 11px; font-weight: 700; color: var(--warn); background: rgba(251,191,36,0.12); border: 1px solid rgba(251,191,36,0.3); border-radius: 999px; padding: 3px 9px; }
.rw-bar { margin-top: 11px; height: 8px; border-radius: 999px; background: #0c1320; border: 1px solid var(--border-soft); overflow: hidden; }
.rw-bar i { position: relative; display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--cyan)); box-shadow: 0 0 12px rgba(34,211,238,0.7); }
.rw-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent); transform: translateX(-100%); animation: rwShine 2.6s ease-in-out infinite; }
@keyframes rwShine { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(260%); } }
.rw-xp { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 11px; color: var(--muted-2); }
.rw-xp em { font-style: normal; font-weight: 700; color: var(--text); }
.rw-next { color: var(--cyan); font-weight: 600; }
.rw-grid { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.rw-card { position: relative; min-width: 0; display: flex; align-items: center; gap: 11px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px; padding: 13px; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.rw-card:hover { transform: translateY(-3px); border-color: rgba(59,130,246,0.45); box-shadow: 0 16px 34px -22px rgba(34,211,238,0.8); }
.rw-card .rw-ic { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; }
.rw-card .rw-ic svg { width: 19px; height: 19px; }
.rw-ic.green { background: rgba(52,211,153,0.14); color: #34d399; } .rw-ic.blue { background: rgba(59,130,246,0.14); color: #60a5fa; }
.rw-ic.purple { background: rgba(168,85,247,0.14); color: #c084fc; } .rw-ic.gold { background: rgba(251,191,36,0.14); color: #fbbf24; }
.rw-meta { flex: 1; min-width: 0; }
.rw-card b { display: block; font-size: 12.5px; line-height: 1.25; } .rw-card span { font-size: 11px; color: var(--muted); }
.rw-stat { flex: none; }
.rw-stat.ok { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #04130c; background: linear-gradient(135deg, #34d399, #10b981); box-shadow: 0 6px 14px -6px rgba(52,211,153,0.9); }
.rw-stat.ok svg { width: 13px; height: 13px; }
.rw-stat.lock { font-size: 10.5px; font-weight: 700; color: var(--muted-2); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 3px 8px; }
.rw-card.locked { opacity: 0.82; } .rw-card.locked .rw-ic { filter: grayscale(0.25); }
.rw-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13.5px; font-weight: 700; color: var(--accent); transition: gap .16s ease, color .16s ease; }
.rw-all svg { width: 16px; height: 16px; }
.rw-all:hover { gap: 10px; color: var(--cyan); }
@media (max-width: 480px) { .rw-grid { grid-template-columns: 1fr; } .rw-card b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
@media (prefers-reduced-motion: reduce) { .hiw-line i, .rw-badge-ring, .rw-bar i::after { animation: none; } }

/* ---------- built for every community ---------- */
.cc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 40px; }
@media (min-width: 720px) { .cc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .cc-grid { grid-template-columns: repeat(5, 1fr); } }
.ccard { position: relative; height: 200px; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); display: flex; align-items: flex-end; isolation: isolate; text-decoration: none; color: inherit; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.ccard::before { content: ""; position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; transform: scale(1.05); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.ccard .cc-shade { position: absolute; inset: 0; z-index: 1; }
.ccard::after { content: ""; position: absolute; inset: 0; z-index: 2; background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 14px 14px; opacity: 0.4; pointer-events: none; }
.ccard .cc-body { position: relative; z-index: 3; padding: 16px; text-align: left; }
.ccard .cc-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; margin-bottom: 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 10px 22px -10px rgba(0,0,0,0.8); }
.ccard .cc-ic svg { width: 22px; height: 22px; }
.ccard.friends .cc-ic { background: linear-gradient(150deg, #60a5fa, #2563eb); box-shadow: inset 0 1px 0 rgba(255,255,255,0.34), 0 12px 24px -10px rgba(59,130,246,0.95); }
.ccard.creators .cc-ic { background: linear-gradient(150deg, #c084fc, #7c3aed); box-shadow: inset 0 1px 0 rgba(255,255,255,0.34), 0 12px 24px -10px rgba(168,85,247,0.95); }
.ccard.students .cc-ic { background: linear-gradient(150deg, #2dd4bf, #0d9488); box-shadow: inset 0 1px 0 rgba(255,255,255,0.34), 0 12px 24px -10px rgba(45,212,191,0.9); }
.ccard.teams .cc-ic { background: linear-gradient(150deg, #818cf8, #4f46e5); box-shadow: inset 0 1px 0 rgba(255,255,255,0.34), 0 12px 24px -10px rgba(99,102,241,0.95); }
.ccard.esports .cc-ic { background: linear-gradient(150deg, #fb7185, #dc2626); box-shadow: inset 0 1px 0 rgba(255,255,255,0.34), 0 12px 24px -10px rgba(244,63,94,0.95); }
.ccard .cc-body b { display: block; font-size: 16px; color: #fff; letter-spacing: -0.01em; }
.ccard .cc-body span { display: block; font-size: 12px; color: rgba(255,255,255,0.82); margin-top: 2px; }
.ccard:hover { transform: translateY(-4px); border-color: rgba(59,130,246,0.5); box-shadow: 0 26px 60px -30px rgba(34,211,238,0.6); }
.ccard:hover::before { transform: scale(1.13); }
.ccard.friends { background: radial-gradient(120% 90% at 20% 10%, #1e3a8a, #0b1730 60%, #07101f); }
.ccard.friends::before { background-image: url(/img/community/friends.jpg); }
.ccard.friends .cc-shade { background: linear-gradient(168deg, rgba(37,99,235,0.46) 0%, rgba(11,23,48,0.58) 44%, rgba(5,8,13,0.92) 100%); }
.ccard.creators { background: radial-gradient(120% 90% at 20% 10%, #6d28d9, #3b1d6e 55%, #150a2b); }
.ccard.creators::before { background-image: url(/img/community/creators.jpg); }
.ccard.creators .cc-shade { background: linear-gradient(168deg, rgba(124,58,237,0.48) 0%, rgba(34,16,64,0.6) 44%, rgba(7,5,17,0.92) 100%); }
.ccard.students { background: radial-gradient(120% 90% at 20% 10%, #0f766e, #0c3b3a 55%, #061a1c); }
.ccard.students::before { background-image: url(/img/community/students.jpg); }
.ccard.students .cc-shade { background: linear-gradient(168deg, rgba(13,148,136,0.46) 0%, rgba(8,42,42,0.6) 44%, rgba(4,14,15,0.92) 100%); }
.ccard.teams { background: radial-gradient(120% 90% at 20% 10%, #1d4ed8, #15275e 55%, #0a1230); }
.ccard.teams::before { background-image: url(/img/community/teams.jpg); }
.ccard.teams .cc-shade { background: linear-gradient(168deg, rgba(37,99,235,0.46) 0%, rgba(15,30,80,0.6) 44%, rgba(6,12,30,0.92) 100%); }
.ccard.esports { background: radial-gradient(120% 90% at 20% 10%, #b91c1c, #6e1f2e 50%, #260a14); }
.ccard.esports::before { background-image: url(/img/community/esports.jpg); }
.ccard.esports .cc-shade { background: linear-gradient(168deg, rgba(220,38,38,0.46) 0%, rgba(80,18,30,0.6) 44%, rgba(20,6,12,0.92) 100%); }
@media (prefers-reduced-motion: reduce) { .ccard, .ccard::before { transition: none; } }

/* ---------- built for real connection ---------- */
.sec-kicker { display: inline-flex; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); background: rgba(34,211,238,0.1); border: 1px solid rgba(34,211,238,0.26); border-radius: 999px; padding: 6px 14px; margin-bottom: 16px; }
.sec-lead { max-width: 600px; margin: 12px auto 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.loved-wrap { display: grid; gap: 18px; margin-top: 40px; text-align: left; }
@media (min-width: 940px) { .loved-wrap { grid-template-columns: 1.15fr 1fr; align-items: stretch; } }
.testi-col { display: grid; gap: 14px; }
.tcard { position: relative; overflow: hidden; background: linear-gradient(165deg, var(--surface), var(--surface-2)); border: 1px solid var(--border); border-radius: 16px; padding: 20px 20px 20px 24px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.tcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--accent), var(--cyan)); opacity: 0.65; transition: opacity .18s ease, width .18s ease; }
.tcard:hover { transform: translateY(-3px); border-color: rgba(59,130,246,0.42); box-shadow: 0 22px 46px -28px rgba(34,211,238,0.7); }
.tcard:hover::before { opacity: 1; width: 4px; }
.tcard-head { display: flex; align-items: center; gap: 12px; }
.tcard-head b { display: block; font-size: 15px; letter-spacing: -0.01em; }
.tcard-head span { font-size: 11.5px; color: var(--muted); }
.tcard p { margin-top: 13px; font-size: 13.5px; color: #c3cfdd; line-height: 1.58; }
.tav { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 14px; flex: none; box-shadow: inset 0 1px 0 rgba(255,255,255,0.2); }
.tav svg { width: 21px; height: 21px; }
.tav.a { background: linear-gradient(135deg,#3b82f6,#22d3ee); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 12px 26px -12px rgba(34,211,238,0.85); }
.tav.b { background: linear-gradient(135deg,#a855f7,#ec4899); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 12px 26px -12px rgba(236,72,153,0.8); }
.tav.c { background: linear-gradient(135deg,#34d399,#22d3ee); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 12px 26px -12px rgba(52,211,153,0.8); }

/* right: gamified "why choose" stat board */
.bigstats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 940px) { .bigstats { grid-auto-rows: 1fr; } }
.bstat { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 140px; background: linear-gradient(165deg, var(--surface), var(--surface-2)); border: 1px solid var(--border); border-radius: 16px; padding: 20px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.bstat::after { content: ""; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px; border-radius: 50%; opacity: 0.5; filter: blur(26px); pointer-events: none; transition: opacity .2s ease; }
.bstat:hover { transform: translateY(-3px); box-shadow: 0 22px 46px -30px rgba(0,0,0,0.9); }
.bstat:hover::after { opacity: 0.85; }
.bstat-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.14); }
.bstat-ic svg { width: 21px; height: 21px; }
.bstat b { display: block; margin-top: auto; font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; background: linear-gradient(92deg, #fff, #b9c6d6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bstat span { display: block; font-size: 13.5px; font-weight: 700; margin-top: 6px; }
.bstat i { display: block; font-style: normal; font-size: 11.5px; color: var(--muted-2); margin-top: 2px; }
.bstat.cyan .bstat-ic { background: linear-gradient(150deg, rgba(34,211,238,0.34), rgba(34,211,238,0.07)); color: #5fe6f7; box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 10px 22px -12px rgba(34,211,238,0.95); } .bstat.cyan::after { background: var(--cyan); } .bstat.cyan:hover { border-color: rgba(34,211,238,0.45); }
.bstat.purple .bstat-ic { background: linear-gradient(150deg, rgba(168,85,247,0.34), rgba(168,85,247,0.07)); color: #c98cf7; box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 10px 22px -12px rgba(168,85,247,0.95); } .bstat.purple::after { background: #a855f7; } .bstat.purple:hover { border-color: rgba(168,85,247,0.45); }
.bstat.amber .bstat-ic { background: linear-gradient(150deg, rgba(251,191,36,0.34), rgba(251,191,36,0.07)); color: #fcd34d; box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 10px 22px -12px rgba(251,191,36,0.95); } .bstat.amber::after { background: var(--warn); } .bstat.amber:hover { border-color: rgba(251,191,36,0.45); }
.bstat.green .bstat-ic { background: linear-gradient(150deg, rgba(52,211,153,0.34), rgba(52,211,153,0.07)); color: #5fe0b0; box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 10px 22px -12px rgba(52,211,153,0.95); } .bstat.green::after { background: var(--good); } .bstat.green:hover { border-color: rgba(52,211,153,0.45); }
@media (prefers-reduced-motion: reduce) { .tcard, .bstat { transition: none; } }

/* ── ICON CENTERING FIX ───────────────────────────────────────────────
   Icon tiles are <span> children that the generic label rules
   (.pill-card>span, .ccard .cc-body span, .bstat span, .inst-step span, all
   `display:block`) were out-specifying, forcing the tiles to block so the SVG
   fell to the top-left. These parent-scoped selectors win the cascade and
   restore perfect centering everywhere. */
.pill-card .pc-ic,
.ccard .cc-body .cc-ic,
.bstat .bstat-ic,
.inst-step .is-ic,
.inst-step .is-num { display: grid; place-items: center; }
.pc-ic > svg, .cc-ic > svg, .bstat-ic > svg, .is-ic > svg { display: block; }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px; text-align: left; }
@media (min-width: 620px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pricing { grid-template-columns: repeat(4, 1fr); } }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px 22px; display: flex; flex-direction: column; }
.price-card.popular { border-color: rgba(59,130,246,0.6); background: linear-gradient(170deg, rgba(59,130,246,0.08), var(--surface-2)); box-shadow: 0 0 0 1px rgba(59,130,246,0.2), 0 24px 60px -30px rgba(34,211,238,0.5); }
.pc-pop { position: absolute; top: 14px; right: 14px; font-size: 10.5px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-strong)); padding: 4px 10px; border-radius: 999px; }
.pc-name { font-size: 17px; font-weight: 700; }
.pc-tag { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.pc-amt { margin-top: 18px; display: flex; align-items: baseline; gap: 2px; }
.pc-amt sup { font-size: 18px; font-weight: 700; color: #fff; top: -0.6em; }
.pc-amt b { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.pc-amt span { font-size: 13px; color: var(--muted); margin-left: 4px; }
.pc-feats { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 11px; flex: 1; }
.pc-feats li { position: relative; padding-left: 24px; font-size: 13.5px; color: var(--muted); }
.pc-feats li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: rgba(52,211,153,0.16); }
.pc-feats li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 5px; height: 3px; border-left: 1.6px solid #34d399; border-bottom: 1.6px solid #34d399; transform: rotate(-45deg); }
.pc-btn { margin-top: 22px; width: 100%; }
.pricing-note { margin-top: 28px; font-size: 13.5px; color: var(--muted); }
.pricing-note a { color: var(--accent); }
/* free-phase: only Free is active; paid tiers shown as "coming soon" (re-enable by removing .coming-soon) */
.price-card.popular .pc-name, .price-card.coming-soon .pc-name { padding-right: 96px; }
.pc-pop.now { background: linear-gradient(135deg, var(--good), #10b981); color: #04130c; }
.price-card.coming-soon { opacity: 0.55; transition: opacity .18s ease; }
.price-card.coming-soon:hover { opacity: 0.82; }
.pc-soon { position: absolute; top: 14px; right: 14px; font-size: 10.5px; font-weight: 700; color: #1a1205; background: linear-gradient(135deg, #fde68a, #f59e0b); padding: 4px 10px; border-radius: 999px; }
.pc-btn.soon { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: var(--bg-2); border: 1px dashed var(--border); color: var(--muted-2); font-weight: 700; font-size: 14px; font-family: inherit; padding: 11px 18px; border-radius: 11px; cursor: not-allowed; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 14px; margin-top: 36px; }
@media (min-width: 860px) { .faq { grid-template-columns: 1fr 1fr; gap: 14px 22px; } }
.faq-col { display: grid; gap: 14px; align-content: start; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 13px; padding: 0 18px; transition: border-color 0.16s; }
.faq-item[open] { border-color: rgba(59,130,246,0.4); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; font-size: 14.5px; font-weight: 600; color: #e6edf3; }
.faq-item summary::-webkit-details-marker { display: none; }
.fq-x { position: relative; width: 14px; height: 14px; flex: none; }
.fq-x::before, .fq-x::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform 0.2s; }
.fq-x::before { left: 0; right: 0; top: 6px; height: 2px; }
.fq-x::after { top: 0; bottom: 0; left: 6px; width: 2px; }
.faq-item[open] .fq-x::after { transform: scaleY(0); }
.faq-item p { margin: 0 0 16px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ---------- blog: "Keep reading" related posts ---------- */
.post-related { margin: 46px 0 6px; padding-top: 34px; border-top: 1px solid var(--border-soft); }
.pr-h { font-size: 12.5px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 20px; }
.pr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pr-card { display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
.pr-card:hover { transform: translateY(-3px); border-color: rgba(59,130,246,0.5); box-shadow: 0 20px 42px -26px rgba(0,0,0,0.8); }
.pr-chip { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; color: var(--cyan); background: rgba(34,211,238,0.1); padding: 3px 10px; border-radius: 999px; }
.pr-card h3 { font-size: 16px; font-weight: 700; line-height: 1.32; color: #fff; }
.pr-card p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pr-more { margin-top: auto; padding-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--accent); transition: color 0.15s; }
.pr-card:hover .pr-more { color: var(--cyan); }
@media (max-width: 720px) { .pr-grid { grid-template-columns: 1fr; } }
/* blog post social-share row (X / Reddit / Copy link) */
.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; max-width: 720px; margin: 40px auto 0; padding-top: 28px; border-top: 1px solid var(--border-soft); }
.post-share .ps-l { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 2px; }
.post-share a, .post-share button { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 13px; font-weight: 600; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 13px; text-decoration: none; cursor: pointer; transition: border-color 0.16s ease, background 0.16s ease, transform 0.12s ease; }
.post-share a:hover, .post-share button:hover { border-color: rgba(59,130,246,0.5); background: var(--surface-2); transform: translateY(-1px); }
.post-share svg { width: 16px; height: 16px; flex: none; }
.post-share .ps-copy.done { color: var(--cyan); border-color: rgba(34,211,238,0.5); }
/* blog index "Subscribe via RSS" link */
.rss-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 7px 15px; text-decoration: none; transition: color 0.15s, border-color 0.15s, background 0.15s; }
.rss-link:hover { color: #f59e0b; border-color: rgba(245,158,11,0.5); background: rgba(245,158,11,0.07); }
.rss-link svg { width: 15px; height: 15px; color: #f59e0b; }
/* blog post reading-progress bar (added by nav.js on /blog/<slug> only) */
.read-progress { position: fixed; top: 0; left: 0; width: 0; height: 3px; z-index: 60; pointer-events: none;
  background: linear-gradient(90deg, var(--accent), var(--cyan)); box-shadow: 0 0 10px rgba(34,211,238,0.5); }
@media (prefers-reduced-motion: no-preference) { .read-progress { transition: width 0.08s linear; } }

/* ---------- final cta ---------- */
.cta-final { position: relative; overflow: hidden; display: grid; gap: 26px; align-items: center; border: 1px solid rgba(59,130,246,0.35); border-radius: 24px; padding: 44px; background: linear-gradient(150deg, #0f1d3a, #0b1422 60%, var(--surface-2)); box-shadow: 0 30px 80px -36px rgba(34,211,238,0.45); }
@media (min-width: 820px) { .cta-final { grid-template-columns: 1.4fr 1fr; } }
.cf-copy h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.02em; }
.cf-copy p { margin-top: 10px; font-size: 15.5px; color: var(--muted); }
.cf-btns { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 13px; }
.cf-logo { display: flex; justify-content: center; }
.cf-logo img { width: 150px; height: 150px; object-fit: contain; filter: drop-shadow(0 14px 40px rgba(46,230,255,0.6)); animation: cffloat 4s ease-in-out infinite; }
@keyframes cffloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 820px) { .cf-logo { display: none; } }

/* ---------- footer 5-col ---------- */
.foot-5 { display: grid; gap: 34px; }
@media (min-width: 880px) { .foot-5 { grid-template-columns: 1.1fr 4.3fr; } }
.foot-brand .muted { margin-top: 14px; max-width: 240px; font-size: 13.5px; }
.foot-social { margin-top: 18px; display: flex; gap: 11px; }
.foot-social a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--muted); transition: all 0.16s; }
.foot-social a:hover { color: #fff; border-color: rgba(59,130,246,0.5); transform: translateY(-2px); }
.foot-social svg { width: 17px; height: 17px; }
.foot-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
@media (min-width: 620px) { .foot-links { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .foot-links { grid-template-columns: repeat(6, 1fr); } }
.foot-links h5 { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 13px; }
.foot-links a { display: block; padding: 5px 0; font-size: 13.5px; color: var(--muted); }
.foot-links a:hover { color: #fff; }

@media (max-width: 620px) {
  .hero-badges { gap: 16px; }
  .heroapp { font-size: 10px; }
  .ha-body { grid-template-columns: 96px 1fr; }
  .ha-ctx { display: none; }
  .cta-final { padding: 30px 22px; }
  .bigstats { gap: 12px; }
}

/* ============================================================
   DOWNLOAD PAGE 2026 (matches download-page-design-clutchtick.png)
   ============================================================ */
/* hero trust badges (3 boxed) */
.trust-badges { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.tbadge { display: flex; align-items: center; gap: 11px; background: var(--surface); border: 1px solid var(--border); border-radius: 13px; padding: 12px 16px; }
.tbadge .tb-ic { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; background: rgba(59,130,246,0.12); color: var(--accent); }
.tbadge .tb-ic svg { width: 19px; height: 19px; }
.tbadge b { display: block; font-size: 13.5px; }
.tbadge span { font-size: 11.5px; color: var(--muted); }

/* download-page hero app mock variants */
.ha-rooms.one { grid-template-columns: 1fr; gap: 7px; }
.ha-room.wide { display: flex; align-items: center; gap: 10px; padding: 8px 10px; }
.ha-room.wide .hr-ic { width: 26px; height: 26px; border-radius: 8px; flex: none; margin: 0; }
.ha-room.wide .hr-t { flex: 1; }
.ha-room.wide .hr-t b { margin: 0; font-size: 11px; }
.ha-room.wide .hr-t i { font-style: normal; font-size: 9px; color: var(--muted-2); }
.hr-live { font-style: normal; font-size: 7.5px; font-weight: 800; letter-spacing: 0.06em; color: #34d399; background: rgba(52,211,153,0.16); padding: 2px 6px; border-radius: 5px; }
.ha-esports { margin-top: 11px; display: flex; align-items: center; gap: 10px; background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.28); border-radius: 10px; padding: 10px; }
.ha-esports .he-ic { width: 28px; height: 28px; flex: none; border-radius: 8px; display: grid; place-items: center; background: rgba(168,85,247,0.2); color: #c084fc; }
.ha-esports .he-ic svg { width: 16px; height: 16px; }
.ha-esports b { display: block; font-size: 11px; color: #eaf1f8; }
.ha-esports i { font-style: normal; font-size: 8px; letter-spacing: 0.05em; color: #60a5fa; font-weight: 700; }
.ha-esports .he-btn { margin-left: auto; font-size: 9.5px; font-weight: 700; color: #fff; background: var(--accent); padding: 5px 11px; border-radius: 7px; }
.ha-c-friend { display: flex; align-items: center; gap: 8px; padding: 5px 2px; }
.ha-c-friend .cf { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.ha-c-friend b { display: block; font-size: 10px; color: #eaf1f8; }
.ha-c-friend span { font-size: 8.5px; color: var(--muted-2); }
.cf.a { background: linear-gradient(135deg,#3b82f6,#22d3ee); } .cf.b { background: linear-gradient(135deg,#a855f7,#ec4899); }
.cf.c { background: linear-gradient(135deg,#34d399,#22d3ee); } .cf.d { background: linear-gradient(135deg,#fbbf24,#f97316); }
.cf.e { background: linear-gradient(135deg,#ef4444,#a855f7); }

/* platform cards */
.plat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 40px; }
@media (min-width: 680px) { .plat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .plat-grid { grid-template-columns: repeat(5, 1fr); } }
.plat-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; min-width: 0; transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s; }
.plat-card:hover { border-color: rgba(59,130,246,0.5); transform: translateY(-4px); box-shadow: 0 22px 55px -30px rgba(34,211,238,0.55); }
.plat-os { height: 52px; display: grid; place-items: center; color: #cdd8e4; }
.plat-os svg { width: 42px; height: 42px; }
.plat-card h3 { margin-top: 12px; font-size: 19px; }
.plat-meta { margin-top: 4px; font-size: 12.5px; color: var(--muted); min-height: 18px; }
.plat-btn { margin-top: 18px; width: 100%; }
.plat-sub { margin-top: 14px; font-size: 11.5px; color: var(--muted); }
.plat-qr { margin-top: 16px; width: 92px; height: 92px; border-radius: 12px; background: #fff; padding: 7px; }
.plat-qr img { width: 100%; height: 100%; display: block; }

/* trust bar */
.trust-bar { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 26px; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); padding: 18px 10px; }
.tbar-item { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.tbar-item svg { width: 16px; height: 16px; color: var(--good); }
.tbar-link { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--accent); }
@media (max-width: 720px) { .tbar-link { margin-left: 0; width: 100%; text-align: center; } }

/* system requirements */
.sysreq { display: grid; gap: 16px; margin-top: 26px; }
@media (min-width: 920px) { .sysreq { grid-template-columns: 1fr 1fr 1.2fr; } }
.sysreq-col { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.sr-h { font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.sr-list { list-style: none; display: grid; gap: 11px; }
.sr-list li { position: relative; padding-left: 24px; font-size: 13.5px; color: var(--muted); }
.sr-list li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: rgba(52,211,153,0.16); }
.sr-list li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 5px; height: 3px; border-left: 1.6px solid #34d399; border-bottom: 1.6px solid #34d399; transform: rotate(-45deg); }
.perf-card { background: linear-gradient(160deg, rgba(59,130,246,0.12), var(--surface-2)); border: 1px solid rgba(59,130,246,0.3); border-radius: 16px; padding: 22px; display: flex; gap: 18px; align-items: flex-start; }
.perf-gauge { width: 96px; height: 96px; flex: none; }
.perf-gauge svg { width: 100%; height: 100%; filter: drop-shadow(0 0 12px rgba(34,211,238,0.4)); }
.perf-info b { font-size: 16px; }
.perf-info p { margin-top: 6px; font-size: 13px; color: var(--muted); }
.perf-list { list-style: none; margin-top: 12px; display: grid; gap: 8px; }
.perf-list li { position: relative; padding-left: 22px; font-size: 13px; color: var(--muted); }
.perf-list li::before { content: ""; position: absolute; left: 1px; top: 5px; width: 13px; height: 13px; border-radius: 50%; background: rgba(52,211,153,0.16); }
.perf-list li::after { content: ""; position: absolute; left: 5px; top: 8px; width: 5px; height: 3px; border-left: 1.6px solid #34d399; border-bottom: 1.6px solid #34d399; transform: rotate(-45deg); }
.perf-link { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--accent); }
@media (max-width: 480px) { .perf-card { flex-direction: column; align-items: center; text-align: center; } .perf-list { text-align: left; } }

/* how to install */
.install-steps { margin-top: 26px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: 8px; }
.inst-step { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.is-top { display: flex; align-items: center; justify-content: space-between; }
.is-num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), var(--cyan)); }
.is-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(59,130,246,0.12); color: var(--accent); }
.is-ic svg { width: 18px; height: 18px; }
.inst-step b { display: block; margin-top: 14px; font-size: 15px; }
.inst-step span { display: block; margin-top: 5px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.inst-arrow { display: grid; place-items: center; color: var(--muted-2); }
.inst-arrow svg { width: 20px; height: 20px; }
@media (max-width: 860px) { .install-steps { grid-template-columns: 1fr 1fr; gap: 14px; } .inst-arrow { display: none; } }
@media (max-width: 460px) { .install-steps { grid-template-columns: 1fr; } }

/* faq + support card */
.faq-dl { display: grid; gap: 18px; margin-top: 26px; }
@media (min-width: 940px) { .faq-dl { grid-template-columns: 2.2fr 1fr; align-items: start; } }
.faq-dl .faq { margin-top: 0; }
.support-card { background: linear-gradient(160deg, rgba(59,130,246,0.12), var(--surface-2)); border: 1px solid rgba(59,130,246,0.3); border-radius: 18px; padding: 26px; text-align: center; }
.support-card .sc-ic { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 14px; display: grid; place-items: center; background: rgba(59,130,246,0.16); color: var(--accent); }
.support-card .sc-ic svg { width: 28px; height: 28px; }
.support-card b { font-size: 17px; }
.support-card p { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.support-card .btn { margin-top: 18px; }

/* footer newsletter */
.foot-news { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.foot-form { display: flex; gap: 8px; flex-wrap: wrap; }
.foot-form input { flex: 1; min-width: 120px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; color: var(--text); font-size: 13.5px; font-family: inherit; }
.foot-form input:focus { outline: none; border-color: rgba(59,130,246,0.6); }
.foot-form .btn { padding: 10px 16px; }

/* ===== Smart download experience ===== */
.plat-card { position: relative; }
.plat-card.plat-rec { border-color: rgba(59,130,246,0.6); background: linear-gradient(170deg, rgba(59,130,246,0.09), var(--surface)); box-shadow: 0 0 0 1px rgba(59,130,246,0.35), 0 26px 60px -32px rgba(34,211,238,0.6); }
.plat-recbadge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; color: #fff; padding: 4px 12px; border-radius: 999px; background: linear-gradient(135deg, #3b82f6, #22d3ee); box-shadow: 0 8px 20px -8px rgba(34,211,238,0.9); }
.hg-os { opacity: 0.9; }
.dl-hint { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(14px); z-index: 300; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff; background: linear-gradient(135deg, rgba(20,32,60,0.97), rgba(14,20,29,0.97)); border: 1px solid rgba(59,130,246,0.4); box-shadow: 0 18px 44px -16px rgba(0,0,0,0.85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.dl-hint.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.dlh-spin { width: 15px; height: 15px; flex: none; border-radius: 50%; border: 2px solid rgba(255,255,255,0.25); border-top-color: #22d3ee; animation: dlhSpin .7s linear infinite; }
@keyframes dlhSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .dl-hint { transition: none; } .dlh-spin { animation: none; } }

/* version history (download page) */
#versions .ver-list { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.ver-row { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(168deg, var(--surface), var(--surface-2)); }
.ver-row.is-latest { border-color: rgba(59,130,246,0.45); box-shadow: 0 14px 40px -26px rgba(59,130,246,0.85), inset 0 1px 0 rgba(255,255,255,0.04); }
.ver-info { flex: 1; min-width: 0; }
.ver-head { display: flex; align-items: center; gap: 10px; }
.ver-num { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.ver-tag { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #04121f; background: linear-gradient(135deg, var(--accent), var(--cyan)); padding: 3px 9px; border-radius: 999px; }
.ver-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 5px; color: var(--muted); font-size: 13px; }
.ver-dot { opacity: 0.45; }
.ver-notes { margin-top: 9px; color: var(--muted); font-size: 14px; line-height: 1.55; max-width: 64ch; }
.ver-dl { flex-shrink: 0; align-self: center; }
.ver-foot { margin-top: 18px; font-size: 13.5px; }
.ver-foot a { color: var(--cyan); }
@media (max-width: 560px) { .ver-row { flex-direction: column; align-items: stretch; gap: 14px; } .ver-dl { width: 100%; justify-content: center; } }

/* ===== Landing hero: premium staggered load entrance ===== */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > h1, .hero-copy > .sub, .hero-copy > .hero-btns, .hero-copy > .hero-badges,
  .pills .pill-card { animation: heroRise .7s cubic-bezier(.2, .8, .25, 1) both; }
  .hero-copy > h1 { animation-delay: .05s; }
  .hero-copy > .sub { animation-delay: .15s; }
  .hero-copy > .hero-btns { animation-delay: .24s; }
  .hero-copy > .hero-badges { animation-delay: .32s; }
  .hero-app-wrap { animation: heroRiseApp .85s cubic-bezier(.2, .8, .25, 1) both; animation-delay: .22s; }
  .pills .pill-card:nth-child(1) { animation-delay: .40s; }
  .pills .pill-card:nth-child(2) { animation-delay: .46s; }
  .pills .pill-card:nth-child(3) { animation-delay: .52s; }
  .pills .pill-card:nth-child(4) { animation-delay: .58s; }
  .pills .pill-card:nth-child(5) { animation-delay: .64s; }
  .pills .pill-card:nth-child(6) { animation-delay: .70s; }
}
@keyframes heroRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes heroRiseApp { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }

/* Scroll-reveal: content sections fade up as they enter the viewport. Driven by reveal.js via an
   IntersectionObserver (rock-solid, unlike CSS scroll-timelines near the page bottom). Fail-open:
   the hidden state only applies once JS adds `.js-reveal` to <html>, so with no JS (or a failure)
   everything is visible. reveal.js also honors prefers-reduced-motion by not opting in. */
html.js-reveal .ct-reveal { opacity: 0; transform: translateY(26px); transition: opacity .62s cubic-bezier(.2,.7,.3,1), transform .62s cubic-bezier(.2,.7,.3,1); will-change: opacity, transform; }
html.js-reveal .ct-reveal.is-in { opacity: 1; transform: none; }
/* Card cascade: sections with a card grid fade opacity-only, and their cards ripple up in
   sequence. Transform-only on the cards (never hides content). */
html.js-reveal .ct-reveal.ct-has-stag { transform: none; }
html.js-reveal .ct-reveal .ct-stag-item { transform: translateY(24px); transition: transform .55s cubic-bezier(.2,.7,.3,1); transition-delay: calc(var(--ri, 0) * 55ms); }
html.js-reveal .ct-reveal.is-in .ct-stag-item { transform: none; }


/* A11y: globally honor the OS "reduce motion" setting. Uses 0.01ms (not none) so
   transitionend/animationend listeners still fire and motion-dependent JS never hangs.
   Only affects users who have explicitly requested reduced motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print styles — ink-friendly light layout for saving/printing content (Terms, Privacy, blog…).
   The site is dark-themed, so without this a print/PDF is a black, chrome-cluttered, ink-heavy mess. */
@media print {
  html, body { background: #fff !important; color: #1a1a1a !important; }
  /* flatten dark backgrounds, glows, shadows, blur → clean white paper */
  *, *::before, *::after {
    background: transparent !important; box-shadow: none !important; text-shadow: none !important;
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important; color: #1a1a1a !important;
  }
  /* hide interactive / decorative chrome that's useless on paper */
  header.site, footer, .foot-bottom, .to-top, .read-progress, .skip-link, .nav-burger, .nav-cta,
  .glow, .app-shot, .hero-app-wrap, .floaty, .post-share, .rss-link, .cookie-notice, #cookieNotice { display: none !important; }
  a { color: #0b57d0 !important; text-decoration: underline; }
  h1, h2, h3, h4, h5, .h2, .h2 b, .wm b, .sec-kicker { color: #000 !important; -webkit-text-fill-color: #000 !important; }
  /* content that reveal.js keeps at opacity:0 until scrolled — force it visible so it always prints */
  .ct-reveal, [class*="ct-reveal"], .ct-has-stag > *, section, .block { opacity: 1 !important; transform: none !important; }
  main, .wrap, .legal, article { max-width: 100% !important; }
  section, .block { padding: 12px 0 !important; page-break-inside: auto; }
  h2, h3 { page-break-after: avoid; }
}
