  :root {
    --bg: #000000; --surface: #1c1c1e; --surface2: #2c2c2e;
    --frost-blue: #4fc8f8; --frost-deep: #1a7fc4; --frost-glow: #0a84ff;
    --text: #f5f5f7; --muted: #86868b; --border: rgba(255,255,255,0.1);
    --boost: #bf5af2; --boost-deep: #8944ab;
    --blurple: #5865F2;
    --green: #32d74b;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Space Grotesk', sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased;
    display: flex; flex-direction: column; min-height: 100vh;
  }
  .topo-bg, #particles { display: none; }
  #cursor-glow {
    position: fixed; left: 0; top: 0;
    width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(circle, rgba(79,200,248,0.07) 0%, rgba(79,200,248,0.03) 40%, transparent 70%);
    pointer-events: none; z-index: 3; opacity: 0;
    will-change: transform, opacity;
    transition: opacity 0.35s ease;
    mix-blend-mode: screen;
  }
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 48px; height: 68px;
    backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
    background: rgba(0,0,0,0.6);
    border-bottom: 1px solid var(--border);
  }
  .nav-logo { display: inline-flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 700; letter-spacing: -0.3px; color: var(--text); text-decoration: none; }
  .nav-logo-icon { width: 20px; height: 20px; }
  .nav-logo span { color: var(--text); }
  .nav-back { color: var(--muted); font-size: 14px; text-decoration: none; transition: color 0.2s; }
  .nav-back:hover { color: var(--text); }
  .nav-right { display: flex; align-items: center; gap: 16px; }
  .nav-signin-btn {
    display: inline-flex; align-items: center;
    font-family: inherit; font-size: 13px; font-weight: 600;
    color: var(--muted); background: rgba(255,255,255,0.05);
    border: 1px solid var(--border); border-radius: 980px; cursor: pointer;
    padding: 8px 16px; text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
  }
  .nav-signin-btn img { display: none; }
  .nav-signin-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.24); background: rgba(255,255,255,0.09); }
  .nav-signin-btn.loading { opacity: 0.6; pointer-events: none; }
  .nav-signin-btn.is-logged-in { color: var(--frost-blue); }
  .btn-icon { width: 18px; height: 18px; display: block; border-radius: 22%; }
  .js-lite-login.loading { opacity: 0.6; pointer-events: none; }

  .lite-page { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; padding: 140px 24px 100px; text-align: center; width: 100%; flex: 1; min-width: 0; }
  .lite-eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: var(--boost); margin-bottom: 16px; animation: fadeDown 0.6s ease both; }
  .lite-page h1 { font-size: clamp(28px, 5vw, 42px); font-weight: 700; letter-spacing: -1.5px; margin-bottom: 14px; animation: fadeDown 0.6s ease 0.08s both; }
  .lite-grad { color: var(--boost); }
  .lite-sub { font-size: 15px; color: var(--muted); line-height: 1.7; max-width: 440px; margin: 0 auto; animation: fadeDown 0.6s ease 0.16s both; }

  @keyframes fadeDown { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

  .lite-card {
    margin-top: 44px; position: relative; overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border); border-radius: 22px;
    padding: 44px 36px;
    animation: cardIn 0.7s cubic-bezier(0.22,1,0.36,1) 0.22s both;
  }
  .lite-card::before { content: none; }

  .state { display: none; }
  .state.active { display: block; animation: stateIn 0.45s cubic-bezier(0.22,1,0.36,1) both; }
  @keyframes stateIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

  .spinner { width: 34px; height: 34px; border: 3px solid rgba(255,255,255,0.12); border-top-color: var(--frost-blue); border-radius: 50%; margin: 0 auto 18px; animation: spin 0.8s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }

  .state-title { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 10px; }
  .state-text { font-size: 14.5px; color: var(--muted); line-height: 1.7; max-width: 420px; margin: 0 auto 24px; }
  .state-note { font-size: 12px; color: var(--muted); opacity: 0.75; margin-top: 18px; }

  .user-chip { display: inline-flex; align-items: center; gap: 14px; background: var(--surface2); border: 1px solid var(--border); border-radius: 999px; padding: 8px 22px 8px 8px; margin-bottom: 26px; }
  .user-avatar { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--border); display: block; }
  .user-chip.booster .user-avatar { border-color: var(--boost); }
  .user-meta { text-align: left; }
  .user-name { font-size: 15px; font-weight: 600; line-height: 1.2; }
  .user-tag { font-size: 12px; color: var(--muted); }

  .btn-lite-download {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--boost);
    color: #fff; text-decoration: none;
    font-family: inherit; font-size: 16px; font-weight: 600;
    padding: 15px 34px; border-radius: 980px; overflow: hidden;
    transition: transform 0.2s, filter 0.2s;
  }
  .btn-lite-download:hover { transform: translateY(-1px); filter: brightness(1.08); }
  .btn-lite-download:active { transform: translateY(0) scale(0.98); }
  .btn-lite-download::after { content: none; }
  @keyframes liteUnlockPop { 0% { transform: scale(0.85); } 55% { transform: scale(1.06); } 100% { transform: scale(1); } }
  .btn-lite-download.just-unlocked { animation: liteUnlockPop 0.55s cubic-bezier(0.34,1.56,0.64,1) both; }
  @keyframes liteDownloadPulse { 0% { transform: scale(1); } 45% { transform: scale(1.05); } 100% { transform: scale(1); } }
  .btn-lite-download.clicked { animation: liteDownloadPulse 0.4s ease; }
  .btn-lite-download.plan-blue { background: var(--frost-blue); }

  .sparkle { display: none; }

  .dl-chooser { display: none; }
  .dl-chooser.active { display: block; animation: stateIn 0.45s cubic-bezier(0.22,1,0.36,1) both; }
  .dl-chooser-title { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
  .dl-choice-grid { display: flex; gap: 14px; justify-content: center; }
  .dl-choice {
    position: relative;
    flex: 1 1 0; max-width: 190px;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    padding: 22px 16px 18px;
    background: var(--surface2); border: 1px solid var(--border); border-radius: 16px;
    color: var(--text); text-decoration: none; cursor: pointer;
    font-family: inherit; font-size: 15px; font-weight: 600;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
  }
  .dl-choice:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.08); transform: translateY(-2px); }
  .dl-choice-outdated { overflow: visible; border-color: var(--red); }
  .dl-choice-outdated:hover { border-color: var(--red); }
  .dl-choice.is-loading { pointer-events: none; }
  .dl-choice.is-loading svg { visibility: hidden; }
  .dl-choice.is-loading::before {
    content: ''; position: absolute; top: 30px; left: 50%; margin-left: -13px;
    width: 26px; height: 26px; border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.15); border-top-color: var(--text);
    animation: spin 0.8s linear infinite;
  }
  .dl-choice svg { width: 42px; height: 42px; display: block; color: var(--text); }
  .dl-choice svg.dl-os-icon { display: none; }
  .dl-choice svg.dl-os-icon.active { display: block; }
  .dl-choice-sub { font-size: 11.5px; font-weight: 500; color: var(--muted); }
  .dl-alt-links { margin-top: 18px; font-size: 12px; color: var(--muted); }
  .dl-alt-links a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; margin: 0 6px; transition: color 0.2s; }
  .dl-alt-links a:hover { color: var(--text); }
  .dl-alt-links-row + .dl-alt-links-row { margin-top: 6px; }
  @media(max-width:600px){ .dl-choice-grid { flex-direction: column; align-items: stretch; } .dl-choice { max-width: none; } }

  .btn-secondary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: transparent; color: var(--text);
    border: 1px solid var(--border); cursor: pointer; text-decoration: none;
    font-family: inherit; font-size: 14.5px; font-weight: 600;
    padding: 13px 28px; border-radius: 980px;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
  }
  .btn-secondary:hover { border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.05); transform: translateY(-1px); }

  .signout { display: inline-block; margin-top: 24px; background: none; border: none; cursor: pointer; color: var(--muted); font-family: inherit; font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
  .signout:hover { color: var(--text); }

  .update-icon { width: 54px; height: 54px; margin: 0 auto 18px; color: var(--frost-blue); animation: updateSpin 2.8s cubic-bezier(0.55,0.1,0.45,0.9) infinite; }
  .update-icon svg { width: 100%; height: 100%; display: block; }
  @keyframes updateSpin { 0% { transform: rotate(0deg); } 65% { transform: rotate(360deg); } 100% { transform: rotate(360deg); } }

  footer { border-top: 1px solid var(--border); padding: 60px 48px 40px; position: relative; z-index: 1; }
  .footer-inner { max-width: 1160px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 40px 56px; }
  .footer-brand { flex: 1 1 200px; }
  .footer-col { flex: 1 1 130px; }
  .footer-logo { font-size: 18px; font-weight: 700; color: var(--frost-blue); margin-bottom: 12px; letter-spacing: -0.2px; }
  .footer-tagline { font-size: 14px; color: var(--muted); line-height: 1.5; }
  .footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
  .footer-col a, .footer-link-btn { display: block; color: var(--text); font-size: 14px; text-decoration: none; margin-bottom: 10px; opacity: 0.75; transition: opacity 0.2s; }
  .footer-col a:hover, .footer-link-btn:hover { opacity: 1; }
  .footer-link-btn { background: none; border: none; padding: 0; font-family: inherit; cursor: pointer; text-align: left; }
  .footer-social-icons { display: flex; align-items: center; gap: 12px; }
  .footer-social-icons a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); margin-bottom: 0; opacity: 1; transition: border-color 0.2s, transform 0.15s, background 0.2s; }
  .footer-social-icons a:hover { border-color: rgba(255,255,255,0.28); background: var(--surface2); transform: translateY(-2px); }
  .footer-social-icons img { width: 18px; height: 18px; object-fit: contain; opacity: 0.85; transition: opacity 0.2s; }
  .footer-social-icons a:hover img { opacity: 1; }
  .footer-bottom { max-width: 1160px; margin: 32px auto 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 24px; font-size: 13px; color: var(--muted); }
  @media(max-width:900px){ .footer-inner { flex-direction: column; gap: 40px; } }
  @media(max-width:600px){
    nav { padding: 0 20px; }
    .lite-card { padding: 36px 22px; }
    .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  }
