:root {
    /* LIGHT theme (default) */
    --bg: #f4f1fb;
    --bg-2: #ece6f9;
    --panel: #ffffff;
    --panel-2: #f8f5ff;
    --border: rgba(91,55,182,0.24);
    --border-strong: rgba(91,55,182,0.40);
    --fg: #150f30;
    --fg-muted: #3d3559;
    --fg-dim: #564d73;
    --fg-strong: #0a0720;
    --plat-fg: #2a2350;
    --surf: rgba(124,58,237,0.05);
    --surf-2: rgba(124,58,237,0.08);
    --surf-3: rgba(124,58,237,0.12);
    --accent-fg: #ffffff;
    --c1: #7c3aed;
    --c2: #2563eb;
    --c1-rgb: 124, 58, 237;
    --c2-rgb: 37, 99, 235;
    --glow-1: 0 0 18px rgba(var(--c1-rgb), 0.28);
    --glow-2: 0 0 18px rgba(var(--c2-rgb), 0.26);
    --hero-fade: #f4f1fb;
    --scroll-thumb: #cfc6ee;
    --scroll-thumb-hover: #b6a8e8;
    --sans: 'Manrope', ui-sans-serif, system-ui, sans-serif;
    --disp: 'Space Grotesk', var(--sans);
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --r: 14px;
    --r-sm: 9px;
    --maxw: 1200px;
  }
  [data-theme="dark"] {
    --bg: #07060f;
    --bg-2: #0b0916;
    --panel: #110d20;
    --panel-2: #15102a;
    --border: rgba(255,255,255,0.09);
    --border-strong: rgba(255,255,255,0.17);
    --fg: #ece9f8;
    --fg-muted: #a39fbe;
    --fg-dim: #6a6488;
    --fg-strong: #ffffff;
    --surf: rgba(255,255,255,0.03);
    --surf-2: rgba(255,255,255,0.05);
    --surf-3: rgba(255,255,255,0.08);
    --accent-fg: #ffffff;
    --c1: #a78bfa;
    --c2: #60a5fa;
    --c1-rgb: 167, 139, 250;
    --c2-rgb: 96, 165, 250;
    --glow-1: 0 0 26px rgba(var(--c1-rgb), 0.45);
    --glow-2: 0 0 26px rgba(var(--c2-rgb), 0.40);
    --hero-fade: #07060f;
    --scroll-thumb: #241d3d;
    --scroll-thumb-hover: #322a52;
    --plat-fg: #cdd6e6;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background .4s ease, color .4s ease; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
  h1, h2, h3, h4 { font-family: var(--disp); margin: 0; line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; }
  p { margin: 0; }
  ::selection { background: rgba(var(--c1-rgb), 0.28); color: #fff; }
  ::-webkit-scrollbar { width: 11px; height: 11px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border-radius: 10px; border: 3px solid var(--bg); }
  ::-webkit-scrollbar-thumb:hover { background: var(--scroll-thumb-hover); }

  .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
  @media (max-width: 640px) { .wrap { padding: 0 18px; } }

  .mono { font-family: var(--mono); }
  .eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c1); display: inline-flex; align-items: center; gap: 9px; }
  .eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c1); box-shadow: var(--glow-1); animation: blink 2.2s ease-in-out infinite; }

  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; border-radius: var(--r-sm); font-family: var(--disp); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease; }
  .btn-primary { background: linear-gradient(180deg, color-mix(in oklab, var(--c1) 86%, white) 0%, var(--c1) 100%); color: var(--accent-fg); box-shadow: 0 6px 18px -6px rgba(var(--c1-rgb),0.6), var(--glow-1); }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(var(--c1-rgb),0.7), 0 0 40px rgba(var(--c1-rgb),0.55); }
  .btn-ghost { border: 1px solid var(--border-strong); color: var(--fg); background: var(--surf); }
  .btn-ghost:hover { border-color: rgba(var(--c1-rgb),0.5); color: var(--fg-strong); background: rgba(var(--c1-rgb),0.08); }

  .chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 999px; background: var(--surf-2); border: 1px solid var(--border); font-size: 13px; color: var(--fg-muted); font-weight: 500; }
  .chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c1); box-shadow: var(--glow-1); }

  /* ambient bg */
  .grid-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(var(--c2-rgb),0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--c2-rgb),0.045) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 30%, transparent 80%); }
  .glow-blob { position: fixed; z-index: 0; border-radius: 50%; filter: blur(90px); opacity: 0.3; pointer-events: none; }
  .blob-1 { top: -180px; left: -120px; width: 520px; height: 520px; background: rgba(var(--c1-rgb),0.16); }
  .blob-2 { top: 120px; right: -160px; width: 480px; height: 480px; background: rgba(var(--c2-rgb),0.14); }
  main { position: relative; z-index: 1; }

  /* nav */
  header { position: sticky; top: 0; z-index: 50; background: transparent; border-bottom: 1px solid transparent; transition: border-color .25s, background .25s, backdrop-filter .25s; }
  /* dark scrim so white nav text is always readable over the hero (and over light page content before .scrolled kicks in) */
  header::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8,4,20,0.60) 0%, rgba(8,4,20,0.28) 55%, rgba(8,4,20,0) 100%); opacity: 1; transition: opacity .25s; }
  header.scrolled::before { opacity: 0; }
  header > .wrap { position: relative; z-index: 1; }
  header.scrolled { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--border-strong); background: color-mix(in oklab, var(--bg) 93%, transparent); }
  header:not(.scrolled) .logo, header:not(.scrolled) .nav-links a, header:not(.scrolled) .nav-cta .login { color: #fff; }
  header:not(.scrolled) .nav-links a:hover, header:not(.scrolled) .nav-cta .login:hover { color: rgba(255,255,255,0.72); }
  header:not(.scrolled) .theme-toggle, header:not(.scrolled) .lang-btn { color: #fff; border-color: rgba(255,255,255,0.35); }
  /* scrolled: solid themed bar — force readable themed text in both themes */
  header.scrolled .logo { color: var(--fg-strong); }
  header.scrolled .nav-links a { color: var(--fg-muted); }
  header.scrolled .nav-links a:hover { color: var(--c1); }
  header.scrolled .nav-cta .login { color: var(--fg); }
  .nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
  .logo { display: flex; align-items: center; gap: 11px; font-family: var(--disp); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
  .logo .mark { width: 36px; height: 36px; position: relative; flex: none; background: url('https://storage.perfectcdn.com/io4sng/luj60gmcmi85n2x7.png') center/contain no-repeat; }
  /* spinning fan disc: same art, clipped to the blade circle, sits over the static frame */
  .logo .mark::before { content: ''; position: absolute; inset: 0; background: url('https://storage.perfectcdn.com/io4sng/luj60gmcmi85n2x7.png') center/contain no-repeat; clip-path: circle(39% at 50% 50%); transform: rotate(0deg); will-change: transform; }
  .logo:hover .mark::before { animation: fanspin 2.4s linear infinite; }
  @keyframes fanspin { to { transform: rotate(360deg); } }
  @media (prefers-reduced-motion: reduce) { .logo:hover .mark::before { animation: none; } }
  .logo b { color: var(--c1); font-weight: 700; }
  header .logo { font-size: 22px; margin-left: -14px; }
  header .logo .mark { width: 50px; height: 50px; }
  .nav-links { display: flex; gap: 30px; }
  .nav-links a { font-size: 14.5px; font-weight: 500; color: var(--fg-muted); transition: color .18s; }
  .nav-links a:hover { color: var(--fg); }
  .nav-cta { display: flex; align-items: center; gap: 14px; }
  .nav-cta .login { font-size: 14.5px; font-weight: 600; color: var(--fg-muted); transition: color .18s; }
  .nav-cta .login:hover { color: var(--fg-strong); }
  .theme-toggle { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--border-strong); color: var(--fg-muted); background: var(--surf); transition: color .18s, border-color .18s, background .18s, transform .18s; }
  .theme-toggle:hover { color: var(--c1); border-color: rgba(var(--c1-rgb),0.5); transform: translateY(-1px); }
  .theme-toggle svg { width: 19px; height: 19px; }
  /* language switcher */
  .lang { position: relative; }
  .lang-btn { height: 40px; padding: 0 13px; border-radius: 11px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border-strong); color: var(--fg-muted); background: var(--surf); font-family: var(--disp); font-weight: 600; font-size: 14px; transition: color .18s, border-color .18s, background .18s, transform .18s; }
  .lang-btn:hover { color: var(--c1); border-color: rgba(var(--c1-rgb),0.5); transform: translateY(-1px); }
  .lang-btn svg { width: 18px; height: 18px; }
  .lang-btn .caret { width: 12px; height: 12px; opacity: 0.7; }
  .lang-menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 168px; padding: 7px; border-radius: 13px; background: color-mix(in oklab, var(--panel) 96%, transparent); border: 1px solid var(--border-strong); box-shadow: 0 22px 50px -22px #000, 0 0 0 1px var(--border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: none; flex-direction: column; gap: 2px; z-index: 60; }
  .lang.open .lang-menu { display: flex; }
  .lang-menu button { display: flex; align-items: center; gap: 11px; width: 100%; padding: 9px 11px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--fg-muted); transition: background .15s, color .15s; }
  .lang-menu button:hover { background: var(--surf-2); color: var(--fg-strong); }
  .lang-menu button.active { color: var(--c1); background: rgba(var(--c1-rgb),0.1); }
  .lang-menu button .flag { font-size: 16px; line-height: 1; }
  .lang-menu button .code { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--fg-dim); letter-spacing: 0.04em; }
  .theme-toggle .ic-moon { display: block; } .theme-toggle .ic-sun { display: none; }
  [data-theme="dark"] .theme-toggle .ic-moon { display: none; } [data-theme="dark"] .theme-toggle .ic-sun { display: block; }
  @media (max-width: 860px) { .nav-links { display: none; } .nav-cta .login { display: none; } .lang-btn .lang-name { display: none; } .lang-btn { padding: 0 11px; } }

  /* blog */
  .blog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
  .blog-head h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; margin-top: 14px; }
  .blog-head p { color: var(--fg-muted); margin-top: 12px; font-size: 16px; max-width: 460px; }
  .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  @media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
  .blog-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--panel); border: 1px solid var(--border); transition: transform .22s, border-color .22s, box-shadow .22s; }
  .blog-card:hover { transform: translateY(-5px); border-color: color-mix(in oklab, var(--pc) 40%, var(--border)); box-shadow: 0 30px 60px -34px #000, 0 0 50px -30px var(--pc); }
  .blog-cover { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; background:
      radial-gradient(120% 120% at 80% -10%, color-mix(in oklab, var(--pc) 65%, #000) 0%, color-mix(in oklab, var(--pc) 30%, #07060f) 48%, #07060f 100%); }
  .blog-cover::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 30px 30px; mask-image: radial-gradient(ellipse 90% 80% at 30% 100%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 90% 80% at 30% 100%, #000, transparent 75%); }
  .blog-cover .bc-icon { position: relative; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.28); box-shadow: 0 0 30px -6px var(--pc); backdrop-filter: blur(3px); }
  .blog-cover .bc-icon svg { width: 34px; height: 34px; color: #fff; }
  .blog-cover .bc-tag { position: absolute; top: 14px; left: 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,0.34); border: 1px solid rgba(255,255,255,0.22); padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
  .blog-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
  .blog-body .date { font-family: var(--mono); font-size: 11.5px; color: var(--fg-dim); letter-spacing: 0.04em; }
  .blog-body h3 { font-size: 19px; font-weight: 600; margin-top: 9px; line-height: 1.25; }
  .blog-body p { color: var(--fg-muted); font-size: 14px; margin-top: 11px; line-height: 1.6; }
  .blog-body .read { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-family: var(--disp); font-weight: 600; font-size: 14px; color: var(--pc); transition: gap .18s; }
  .blog-card:hover .blog-body .read { gap: 12px; }
  .blog-foot { margin-top: auto; }

  /* hero */
  .hero { position: relative; padding: 150px 0 116px; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
  .hero-photo { position: absolute; inset: 0; z-index: 0; background: radial-gradient(120% 90% at 50% 0%, #2a1663 0%, #160a34 46%, #0a0620 100%); filter: saturate(1.12) contrast(1.06) brightness(1.02); image-rendering: auto; }
  .hero-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; pointer-events: none; }
  /* gentle cinematic vignette (clean source — no watermark crop needed) */
  .hero-corners { position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: radial-gradient(ellipse 80% 76% at 50% 46%, transparent 62%, rgba(10,5,24,0.5) 100%); }
  /* neon corner bloom — soft server-light glow tinted to the footage, gently breathing */
  .hero-glow { position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen;
    background:
      radial-gradient(50% 46% at 0% 0%,    rgba(150,110,255,0.85) 0%, rgba(150,110,255,0.30) 30%, transparent 60%),
      radial-gradient(50% 46% at 100% 0%,  rgba(60,235,240,0.72) 0%,  rgba(60,235,240,0.26) 30%, transparent 60%),
      radial-gradient(52% 50% at 0% 100%,  rgba(255,90,210,0.66) 0%,  rgba(255,90,210,0.24) 32%, transparent 64%),
      radial-gradient(52% 50% at 100% 100%, rgba(120,170,255,0.78) 0%, rgba(120,170,255,0.28) 32%, transparent 64%);
    animation: heroGlowPulse 7.5s ease-in-out infinite; }
  @keyframes heroGlowPulse { 0%, 100% { opacity: 0.85; } 50% { opacity: 1; } }
  @media (prefers-reduced-motion: reduce) { .hero-glow { animation: none; } }
  /* neon data-lights overlay — flies toward the camera in sync with the video clock */
  .hero-lights { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; mix-blend-mode: screen; }
  .hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34,16,74,0.62) 0%, rgba(46,22,98,0.40) 42%, rgba(60,30,120,0.30) 64%, var(--hero-fade) 100%); }
  .hero-photo-b { background-image: none; opacity: 0; z-index: 1; }
  .hero-veil { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(18,8,42,0.55) 0%, rgba(30,14,72,0.12) 26%, rgba(30,14,72,0) 50%, rgba(20,9,52,0.45) 82%, var(--hero-fade) 100%); }
  @media (prefers-reduced-motion: reduce) { .hero-bg, .hero-veil { display: none; } }
  .hero > .wrap { position: relative; z-index: 3; }
  .hero .ver-badge { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.28); color: rgba(255,255,255,0.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .hero .ver-badge b { color: #fff; }
  .hero .ver-badge .tag { background: rgba(255,255,255,0.22); color: #fff; border-color: rgba(255,255,255,0.3); }
  .hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(10,5,26,0.7), 0 1px 4px rgba(10,5,26,0.5); }
  .hero h1 .grad { background: linear-gradient(100deg, #c4b5fd, #93c5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hero .lede { color: #fff; text-shadow: 0 2px 18px rgba(10,5,26,0.75), 0 1px 3px rgba(10,5,26,0.6); }
  .hero .hero-bullets span { color: rgba(255,255,255,0.92); }
  .hero .hero-bullets span::before { background-color: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.45); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-11'/%3E%3C/svg%3E"); }
  .hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.10); }
  .hero .btn-ghost:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.7); color: #fff; }
  @keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.13) translateY(-2%); } }
  .hero-enter { opacity: 1; }
  .hero-inner { max-width: 880px; margin: 0 auto; text-align: center; position: relative; }
  /* soft dark halo behind the hero copy so the subtitle stays readable over any video frame */
  .hero-inner::before { content: ''; position: absolute; z-index: -1; inset: -10% -10% -14%; background: radial-gradient(58% 72% at 50% 48%, rgba(8,4,22,0.62) 0%, rgba(8,4,22,0.34) 52%, rgba(8,4,22,0) 78%); filter: blur(8px); pointer-events: none; }
  .hero-inner .lede { margin-left: auto; margin-right: auto; }
  .hero-inner .hero-cta, .hero-inner .hero-bullets { justify-content: center; }
  .ver-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 7px 7px 14px; border-radius: 999px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); font-size: 13px; color: var(--fg-muted); margin-bottom: 22px; }
  .ver-badge b { color: var(--fg); font-weight: 600; }
  .ver-badge .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; padding: 3px 9px; border-radius: 999px; background: rgba(var(--c1-rgb),0.12); color: var(--c1); border: 1px solid rgba(var(--c1-rgb),0.25); }
  .hero h1 { font-size: clamp(40px, 6vw, 66px); font-weight: 700; }
  .hero h1 .grad { background: linear-gradient(100deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hero .lede { font-size: clamp(16px, 1.6vw, 19px); margin: 22px auto 0; max-width: 540px; text-align: center; }
  .hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
  .hero-bullets { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; }
  .hero-bullets span { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--fg-muted); font-weight: 500; }
  .hero-bullets span::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: rgba(var(--c1-rgb),0.14); border: 1px solid rgba(var(--c1-rgb),0.4); flex: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-11'/%3E%3C/svg%3E"); background-size: 11px; background-repeat: no-repeat; background-position: center; }

  /* server rack */
  .rack { position: relative; border-radius: 18px; padding: 16px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--border-strong); box-shadow: 0 40px 90px -40px #000, inset 0 1px 0 rgba(255,255,255,0.05), 0 0 60px -30px rgba(var(--c1-rgb),0.4); }
  .rack::before { content: 'RACK · A07'; position: absolute; top: -10px; right: 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--fg-dim); background: var(--bg); padding: 2px 9px; border: 1px solid var(--border); border-radius: 6px; }
  .rack-rows { display: flex; flex-direction: column; gap: 9px; }
  .unit { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 9px; background: rgba(255,255,255,0.02); border: 1px solid var(--border); position: relative; overflow: hidden; }
  .unit .vents { display: flex; gap: 3px; flex: none; }
  .unit .vents i { width: 3px; height: 18px; border-radius: 2px; background: rgba(255,255,255,0.06); }
  .unit .u-label { font-family: var(--mono); font-size: 11.5px; color: var(--fg-muted); letter-spacing: 0.02em; }
  .unit .u-bar { flex: 1; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.05); overflow: hidden; }
  .unit .u-bar span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--c2), var(--c1)); box-shadow: 0 0 10px rgba(var(--c1-rgb),0.6); }
  .leds { display: flex; gap: 6px; flex: none; }
  .leds i { width: 7px; height: 7px; border-radius: 50%; background: #1e2a3f; }
  .leds i.on { background: var(--c1); box-shadow: var(--glow-1); animation: blink 1.8s ease-in-out infinite; }
  .leds i.on.g { background: oklch(0.8 0.16 150); box-shadow: 0 0 14px oklch(0.8 0.16 150 / 0.6); }
  .unit.fan-unit { gap: 16px; justify-content: space-between; }

  /* cooler fan — realistic, with wire guard + hub */
  .fan { position: relative; flex: none; border-radius: 12px; padding: 8px; --fs: 56px; display: grid; place-items: center; background: linear-gradient(158deg,#0d141f,#070b12); border: 1px solid var(--border-strong); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), inset 0 0 0 1px rgba(255,255,255,0.02), 0 4px 12px rgba(0,0,0,0.55); }
  .fan i.screw { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #4a586e, #1a2233); box-shadow: inset 0 0 1px #000; }
  .fan i.screw.tl { top: 6px; left: 6px; } .fan i.screw.tr { top: 6px; right: 6px; }
  .fan i.screw.bl { bottom: 6px; left: 6px; } .fan i.screw.br { bottom: 6px; right: 6px; }
  /* GPU-style ARGB fan (SVG) */
  .fan svg { width: var(--fs); height: var(--fs); display: block; filter: drop-shadow(0 0 7px rgba(255,255,255,0.22)) drop-shadow(0 0 16px rgba(140,120,255,0.35)); }
  .fan svg .spin { transform-box: fill-box; transform-origin: center; animation: spin var(--spd, 4s) linear infinite; will-change: transform; }
  .fan svg .rgbring { transform-box: fill-box; transform-origin: center; animation: spin var(--ringspd, 9s) linear infinite; will-change: transform; }
  .fan.rev svg .spin { animation-direction: reverse; }

  /* data-center hall background */
  .dc-bg { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; opacity: 0.9; pointer-events: none; }
  .dc-scrim { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse 75% 50% at 50% 38%, rgba(5,7,13,0.55), rgba(5,7,13,0.2) 40%, rgba(5,7,13,0.12) 62%, rgba(5,7,13,0.8) 100%); }
  .dc-rack { width: 198px; flex: none; border-radius: 14px; border: 1px solid var(--border); background: linear-gradient(180deg,#0a0f18,#06090f); box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 30px 70px -40px #000; padding: 12px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
  .dc-cap { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--fg-dim); text-align: right; }
  .dc-unit { border-radius: 8px; border: 1px solid var(--border); background: rgba(255,255,255,0.012); padding: 9px 10px; }
  .dc-unit.fans { display: flex; gap: 9px; justify-content: center; }
  .dc-unit.led { display: flex; align-items: center; gap: 8px; }
  .dc-unit.fill { flex: 1; border-style: dashed; opacity: 0.5; }
  @media (max-width: 600px) { .dc-rack { width: 152px; } }

  /* marquee tracks */
  .ticker-sec { padding: 30px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
  .ticker-label { text-align: center; margin-bottom: 22px; }
  .ticker { position: relative; display: flex; flex-direction: column; gap: 14px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
  .ticker-track { display: flex; gap: 14px; width: max-content; will-change: transform; }
  .ticker-track.t1 { animation: marquee 38s linear infinite; }
  .ticker-track.t2 { animation: marquee-rev 44s linear infinite; }
  .plat { display: inline-flex; align-items: center; gap: 11px; padding: 12px 20px; border-radius: 12px; background: var(--surf); border: 1px solid var(--border); white-space: nowrap; font-family: var(--disp); font-weight: 600; font-size: 16px; color: var(--plat-fg); transition: border-color .2s, background .2s; }
  .plat:hover { border-color: var(--border-strong); background: var(--surf-3); }
  .plat .pdot { width: 11px; height: 11px; border-radius: 50%; flex: none; box-shadow: 0 0 12px currentColor; }
  .plat .meta { font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--fg-dim); }

  /* sections */
  section.block { padding: 92px 0; }
  .sec-head { max-width: 700px; margin: 0 auto 52px; text-align: center; }
  .sec-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; margin-top: 16px; }
  .sec-head p { color: var(--fg-muted); margin-top: 16px; font-size: 17px; }

  /* stats */
  .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
  @media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } }
  .stat { text-align: center; padding: 30px 18px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--border); }
  .stat .num { font-family: var(--disp); font-weight: 700; font-size: clamp(32px, 4.5vw, 48px); letter-spacing: -0.03em; background: linear-gradient(135deg, var(--c2), var(--c1)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .stat .lab { color: var(--fg-muted); font-size: 14px; margin-top: 8px; }

  /* how it works — 3 steps */
  .how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  @media (max-width: 820px) { .how { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
  .how-card { padding: 28px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--border); position: relative; transition: transform .22s, border-color .22s, box-shadow .22s; }
  .how-card:hover { transform: translateY(-4px); border-color: rgba(var(--c1-rgb),0.3); box-shadow: 0 24px 50px -30px #000; }
  .how-card .n { font-family: var(--mono); font-size: 12px; color: var(--c1); letter-spacing: 0.14em; }
  .how-card h3 { font-size: 21px; font-weight: 600; margin-top: 16px; }
  .how-card > p { color: var(--fg-muted); margin-top: 10px; font-size: 15px; }
  .how-mini { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
  .how-mini .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; border-radius: 9px; background: var(--surf); border: 1px solid var(--border); font-size: 13.5px; }
  .how-mini .row .l { display: flex; align-items: center; gap: 9px; }
  .how-mini .row .l .pdot { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 10px currentColor; flex: none; }
  .how-mini .row .price { font-family: var(--mono); font-size: 12px; color: var(--c1); }
  .how-mini .row .bonus { font-family: var(--mono); font-size: 11.5px; color: oklch(0.8 0.16 150); }

  /* about / phone */
  .about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
  @media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 44px; } .phone-col { order: 2; } }
  .phone { width: 290px; height: 580px; margin: 0 auto; border-radius: 38px; border: 1px solid var(--border-strong); background: linear-gradient(180deg, var(--panel-2), var(--panel)); position: relative; overflow: hidden; box-shadow: 0 40px 90px -40px #000, 0 0 70px -34px rgba(var(--c1-rgb),0.5); padding: 16px; }
  .phone .notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 110px; height: 26px; background: #02040a; border-radius: 999px; z-index: 5; }
  .phone-screen { height: 100%; border-radius: 26px; background: radial-gradient(ellipse 90% 50% at 50% 0%, rgba(var(--c1-rgb),0.12), transparent 60%), #06090f; padding: 44px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
  .ph-card { padding: 14px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
  .ph-toast { display: flex; align-items: center; gap: 11px; }
  .ph-toast .em { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; background: rgba(var(--c1-rgb),0.12); border: 1px solid rgba(var(--c1-rgb),0.3); }
  .ph-toast b { font-family: var(--disp); font-size: 15px; color: #f4f2fb; }
  .ph-toast small { color: rgba(236,233,248,0.62); font-size: 12px; display: block; }
  .ph-stat { text-align: center; padding: 18px 12px; }
  .ph-stat .big { font-family: var(--disp); font-weight: 700; font-size: 34px; background: linear-gradient(180deg,#fff,var(--c1)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .ph-stat .lab { color: rgba(236,233,248,0.62); font-size: 12.5px; margin-top: 4px; }
  .ph-bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; padding: 6px 4px 0; }
  .ph-bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--c1), var(--c2)); opacity: 0.85; }
  .about-feats { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; }
  .about-feat { display: flex; gap: 14px; padding: 18px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--border); }
  .about-feat .ic { width: 42px; height: 42px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(var(--c1-rgb),0.08); border: 1px solid rgba(var(--c1-rgb),0.22); color: var(--c1); }
  .about-feat .ic svg { width: 21px; height: 21px; }
  .about-feat h3 { font-size: 17px; font-weight: 600; }
  .about-feat p { color: var(--fg-muted); font-size: 14px; margin-top: 5px; }

  /* services grid */
  .svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
  @media (max-width: 760px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }
  @media (max-width: 460px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
  .svc { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 10px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--border); transition: transform .2s, border-color .2s; }
  .svc:hover { transform: translateY(-3px); border-color: rgba(var(--c1-rgb),0.3); }
  .svc .pdot { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; }
  .svc .pdot i { width: 13px; height: 13px; border-radius: 50%; box-shadow: 0 0 12px currentColor; }
  .bi { display: block; object-fit: contain; }
  .bi-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; box-shadow: 0 0 12px currentColor; }
  .svc span { font-size: 12.5px; color: var(--fg-muted); font-weight: 500; text-align: center; }

  /* support chat */
  .support { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  @media (max-width: 880px) { .support { grid-template-columns: 1fr; gap: 36px; } }
  .chat { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 18px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--border-strong); box-shadow: 0 40px 90px -50px #000; }
  .bubble { max-width: 82%; padding: 14px 17px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; }
  .bubble.them { align-self: flex-start; background: var(--surf-2); border: 1px solid var(--border); border-bottom-left-radius: 5px; }
  .bubble.us { align-self: flex-end; background: rgba(var(--c1-rgb),0.12); border: 1px solid rgba(var(--c1-rgb),0.3); color: var(--fg); border-bottom-right-radius: 5px; }
  .bubble .who { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--fg-dim); margin-bottom: 5px; }
  .typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 14px 17px; border-radius: 16px; border-bottom-left-radius: 5px; background: var(--surf-2); border: 1px solid var(--border); }
  .typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--c1); opacity: 0.4; animation: typing 1.4s infinite; }
  .typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }

  /* payments marquee */
  .pay-strip { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .pay-track { display: flex; gap: 14px; width: max-content; animation: marquee 36s linear infinite; will-change: transform; }
  .pay { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 12px; background: var(--panel); border: 1px solid var(--border); font-family: var(--disp); font-weight: 600; font-size: 15px; color: var(--plat-fg); white-space: nowrap; }
  .pay .mono-tile { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-family: var(--disp); font-weight: 700; font-size: 12px; color: #fff; flex: none; }
  .pay .pdot { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 10px currentColor; }

  /* features */
  .feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  @media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 620px) { .feat-grid { grid-template-columns: 1fr; } }
  .card { padding: 28px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--border); transition: transform .22s, border-color .22s, box-shadow .22s; position: relative; overflow: hidden; }
  .card:hover { transform: translateY(-4px); border-color: rgba(var(--c1-rgb),0.35); box-shadow: 0 24px 50px -30px #000, 0 0 50px -28px rgba(var(--c1-rgb),0.5); }
  .card .ic { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 20px; background: rgba(var(--c1-rgb),0.08); border: 1px solid rgba(var(--c1-rgb),0.22); color: var(--c1); }
  .card .ic svg { width: 22px; height: 22px; }
  .card h3 { font-size: 20px; font-weight: 600; }
  .card p { color: var(--fg-muted); margin-top: 10px; font-size: 15px; }

  /* cooler wall */
  .wall-sec { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .wall { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
  @media (max-width: 880px) { .wall { grid-template-columns: 1fr; gap: 36px; } }
  .fan-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 22px; border-radius: 18px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--border-strong); box-shadow: 0 40px 90px -50px #000, inset 0 1px 0 rgba(255,255,255,0.04); }
  @media (max-width: 460px) { .fan-wall { grid-template-columns: repeat(3, 1fr); } }
  .fan-wall .fan { width: 100%; aspect-ratio: 1; --fs: 72px; }
  @media (max-width: 600px) { .fan-wall .fan { --fs: 58px; } }

  /* testimonials */
  .testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  @media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 620px) { .testi-grid { grid-template-columns: 1fr; } }
  .testi { padding: 24px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
  .stars { display: flex; gap: 3px; color: var(--c1); }
  .stars svg { width: 16px; height: 16px; }
  .testi p { color: var(--fg-muted); font-size: 14.5px; line-height: 1.6; }
  .testi .who { display: flex; align-items: center; gap: 11px; margin-top: auto; }
  .avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--disp); font-weight: 700; font-size: 15px; color: #03121a; flex: none; }
  .testi .who b { font-family: var(--disp); font-size: 14.5px; display: block; }
  .testi .who small { color: var(--fg-dim); font-size: 12.5px; font-family: var(--mono); }

  /* comparison */
  .compare { max-width: 920px; margin: 0 auto; border-radius: 18px; border: 1px solid var(--border-strong); overflow: hidden; background: var(--panel); }
  .cmp-row { display: grid; grid-template-columns: 1fr 130px 130px; align-items: center; gap: 12px; padding: 16px 24px; border-bottom: 1px solid var(--border); }
  @media (max-width: 600px) { .cmp-row { grid-template-columns: 1fr 70px 70px; padding: 14px 16px; gap: 8px; } }
  .cmp-row:last-child { border-bottom: 0; }
  .cmp-head { background: var(--panel-2); font-family: var(--disp); }
  .cmp-head .ch { text-align: center; font-size: 14px; }
  .cmp-head .ch.us { color: var(--c1); }
  .cmp-head .ch.them { color: var(--fg-dim); }
  .cmp-row .feat { font-size: 14.5px; color: var(--fg-muted); }
  .cmp-row .v { text-align: center; }
  .cmp-row .v svg { width: 20px; height: 20px; }
  .cmp-row .v.yes { color: var(--c1); }
  .cmp-row .v.no { color: #4a5468; }
  .cmp-score { display: grid; grid-template-columns: 1fr 130px 130px; gap: 12px; padding: 18px 24px; background: var(--panel-2); align-items: center; }
  @media (max-width: 600px) { .cmp-score { grid-template-columns: 1fr 70px 70px; padding: 16px; gap: 8px; } }
  .cmp-score .feat { font-family: var(--disp); font-weight: 600; font-size: 14px; }
  .cmp-score .s { text-align: center; font-family: var(--disp); font-weight: 700; font-size: 22px; }
  .cmp-score .s.us { color: var(--c1); }
  .cmp-score .s.them { color: var(--fg-dim); }

  /* faq */
  .faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
  .qa { border: 1px solid var(--border); border-radius: var(--r); background: var(--panel); overflow: hidden; }
  .qa summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--disp); font-weight: 600; font-size: 17px; }
  .qa summary::-webkit-details-marker { display: none; }
  .qa summary .pm { flex: none; width: 22px; height: 22px; position: relative; color: var(--c1); }
  .qa summary .pm::before, .qa summary .pm::after { content: ''; position: absolute; background: currentColor; border-radius: 2px; }
  .qa summary .pm::before { top: 50%; left: 2px; right: 2px; height: 2px; transform: translateY(-50%); }
  .qa summary .pm::after { left: 50%; top: 2px; bottom: 2px; width: 2px; transform: translateX(-50%); transition: opacity .25s; }
  .qa[open] summary .pm::after { opacity: 0; }
  .qa .ans { padding: 0 24px 22px; color: var(--fg-muted); font-size: 15px; }

  /* cta band */
  .cta-band { position: relative; border-radius: 22px; padding: 64px 40px; text-align: center; overflow: hidden; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--border-strong); box-shadow: 0 0 80px -40px rgba(var(--c1-rgb),0.6); }
  .cta-band .glow { position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 520px; height: 320px; background: radial-gradient(ellipse, rgba(var(--c1-rgb),0.3), transparent 70%); filter: blur(40px); pointer-events: none; }
  .cta-band h2 { font-size: clamp(30px, 4.5vw, 50px); font-weight: 700; position: relative; }
  .cta-band p { color: var(--fg-muted); margin: 18px auto 0; max-width: 520px; font-size: 17px; position: relative; }
  .cta-band .hero-cta { justify-content: center; position: relative; }

  /* quick-menu mega footer */
  .mega { display: grid; grid-template-columns: 0.92fr 1.45fr; gap: 52px; align-items: start; }
  @media (max-width: 920px) { .mega { grid-template-columns: 1fr; gap: 40px; } }
  .follow h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; }
  .social-list { display: flex; flex-direction: column; gap: 4px; margin-top: 22px; }
  .social-list a { display: inline-flex; align-items: center; gap: 13px; width: max-content; padding: 6px 0; font-family: var(--disp); font-weight: 600; font-size: 17px; color: var(--fg); transition: color .18s, transform .18s; }
  .social-list a:hover { color: var(--pc); transform: translateX(4px); }
  .social-list a .sm-tile { width: 32px; height: 32px; border-radius: 9px; flex: none; display: grid; place-items: center; font-family: var(--mono); font-weight: 600; font-size: 11px; color: var(--pc); background: color-mix(in oklab, var(--pc) 15%, var(--panel)); border: 1px solid color-mix(in oklab, var(--pc) 36%, transparent); box-shadow: 0 0 18px -6px var(--pc); }
  .follow .tagline { color: var(--fg-muted); font-size: 15px; margin-top: 28px; max-width: 330px; }
  .qm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  @media (max-width: 560px) { .qm-grid { grid-template-columns: 1fr; } }
  .qm { display: flex; gap: 16px; padding: 24px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--border); transition: transform .2s, border-color .2s, box-shadow .2s; }
  .qm:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--pc) 38%, var(--border)); box-shadow: 0 24px 50px -32px #000, 0 0 44px -26px var(--pc); }
  .qm .pm-tile { width: 50px; height: 50px; border-radius: 14px; flex: none; display: grid; place-items: center; font-family: var(--mono); font-weight: 600; font-size: 14px; color: var(--pc); background: color-mix(in oklab, var(--pc) 16%, var(--panel)); border: 1px solid color-mix(in oklab, var(--pc) 40%, transparent); box-shadow: 0 0 24px -7px var(--pc); }
  .qm-body { flex: 1; min-width: 0; }
  .qm-eyebrow { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-dim); }
  .qm-body h3 { font-size: 18px; font-weight: 600; margin-top: 3px; }
  .qm-links { display: flex; flex-direction: column; gap: 9px; margin-top: 15px; }
  .qm-links a { width: max-content; font-size: 14px; color: var(--fg-muted); transition: color .16s, padding-left .16s; }
  .qm-links a:hover { color: var(--pc); padding-left: 4px; }

  /* footer */
  footer { border-top: 1px solid var(--border); padding: 60px 0 40px; background: var(--bg-2); position: relative; z-index: 1; }
  .foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
  @media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
  .foot-grid h3, .foot-grid h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-dim); margin: 0 0 16px; font-weight: 500; }
  .foot-grid a { display: block; color: var(--fg-muted); font-size: 14.5px; padding: 5px 0; transition: color .18s; }
  .foot-grid a:hover { color: var(--c1); }
  .foot-grid p { color: var(--fg-muted); font-size: 14px; margin-top: 14px; max-width: 280px; }
  .foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--border); color: var(--fg-dim); font-size: 13px; }
  .foot-bottom .mono { font-size: 12px; }
  .status-dot { color: oklch(0.8 0.16 150); }

  /* reveal */
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }

  @keyframes spin { to { transform: rotate(360deg); } }
  @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
  @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @keyframes marquee-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
  @keyframes typing { 0%, 60%, 100% { opacity: 0.4; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

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


  /* ===== Light-theme polish (auto-applied when not dark) ===== */
  :root:not([data-theme="dark"]) .rack,
  :root:not([data-theme="dark"]) .fan-wall,
  :root:not([data-theme="dark"]) .chat,
  :root:not([data-theme="dark"]) .phone { box-shadow: 0 30px 70px -42px rgba(46,22,98,0.38), inset 0 1px 0 rgba(255,255,255,0.7); }
  :root:not([data-theme="dark"]) .card:hover,
  :root:not([data-theme="dark"]) .how-card:hover,
  :root:not([data-theme="dark"]) .qm:hover,
  :root:not([data-theme="dark"]) .svc:hover,
  :root:not([data-theme="dark"]) .blog-card:hover { box-shadow: 0 22px 46px -28px rgba(46,22,98,0.32); }
  :root:not([data-theme="dark"]) .compare,
  :root:not([data-theme="dark"]) .cta-band { box-shadow: 0 24px 60px -36px rgba(46,22,98,0.30); }
  :root:not([data-theme="dark"]) .stat { box-shadow: 0 14px 34px -26px rgba(46,22,98,0.30); }
  :root:not([data-theme="dark"]) .unit { background: rgba(124,58,237,0.045); }
  :root:not([data-theme="dark"]) .unit .u-bar,
  :root:not([data-theme="dark"]) .unit .vents i { background: rgba(91,55,182,0.12); }


  /* ============================ Auth pages (Sign in / Sign up) ============================ */
  .auth-body { min-height: 100vh; }
  .auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.02fr 0.98fr; }
  @media (max-width: 940px) { .auth-wrap { grid-template-columns: 1fr; } .auth-aside { display: none; } }

  /* left brand/visual panel */
  .auth-aside { position: relative; overflow: hidden; background: #07060f; color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 44px 46px; }
  .auth-aside .aside-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
  .auth-aside .aside-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,8,42,0.55) 0%, rgba(30,14,72,0.35) 45%, rgba(10,5,24,0.82) 100%); }
  .auth-aside .aside-glow { position: absolute; inset: 0; mix-blend-mode: screen; pointer-events: none;
    background: radial-gradient(50% 44% at 0% 0%, rgba(150,110,255,0.65), transparent 60%), radial-gradient(52% 48% at 100% 100%, rgba(120,170,255,0.6), transparent 62%); }
  .auth-aside > * { position: relative; z-index: 2; }
  .auth-aside .a-logo { display: inline-flex; align-items: center; gap: 11px; font-family: var(--disp); font-weight: 700; font-size: 20px; color: #fff; }
  .auth-aside .a-logo b { color: #c4b5fd; }
  .auth-aside .a-logo .mark { width: 34px; height: 34px; background: url('https://storage.perfectcdn.com/io4sng/luj60gmcmi85n2x7.png') center/contain no-repeat; filter: drop-shadow(0 0 10px rgba(124,58,237,0.6)); }
  .auth-aside .a-logo .mark::before { display: none; }
  .auth-aside .a-pitch { max-width: 380px; }
  .auth-aside .a-pitch h2 { font-family: var(--disp); font-weight: 700; font-size: clamp(28px, 3vw, 38px); line-height: 1.08; letter-spacing: -0.03em; }
  .auth-aside .a-pitch h2 .grad { background: linear-gradient(100deg, #c4b5fd, #93c5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .auth-aside .a-pitch p { color: rgba(255,255,255,0.82); font-size: 15.5px; margin-top: 16px; line-height: 1.6; }
  .auth-aside .a-trust { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
  .auth-aside .a-trust span { display: inline-flex; align-items: center; gap: 11px; font-size: 14.5px; color: rgba(255,255,255,0.9); font-weight: 500; }
  .auth-aside .a-trust span::before { content: ''; width: 18px; height: 18px; border-radius: 50%; flex: none; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.45); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-11'/%3E%3C/svg%3E"); background-size: 12px; background-repeat: no-repeat; background-position: center; }
  .auth-aside .a-foot { font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 8px; }
  .auth-aside .a-foot .status-dot { color: oklch(0.82 0.16 150); }

  /* right form panel */
  .auth-main { position: relative; display: flex; align-items: center; justify-content: center; padding: 40px 26px; background: var(--bg); }
  .auth-topbar { position: absolute; top: 22px; left: 26px; right: 26px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .auth-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--fg-muted); font-family: var(--disp); transition: color .18s; }
  .auth-back:hover { color: var(--c1); }
  .auth-back svg { width: 17px; height: 17px; }
  .auth-topbar .tb-right { display: flex; align-items: center; gap: 12px; }
  .auth-card { width: 100%; max-width: 424px; }
  .auth-card .mobile-logo { display: none; }
  @media (max-width: 940px) { .auth-card .mobile-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--disp); font-weight: 700; font-size: 19px; color: var(--fg); margin-bottom: 26px; } .auth-card .mobile-logo b { color: var(--c1); } .auth-card .mobile-logo .mark { width: 30px; height: 30px; background: url('https://storage.perfectcdn.com/io4sng/luj60gmcmi85n2x7.png') center/contain no-repeat; } .auth-card .mobile-logo .mark::before { display: none; } }
  .auth-card h1 { font-family: var(--disp); font-weight: 700; font-size: clamp(26px, 3.4vw, 32px); letter-spacing: -0.03em; color: var(--fg-strong); }
  .auth-card .sub { color: var(--fg-muted); font-size: 15px; margin-top: 10px; line-height: 1.55; }
  .auth-form { margin-top: 26px; display: flex; flex-direction: column; }
  .auth-field { margin-bottom: 15px; }
  .auth-field label { display: block; font-family: var(--disp); font-size: 13px; font-weight: 600; color: var(--fg-muted); margin-bottom: 7px; }
  .auth-inwrap { position: relative; }
  .auth-input { width: 100%; height: 50px; padding: 0 15px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--panel); color: var(--fg); font-family: var(--sans); font-size: 15px; transition: border-color .18s, box-shadow .18s, background .18s; }
  .auth-input::placeholder { color: var(--fg-dim); }
  .auth-input:focus { outline: none; border-color: var(--c1); box-shadow: 0 0 0 3px rgba(var(--c1-rgb),0.2); }
  .auth-inwrap.has-toggle .auth-input { padding-right: 46px; }
  .pw-toggle { position: absolute; top: 0; right: 0; height: 50px; width: 44px; display: grid; place-items: center; color: var(--fg-dim); }
  .pw-toggle:hover { color: var(--c1); }
  .pw-toggle svg { width: 19px; height: 19px; }
  .pw-toggle .ic-off { display: none; }
  .pw-toggle.show .ic-on { display: none; }
  .pw-toggle.show .ic-off { display: block; }
  .auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 20px; }
  .auth-check { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--fg-muted); cursor: pointer; user-select: none; }
  .auth-check input { position: absolute; opacity: 0; width: 0; height: 0; }
  .auth-check .box { width: 18px; height: 18px; border-radius: 6px; border: 1px solid var(--border-strong); background: var(--panel); flex: none; display: grid; place-items: center; transition: background .15s, border-color .15s; }
  .auth-check .box svg { width: 12px; height: 12px; color: #fff; opacity: 0; transition: opacity .15s; }
  .auth-check input:checked + .box { background: var(--c1); border-color: var(--c1); }
  .auth-check input:checked + .box svg { opacity: 1; }
  .auth-check input:focus-visible + .box { box-shadow: 0 0 0 3px rgba(var(--c1-rgb),0.25); }
  .auth-link { font-size: 13.5px; font-weight: 600; color: var(--c1); font-family: var(--disp); }
  .auth-link:hover { text-decoration: underline; }
  .auth-btn { width: 100%; height: 52px; border-radius: 12px; font-family: var(--disp); font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; background: linear-gradient(180deg, color-mix(in oklab, var(--c1) 86%, white) 0%, var(--c1) 100%); color: var(--accent-fg); box-shadow: 0 8px 22px -8px rgba(var(--c1-rgb),0.6), var(--glow-1); transition: transform .18s, box-shadow .25s; display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
  .auth-btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(var(--c1-rgb),0.7), 0 0 42px rgba(var(--c1-rgb),0.55); }
  .auth-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--fg-dim); font-size: 12.5px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.12em; }
  .auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
  .auth-social { display: flex; flex-direction: column; gap: 11px; }
  .social-btn { width: 100%; height: 50px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--panel); color: var(--fg); font-family: var(--disp); font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; transition: border-color .18s, background .18s, transform .18s; }
  .social-btn:hover { border-color: rgba(var(--c1-rgb),0.5); background: var(--surf-2); transform: translateY(-1px); }
  .social-btn svg, .social-btn img { width: 19px; height: 19px; flex: none; }
  .auth-switch { text-align: center; margin-top: 24px; font-size: 14.5px; color: var(--fg-muted); }
  .auth-switch a { color: var(--c1); font-weight: 600; font-family: var(--disp); }
  .auth-switch a:hover { text-decoration: underline; }
  .auth-terms { margin-top: 18px; text-align: center; font-size: 12.5px; color: var(--fg-dim); line-height: 1.55; }
  .auth-terms a { color: var(--fg-muted); text-decoration: underline; }
  .auth-terms a:hover { color: var(--c1); }

  /* ===== Light-theme brand-icon visibility ===== */
  /* near-white / pale brand marks vanish on light surfaces — darken them only in light theme (beats inline color) */
  :root:not([data-theme="dark"]) .bi-x { color: #15151b !important; }
  :root:not([data-theme="dark"]) .bi-threads { color: #15151b !important; }
  :root:not([data-theme="dark"]) .bi-snapchat { color: #c79a00 !important; }
  :root:not([data-theme="dark"]) .bi-mastercard { color: #b8001b !important; }
  :root:not([data-theme="dark"]) .bi-litecoin { color: #6b7480 !important; }
  /* the tinted tile behind service icons is near-white for pale brands — give it a readable ink wash in light theme */
  :root:not([data-theme="dark"]) .svc .pdot { background: rgba(46,22,98,0.06) !important; border-color: rgba(46,22,98,0.12) !important; }
  /* footer social pills: only the pale marks (X) need a dark tile in light theme so they read */
  :root:not([data-theme="dark"]) .sm-tile[data-ic="x"] { background: #15111f; border-color: rgba(255,255,255,0.18); }


/* ===== RTL support (Arabic) — added for Perfect Panel multi-language ===== */
[dir="rtl"] { direction: rtl; }
[dir="rtl"] .about, [dir="rtl"] .support, [dir="rtl"] .wall, [dir="rtl"] .blog-head,
[dir="rtl"] .about-feat > div, [dir="rtl"] .qa .ans, [dir="rtl"] .qa summary { text-align: right; }
[dir="rtl"] .hero-inner, [dir="rtl"] .hero .lede, [dir="rtl"] .sec-head, [dir="rtl"] .stat,
[dir="rtl"] .svc, [dir="rtl"] .ph-stat, [dir="rtl"] .ticker-label, [dir="rtl"] .follow,
[dir="rtl"] .cta-band, [dir="rtl"] .cmp-head .ch, [dir="rtl"] .cmp-row .v { text-align: center; }
[dir="rtl"] .eyebrow { flex-direction: row-reverse; }
[dir="rtl"] .lang-menu { left: 0; right: auto; }

/* ===== login modal (popup over the landing) ===== */
.auth-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.auth-modal.open { display: flex; }
.am-backdrop { position: absolute; inset: 0; background: rgba(8,4,20,0.62); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); }
.am-dialog { position: relative; z-index: 1; width: 100%; max-width: 432px; animation: amIn .28s cubic-bezier(.2,.8,.2,1); }
@keyframes amIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.am-card { position: relative; width: 100%; background: var(--panel); border: 1px solid var(--border-strong); border-radius: 20px; padding: 36px 32px 30px; box-shadow: 0 40px 110px -34px #000, var(--glow-1); max-height: calc(100vh - 40px); overflow-y: auto; }
.am-card h1 { font-size: 26px; font-weight: 700; }
.am-card .sub { color: var(--fg-muted); margin-top: 8px; font-size: 14.5px; }
.am-card .auth-form { margin-top: 22px; }
.am-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--fg-muted); background: var(--surf); border: 1px solid var(--border); transition: color .18s, border-color .18s, background .18s; }
.am-close:hover { color: var(--c1); border-color: rgba(var(--c1-rgb),0.5); background: rgba(var(--c1-rgb),0.08); }
.am-close svg { width: 18px; height: 18px; }
[dir="rtl"] .am-close { right: auto; left: 14px; }
.am-card .auth-check.am-terms { align-items: flex-start; margin: 4px 0 4px; font-size: 13px; line-height: 1.45; }
.am-card .auth-check.am-terms .box { margin-top: 1px; flex: none; }
.am-card .auth-check.am-terms a { color: var(--c1); }
