  :root {
    --bg: #000000; --surface: #1c1c1e; --surface2: #2c2c2e;
    --frost-blue: #4fc8f8; --frost-deep: #1a7fc4; --frost-glow: #0a84ff;
    --green: #32d74b; --amber: #ffd60a; --red: #ff6961;
    --text: #f5f5f7; --muted: #86868b; --border: rgba(255,255,255,0.1);
  }
  *, *::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; }
  .topo-bg { display: none; }
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    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-desktop { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 100%; }
  .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); }
  .nav-hamburger {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 28px; height: 22px; background: none; border: none; cursor: pointer; padding: 0;
    position: absolute; left: 20px; top: 50%; transform: translateY(-50%); z-index: 101;
  }
  .nav-hamburger span { display: block; width: 100%; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-logo-mobile {
    display: none; align-items: center; gap: 8px;
    font-size: 17px; font-weight: 700; letter-spacing: -0.3px; color: var(--text); text-decoration: none;
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  }
  .nav-logo-mobile img { width: 19px; height: 19px; }
  .nav-logo-mobile span { color: var(--text); }
  .nav-mobile-menu {
    display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 100;
    background: rgba(10,10,12,0.98); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 8px 24px 16px;
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav-mobile-menu.open { display: flex; }
  .nav-mobile-menu a, .nav-mobile-menu button {
    color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500;
    padding: 14px 0; border-bottom: 1px solid var(--border);
    background: none; border-left: none; border-right: none; border-top: none;
    border-radius: 0; box-shadow: none; text-align: left; width: 100%;
    cursor: pointer; font-family: inherit;
  }
  .nav-mobile-menu a:last-child, .nav-mobile-menu button:last-child { border-bottom: none; }
  @media(max-width:700px){ .nav-desktop { display: none; } .nav-hamburger, .nav-logo-mobile { display: flex; } }

  .legal-page { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 128px 24px 100px; }
  .legal-eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: var(--frost-blue); margin-bottom: 16px; }
  .legal-page h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 700; letter-spacing: -1.5px; margin-bottom: 12px; }
  .legal-meta { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 40px; max-width: 620px; }

  .security-page h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; margin: 48px 0 14px; }
  .security-page p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
  .security-page p a { color: var(--frost-blue); text-decoration: none; }
  .security-page p a:hover { text-decoration: underline; }

  .scan-card {
    border: 1px solid rgba(50,215,75,0.28); border-radius: 20px;
    background: linear-gradient(180deg, rgba(50,215,75,0.06), rgba(50,215,75,0.01) 60%), var(--surface);
    padding: 28px 28px 22px;
  }
  .scan-card-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
  .scan-result { display: flex; align-items: center; gap: 16px; }
  .scan-result-icon {
    width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(50,215,75,0.14); color: var(--green);
  }
  .scan-result-icon svg { width: 26px; height: 26px; }
  .scan-result-ratio { font-size: 32px; font-weight: 700; letter-spacing: -1px; line-height: 1.1; }
  .scan-result-label { font-size: 13px; color: var(--muted); margin-top: 2px; }
  .scan-vt-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: var(--frost-blue);
    text-decoration: none; white-space: nowrap;
    border: 1px solid rgba(79,200,248,0.32); border-radius: 980px;
    padding: 10px 16px; transition: background 0.2s, border-color 0.2s;
  }
  .scan-vt-link:hover { background: rgba(79,200,248,0.1); border-color: rgba(79,200,248,0.5); }
  .scan-vt-link svg { width: 14px; height: 14px; }

  .scan-card-details { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
  .scan-detail { display: flex; align-items: baseline; gap: 14px; font-size: 13.5px; flex-wrap: wrap; }
  .scan-detail-label { color: var(--muted); flex-shrink: 0; min-width: 68px; }
  .scan-detail-value { color: var(--text); word-break: break-all; }
  .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
  .hash-value { font-size: 12.5px; letter-spacing: -0.2px; }

  .scan-card-footnote { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-top: 18px; }
  .scan-card-footnote code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: rgba(255,255,255,0.06); padding: 2px 6px; border-radius: 6px; font-size: 12px; }

  .verify-block { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); }
  .verify-os { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; padding: 12px 18px; border-bottom: 1px solid var(--border); }
  .verify-code { padding: 16px 18px; overflow-x: auto; }
  .verify-code code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13.5px; color: var(--frost-light, var(--text)); white-space: pre; }
  .verify-hint { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

  .security-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 14px; }
  .security-list li { font-size: 15px; color: var(--muted); line-height: 1.7; padding-left: 22px; position: relative; }
  .security-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--frost-blue); }
  .security-list strong { color: var(--text); }

  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: 600px) {
    .scan-card-top { flex-direction: column; align-items: flex-start; }
    .scan-vt-link { width: 100%; justify-content: center; }
    .scan-detail-label { min-width: 100%; }
  }
