/* =========================================================
   LUNA EXECUTOR — lunaexecutor.net
   1. Tokens & base       7. How to use / steps
   2. Buttons & bits      8. Download section + platforms
   3. Navigation          9. Safety, FAQ, CTA
   4. Hero (3D moon)     10. Share, footer, toast
   5. Sections, preview  11. Download page
   6. Features (bento)   12. Reveal & responsive
   ========================================================= */

/* ---------------------------------------------------------
   1. Tokens & base
   --------------------------------------------------------- */
:root {
  --bg: #050409;
  --bg-2: #0a0812;
  --ink: #f5f3fb;
  --ink-dim: rgba(234, 230, 247, 0.66);
  --ink-faint: rgba(234, 230, 247, 0.42);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --glass: rgba(255, 255, 255, 0.04);
  --violet: #8b6cff;
  --violet-2: #b9a6ff;
  --violet-deep: #4a2c8c;
  --moon: #dbe3ef;
  --green: #5ee6a8;
  --amber: #ffc56b;
  --red: #ff6b8a;

  /* Space Grotesk for Latin. Manrope is only a fallback for Cyrillic glyphs */
  --font: "Space Grotesk", "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --pad: clamp(18px, 4vw, 56px);
  --nav-h: 78px;
  --radius: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: rgba(139, 108, 255, 0.45);
  color: #fff;
}

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

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

.icon {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ---------------------------------------------------------
   2. Buttons & small bits
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s;
}

.btn .icon {
  width: 17px;
  height: 17px;
  transition: transform 0.35s var(--ease);
}

.btn:hover .icon--arrow {
  transform: translateX(3px);
}

.btn--sm {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
  gap: 7px;
}

.btn--sm .icon {
  width: 15px;
  height: 15px;
}

.btn--xl {
  height: 64px;
  padding: 0 34px;
  font-size: 17px;
  gap: 12px;
}

.btn--xl .icon {
  width: 20px;
  height: 20px;
}

/* Primary CTA — Luna violet, glowing */
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #a58bff 0%, #6b45e6 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 0 1px rgba(139, 108, 255, 0.35),
    0 10px 40px -8px rgba(139, 108, 255, 0.65);
}

.btn--primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #b49cff 0%, #7a53ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 0 0 1px rgba(139, 108, 255, 0.5),
    0 16px 56px -8px rgba(139, 108, 255, 0.85);
}

.btn--primary:active {
  transform: translateY(0);
}

/* Moonlight silver */
.btn--light {
  color: #0b0a10;
  background: linear-gradient(180deg, #ffffff 0%, #dfe5f0 100%);
  box-shadow:
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.4),
    0 10px 40px -8px rgba(190, 200, 255, 0.45);
}

.btn--light:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 14px 50px -6px rgba(190, 200, 255, 0.6);
}

.btn--ghost {
  color: var(--ink);
  background: var(--glass);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.25s, color 0.25s;
}

.link:hover {
  text-decoration-color: var(--violet-2);
}

.kbd {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  margin: 0 2px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--line-2);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.35);
  vertical-align: middle;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag--new { color: #cbbcff; background: rgba(139, 108, 255, 0.16); }
.tag--improved { color: #9fd8ff; background: rgba(110, 180, 255, 0.13); }
.tag--fixed { color: #ffd9a0; background: rgba(255, 197, 107, 0.12); }
.tag--latest { color: #0b0a10; background: var(--green); }
.tag--soft { color: var(--ink-dim); background: rgba(255, 255, 255, 0.06); }

/* ---------------------------------------------------------
   3. Navigation (fixed)
   --------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 var(--pad);
  transition: background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(5, 4, 9, 0.62);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  justify-self: start;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #232129, #141318);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 24px rgba(139, 108, 255, 0.18);
}

.brand__mark svg {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 4px rgba(219, 227, 239, 0.45));
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.nav__links a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-dim);
  transition: color 0.25s, background-color 0.25s;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
}

.nav__links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(139, 108, 255, 0.16);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
}

.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--glass);
  position: relative;
}

.nav__burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease);
}

.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child  { top: 22px; }

.nav.is-open .nav__burger span:first-child { transform: translateY(3px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child  { transform: translateY(-3px) rotate(-45deg); }

/* Breadcrumbs */
.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 0;
  font-size: 13px;
  color: var(--ink-faint);
}

.crumbs li {
  display: inline-flex;
  align-items: center;
}

.crumbs li + li::before {
  content: "/";
  margin: 0 10px;
  color: var(--ink-faint);
  opacity: 0.6;
}

.crumbs a {
  color: var(--ink-dim);
  transition: color 0.25s;
}

.crumbs a:hover {
  color: var(--ink);
}

.crumbs [aria-current="page"] {
  color: var(--violet-2);
}

/* ---------------------------------------------------------
   4. Hero — 3D moon (three.js)
   --------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 70% at 50% 100%, #2a1650 0%, #140c26 38%, transparent 70%),
    radial-gradient(80% 60% at 50% 0%, #0d0918 0%, transparent 70%),
    var(--bg);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}

.hero.is-ready .hero__canvas {
  opacity: 1;
}

/* Static fallback if WebGL is not available */
.hero__fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: none;
  pointer-events: none;
}

.hero__fallback-moon {
  position: absolute;
  left: 50%;
  bottom: -43vmin;
  width: 110vmin;
  height: 110vmin;
  transform: translateX(-50%) rotate(-52deg); /* same "cradle" angle as the 3D moon */
  filter: drop-shadow(0 0 40px rgba(200, 210, 255, 0.35)) drop-shadow(0 0 120px rgba(139, 108, 255, 0.35));
}

.no-webgl .hero__fallback {
  display: block;
}

/* Film grain */
.hero__grain {
  position: absolute;
  inset: -50%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}

@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -1%); }
  80%  { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* Soft fade into the page below */
.hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(5, 4, 9, 0), var(--bg));
}

.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + clamp(16px, 5vh, 72px)) var(--pad) 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  margin-bottom: clamp(20px, 3.4vh, 32px);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-dim);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.25s, color 0.25s;
}

.pill:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.22);
}

.pill__tag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #a58bff, #6b45e6);
  box-shadow: 0 0 18px rgba(139, 108, 255, 0.55);
}

.pill__arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--ease);
}

.pill:hover .pill__arrow {
  transform: translateX(3px);
}

/* Big headline — last phrase is a hollow outline */
.headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 700;
  font-size: clamp(42px, min(8.2vw, 12.5vh), 132px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-wrap: balance;
  text-shadow: 0 0 60px rgba(5, 4, 9, 0.5);
}

.headline > span {
  display: block;
  padding-bottom: 0.04em;
}

.headline__outline,
.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.92);
  text-shadow: none;
}

.lede {
  max-width: 36em;
  margin-top: clamp(18px, 3vh, 28px);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.55;
  color: var(--ink-dim);
  text-wrap: pretty;
  text-shadow: 0 1px 20px rgba(5, 4, 9, 0.8);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(22px, 3.6vh, 36px);
}

.hero__meta {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-faint);
}

.hero__meta a {
  color: var(--ink-dim);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  text-underline-offset: 3px;
}

.hero__meta a:hover {
  color: var(--ink);
}

.hero__foot {
  position: absolute;
  z-index: 3;
  left: var(--pad);
  right: var(--pad);
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  pointer-events: none;
}

.hero__foot a {
  pointer-events: auto;
  transition: color 0.25s;
}

.hero__foot a:hover {
  color: var(--ink);
}

/* Hero entrance animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(8px);
  animation: reveal 1.1s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ---------------------------------------------------------
   5. Sections, product preview & stats
   --------------------------------------------------------- */
.container {
  width: min(1200px, 100% - 2 * var(--pad));
  margin-inline: auto;
}

.container.narrow {
  width: min(820px, 100% - 2 * var(--pad));
}

.section {
  position: relative;
  padding: clamp(72px, 8.5vw, 124px) 0;
}

.section--tight {
  padding: clamp(56px, 6vw, 88px) 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 72px);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 12px var(--violet);
}

.h2 {
  font-size: clamp(36px, 5.4vw, 74px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.h2 .outline {
  display: block;
  -webkit-text-stroke-width: 1.3px;
}

.nowrap {
  white-space: nowrap;
}

.section-lede {
  max-width: 36em;
  margin: 20px auto 0;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--ink-dim);
  text-wrap: pretty;
}

.card {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.35s, transform 0.5s var(--ease);
}

/* soft light along the top edge */
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  pointer-events: none;
}

.card:hover {
  border-color: var(--line-2);
}

/* Product preview */
.preview {
  padding-top: clamp(20px, 4vw, 60px);
}

.preview::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8%;
  width: min(1100px, 90vw);
  height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(110, 70, 230, 0.32), transparent);
  filter: blur(40px);
  pointer-events: none;
}

.app-window {
  position: relative;
  border-radius: 18px;
  background: #0c0a14;
  border: 1px solid var(--line-2);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 40px 120px -30px rgba(80, 50, 200, 0.55),
    0 20px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  transform-origin: 50% 0;
}

.js .app-window[data-reveal] {
  transform: perspective(1600px) rotateX(16deg) scale(0.94);
  transition: opacity 1.2s var(--ease), transform 1.6s var(--ease);
}

.js .app-window[data-reveal].is-visible {
  transform: perspective(1600px) rotateX(0) scale(1);
}

.app-window__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.app-window__dots {
  display: flex;
  gap: 7px;
}

.app-window__dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.app-window__dots i:first-child { background: #ff6b6b; }
.app-window__dots i:nth-child(2) { background: #ffc56b; }
.app-window__dots i:nth-child(3) { background: #5ee6a8; }
.app-window__dots--ghost { visibility: hidden; }

.app-window__title {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-faint);
  font-family: var(--mono);
}

.app-window__body {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: clamp(320px, 42vw, 520px);
}

/* editor sidebar */
.app-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 12px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.app-side__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 4px 8px;
}

.app-side__brand svg {
  width: 24px;
  height: 24px;
}

.app-side__brand b {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.app-side__sep {
  height: 1px;
  margin: 10px 4px;
  background: var(--line);
}

.side-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink-faint);
}

.side-item i {
  width: 14px;
  height: 14px;
  flex: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.09);
}

.side-item--active {
  color: var(--ink);
  background: rgba(139, 108, 255, 0.16);
}

.side-item--active i {
  background: var(--violet-2);
  box-shadow: 0 0 10px rgba(139, 108, 255, 0.6);
}

.side-item--hot i {
  background: rgba(255, 197, 107, 0.5);
}

/* editor main area */
.app-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.editor-tabs {
  display: flex;
  gap: 2px;
  padding: 10px 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12.5px;
}

.editor-tabs span {
  padding: 8px 14px 10px;
  color: var(--ink-faint);
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.editor-tabs span:first-child {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
}

.code {
  flex: 1;
  padding: 18px 20px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-dim);
  overflow: hidden;
}

.code-line {
  white-space: pre;
}

.tok-kw { color: var(--violet-2); }
.tok-str { color: var(--green); }
.tok-fn { color: #9fd8ff; }
.tok-com { color: rgba(234, 230, 247, 0.35); }
.tok-num { color: var(--amber); }
.tok-punc { color: rgba(234, 230, 247, 0.55); }

.code__cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--violet-2);
  animation: cursor 1.1s steps(2) infinite;
}

@keyframes cursor {
  50% { opacity: 0; }
}

/* output console */
.console {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  padding: 12px 20px 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.9;
}

.console__line {
  display: flex;
  gap: 12px;
  white-space: nowrap;
}

.console__line time {
  color: var(--ink-faint);
}

.console__line--ok span:last-child { color: var(--green); }
.console__line--dim span:last-child { color: var(--ink-dim); }
.console__line--violet span:last-child { color: var(--violet-2); }

/* Stats under the window */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 24px;
  text-align: center;
}

.stats li + li {
  border-left: 1px solid var(--line);
}

.stats strong {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.stats span {
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

/* ---------------------------------------------------------
   6. Features (bento)
   --------------------------------------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.feature {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 2.6vw, 32px);
  min-height: 240px;
}

.feature--wide {
  grid-column: span 4;
  flex-direction: row;
  align-items: stretch;
  gap: 24px;
}

.feature--half {
  grid-column: span 3;
}

.feature__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: auto;
  border-radius: 12px;
  color: var(--violet-2);
  background: rgba(139, 108, 255, 0.12);
  border: 1px solid rgba(139, 108, 255, 0.25);
  box-shadow: 0 0 24px rgba(139, 108, 255, 0.15);
}

.feature__icon .icon {
  width: 20px;
  height: 20px;
}

.feature h3,
.step h3,
.platform h3,
.dl-panel h3,
.changelog h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.feature h3 {
  margin-top: 28px;
}

.feature p,
.step p,
.safety-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-dim);
}

/* "0.3s injection" visual */
.speed {
  position: relative;
  flex: 0 0 42%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 100% 100%, rgba(139, 108, 255, 0.28), transparent 60%),
    rgba(255, 255, 255, 0.02);
}

.speed__num {
  font-size: clamp(56px, 6.4vw, 92px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.9);
}

.speed__num small {
  font-size: 0.5em;
  margin-left: 4px;
}

.speed__label {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.speed__bar {
  margin-top: 22px;
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.speed__bar i {
  display: block;
  width: 18%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--moon));
  box-shadow: 0 0 14px var(--violet);
}

/* UNC meter visual */
.unc {
  align-self: flex-start;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 260px;
}

.unc__row {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-faint);
}

.unc__row b {
  color: var(--green);
  font-weight: 600;
}

.unc__bar {
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.unc__bar i {
  display: block;
  width: 99%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #9fd8ff);
  box-shadow: 0 0 14px rgba(94, 230, 168, 0.5);
}

/* ---------------------------------------------------------
   7. How to use — steps
   --------------------------------------------------------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.steps--four {
  grid-template-columns: repeat(4, 1fr);
}

.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 2.6vw, 32px);
}

.step__num {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(185, 166, 255, 0.75);
  margin-bottom: 18px;
}

.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.step .file-chip {
  margin-top: 14px;
}

.file-chip .icon {
  width: 15px;
  height: 15px;
  color: var(--violet-2);
}

.file-chip em {
  font-style: normal;
  color: var(--ink-faint);
}

/* ---------------------------------------------------------
   8. Download section + platforms
   --------------------------------------------------------- */
.download {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(90, 52, 168, 0.28), transparent 70%),
    var(--bg-2);
}

/* faint stars */
.download::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff, transparent),
    radial-gradient(1px 1px at 28% 72%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 44% 12%, #fff, transparent),
    radial-gradient(1px 1px at 63% 38%, #fff, transparent),
    radial-gradient(1px 1px at 78% 16%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 88% 64%, #fff, transparent),
    radial-gradient(1px 1px at 8% 86%, #fff, transparent),
    radial-gradient(1px 1px at 54% 90%, #fff, transparent);
}

.download__glow {
  position: absolute;
  left: 50%;
  top: -340px;
  width: 680px;
  height: 680px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(219, 227, 239, 0.16), rgba(139, 108, 255, 0.12) 40%, transparent 70%);
  pointer-events: none;
}

.download .container {
  position: relative;
}

.download__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.download__meta {
  font-size: 14px;
  color: var(--ink-faint);
}

.download__hint {
  max-width: 30em;
  font-size: 14px;
  color: var(--ink-dim);
  text-align: center;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.platform {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
}

.platform.is-detected {
  border-color: rgba(139, 108, 255, 0.55);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(139, 108, 255, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: 0 0 0 1px rgba(139, 108, 255, 0.2), 0 30px 80px -40px rgba(139, 108, 255, 0.7);
}

.platform__head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
}

.platform__head p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-faint);
}

.platform__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: var(--ink);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05);
}

.platform__icon .icon {
  width: 22px;
  height: 22px;
}

.platform__badge {
  display: none;
  align-self: start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, #a58bff, #6b45e6);
}

.platform.is-detected .platform__badge {
  display: inline-block;
}

.platform .btn {
  margin-top: auto;
}

.platform__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.spec-chip .icon {
  width: 14px;
  height: 14px;
  color: var(--violet-2);
}

/* Trust row */
.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: clamp(36px, 5vw, 56px);
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--ink-dim);
}

.trust .icon {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.trust a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  text-underline-offset: 4px;
}

.trust a:hover {
  color: var(--ink);
}

/* ---------------------------------------------------------
   9. Safety, FAQ, CTA
   --------------------------------------------------------- */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.safety-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 2.6vw, 32px);
}

.safety-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.safety-card .feature__icon {
  margin-bottom: 0;
}

/* FAQ accordion */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq__item {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  transition: border-color 0.3s;
}

.faq__item[open] {
  border-color: rgba(139, 108, 255, 0.4);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary .icon {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--violet-2);
  transition: transform 0.35s var(--ease);
}

.faq__item[open] summary .icon {
  transform: rotate(45deg);
}

.faq__item p {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-dim);
}

/* Final CTA */
.cta {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: clamp(56px, 8vw, 110px) clamp(24px, 5vw, 72px);
  border-radius: calc(var(--radius) + 12px);
  border: 1px solid rgba(139, 108, 255, 0.3);
  background:
    radial-gradient(80% 120% at 50% 120%, rgba(90, 52, 168, 0.55), transparent 65%),
    radial-gradient(60% 80% at 50% -20%, rgba(139, 108, 255, 0.25), transparent 70%),
    linear-gradient(180deg, #0e0a1a, #090612);
}

.cta__stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 14% 22%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 32% 74%, #fff, transparent),
    radial-gradient(1px 1px at 52% 16%, #fff, transparent),
    radial-gradient(1px 1px at 68% 58%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 84% 30%, #fff, transparent),
    radial-gradient(1px 1px at 92% 78%, #fff, transparent),
    radial-gradient(1px 1px at 6% 64%, #fff, transparent),
    radial-gradient(1px 1px at 44% 90%, #fff, transparent);
  animation: cta-twinkle 5s ease-in-out infinite alternate;
}

@keyframes cta-twinkle {
  from { opacity: 0.4; }
  to   { opacity: 0.9; }
}

.cta__moon {
  position: absolute;
  right: -70px;
  top: -70px;
  width: 260px;
  height: 260px;
  opacity: 0.14;
  transform: rotate(-52deg);
  pointer-events: none;
}

.cta .h2 {
  font-size: clamp(32px, 4.6vw, 60px);
}

.cta .section-lede {
  margin-bottom: 18px;
}

/* ---------------------------------------------------------
   10. Share, footer, toast
   --------------------------------------------------------- */
.share__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3.4vw, 40px);
}

.share__label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.share__label b {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.share__label span {
  font-size: 13.5px;
  color: var(--ink-faint);
}

.share__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.3s var(--ease), border-color 0.25s, color 0.25s, background-color 0.25s, box-shadow 0.35s var(--ease);
}

.share__btn .icon {
  width: 17px;
  height: 17px;
}

.share__btn:hover {
  transform: translateY(-2px);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
}

.share__btn--facebook:hover {
  color: #fff;
  border-color: #1877f2;
  background: #1877f2;
  box-shadow: 0 10px 32px -8px rgba(24, 119, 242, 0.7);
}

.share__btn--x:hover {
  color: #050409;
  border-color: #fff;
  background: #fff;
  box-shadow: 0 10px 32px -8px rgba(255, 255, 255, 0.5);
}

.share__btn--linkedin:hover {
  color: #fff;
  border-color: #0a66c2;
  background: #0a66c2;
  box-shadow: 0 10px 32px -8px rgba(10, 102, 194, 0.7);
}

.share__btn--pinterest:hover {
  color: #fff;
  border-color: #e60023;
  background: #e60023;
  box-shadow: 0 10px 32px -8px rgba(230, 0, 35, 0.7);
}

.share__btn--reddit:hover {
  color: #fff;
  border-color: #ff4500;
  background: #ff4500;
  box-shadow: 0 10px 32px -8px rgba(255, 69, 0, 0.7);
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(74, 44, 140, 0.25), transparent 70%),
    var(--bg-2);
  overflow: hidden;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding: clamp(48px, 6vw, 80px) 0 40px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.footer__brand p {
  max-width: 30em;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-dim);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  transition: border-color 0.25s;
}

.status:hover {
  border-color: var(--line-2);
}

.status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(94, 230, 168, 0.8);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(94, 230, 168, 0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(94, 230, 168, 0); }
}

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

.footer__cols h4 {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.footer__cols div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__cols a {
  font-size: 14.5px;
  color: var(--ink-dim);
  transition: color 0.25s;
}

.footer__cols a:hover {
  color: var(--ink);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-faint);
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  color: var(--ink-faint);
  transition: color 0.25s;
}

.footer__legal a:hover {
  color: var(--ink);
}

.footer__disclaimer {
  padding-bottom: 26px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(234, 230, 247, 0.3);
  max-width: 72em;
}

.footer__word {
  margin-top: -10px;
  font-size: clamp(90px, 16vw, 240px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.72;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  user-select: none;
  pointer-events: none;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 90;
  transform: translate(-50%, 16px);
  max-width: min(420px, calc(100vw - 40px));
  padding: 13px 20px;
  border-radius: 14px;
  font-size: 14px;
  text-align: center;
  color: var(--ink);
  background: rgba(16, 13, 26, 0.92);
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.toast.is-shown {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------------------------------------------------------
   11. Download page
   --------------------------------------------------------- */
.dl-hero {
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
  background:
    radial-gradient(90% 80% at 50% 100%, #2a1650 0%, #140c26 45%, transparent 75%),
    radial-gradient(70% 60% at 80% 0%, rgba(74, 44, 140, 0.35), transparent 70%),
    var(--bg);
}

.dl-hero__moon {
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 460px;
  height: 460px;
  opacity: 0.85;
  transform: rotate(-52deg);
  filter: drop-shadow(0 0 60px rgba(200, 210, 255, 0.25)) drop-shadow(0 0 140px rgba(139, 108, 255, 0.3));
  pointer-events: none;
}

.dl-hero__stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 8% 28%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 22% 62%, #fff, transparent),
    radial-gradient(1px 1px at 38% 14%, #fff, transparent),
    radial-gradient(1px 1px at 58% 44%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 74% 20%, #fff, transparent),
    radial-gradient(1px 1px at 88% 58%, #fff, transparent),
    radial-gradient(1px 1px at 46% 78%, #fff, transparent),
    radial-gradient(1px 1px at 12% 84%, #fff, transparent);
  animation: cta-twinkle 5s ease-in-out infinite alternate;
}

.dl-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: clamp(36px, 6vh, 72px) var(--pad) clamp(48px, 7vh, 90px);
}

.dl-hero__inner .crumbs {
  justify-content: center;
  margin-bottom: clamp(24px, 4vh, 40px);
}

.dl-hero h1 {
  font-size: clamp(40px, 7vw, 92px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.dl-hero .lede {
  margin-top: 18px;
}

.meta-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

/* Big download panel */
.dl-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  padding: clamp(28px, 4vw, 48px);
  margin-top: clamp(36px, 6vh, 64px);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(139, 108, 255, 0.35);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(139, 108, 255, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: 0 40px 120px -40px rgba(90, 52, 168, 0.8);
  overflow: hidden;
}

.dl-panel::before {
  background: linear-gradient(90deg, transparent, rgba(185, 166, 255, 0.45), transparent);
}

.dl-panel__info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.dl-panel__file {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dl-panel__file-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  color: var(--violet-2);
  background: rgba(139, 108, 255, 0.14);
  border: 1px solid rgba(139, 108, 255, 0.3);
}

.dl-panel__file-icon .icon {
  width: 24px;
  height: 24px;
}

.dl-panel__file b {
  display: block;
  font-family: var(--mono);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.dl-panel__file span {
  font-size: 13px;
  color: var(--ink-faint);
}

.dl-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
  overflow: hidden;
}

.dl-panel__grid > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  background: #0b0913;
}

.dl-panel__grid dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.dl-panel__grid dd {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.dl-panel__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.dl-panel__action .btn--xl {
  width: 100%;
  max-width: 400px;
}

.dl-panel__action small {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-faint);
  max-width: 34em;
}

.dl-panel__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

/* checksum row */
.checksum {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #07060c;
}

.checksum code {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-dim);
  overflow-x: auto;
  white-space: nowrap;
  flex: 1;
}

.copy {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  color: var(--ink-faint);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.25s, border-color 0.25s;
}

.copy:hover {
  color: var(--ink);
  border-color: var(--line-2);
}

.copy.is-copied {
  color: var(--green);
  border-color: rgba(94, 230, 168, 0.4);
}

.copy .icon {
  width: 15px;
  height: 15px;
}

/* requirements list on the download page */
.req-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 12px;
  margin-top: 4px;
}

.req-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-dim);
}

.req-list .icon {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--green);
}

/* Changelog mini */
.changelog-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin-inline: auto;
}

.changelog {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 2.6vw, 30px);
}

.changelog__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.changelog__version {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--violet-2);
}

.changelog__date {
  font-size: 13px;
  color: var(--ink-faint);
}

.changelog ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.changelog li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-dim);
}

/* ---------------------------------------------------------
   11b. Screenshot preview
   --------------------------------------------------------- */
.app-window__shot {
  position: relative;
  background: #0c0a14;
  min-height: 240px;
}

.app-window__shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------------------------------------------------------
   11c. Troubleshooting (search + OS filter + accordion)
   --------------------------------------------------------- */
.help__tools {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-width: min(380px, 100%);
  transition: border-color 0.25s;
}

.search:focus-within {
  border-color: rgba(139, 108, 255, 0.5);
}

.search .icon {
  color: var(--ink-faint);
}

.search input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: none;
  font-size: 14.5px;
  color: var(--ink);
}

.search input::placeholder {
  color: var(--ink-faint);
}

.chips {
  display: flex;
  gap: 5px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
}

.chip {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-faint);
  transition: color 0.25s, background-color 0.25s, box-shadow 0.25s;
}

.chip:hover {
  color: var(--ink);
}

.chip[aria-pressed="true"] {
  color: var(--ink);
  background: rgba(139, 108, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(139, 108, 255, 0.4);
}

.issues {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.issue {
  border-radius: 18px;
}

.issue summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 17px 22px;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.25s;
}

.issue summary::-webkit-details-marker {
  display: none;
}

.issue summary:hover {
  background: rgba(255, 255, 255, 0.02);
}

.issue[open] {
  border-color: rgba(139, 108, 255, 0.35);
}

.os-tag {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--violet-2);
  background: rgba(139, 108, 255, 0.14);
  border: 1px solid rgba(139, 108, 255, 0.25);
}

.os-tag--all {
  color: #9fd8ff;
  background: rgba(110, 180, 255, 0.12);
  border-color: rgba(110, 180, 255, 0.25);
}

.issue__title {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.4;
}

.issue__toggle {
  color: var(--ink-faint);
  transition: transform 0.35s var(--ease);
}

.issue[open] .issue__toggle {
  transform: rotate(45deg);
}

.issue__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 2px 22px 22px 56px;
}

.issue__why {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-faint);
}

.issue__steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: fix;
}

.issue__steps li {
  position: relative;
  padding-left: 32px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-dim);
  counter-increment: fix;
}

.issue__steps li::before {
  content: counter(fix, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--violet-2);
}

.codeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #07060c;
}

.codeline code {
  font-family: var(--mono);
  font-size: 13px;
  overflow-x: auto;
  white-space: nowrap;
}

.issues__empty {
  padding: 32px;
  text-align: center;
  font-size: 14.5px;
  color: var(--ink-faint);
}

/* ---------------------------------------------------------
   11d. System requirements (spec table)
   --------------------------------------------------------- */
.spec {
  padding: 0;
  overflow: hidden;
}

.spec__scroll {
  overflow-x: auto;
}

.spec-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.spec-table :is(th, td) {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  color: var(--ink-dim);
}

.spec-table thead th {
  color: var(--ink);
  font-weight: 600;
}

.spec-table tbody tr:last-child :is(th, td) {
  border-bottom: 0;
}

.spec-table tbody th[scope="row"] {
  font-weight: 500;
  white-space: nowrap;
}

.spec-table .icon {
  width: 15px;
  height: 15px;
  margin-right: 7px;
  vertical-align: -2px;
  color: var(--violet-2);
}

.spec-table em {
  font-style: normal;
  color: var(--ink-faint);
}

.spec-table [data-os-col].is-detected {
  background: rgba(139, 108, 255, 0.12);
  color: var(--ink);
}

.spec-table thead [data-os-col].is-detected {
  box-shadow: inset 0 2px 0 var(--violet);
}

/* ---------------------------------------------------------
   11e. Keyboard shortcuts
   --------------------------------------------------------- */
.seg {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
}

.seg button {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-faint);
  transition: color 0.25s, background-color 0.25s;
}

.seg button[aria-pressed="true"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.09);
}

.section-head .seg {
  margin-top: 22px;
}

.shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.shortcut-group {
  padding: clamp(20px, 2.4vw, 28px);
}

.shortcut-group ul {
  display: flex;
  flex-direction: column;
  margin-top: 14px;
}

.shortcut-group li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-dim);
}

.shortcut-group li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.keys {
  display: flex;
  gap: 4px;
}

.shortcuts__more {
  margin-top: 28px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-faint);
}

/* ---------------------------------------------------------
   11f. Changelog (split layout + timeline)
   --------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.split__head {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  text-align: left;
}

.split__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.releases {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 30px;
}

.releases::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(180deg, rgba(139, 108, 255, 0.55), var(--line));
}

.release {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}

.release::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 30px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(139, 108, 255, 0.18), 0 0 14px rgba(139, 108, 255, 0.8);
}

.release__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.release__version {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--violet-2);
}

.release__meta time {
  font-size: 13px;
  color: var(--ink-faint);
}

.release h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.release__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.release__list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-dim);
}

.release__list .tag {
  flex: none;
}

/* ---------------------------------------------------------
   11g. Status dashboard
   --------------------------------------------------------- */
.status-section {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(50% 40% at 50% 0%, rgba(74, 44, 140, 0.22), transparent 70%),
    var(--bg-2);
}

.status-board {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.status-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
}

.status-pulse {
  position: relative;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
}

.status-pulse i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(94, 230, 168, 0.9);
}

.status-pulse::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(94, 230, 168, 0.5);
  animation: status-ring 2.6s ease-out infinite;
}

@keyframes status-ring {
  from { transform: scale(0.4); opacity: 1; }
  to   { transform: scale(1.5); opacity: 0; }
}

.status-pulse--warn i {
  background: var(--amber);
  box-shadow: 0 0 14px rgba(255, 197, 107, 0.9);
}

.status-pulse--warn::before {
  border-color: rgba(255, 197, 107, 0.5);
}

.status-head__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.status-head__text strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.status-head__text span {
  font-size: 13px;
  color: var(--ink-faint);
}

.kpis {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 16px;
}

.kpi {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
}

.kpi__label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.kpi__value {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.kpi__value--hero {
  font-size: clamp(40px, 4.6vw, 58px);
}

.kpi__sub {
  font-size: 12.5px;
  color: var(--ink-faint);
}

.kpi--hero {
  position: relative;
  justify-content: center;
  overflow: hidden;
}

.kpi--hero > div {
  position: relative;
  z-index: 1;
}

.kpi__moon {
  position: absolute;
  right: -26px;
  bottom: -30px;
  width: 160px;
  height: 160px;
  opacity: 0.35;
  pointer-events: none;
}

.orbit-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.09);
}

.orbit-ring--inner {
  stroke: rgba(255, 255, 255, 0.06);
}

.kpi__sat {
  fill: var(--violet-2);
  filter: drop-shadow(0 0 4px rgba(139, 108, 255, 0.9));
}

.spark {
  width: 100%;
  height: 36px;
  margin-top: auto;
}

.spark__line {
  fill: none;
  stroke: var(--violet-2);
  stroke-width: 1.6;
}

.spark__dot {
  fill: var(--violet-2);
}

.chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.chart-head h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.chart-head p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-faint);
}

.legend {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--ink-faint);
  white-space: nowrap;
}

.legend li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend svg {
  width: 14px;
  height: 14px;
}

.uptime {
  padding: 24px;
}

.uptime__rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.uptime-row {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 18px;
  align-items: center;
}

.uptime-row__head {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.uptime-row__name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.uptime-row__name strong {
  font-size: 14.5px;
  font-weight: 600;
}

.uptime-row__name span {
  font-size: 12px;
  color: var(--ink-faint);
}

.uptime-row__state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--ink-dim);
}

.uptime-row__state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(94, 230, 168, 0.7);
}

.uptime-row__state--degraded i {
  background: var(--amber);
  box-shadow: 0 0 8px rgba(255, 197, 107, 0.7);
}

.uptime-row__state--outage i {
  background: var(--red);
  box-shadow: 0 0 8px rgba(255, 107, 138, 0.7);
}

.uptime-row__pct {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-dim);
}

.uptime-row__days {
  display: block;
  width: 100%;
  height: 14px;
}

.day--ok .day__lit { fill: var(--green); }
.day--degraded .day__lit { fill: var(--amber); }
.day--outage .day__lit { fill: var(--red); }
.day--degraded .day__dark,
.day--outage .day__dark { fill: rgba(255, 255, 255, 0.1); }

.day-ring {
  fill: none;
  stroke: var(--violet-2);
  stroke-width: 1;
}

.uptime__axis {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 12px;
  color: var(--ink-faint);
}

.status-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 16px;
}

.latency,
.regions,
.incidents {
  padding: 24px;
}

.line-chart {
  position: relative;
  width: 100%;
}

.line-chart__svg {
  display: block;
  width: 100%;
  height: auto;
}

.line-chart .grid { stroke: rgba(255, 255, 255, 0.06); }
.line-chart .axis { stroke: rgba(255, 255, 255, 0.16); }
.line-chart .tick { fill: var(--ink-faint); font-size: 11px; font-family: var(--mono); }
.line-chart .tick--unit { font-size: 10px; }
.line-chart .series-line { fill: none; stroke: var(--violet-2); stroke-width: 2; }
.line-chart .series-glow { fill: none; stroke: rgba(139, 108, 255, 0.8); stroke-width: 5; opacity: 0.45; }
.line-chart .series-dot { fill: #fff; }
.line-chart .end-label { fill: var(--ink); font-size: 12px; font-weight: 600; font-family: var(--mono); }
.line-chart .peak-dot { fill: var(--amber); }
.line-chart .peak-label { fill: var(--amber); font-size: 11px; font-family: var(--mono); }
.line-chart .crosshair line { stroke: rgba(255, 255, 255, 0.25); stroke-dasharray: 3 3; }
.line-chart .crosshair circle { fill: #fff; }

.orbit__svg {
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

.orbit__ring { fill: none; stroke: rgba(255, 255, 255, 0.08); }
.orbit__halo { fill: rgba(139, 108, 255, 0.12); }
.orbit__spoke { stroke: rgba(255, 255, 255, 0.1); }
.orbit__ping { fill: #fff; }
.orbit__dot { fill: var(--violet-2); }
.orbit__city { fill: var(--ink); font-size: 11px; font-weight: 600; }
.orbit__ms { fill: var(--ink-faint); font-size: 10px; font-family: var(--mono); }
.orbit__sat { outline: none; }
.orbit__sat:focus .orbit__dot { stroke: #fff; stroke-width: 1.5; }

.regions__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px 24px;
  margin-top: 18px;
}

.regions__list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--ink-dim);
}

.regions__list i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet-2);
  box-shadow: 0 0 8px rgba(139, 108, 255, 0.6);
}

.regions__name {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex: 1;
}

.regions__name span {
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 11px;
}

.regions__ms {
  font-family: var(--mono);
  color: var(--ink);
}

.incident-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.incident {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
}

.incident__date {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12.5px;
  color: var(--ink-faint);
}

.incident__date time {
  font-weight: 600;
  color: var(--ink-dim);
}

.incident__top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.impact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.impact .icon {
  width: 12px;
  height: 12px;
}

.impact--degraded { color: var(--amber); background: rgba(255, 197, 107, 0.12); }
.impact--outage { color: var(--red); background: rgba(255, 107, 138, 0.12); }

.incident__dur {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-faint);
}

.incident__resolved {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--green);
}

.incident__resolved .icon {
  width: 13px;
  height: 13px;
}

.incident h4 {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.incident p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-dim);
}

.table-toggle {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-faint);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s;
}

.table-toggle:hover {
  color: var(--ink);
}

.table-wrap {
  margin-top: 12px;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table :is(th, td) {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
}

.data-table th {
  color: var(--ink-dim);
  font-weight: 600;
}

.data-table td {
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: 12.5px;
}

.viz-tip {
  position: absolute;
  z-index: 30;
  min-width: 150px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(14, 11, 24, 0.96);
  border: 1px solid var(--line-2);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  font-size: 12.5px;
}

.viz-tip__row {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-dim);
}

.viz-tip__row--strong {
  color: var(--ink);
  font-weight: 600;
}

.viz-tip__key {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.viz-tip__key--ok { background: var(--green); }
.viz-tip__key--degraded { background: var(--amber); }
.viz-tip__key--outage { background: var(--red); }
.viz-tip__key--series { background: var(--violet-2); }

.viz-tip__title {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--ink-faint);
}

/* ---------------------------------------------------------
   11h. Table of contents (jump-links)
   --------------------------------------------------------- */
.toc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 18px;
  padding: 18px 22px;
  margin-top: 26px;
}

.toc__title {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.toc__title i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 12px var(--violet);
}

.toc a {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 6px 4px;
  font-size: 14px;
  color: var(--ink-dim);
  border-radius: 8px;
  transition: color 0.25s;
}

.toc a:hover {
  color: var(--ink);
}

.toc a b {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--violet-2);
}

/* ---------------------------------------------------------
   11i. App info table + developer card
   --------------------------------------------------------- */
.about-details {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.about-details .dev-card {
  height: 100%;
  box-sizing: border-box;
}
.app-info {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.app-info :is(th, td) {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.app-info tbody tr:last-child :is(th, td) {
  border-bottom: 0;
}

.app-info th[scope="row"] {
  font-weight: 600;
  color: var(--ink-faint);
  white-space: nowrap;
  width: 34%;
}

.app-info td {
  color: var(--ink);
}

.app-info td em {
  font-style: normal;
  color: var(--ink-faint);
}

.dev-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: clamp(22px, 2.6vw, 30px);
}

.dev-card__avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(139, 108, 255, 0.45);
  box-shadow: 0 0 24px rgba(139, 108, 255, 0.3);
}

span.dev-card__avatar {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #a58bff, #6b45e6);
}

.dev-card__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dev-card__text h3 {
  font-size: 18px;
}

.dev-card__text p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-dim);
}

.dev-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  margin-top: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s, color 0.25s, transform 0.3s var(--ease);
}

.dev-card__link:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.dev-card__link .icon {
  width: 15px;
  height: 15px;
  color: var(--violet-2);
}

/* ---------------------------------------------------------
   11j. Pros & cons
   --------------------------------------------------------- */
.proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.proscons .card {
  padding: clamp(24px, 2.6vw, 32px);
}

.proscons h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 18px;
}

.proscons h3 .icon {
  width: 20px;
  height: 20px;
}

.proscons .card--pros h3 .icon { color: var(--green); }
.proscons .card--cons h3 .icon { color: var(--red); }

.proscons ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.proscons li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-dim);
}

.proscons li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
}

.proscons .card--pros li::before {
  background-color: rgba(94, 230, 168, 0.12);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235ee6a8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5 9-10'/></svg>");
  background-size: 11px;
}

.proscons .card--cons li::before {
  background-color: rgba(255, 107, 138, 0.1);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b8a' stroke-width='2.4' stroke-linecap='round'><path d='M6 6l12 12M18 6L6 18'/></svg>");
  background-size: 10px;
}

/* ---------------------------------------------------------
   11k. Vs competitors table
   --------------------------------------------------------- */
.vs-wrap {
  overflow-x: auto;
}

.vs-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}

.vs-table :is(th, td) {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.vs-table thead th {
  color: var(--ink);
  font-weight: 600;
  font-size: 13.5px;
}

.vs-table tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--ink-dim);
  white-space: nowrap;
}

.vs-table td {
  color: var(--ink-faint);
}

.vs-table td:first-of-type {
  color: var(--ink);
  font-weight: 600;
  background: rgba(139, 108, 255, 0.1);
}

.vs-table .yes { color: var(--green); }
.vs-table .no { color: var(--red); }

.vs-table em {
  font-style: normal;
  color: inherit;
  opacity: 0.75;
  font-size: 12.5px;
}

.vs-note {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-faint);
  text-align: center;
}

/* ---------------------------------------------------------
   11l. Safety verification links (VirusTotal / Safe Browsing)
   --------------------------------------------------------- */
.safety-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.safety-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 19px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.25s, transform 0.35s var(--ease), background-color 0.25s;
}

.safety-link:hover {
  border-color: rgba(94, 230, 168, 0.45);
  background: rgba(94, 230, 168, 0.06);
  transform: translateY(-2px);
}

.safety-link .icon {
  width: 22px;
  height: 22px;
  color: var(--green);
}

.safety-link b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
}

.safety-link span {
  font-size: 12.5px;
  color: var(--ink-faint);
}

.safety-link .icon--ext {
  margin-left: auto;
  width: 15px;
  height: 15px;
  color: var(--ink-faint);
}

/* ---------------------------------------------------------
   11m. Community feedback: reviews + interactive rating
   --------------------------------------------------------- */
.reviews__summary {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(26px, 3.4vw, 40px);
  margin-bottom: 16px;
}

.reviews__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.reviews__score-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 84px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 30%, var(--violet-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reviews__score-count {
  font-size: 13px;
  color: var(--ink-faint);
}

/* partial star fill (4.67 / 5) */
.stars-visual {
  position: relative;
  display: inline-flex;
  gap: 3px;
  font-size: 0;
  line-height: 0;
}

.stars-visual svg {
  width: 22px;
  height: 22px;
}

.stars-visual__off {
  display: inline-flex;
  gap: 3px;
  color: rgba(255, 255, 255, 0.14);
}

.stars-visual__on {
  position: absolute;
  inset: 0 auto 0 0;
  display: inline-flex;
  gap: 3px;
  overflow: hidden;
  color: var(--amber);
  filter: drop-shadow(0 0 6px rgba(255, 197, 107, 0.45));
}

.reviews__bars {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.bar-row {
  display: grid;
  grid-template-columns: 34px 1fr 42px;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-faint);
}

.bar-row__label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
}

.bar-row__track {
  display: block;
  height: 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.bar-row__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--amber));
  box-shadow: 0 0 10px rgba(255, 197, 107, 0.35);
}

.bar-row__pct {
  text-align: right;
  font-family: var(--mono);
}

/* review cards */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.2vw, 26px);
}

.review__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--amber);
}

.review__stars .icon {
  width: 14px;
  height: 14px;
}

.review__stars .icon--off {
  color: rgba(255, 255, 255, 0.14);
}

.review p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-dim);
  flex: 1;
}

.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review__avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #a58bff, #6b45e6);
  box-shadow: 0 0 18px rgba(139, 108, 255, 0.35);
}

.review__avatar--b { background: linear-gradient(135deg, #6fb1ff, #3d6be6); }
.review__avatar--g { background: linear-gradient(135deg, #5ee6a8, #2bb673); }
.review__avatar--a { background: linear-gradient(135deg, #ffc56b, #ff8a5c); }

.review__who {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review__who b {
  font-size: 14px;
  font-weight: 600;
}

.review__who span {
  font-size: 12px;
  color: var(--ink-faint);
}

/* interactive star widget */
.rate-widget {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(22px, 2.8vw, 30px);
}

.rate-widget__label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rate-widget__label b {
  font-size: 17px;
}

.rate-widget__label span {
  font-size: 13px;
  color: var(--ink-faint);
}

.rate-widget__form {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.rate-widget fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

.star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 5px;
}

.star-rating input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.star-rating label {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  transition: color 0.15s, transform 0.2s var(--ease), background-color 0.2s;
}

.star-rating label .icon {
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating label.is-on,
.star-rating input:checked ~ label {
  color: var(--amber);
  filter: drop-shadow(0 0 8px rgba(255, 197, 107, 0.55));
}

.star-rating label:hover {
  transform: scale(1.15) rotate(-4deg);
}

.rate-widget__done {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--green);
}

.rate-widget__done .icon {
  width: 16px;
  height: 16px;
}

/* ---------------------------------------------------------
   11n. Comments (Leave a Comment)
   --------------------------------------------------------- */
.comments {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
  align-items: start;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(24px, 2.8vw, 32px);
}

.comment-form h3 {
  font-size: 18px;
}

.comment-form > p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-faint);
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  color: var(--ink);
  font-size: 14.5px;
  transition: border-color 0.25s;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: rgba(139, 108, 255, 0.55);
}

.comment-form textarea {
  min-height: 110px;
  resize: vertical;
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
  color: var(--ink-faint);
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comment {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
}

.comment__avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #a58bff, #6b45e6);
}

.comment__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.comment__meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.comment__meta b {
  font-size: 14px;
}

.comment__meta time {
  font-size: 12px;
  color: var(--ink-faint);
}

.comment__body p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-dim);
  overflow-wrap: anywhere;
}

.comments__empty {
  padding: 26px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-faint);
}

/* ---------------------------------------------------------
   12. Scroll reveal & responsive
   --------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .platforms {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature,
  .feature--half {
    grid-column: span 1;
  }

  .feature--wide {
    grid-column: span 2;
  }

  .platforms {
    grid-template-columns: 1fr;
  }

  .dl-panel {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split__head {
    position: static;
  }

  .shortcuts {
    grid-template-columns: repeat(2, 1fr);
  }

  .kpis {
    grid-template-columns: repeat(3, 1fr);
  }

  .kpi--hero {
    grid-column: 1 / -1;
  }

  .status-grid {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .steps--four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  :root {
    --nav-h: 68px;
  }

  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav__burger {
    display: block;
  }

  .nav__links {
    position: absolute;
    top: calc(var(--nav-h) - 4px);
    left: var(--pad);
    right: var(--pad);
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    border-radius: 20px;
    background: rgba(12, 10, 20, 0.92);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }

  .nav__links a {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 12px;
  }

  .nav.is-open .nav__links {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .app-window__body {
    grid-template-columns: 1fr;
  }

  .app-side {
    display: none;
  }

  .console {
    font-size: 11.5px;
  }

  .console__line time {
    display: none;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats li:nth-child(3) {
    border-left: 0;
  }

  .stats li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .steps,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .uptime-row {
    grid-template-columns: 150px 1fr auto;
  }

  .footer__cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .platforms {
    grid-template-columns: 1fr;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature--half,
  .feature--wide {
    grid-column: span 1;
  }

  .feature--wide {
    flex-direction: column;
  }

  .feature {
    min-height: 0;
  }

  .btn--xl {
    width: 100%;
    max-width: 360px;
    height: 58px;
    font-size: 16px;
  }

  .dl-panel__grid {
    grid-template-columns: 1fr;
  }

  .steps--four {
    grid-template-columns: 1fr;
  }

  .shortcuts {
    grid-template-columns: 1fr;
  }

  .kpis {
    grid-template-columns: 1fr 1fr;
  }

  .kpi {
    min-height: 0;
  }

  .kpi__moon {
    width: 100px;
    height: 100px;
  }

  .status-head {
    grid-template-columns: auto 1fr;
  }

  .status-head .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .issue summary {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
  }

  .issue summary .os-tag { grid-column: 1; grid-row: 1; }
  .issue__title { grid-column: 1; grid-row: 2; }
  .issue__toggle { grid-column: 2; grid-row: 1 / span 2; }

  .issue__body {
    padding: 2px 22px 20px;
  }

  .incident {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .incident__date {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
  }

  .uptime-row__name span {
    display: none;
  }

  .regions__list {
    grid-template-columns: 1fr;
  }

  /* the table scrolls sideways — fade the edge as a hint */
  .spec__scroll {
    -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent);
    mask-image: linear-gradient(90deg, #000 82%, transparent);
  }

  .spec-table {
    min-width: 620px;
  }

  .spec__scroll.is-end {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .share__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .code {
    font-size: 11.5px;
    padding: 14px 16px;
  }
}

@media (max-width: 520px) {
  .nav__actions .btn--sm {
    display: none;
  }

  .headline__outline,
  .outline {
    -webkit-text-stroke-width: 1.1px;
  }

  .hero .actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .hero__foot span {
    display: none;
  }

  .hero__foot {
    justify-content: center;
  }

  .platform__head {
    grid-template-columns: auto 1fr;
  }

  .platform__badge {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .share__btn {
    padding: 0 14px;
  }

  .share__btn span {
    display: none;
  }

  .share__btn {
    width: 44px;
    padding: 0;
    justify-content: center;
  }
}

/* Responsive — new blocks */
@media (max-width: 1024px) {
  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proscons,
  .comments,
  .safety-links,
  .about-details {
    grid-template-columns: 1fr;
  }

  .reviews__summary {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .toc {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .dev-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .rate-widget {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hero__grain,
  .cta__stars,
  .dl-hero__stars,
  .code__cursor,
  .status i,
  .status-pulse::before {
    animation: none;
  }

  .js [data-reveal],
  .js .app-window[data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
