/* ==========================================================================
   Arcadia Engine — marketing site
   Dark glassmorphism, palette pulled from the logo mark
   ========================================================================== */

:root {
  --bg:        #05060f;
  --bg-2:      #0a0c1d;
  --text:      #eef0fb;
  --text-2:    #b4b8d4;
  --muted:     #7c81a3;

  --cyan:      #22d3ee;
  --blue:      #3b82f6;
  --violet:    #8b5cf6;
  --lavender:  #a78bfa;
  --magenta:   #d946ef;
  --pink:      #ec4899;

  --grad:      linear-gradient(120deg, #22d3ee 0%, #6d7cff 38%, #a855f7 66%, #ec4899 100%);
  --grad-soft: linear-gradient(120deg, rgba(34,211,238,.18), rgba(139,92,246,.18), rgba(236,72,153,.18));

  --ink:          255,255,255;
  --text-strong:  #ffffff;
  --glass-bg:     linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  --glass-strong-bg: linear-gradient(160deg, rgba(255,255,255,.11), rgba(255,255,255,.035));
  --glass-strong-shadow: 0 30px 80px -20px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12);
  --chip-bg:      rgba(10,12,28,.55);
  --nav-bg:       rgba(10,12,28,.7);
  --menu-bg:      rgba(10,12,28,.92);
  --input-bg:     rgba(0,0,0,.28);
  --input-bg-focus: rgba(0,0,0,.36);
  --eyebrow:      #d8ccff;
  --footer-bg:    linear-gradient(180deg, transparent, rgba(0,0,0,.35));
  --blob-opacity: .55;
  --glass:        rgba(255,255,255,.045);
  --glass-strong: rgba(var(--ink),.07);
  --glass-border: rgba(var(--ink),.10);
  --glass-hi:     rgba(var(--ink),.18);
  color-scheme: dark;
  --blur:         18px;

  --ok:   #34d399;
  --warn: #fbbf24;
  --bad:  #f87171;

  --r-sm: 10px;
  --r:    18px;
  --r-lg: 28px;

  --font:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Sora', 'Inter', system-ui, sans-serif;
  --brand:   'Michroma', 'Sora', sans-serif;

  --ease: cubic-bezier(.2,.8,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.1; letter-spacing: -.02em; }
p { margin: 0; }
::selection { background: rgba(139,92,246,.45); color: #fff; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }

/* ── Ambient background ─────────────────────────────────────────── */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-blob {
  position: absolute; border-radius: 50%;
  filter: blur(110px); opacity: var(--blob-opacity);
  will-change: transform;
}
.b1 { width: 620px; height: 620px; background: #1e7fd8; top: -220px; left: -160px; animation: drift1 26s ease-in-out infinite; }
.b2 { width: 560px; height: 560px; background: #7c3aed; top: 22%; right: -200px; animation: drift2 30s ease-in-out infinite; }
.b3 { width: 520px; height: 520px; background: #db2777; bottom: -240px; left: 28%; opacity: .35; animation: drift3 34s ease-in-out infinite; }
@keyframes drift1 { 50% { transform: translate(120px, 90px) scale(1.1); } }
@keyframes drift2 { 50% { transform: translate(-140px, 60px) scale(.92); } }
@keyframes drift3 { 50% { transform: translate(80px, -120px) scale(1.12); } }
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(var(--ink),.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--ink),.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-noise {
  position: absolute; inset: 0; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Glass primitives ───────────────────────────────────────────── */
.glass, .glass-strong, .glass-chip {
  position: relative;
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(150%);
  backdrop-filter: blur(var(--blur)) saturate(150%);
}
.glass        { background: var(--glass-bg); }
.glass-strong { background: var(--glass-strong-bg); box-shadow: var(--glass-strong-shadow); }
.glass-chip   { background: var(--chip-bg); border-radius: 12px; }
.glass::before, .glass-strong::before {
  /* top-edge sheen */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--ink),.08), transparent 40%);
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: shimmer 8s ease-in-out infinite;
}
@keyframes shimmer { 50% { background-position: 100% 0; } }
.grad-bg-1 { background: linear-gradient(135deg, #22d3ee, #3b82f6); }
.grad-bg-2 { background: linear-gradient(135deg, #6366f1, #a855f7); }
.grad-bg-3 { background: linear-gradient(135deg, #a855f7, #ec4899); }


/* ── Light theme ──────────────────────────────────────────────── */
[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f4fb; --bg-2: #e8eaf6;
  --text: #16183d; --text-2: #474c72; --muted: #6a6f94; --text-strong: #0c0e2b;
  --ink: 22,24,64;
  --glass-bg: linear-gradient(160deg, rgba(255,255,255,.82), rgba(255,255,255,.55));
  --glass-strong-bg: linear-gradient(160deg, rgba(255,255,255,.94), rgba(255,255,255,.72));
  --glass-strong-shadow: 0 30px 70px -28px rgba(40,30,110,.35), inset 0 1px 0 rgba(255,255,255,.9);
  --chip-bg: rgba(255,255,255,.7);
  --nav-bg: rgba(255,255,255,.78);
  --menu-bg: rgba(255,255,255,.96);
  --input-bg: rgba(255,255,255,.85);
  --input-bg-focus: #ffffff;
  --eyebrow: #6d28d9;
  --footer-bg: linear-gradient(180deg, transparent, rgba(120,110,200,.08));
  --blob-opacity: .28;
}
[data-theme="light"] .b3 { opacity: .16; }
[data-theme="light"] .bg-noise { opacity: .035; }
[data-theme="light"] .field input::placeholder { color: #9a9dbb; }
[data-theme="light"] .field input { border-color: rgba(22,24,64,.14); }
[data-theme="light"] .save { color: #047857; }
[data-theme="light"] .state.ok { color: #047857; }
[data-theme="light"] .state.warn { color: #b45309; }
[data-theme="light"] .state.bad { color: #b91c1c; }
[data-theme="light"] .form-error { color: #991b1b; }
[data-theme="light"] .login-foot a, [data-theme="light"] .faq summary::after { color: #6d28d9; border-color: #6d28d9; }

/* Product mockups show the (dark) client, so they stay dark in both themes. */
.theme-lock {
  --ink: 255,255,255; --text-strong: #fff; --text: #eef0fb; --text-2: #b4b8d4; --muted: #7c81a3;
  --glass-bg: linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  --glass-strong-bg: linear-gradient(160deg, rgba(255,255,255,.11), rgba(255,255,255,.035));
  --chip-bg: rgba(10,12,28,.55);
  color: var(--text);
}
[data-theme="light"] .theme-lock.glass-strong,
[data-theme="light"] .theme-lock .glass-strong,
[data-theme="light"] .theme-lock .glass { background-color: #11142c; }
[data-theme="light"] .theme-lock.glass-strong { box-shadow: 0 30px 70px -24px rgba(30,20,90,.45); }

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--font);
  padding: 13px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap; color: #fff;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--grad); background-size: 160% 100%;
  box-shadow: 0 10px 30px -8px rgba(139,92,246,.65), inset 0 1px 0 rgba(255,255,255,.3); color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 40px -8px rgba(236,72,153,.6), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-glass {
  color: var(--text-strong);
  background: rgba(var(--ink),.06); border-color: var(--glass-hi);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn-glass:hover { background: rgba(var(--ink),.12); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--text-strong); }
.btn:focus-visible, .tab:focus-visible, .switch:focus-visible, summary:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 3px;
}

/* ── Nav ───────────────────────────────────────────────────────── */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 16px; transition: top .3s var(--ease); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 10px 12px 10px 18px; border-radius: 999px;
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled .nav-inner { background: var(--nav-bg); box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; filter: drop-shadow(0 4px 12px rgba(139,92,246,.5)); }
.brand-word {
  font-family: var(--brand); font-size: 15px; letter-spacing: .14em; line-height: 1;
  display: flex; flex-direction: column; gap: 4px;
}
.brand-word small {
  font-size: 8.5px; letter-spacing: .5em; color: var(--lavender);
  display: flex; align-items: center; gap: 6px;
}
.brand-word small::before, .brand-word small::after { content: ""; height: 1px; width: 10px; background: currentColor; opacity: .8; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-strong); background: rgba(var(--ink),.07); }
.nav-mobile-only { display: none; }
.nav-cta { display: flex; align-items: center; gap: 6px; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--glass-border); background: rgba(var(--ink),.06); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text-strong); transition: transform .3s var(--ease); }
.nav-toggle span:first-child { top: 16px; } .nav-toggle span:last-child { top: 22px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3px) rotate(-45deg); }

/* ── Pills & dots ──────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--text-2);
  background: rgba(var(--ink),.05); border: 1px solid var(--glass-border);
  transition: background .2s, color .2s;
}
.pill:hover { background: rgba(var(--ink),.09); color: var(--text-strong); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); position: relative; flex: none; }
.pulse-dot.ok   { background: var(--ok); }
.pulse-dot.warn { background: var(--warn); }
.pulse-dot.bad  { background: var(--bad); }
.pulse-dot.ok::after, .live-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid currentColor; color: var(--ok); opacity: 0; animation: ping 2s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); position: relative; margin-right: 4px; vertical-align: middle; }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero { padding: 150px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.hero-title { font-size: clamp(38px, 4.9vw, 68px); font-weight: 800; letter-spacing: -.04em; margin: 22px 0 22px; }
.hero-title .grad-text { white-space: nowrap; }
.hero-sub { font-size: 18px; color: var(--text-2); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-actions.center { justify-content: center; }
.hero-proof { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--text-2); }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 16px; height: 16px; fill: none; stroke: var(--cyan); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.hero-visual { position: relative; }
.viewport { border-radius: var(--r-lg); padding: 8px; transform: perspective(1600px) rotateY(-6deg) rotateX(3deg); transition: transform .6s var(--ease); }
.hero-visual:hover .viewport { transform: perspective(1600px) rotateY(-2deg) rotateX(1deg); }
.viewport-bar { display: flex; align-items: center; gap: 12px; padding: 6px 10px 12px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(var(--ink),.18); }
.dots i:nth-child(1) { background: #ff6b81; } .dots i:nth-child(2) { background: #ffd166; } .dots i:nth-child(3) { background: #3ee6a8; }
.viewport-url {
  flex: 1; display: flex; align-items: center; gap: 6px; justify-content: center;
  font-size: 12px; color: var(--muted); background: rgba(0,0,0,.25); border-radius: 8px; padding: 5px 10px; margin-right: 46px;
}
.viewport-url b { color: var(--text); font-weight: 500; }
.viewport-stage { position: relative; aspect-ratio: 16 / 10.5; border-radius: 20px; overflow: hidden; background: #070918; }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Mirrors the real client HUD (client/index.html): stats panel, glossy
   nametag capsules, full-width taskbar with text tabs, cascading menus. */
.viewport { --cl-primary: #06b6d4; --cl-surface: #25282d; --cl-surface-hi: #33373e; --cl-border: #3c434d; --cl-text: #e2e8f0; --cl-font: Inter, sans-serif; }
.cl-tab, .cl-menu, .cl-copy { transition: background .4s, color .4s, border-color .4s; }
.cl-stats { position: absolute; top: 3px; left: 3px; display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
.cl-loc, .cl-row span { font: 10px/1.2 'Courier New', monospace; color: rgba(var(--ink),.8); text-shadow: 0 1px 2px #000; }
.cl-loc { margin-bottom: 2px; }
.cl-row { display: flex; align-items: center; gap: 5px; }
.cl-row span { width: 58px; }
.cl-graph { width: 62px; height: 19px; background: rgba(0,0,0,.45); border: 1px solid rgba(var(--ink),.22); display: block; }

.cl-tag {
  position: absolute; top: 0; left: 0; z-index: 2; will-change: transform;
  display: flex; align-items: center; gap: 3px; padding: 2px 8px;
  background:
    linear-gradient(to bottom, rgba(var(--ink),.85) 0%, rgba(var(--ink),0) 45%),
    linear-gradient(to bottom, var(--nt-light, #bfe1fb) 0%, var(--nt-color, #5b9bd5) 100%);
  border: 1px solid var(--nt-border, #3d7ab5); border-radius: 999px;
  color: #1a1a1a; font: 800 10.5px var(--font); white-space: nowrap;
  text-shadow: 0 1px 0 rgba(var(--ink),.5);
  box-shadow: 0 2px 5px rgba(0,0,0,.35), inset 0 1px 1px rgba(var(--ink),.6), inset 0 -2px 4px rgba(0,0,0,.12);
}
.cl-self { top: 8px; left: 50%; transform: translateX(-50%); box-shadow: 0 2px 5px rgba(0,0,0,.35), inset 0 1px 1px rgba(var(--ink),.6), 0 0 0 2px rgba(16,185,129,.65); }
.cl-role { font-size: 10px; color: rgba(0,0,0,.55); text-shadow: none; }
.cl-bubble {
  position: absolute; top: 0; left: 0; z-index: 2; will-change: transform, opacity;
  font: 500 10.5px var(--font); padding: 5px 10px; border-radius: 10px;
  background: rgba(var(--ink),.95); color: #1a1a1a; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.cl-bubble::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; background: inherit; transform: translateX(-50%) rotate(45deg); }

.cl-taskbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 26px; z-index: 3;
  display: flex; align-items: stretch; overflow: hidden;
  background: linear-gradient(180deg, var(--cl-surface-hi) 0%, var(--cl-surface) 100%);
  border-top: 1px solid color-mix(in srgb, var(--cl-primary) 30%, var(--cl-border));
}
.cl-tab {
  display: flex; align-items: center; gap: 4px; padding: 0 9px; white-space: nowrap; flex: none;
  font: 700 9.5px var(--cl-font); color: color-mix(in srgb, var(--cl-text) 72%, transparent);
  border-right: 1px solid rgba(var(--cl-text-rgb, 226,232,240),.07);
}
.cl-tab svg { width: 9px; height: 9px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.cl-tab.active { background: color-mix(in srgb, var(--cl-primary) 15%, transparent); color: var(--cl-primary); }
.cl-tab.off { color: rgba(var(--cl-text-rgb, 226,232,240),.3); }
.cl-copy { margin-left: auto; display: flex; align-items: center; padding: 0 10px; font-size: 8px; color: rgba(var(--cl-text-rgb, 226,232,240),.3); border-left: 1px solid rgba(var(--cl-text-rgb, 226,232,240),.07); white-space: nowrap; }
.cl-menu {
  position: absolute; bottom: 26px; left: 76px; z-index: 3; min-width: 130px;
  background: var(--cl-surface); border: 1px solid var(--cl-border); border-bottom: 0; box-shadow: 0 -6px 18px rgba(0,0,0,.35);
  font: 600 10px var(--cl-font); color: color-mix(in srgb, var(--cl-text) 85%, transparent);
}
.cl-menu-head { padding: 6px 10px; font-size: 8.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(var(--cl-text-rgb, 226,232,240),.55); border-bottom: 1px solid rgba(var(--cl-text-rgb, 226,232,240),.08); }
.cl-menu-item { display: flex; align-items: center; gap: 7px; padding: 6px 10px; border-bottom: 1px solid rgba(var(--cl-text-rgb, 226,232,240),.05); }
.cl-menu-item i { width: 6px; height: 6px; border-radius: 50%; }
.cl-menu-item.muted { color: rgba(var(--cl-text-rgb, 226,232,240),.5); font-style: italic; font-weight: 500; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 16px;
  font-size: 13px; box-shadow: 0 20px 50px -15px rgba(0,0,0,.7);
  animation: float 7s ease-in-out infinite;
}
.float-card b { display: block; font-weight: 600; }
.float-card span { color: var(--muted); font-size: 12px; }
.fc-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.fc-icon svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fc-1 { left: -34px; top: 52%; }
.fc-2 { right: -22px; top: 12%; animation-delay: -3.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }

.tech-strip {
  margin-top: 70px; border-radius: 999px; padding: 16px 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 34px;
}
.tech-label { font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }
.tech { font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--text-2); opacity: .85; }

/* ── Numbers ──────────────────────────────────────────────────── */
.numbers { padding: 40px 0 20px; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.number { border-radius: var(--r); padding: 26px 24px; }
.number b {
  display: block; font-family: var(--display); font-size: 42px; font-weight: 700; letter-spacing: -.03em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.number span { color: var(--text-2); font-size: 14px; }

/* ── Sections ─────────────────────────────────────────────────── */
.section { padding: 110px 0; }
.section-tight { padding: 50px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; margin: 16px 0 18px; letter-spacing: -.035em; }
.section-head p { color: var(--text-2); font-size: 17px; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em;
  padding: 6px 14px; border-radius: 999px;
  background: var(--grad-soft); border: 1px solid rgba(167,139,250,.28); color: var(--eyebrow);
}

/* ── Bento ────────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  border-radius: var(--r-lg); padding: 28px; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.card::after {
  /* cursor spotlight */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(167,139,250,.14), transparent 45%);
}
.card:hover { transform: translateY(-4px); border-color: rgba(167,139,250,.35); }
.card:hover::after { opacity: 1; }
.card h3 { font-size: 20px; font-weight: 600; margin: 18px 0 10px; }
.card p { color: var(--text-2); font-size: 15px; }
.card-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(139,92,246,.6); }
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.bento-lg { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; }
.bento-wide { grid-column: span 2; }
.card-art { position: absolute; inset: 0 0 auto 0; height: 55%; }
.card-art svg { width: 100%; height: 100%; }
.art-terrain { mask-image: linear-gradient(#000 60%, transparent); -webkit-mask-image: linear-gradient(#000 60%, transparent); }
.tags { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; background: rgba(var(--ink),.06); border: 1px solid var(--glass-border); color: var(--text-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.lot-map {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 72px); gap: 8px;
  padding: 10px; border-radius: 18px; background: rgba(0,0,0,.25); border: 1px dashed rgba(var(--ink),.14);
}
.lot {
  border-radius: 10px; padding: 10px; font-size: 12px; font-weight: 600; display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid rgba(var(--ink),.14);
}
.lot i { font-style: normal; font-weight: 500; font-size: 11px; color: rgba(var(--ink),.7); }
.l1 { background: rgba(34,211,238,.16); }
.l2 { background: rgba(var(--ink),.04); border-style: dashed; }
.l3 { background: rgba(139,92,246,.2); }
.l4 { grid-column: span 2; background: linear-gradient(135deg, rgba(59,130,246,.2), rgba(236,72,153,.2)); }
.l5 { background: rgba(236,72,153,.22); box-shadow: 0 0 0 2px rgba(236,72,153,.5); animation: lotPulse 2.4s ease-in-out infinite; }
@keyframes lotPulse { 50% { box-shadow: 0 0 0 5px rgba(236,72,153,.15); } }

/* ── Web + Desktop ────────────────────────────────────────────── */
.clients-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.clients-copy h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; margin: 16px 0 18px; letter-spacing: -.035em; }
.clients-copy > p { color: var(--text-2); font-size: 17px; }
.client-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.client-chips .glass-chip { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(var(--ink),.04); font-size: 13px; color: var(--muted); }
.client-chips .glass-chip > span { display: flex; flex-direction: column; line-height: 1.35; }
.client-chips b { color: var(--text-strong); font-size: 14px; }
.client-chips svg { width: 22px; height: 22px; fill: none; stroke: var(--lavender); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.clients-visual { position: relative; height: 440px; }
.app-win { position: absolute; border-radius: 18px; overflow: hidden; padding: 0; }
.app-win.desk { left: 0; top: 0; width: 78%; height: 330px; }
.app-win.web  { right: 0; bottom: 0; width: 66%; height: 270px; box-shadow: 0 40px 90px -20px rgba(0,0,0,.8), inset 0 1px 0 rgba(var(--ink),.12); }
.app-titlebar { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 0 0 12px; font-size: 12px; background: rgba(10,10,28,.7); border-bottom: 1px solid rgba(var(--ink),.08); }
.app-titlebar.browser { gap: 12px; padding-right: 12px; }
.app-icon { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; font: 700 10px var(--display); background: linear-gradient(135deg, #f59e0b, #fb7185); color: #1e1b4b; }
.win-ctrls { margin-left: auto; display: flex; height: 100%; }
.win-ctrls i { width: 40px; display: grid; place-items: center; font-style: normal; color: var(--muted); font-size: 11px; }
.win-ctrls i.x:hover { background: #e11d48; color: #fff; }
.app-url { flex: 1; text-align: center; color: var(--muted); background: rgba(0,0,0,.3); border-radius: 7px; padding: 3px 10px; font-size: 11px; }
.app-scene { position: relative; height: calc(100% - 34px); display: grid; place-items: center;
  background:
    radial-gradient(circle at 70% 38%, rgba(254,215,170,.95) 0 4%, rgba(251,146,60,.35) 10%, transparent 26%),
    linear-gradient(180deg, #1e1b4b 0%, #9f1239 45%, #f59e0b 68%, #1e1b4b 68.3%, #0f0d2e 100%);
}
.app-scene::after { content: ""; position: absolute; left: 0; right: 0; bottom: 30%; height: 18%; background: #16123a; clip-path: polygon(0 80%, 15% 30%, 30% 65%, 48% 10%, 63% 60%, 78% 25%, 100% 70%, 100% 100%, 0 100%); }
.scene-2 { background:
    radial-gradient(circle at 30% 34%, rgba(254,215,170,.9) 0 4%, rgba(251,146,60,.3) 10%, transparent 24%),
    linear-gradient(180deg, #312e81 0%, #be123c 48%, #f59e0b 66%, #1e1b4b 66.3%, #0f0d2e 100%); }
.app-login { position: relative; z-index: 1; width: 200px; padding: 18px; border-radius: 14px; display: grid; gap: 9px; background: rgba(20,14,40,.55); }
.app-logo { font: 700 13px var(--brand); letter-spacing: .2em; text-align: center; color: #fde68a; margin-bottom: 4px; }
.app-input { display: block; height: 24px; border-radius: 7px; background: rgba(var(--ink),.08); border: 1px solid rgba(var(--ink),.1); }
.app-btn { font-style: normal; text-align: center; font-size: 11px; font-weight: 700; padding: 7px; border-radius: 7px; color: #1e1b4b; background: linear-gradient(90deg, #f59e0b, #fb7185); }
.app-tag { position: absolute; z-index: 1; left: 56%; top: 52%; font-size: 10px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(20,14,40,.6); border: 1px solid rgba(253,230,138,.4); }
.app-bar { position: absolute; z-index: 1; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 5px; padding: 5px; border-radius: 11px; background: rgba(20,14,40,.6); border: 1px solid rgba(253,230,138,.25); }
.app-bar i { width: 22px; height: 22px; border-radius: 6px; background: rgba(var(--ink),.1); }
.app-bar i:first-child { background: linear-gradient(135deg, #f59e0b, #fb7185); }
.app-bar em { white-space: nowrap; font-style: normal; font-size: 11px; font-weight: 600; color: #fde68a; padding: 0 6px; }
.sync-chip { position: absolute; left: 6%; bottom: 36px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; font-size: 12px; color: var(--muted); box-shadow: 0 20px 50px -15px rgba(0,0,0,.7); animation: float 7s ease-in-out infinite; }
.sync-chip > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.sync-chip b { color: var(--text-strong); font-size: 13px; }
.swatch-row { display: flex; }
.swatch-row i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #15122e; margin-left: -6px; }
.swatch-row i:first-child { margin-left: 0; }

/* ── Showcase tabs ────────────────────────────────────────────── */
.tabs {
  display: flex; width: fit-content; margin: 0 auto 40px; padding: 6px; border-radius: 999px; position: relative;
}
.tab {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer;
  font: 600 14px var(--font); color: var(--text-2); padding: 11px 22px; border-radius: 999px; transition: color .3s;
}
.tab.active { color: #fff; }
.tab-glider {
  position: absolute; top: 6px; bottom: 6px; left: 6px; border-radius: 999px; z-index: 0;
  background: var(--grad); box-shadow: 0 8px 24px -8px rgba(139,92,246,.8);
  transition: transform .45s var(--ease), width .45s var(--ease);
}
.pane { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; animation: paneIn .6s var(--ease); }
.pane[hidden] { display: none; }
@keyframes paneIn { from { opacity: 0; transform: translateY(14px); } }
.pane-copy h3 { font-size: 30px; font-weight: 700; margin-bottom: 14px; }
.pane-copy p { color: var(--text-2); font-size: 16.5px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--text); font-size: 15px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--grad-soft); border: 1px solid rgba(167,139,250,.4);
}
.checks li::after {
  content: ""; position: absolute; left: 7px; top: 6px; width: 5px; height: 9px;
  border: solid var(--cyan); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.mock { border-radius: var(--r-lg); padding: 14px; min-height: 380px; }
/* dashboard mock */
.mock:not(.mock-client):not(.mock-ops) { display: grid; grid-template-columns: 52px 1fr; gap: 14px; }
.mock-side { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 10px 0; border-radius: 14px; background: rgba(0,0,0,.25); }
.mock-side img { margin-bottom: 8px; }
.mock-side i { width: 28px; height: 28px; border-radius: 8px; background: rgba(var(--ink),.06); }
.mock-side i.on { background: var(--grad); }
.mock-main { padding: 8px 6px; }
.mock-title { font-family: var(--display); font-weight: 700; font-size: 20px; }
.mock-sub { color: var(--muted); font-size: 13px; margin-top: 2px; }
.mock-sub b { color: var(--text-2); }
.mock-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0; }
.mock-stats > div { padding: 12px; border-radius: 12px; background: rgba(var(--ink),.05); border: 1px solid rgba(var(--ink),.07); }
.mock-stats b { font-family: var(--display); font-size: 18px; display: block; }
.mock-stats small { font-size: 11px; color: var(--muted); font-weight: 500; }
.mock-stats em { font-style: normal; font-size: 11px; color: var(--muted); }
.bar { display: block; height: 4px; border-radius: 4px; background: rgba(var(--ink),.08); margin: 8px 0 6px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--grad); border-radius: inherit; }
.mock-worlds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mw { border-radius: 12px; overflow: hidden; background: rgba(var(--ink),.04); border: 1px solid rgba(var(--ink),.07); padding-bottom: 10px; }
.mw b { display: block; font-size: 13px; padding: 10px 10px 0; }
.mw em { font-style: normal; font-size: 11px; color: var(--muted); padding: 0 10px; }
.mw-thumb { height: 84px; position: relative; }
.t1 { background: linear-gradient(180deg, #f59e8b 0%, #a855f7 55%, #1e1b4b 100%); }
.t2 { background: linear-gradient(180deg, #0ea5e9 0%, #312e81 60%, #0b1026 100%); }
.t3 { background: linear-gradient(180deg, #cbd5e1 0%, #64748b 60%, #1e293b 100%); }
.mw-thumb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: rgba(5,6,15,.55); clip-path: polygon(0 60%, 18% 20%, 35% 55%, 55% 5%, 72% 50%, 88% 25%, 100% 45%, 100% 100%, 0 100%); }
.status { position: absolute; top: 8px; left: 8px; font-size: 10.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,.45); }
.status i { width: 6px; height: 6px; border-radius: 50%; }
.status.live i { background: var(--ok); } .status.draft i { background: var(--warn); }
.ops-head .status { position: static; }

/* client mock */
.mock-client { position: relative; overflow: hidden; padding: 0; }
.mc-sky {
  position: absolute; inset: 0; border-radius: inherit;
  background:
    radial-gradient(circle at 78% 30%, rgba(253,230,138,.9) 0 3%, rgba(253,186,116,.35) 8%, transparent 22%),
    linear-gradient(180deg, #312e81 0%, #7c3aed 38%, #f472b6 62%, #fb923c 74%, #0b1026 74.2%, #111737 100%);
}
.mc-sky::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 26%; height: 22%;
  background: #0d1230; clip-path: polygon(0 70%, 12% 30%, 24% 60%, 40% 10%, 55% 55%, 68% 25%, 82% 60%, 100% 35%, 100% 100%, 0 100%);
}
.mc-win { position: absolute; border-radius: 14px; background: rgba(10,12,30,.6); font-size: 12px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); }
.mc-win-bar { display: flex; justify-content: space-between; padding: 8px 12px; font-weight: 600; border-bottom: 1px solid rgba(var(--ink),.08); }
.mc-win-bar span { color: var(--muted); }
.w1 { left: 5%; top: 8%; width: 52%; }
.w2 { right: 5%; top: 30%; width: 38%; }
.mc-sliders { padding: 10px 12px; display: grid; gap: 9px; }
.mc-sliders label { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; color: var(--text-2); font-size: 11px; }
.mc-sliders label span { height: 5px; border-radius: 5px; background: rgba(var(--ink),.1); position: relative; }
.mc-sliders label span i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: var(--grad); }
.mc-sliders label span i::after { content: ""; position: absolute; right: -6px; top: -4px; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(139,92,246,.4); }
.mc-sliders .skin { background: linear-gradient(90deg, #f6d7c3, #c68642, #3b2219); }
.mc-sliders .skin i { background: transparent; }
.mc-looks { display: flex; align-items: center; gap: 6px; padding: 4px 12px 12px; }
.mc-looks em { font-style: normal; color: var(--muted); font-size: 11px; margin-right: auto; }
.mc-looks i { width: 26px; height: 26px; border-radius: 8px; border: 1px solid rgba(var(--ink),.15); font-style: normal; display: grid; place-items: center; color: var(--muted); }
.mc-looks .a { background: linear-gradient(135deg, #22d3ee, #6366f1); }
.mc-looks .b { background: linear-gradient(135deg, #a855f7, #ec4899); }
.mc-looks .c { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.mc-buddies { list-style: none; margin: 0; padding: 6px; }
.mc-buddies li { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; }
.mc-buddies li:hover { background: rgba(var(--ink),.05); }
.mc-buddies li i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.mc-buddies li i.on { background: var(--ok); }
.mc-buddies em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 11px; }
.mc-bar { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 7px; border-radius: 14px; background: rgba(10,12,30,.55); }
.mc-bar i { width: 28px; height: 28px; border-radius: 8px; background: rgba(var(--ink),.08); }
.mc-bar i:first-child { background: rgba(139,92,246,.45); }
.mc-bar span { font-size: 12px; font-weight: 600; color: #fde68a; padding: 0 8px; }

/* ops mock */
.mock-ops { display: flex; flex-direction: column; gap: 14px; padding: 22px; }
.ops-head { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.ops-rows { display: grid; gap: 8px; }
.ops-row {
  display: grid; grid-template-columns: 10px 1fr auto 110px 72px; gap: 14px; align-items: center;
  padding: 13px 14px; border-radius: 12px; background: rgba(var(--ink),.04); border: 1px solid rgba(var(--ink),.07); font-size: 13px;
}
.ops-row em { font-style: normal; color: var(--muted); font-size: 12px; font-family: ui-monospace, Consolas, monospace; }
.ops-row small { text-align: right; color: var(--text-2); }
.ops-bar { height: 5px; border-radius: 5px; background: rgba(var(--ink),.08); overflow: hidden; }
.ops-bar i { display: block; height: 100%; background: var(--grad); }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.g { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.dot.y { background: var(--warn); }
.ops-brand { padding: 16px; border-radius: 14px; background: rgba(0,0,0,.22); display: grid; gap: 12px; font-size: 13px; }
.swatches { display: flex; gap: 8px; }
.swatches i { width: 30px; height: 30px; border-radius: 9px; border: 1px solid rgba(var(--ink),.2); }
.ops-brand code { font: 12px ui-monospace, Consolas, monospace; color: var(--lavender); background: rgba(139,92,246,.1); padding: 10px 12px; border-radius: 9px; overflow-x: auto; white-space: nowrap; }

/* ── Steps ────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: 1fr 60px 1fr 60px 1fr; align-items: center; }
.step { border-radius: var(--r-lg); padding: 28px; }
.step-n { font-family: var(--brand); font-size: 13px; letter-spacing: .1em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 20px; margin: 12px 0 8px; }
.step p { color: var(--text-2); font-size: 15px; }
.step-line { height: 2px; background: linear-gradient(90deg, rgba(34,211,238,.6), rgba(236,72,153,.6)); position: relative; }
.step-line::after { content: ""; position: absolute; right: -2px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 12px var(--pink); }

/* ── Pricing ──────────────────────────────────────────────────── */
.billing { display: flex; justify-content: center; align-items: center; gap: 14px; margin: -20px 0 44px; font-size: 15px; }
.bill-label { color: var(--muted); font-weight: 500; transition: color .2s; }
.bill-label.active { color: var(--text-strong); }
.save { font-style: normal; font-size: 12px; font-weight: 600; margin-left: 6px; padding: 3px 9px; border-radius: 999px; background: rgba(52,211,153,.15); color: var(--ok); border: 1px solid rgba(52,211,153,.3); }
.switch { width: 52px; height: 30px; border-radius: 999px; border: 1px solid var(--glass-hi); background: rgba(var(--ink),.08); cursor: pointer; position: relative; padding: 0; }
.switch span { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease); box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.switch[aria-checked="true"] { background: var(--grad); border-color: transparent; }
.switch[aria-checked="true"] span { transform: translateX(22px); }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { border-radius: var(--r-lg); padding: 32px 28px; display: flex; flex-direction: column; gap: 24px; transition: transform .4s var(--ease); }
.plan:hover { transform: translateY(-6px); }
.plan-head h3 { font-size: 22px; }
.plan-head p { color: var(--text-2); font-size: 14.5px; margin-top: 8px; }
.price { display: flex; align-items: baseline; gap: 2px; font-family: var(--display); }
.price .cur { font-size: 24px; color: var(--text-2); align-self: flex-start; margin-top: 6px; }
.price b { font-size: 56px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.price .per { color: var(--muted); font-size: 15px; font-family: var(--font); margin-left: 4px; }
.price-contact { font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 56px; }
.plan-list { list-style: none; padding: 22px 0 0; margin: 0; display: grid; gap: 12px; border-top: 1px solid rgba(var(--ink),.08); font-size: 14.5px; color: var(--text-2); }
.plan-list li { display: flex; gap: 10px; align-items: baseline; }
.plan-list li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); transform: translateY(-2px); }
.plan-list b { color: var(--text-strong); }
.plan-featured { border-color: transparent; transform: translateY(-10px); }
.plan-featured:hover { transform: translateY(-16px); }
.plan-featured::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 999px; background: var(--grad); white-space: nowrap;
  box-shadow: 0 8px 20px -6px rgba(236,72,153,.7); z-index: 2;
}

/* ── Status ───────────────────────────────────────────────────── */
.status-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.status-grid .section-head .btn { margin-top: 28px; }
.status-card { border-radius: var(--r-lg); padding: 26px; }
.status-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid rgba(var(--ink),.08); }
.status-overall { display: flex; align-items: center; gap: 16px; }
.status-overall b { display: block; font-family: var(--display); font-size: 20px; }
.status-overall span { color: var(--muted); font-size: 13px; }
.big-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--muted); position: relative; flex: none; }
.big-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: ping 2s ease-out infinite; }
[data-overall="ok"]   .big-dot { background: var(--ok);   color: var(--ok);   box-shadow: 0 0 18px var(--ok); }
[data-overall="warn"] .big-dot { background: var(--warn); color: var(--warn); box-shadow: 0 0 18px var(--warn); }
[data-overall="bad"]  .big-dot { background: var(--bad);  color: var(--bad);  box-shadow: 0 0 18px var(--bad); }
[data-overall="pending"] .big-dot { animation: breathe 1.2s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .35; } }
.status-worlds { text-align: right; }
.status-worlds b { display: block; font-family: var(--display); font-size: 32px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.status-worlds span { font-size: 12px; color: var(--muted); }
.status-list { list-style: none; margin: 0; padding: 12px 0 0; display: grid; gap: 4px; }
.status-list li { display: grid; grid-template-columns: 1fr auto 60px; gap: 16px; align-items: center; padding: 14px 6px; border-radius: 12px; }
.status-list li + li { border-top: 1px solid rgba(var(--ink),.05); }
.status-list b { display: block; font-size: 15px; font-weight: 600; }
.status-list span { color: var(--muted); font-size: 13px; }
.status-list small { color: var(--muted); font: 12px ui-monospace, Consolas, monospace; text-align: right; }
.state { font-style: normal; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.state.pending { color: var(--muted); background: rgba(var(--ink),.05); }
.state.ok   { color: var(--ok);   background: rgba(52,211,153,.12); }
.state.warn { color: var(--warn); background: rgba(251,191,36,.12); }
.state.bad  { color: var(--bad);  background: rgba(248,113,113,.12); }

/* ── Login ────────────────────────────────────────────────────── */
.login-grid { display: grid; grid-template-columns: 1fr 460px; gap: 64px; align-items: center; }
.login-copy h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; margin: 16px 0 18px; letter-spacing: -.035em; }
.login-copy p { color: var(--text-2); font-size: 17px; max-width: 460px; }
.login-perks { display: grid; gap: 10px; margin-top: 28px; max-width: 420px; }
.login-perks .glass-chip { display: flex; align-items: center; gap: 12px; padding: 13px 16px; font-size: 14px; color: var(--text-2); background: rgba(var(--ink),.04); }
.login-perks svg { width: 18px; height: 18px; fill: none; stroke: var(--lavender); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.login-card { border-radius: var(--r-lg); padding: 34px; display: grid; gap: 18px; }
.login-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.login-card-head h3 { font-size: 24px; }
.login-card-head p { color: var(--muted); font-size: 14px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field input {
  width: 100%; font: 500 15px var(--font); color: var(--text-strong);
  padding: 14px 16px; border-radius: 14px;
  background: var(--input-bg); border: 1px solid rgba(var(--ink),.12);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder { color: #565b7d; }
.field input:focus { outline: none; border-color: rgba(167,139,250,.7); box-shadow: 0 0 0 4px rgba(139,92,246,.18); background: var(--input-bg-focus); }
.field input.invalid { border-color: rgba(248,113,113,.7); box-shadow: 0 0 0 4px rgba(248,113,113,.12); }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 50px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; border-radius: 10px; cursor: pointer; color: var(--muted); display: grid; place-items: center; }
.pw-toggle:hover { color: var(--text-strong); background: rgba(var(--ink),.06); }
.pw-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.pw-toggle.on svg { stroke: var(--lavender); }
.form-error { font-size: 13.5px; color: #fecaca; background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.3); padding: 10px 14px; border-radius: 12px; }
.login-foot { text-align: center; font-size: 14px; color: var(--muted); }
.login-foot a { color: var(--lavender); font-weight: 600; }
.login-foot a:hover { color: var(--text-strong); }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--r); padding: 0 24px; transition: background .3s; }
.faq details[open] { background: linear-gradient(160deg, rgba(var(--ink),.09), rgba(var(--ink),.03)); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font-weight: 600; font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border: solid var(--lavender); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--text-2); padding: 0 0 22px; }

/* ── CTA ──────────────────────────────────────────────────────── */
.cta { border-radius: 36px; padding: 80px 32px; text-align: center; overflow: hidden; }
.cta-glow { position: absolute; inset: -40%; background: conic-gradient(from 0deg, rgba(34,211,238,.25), rgba(139,92,246,.25), rgba(236,72,153,.25), rgba(34,211,238,.25)); filter: blur(80px); animation: spin 18s linear infinite; z-index: -1; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-mark { margin: 0 auto 22px; filter: drop-shadow(0 12px 30px rgba(139,92,246,.6)); }
.cta h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; letter-spacing: -.04em; }
.cta p { color: var(--text-2); font-size: 18px; margin-top: 14px; }

/* ── Footer ───────────────────────────────────────────────────── */
.footer { padding: 70px 0 34px; border-top: 1px solid rgba(var(--ink),.06); background: var(--footer-bg); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 300px; }
.footer h4 { font-family: var(--font); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; }
.footer-grid a:not(.brand) { display: block; color: var(--text-2); font-size: 14.5px; padding: 4px 0; transition: color .2s; }
.footer-grid a:not(.brand):hover { color: var(--text-strong); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(var(--ink),.06); font-size: 13px; color: var(--muted); }
.footer-status { display: inline-flex; align-items: center; gap: 8px; }

/* ── Reveal on scroll ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in:hover { transform: translateY(-4px); }
.plan.reveal.in:hover { transform: translateY(-6px); }
.plan-featured.reveal.in { transform: translateY(-10px); }
.plan-featured.reveal.in:hover { transform: translateY(-16px); }

/* ── Responsive ───────────────────────────────────────────────── */
/* ── Utilities ────────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--text-strong); color: var(--bg); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
[hidden] { display: none !important; }

/* ── Theme toggle ─────────────────────────────────────────────── */
.theme-toggle { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; border: 1px solid var(--glass-border); background: rgba(var(--ink),.05); color: var(--text-2); transition: color .2s, background .2s; }
.theme-toggle:hover { color: var(--text-strong); background: rgba(var(--ink),.1); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-moon { display: none; }
[data-theme="light"] .theme-toggle .i-moon { display: block; }
[data-theme="light"] .theme-toggle .i-sun { display: none; }

/* ── Hero extras ──────────────────────────────────────────────── */
.play-ring { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 6px 18px -4px rgba(236,72,153,.6); }
.theme-picker { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 12px; margin-top: 22px; }
.theme-picker-label { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.theme-picker-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.theme-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 999px; cursor: pointer; font: 600 12.5px var(--font); color: var(--text-2); background: rgba(var(--ink),.05); border: 1px solid var(--glass-border); transition: color .2s, background .2s, border-color .2s; }
.theme-chip:hover { color: var(--text-strong); background: rgba(var(--ink),.09); }
.theme-chip[aria-checked="true"] { color: var(--text-strong); border-color: rgba(167,139,250,.6); background: var(--grad-soft); }
.theme-chip .sw { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(var(--ink),.25); margin-right: -3px; }
.theme-chip .sw + .sw { margin-right: 2px; }
.theme-chip .live-dot { margin: 0 0 0 2px; }

.video-modal { padding: 0; border: 0; background: transparent; max-width: min(1100px, 92vw); width: 100%; }
.video-modal::backdrop { background: rgba(3,4,12,.75); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.video-frame { border-radius: 22px; padding: 10px; position: relative; }
.video-frame video { width: 100%; display: block; border-radius: 14px; background: #000; aspect-ratio: 16 / 9; }
.video-close { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; background: #fff; color: #111; font-size: 15px; box-shadow: 0 8px 20px rgba(0,0,0,.4); z-index: 1; }

/* ── Audience cards ───────────────────────────────────────────── */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.audience { display: block; }
.audience .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; font-size: 14px; color: var(--lavender); }
.audience:hover .more svg { transform: translateX(3px); }
.audience .more svg { transition: transform .25s var(--ease); }

/* ── Pricing extras ───────────────────────────────────────────── */
.pricing-note { text-align: center; color: var(--muted); font-size: 14px; margin: 26px auto 0; max-width: 620px; }
.compare { margin-top: 70px; }
.compare-title { font-size: 24px; text-align: center; margin-bottom: 22px; }
.compare-scroll { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--glass-border); background: var(--glass-bg); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14.5px; }
.compare-table th, .compare-table td { padding: 14px 20px; text-align: center; border-bottom: 1px solid rgba(var(--ink),.06); }
.compare-table thead th { font-family: var(--display); font-size: 17px; color: var(--text-strong); padding-top: 22px; padding-bottom: 18px; }
.compare-table th[scope="row"] { text-align: left; font-weight: 500; color: var(--text-2); }
.compare-table td { color: var(--text); }
.compare-table .hl { background: rgba(139,92,246,.08); }
.compare-table thead .hl { color: var(--lavender); }
.compare-table tr.group th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); padding-top: 22px; background: transparent; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.yes { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 700; color: #fff; background: var(--grad); }
.status-more { display: inline-block; margin: 20px 0 0 14px; font-size: 14px; font-weight: 600; color: var(--lavender); }

/* ── Sub-page scaffolding ─────────────────────────────────────── */
.page-hero { padding: 150px 0 50px; text-align: center; }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.04em; margin: 18px 0 16px; }
.page-hero p { color: var(--text-2); font-size: 18px; max-width: 640px; margin: 0 auto; }
.page-hero .hero-actions { justify-content: center; }
.page-section { padding: 40px 0 90px; }
.breadcrumb { font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--text-strong); }
.empty-state { text-align: center; padding: 60px 24px; border-radius: var(--r-lg); color: var(--text-2); }
.empty-state h3 { font-size: 20px; margin-bottom: 8px; color: var(--text-strong); }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(var(--ink),.12); border-top-color: var(--violet); animation: spin 1s linear infinite; margin: 40px auto; }

/* ── Prose (docs, legal, changelog bodies) ────────────────────── */
.prose { color: var(--text-2); font-size: 16.5px; line-height: 1.75; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 26px; color: var(--text-strong); margin-top: 2em; letter-spacing: -.02em; scroll-margin-top: 100px; }
.prose h3 { font-size: 19px; color: var(--text-strong); margin-top: 1.6em; }
.prose a { color: var(--lavender); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(167,139,250,.4); }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose code { font: 14px ui-monospace, 'SFMono-Regular', Consolas, monospace; background: rgba(139,92,246,.12); color: var(--text); padding: 2px 6px; border-radius: 6px; }
.prose pre { background: rgba(var(--ink),.05); border: 1px solid var(--glass-border); border-radius: 14px; padding: 16px 18px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; font-size: 13.5px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(var(--ink),.08); }
.prose th { color: var(--text-strong); font-weight: 600; }
.callout { border-radius: 14px; padding: 14px 18px; border: 1px solid rgba(167,139,250,.3); background: var(--grad-soft); color: var(--text); font-size: 15px; }
.callout.warn { border-color: rgba(251,191,36,.4); background: rgba(251,191,36,.08); }

/* ── Docs layout ──────────────────────────────────────────────── */
.docs { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding: 130px 0 90px; align-items: start; }
.docs-nav { position: sticky; top: 100px; border-radius: var(--r); padding: 18px; font-size: 14.5px; }
.docs-nav h4 { font-family: var(--font); font-size: 11.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); margin: 14px 8px 6px; }
.docs-nav h4:first-child { margin-top: 0; }
.docs-nav a { display: block; padding: 7px 10px; border-radius: 9px; color: var(--text-2); }
.docs-nav a:hover { color: var(--text-strong); background: rgba(var(--ink),.05); }
.docs-nav a[aria-current="page"] { color: var(--text-strong); background: var(--grad-soft); font-weight: 600; }
.docs-body { min-width: 0; max-width: 760px; }
.docs-body h1 { font-size: clamp(32px, 4vw, 46px); letter-spacing: -.035em; margin: 14px 0 12px; }
.docs-body .lead { font-size: 18.5px; color: var(--text-2); margin-bottom: 30px; }
.docs-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(var(--ink),.08); }
.docs-pager a { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--glass-border); color: var(--text-strong); font-weight: 600; max-width: 48%; }
.docs-pager a small { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.docs-pager a:hover { border-color: rgba(167,139,250,.5); }
.docs-pager .next { margin-left: auto; text-align: right; }
.doc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.doc-card { display: block; padding: 22px; border-radius: var(--r); }
.doc-card h3 { font-size: 17px; margin: 14px 0 6px; }
.doc-card p { font-size: 14.5px; color: var(--text-2); }
.doc-card .card-icon { width: 38px; height: 38px; border-radius: 11px; }
.doc-card .card-icon svg { width: 19px; height: 19px; }

/* ── Download ─────────────────────────────────────────────────── */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dl-card { border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.dl-card.detected { border-color: rgba(167,139,250,.55); }
.dl-card .os-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(var(--ink),.06); }
.dl-card .os-icon svg { width: 24px; height: 24px; fill: currentColor; }
.dl-card h3 { font-size: 20px; }
.dl-card p { color: var(--text-2); font-size: 14.5px; flex: 1; }
.dl-card .tag { align-self: flex-start; font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--grad); color: #fff; }
.dl-card .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.dl-meta { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }
.req-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.req { border-radius: var(--r); padding: 22px; font-size: 14.5px; color: var(--text-2); }
.req h4 { font-family: var(--display); color: var(--text-strong); font-size: 16px; margin-bottom: 10px; }
.req ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.installer { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.installer-mock { border-radius: 16px; overflow: hidden; }
.installer-body { display: grid; grid-template-columns: 150px 1fr; min-height: 260px; }
.installer-side { background: linear-gradient(180deg, #f59e0b, #fb7185 60%, #7c3aed); display: grid; place-items: center; font: 700 15px var(--brand); letter-spacing: .14em; color: #1e1b4b; writing-mode: vertical-rl; transform: rotate(180deg); }
.installer-main { padding: 22px; background: #16122b; color: #eef0fb; display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.installer-main b { font-size: 16px; }
.installer-main .bar { height: 7px; margin: 6px 0; background: rgba(255,255,255,.1); }
.installer-main .bar i { background: linear-gradient(90deg, #f59e0b, #fb7185); width: 68%; }
.installer-main small { color: #9ea2c4; }
.installer-main .ib { align-self: flex-end; margin-top: auto; padding: 8px 18px; border-radius: 8px; background: linear-gradient(90deg, #f59e0b, #fb7185); color: #1e1b4b; font-weight: 700; }

/* ── Changelog ────────────────────────────────────────────────── */
.timeline { position: relative; display: grid; gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--cyan), var(--violet), var(--pink)); opacity: .45; }
.entry { position: relative; padding-left: 36px; }
.entry::before { content: ""; position: absolute; left: 0; top: 26px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--violet); }
.entry-card { border-radius: var(--r); padding: 22px 26px; }
.entry time { font-size: 13px; color: var(--muted); font-weight: 600; }
.entry h2 { font-size: 21px; margin: 6px 0 10px; }
.entry .prose { font-size: 15.5px; }

/* ── Showcase gallery ─────────────────────────────────────────── */
.world-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.world-card { border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.world-banner { height: 150px; position: relative; display: grid; place-items: center; background-size: cover; background-position: center; }
.world-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: rgba(0,0,0,.35); clip-path: polygon(0 60%, 18% 20%, 35% 55%, 55% 5%, 72% 50%, 88% 25%, 100% 45%, 100% 100%, 0 100%); }
.world-banner img { max-width: 60%; max-height: 70px; position: relative; z-index: 1; filter: drop-shadow(0 6px 16px rgba(0,0,0,.4)); }
.world-banner .wordmark { position: relative; z-index: 1; font: 700 22px var(--display); letter-spacing: .06em; color: #fff; text-shadow: 0 4px 18px rgba(0,0,0,.4); }
.world-online { position: absolute; z-index: 1; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.45); color: #fff; }
.world-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.world-body h3 { font-size: 19px; }
.world-body p { color: var(--text-2); font-size: 14.5px; flex: 1; }
.world-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.world-meta span { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(var(--ink),.06); color: var(--text-2); }
.world-palette { display: flex; gap: 5px; }
.world-palette i { width: 16px; height: 16px; border-radius: 5px; border: 1px solid rgba(var(--ink),.2); }
.world-actions { display: flex; gap: 8px; margin-top: 6px; }

/* ── Status page ──────────────────────────────────────────────── */
.status-hero-card { max-width: 760px; margin: 0 auto; }
.uptime { display: grid; gap: 16px; max-width: 980px; margin: 0 auto; }
.uptime-row { border-radius: var(--r); padding: 20px 22px; }
.uptime-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.uptime-head b { font-size: 16px; color: var(--text-strong); }
.uptime-head span { color: var(--muted); font-size: 13px; }
.uptime-head .pct { color: var(--text); font-weight: 600; }
.bars { display: grid; grid-template-columns: repeat(90, 1fr); gap: 2px; height: 34px; }
.bars i { border-radius: 2px; background: rgba(var(--ink),.1); position: relative; }
.bars i.ok { background: var(--ok); }
.bars i.warn { background: var(--warn); }
.bars i.bad { background: var(--bad); }
.bars i:hover { filter: brightness(1.25); }
.bars-foot { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }
.bar-tip { position: fixed; z-index: 60; pointer-events: none; padding: 8px 11px; border-radius: 10px; font-size: 12.5px; background: var(--menu-bg); border: 1px solid var(--glass-border); color: var(--text); box-shadow: 0 10px 30px rgba(0,0,0,.35); }

/* ── Legal ────────────────────────────────────────────────────── */
.legal { max-width: 800px; margin: 0 auto; padding: 140px 0 90px; }
.legal h1 { font-size: clamp(34px, 4.6vw, 52px); letter-spacing: -.035em; margin: 14px 0 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 30px; }

/* ── Solutions ────────────────────────────────────────────────── */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-rows { display: grid; gap: 16px; }
.feature-row { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; border-radius: var(--r); padding: 22px 24px; }
.feature-row h3 { font-size: 18px; margin-bottom: 6px; }
.feature-row p { color: var(--text-2); font-size: 15px; }
.split-2 { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.split-2 .section-head.left h2 { font-size: clamp(30px, 3.8vw, 44px); }

/* ── 404 ──────────────────────────────────────────────────────── */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 140px 0 60px; }
.notfound b { display: block; font: 800 clamp(90px, 16vw, 180px)/1 var(--display); letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (max-width: 1060px) {
  .audience-grid, .dl-grid, .req-grid, .world-grid, .uses { grid-template-columns: 1fr 1fr; }
  .docs { grid-template-columns: 1fr; gap: 24px; padding-top: 120px; }
  .docs-nav { position: static; }
  .installer, .split-2 { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .audience-grid, .dl-grid, .req-grid, .world-grid, .uses, .doc-cards { grid-template-columns: 1fr; }
  .page-hero { padding-top: 124px; }
  .page-hero p { font-size: 16.5px; }
  .theme-picker-label { width: 100%; text-align: center; }
  .bars { grid-template-columns: repeat(45, 1fr); }
  .bars i:nth-child(-n+45) { display: none; }
  .docs-pager { flex-direction: column; }
  .docs-pager a { max-width: none; }
  .docs-pager .next { margin-left: 0; }
  .installer-body { grid-template-columns: 90px 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .theme-toggle { width: 34px; height: 34px; }
  .nav-cta .btn-primary { display: none; }
}


@media (max-width: 1060px) {
  .hero-grid, .pane, .status-grid, .login-grid, .clients-grid { grid-template-columns: 1fr; }
  .clients-copy { text-align: center; }
  .clients-copy .checks { text-align: left; max-width: 460px; margin-left: auto; margin-right: auto; }
  .client-chips { justify-content: center; }
  .clients-visual { max-width: 620px; width: 100%; margin: 0 auto; }
  .hero-grid { gap: 70px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin: 0 auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .viewport { transform: none; }
  .hero-visual:hover .viewport { transform: none; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-lg { grid-row: auto; grid-column: span 2; min-height: 380px; }
  .pane { gap: 36px; }
  .status-grid .section-head.left { text-align: center; }
  .login-grid { gap: 40px; }
  .login-card { max-width: 480px; width: 100%; margin: 0 auto; }
  .login-copy { text-align: center; }
  .login-copy p, .login-perks { margin-left: auto; margin-right: auto; }
  .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan-featured, .plan-featured.reveal.in { transform: none; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step-line { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 16px; right: 16px;
    flex-direction: column; gap: 2px; padding: 10px; border-radius: 22px;
    background: var(--menu-bg); border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 13px 16px; font-size: 16px; }
  .nav-mobile-only { display: block; }
  .nav-signin { display: none; }
  .nav-toggle { display: block; }
  .nav-inner { position: relative; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding-top: 124px; }
  .hero-sub { font-size: 16.5px; }
  .section { padding: 80px 0; }
  .numbers-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .number { padding: 20px 16px; }
  .number b { font-size: 32px; }
  .number span { font-size: 13px; }
  .bento { grid-template-columns: 1fr; }
  .bento-lg, .bento-wide { grid-column: auto; }
  .bento-lg { min-height: 0; padding-top: 170px; }
  .clients-visual { height: 360px; }
  .app-win.desk { width: 92%; height: 250px; }
  .app-win.web { width: 78%; height: 200px; }
  .sync-chip { display: none; }
  .app-login { width: 160px; padding: 12px; }
  .card-art { height: 170px; }
  .split { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .cl-menu, .cl-copy, .cl-bubble { display: none; }
  .cl-loc { font-size: 8.5px; }
  .cl-graph { width: 46px; height: 14px; }
  .cl-row span { width: 48px; font-size: 8.5px; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 11px 6px; font-size: 13px; }
  .mock:not(.mock-client):not(.mock-ops) { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-stats { grid-template-columns: 1fr 1fr; }
  .mock-worlds { grid-template-columns: 1fr 1fr; }
  .mock-worlds .mw:nth-child(3) { display: none; }
  .mock-client { min-height: 420px; }
  .w1 { width: 80%; } .w2 { width: 62%; top: auto; bottom: 72px; }
  .ops-row { grid-template-columns: 10px 1fr 64px; }
  .ops-row em, .ops-row .ops-bar { display: none; }
  .tech-strip { border-radius: 24px; gap: 8px 20px; }
  .status-top { flex-direction: column; align-items: flex-start; }
  .status-worlds { text-align: left; }
  .status-list li { grid-template-columns: 1fr auto; }
  .status-list small { display: none; }
  .login-card { padding: 26px 20px; }
  .cta { padding: 60px 20px; border-radius: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .viewport-url { margin-right: 0; }
  .brand-word { font-size: 13px; }
  .nav-cta .btn-primary { padding: 9px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
