/* Page-specific layout styles for legal pages (privacy + terms). */
* { margin: 0; padding: 0; box-sizing: border-box; }

    body {
      font-family: 'Segoe UI', sans-serif;
      background: #0f172a;
      color: #e2e8f0;
      overflow-x: hidden;
    }

    html,
    body {
      scrollbar-width: thin;
      scrollbar-color: #6366f1 #1a2332;
    }

    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
      width: 6px;
    }

    html::-webkit-scrollbar-track,
    body::-webkit-scrollbar-track {
      background: #1a2332;
    }

    html::-webkit-scrollbar-thumb,
    body::-webkit-scrollbar-thumb {
      background: #6366f1;
      border-radius: 3px;
    }

    .top-header {
      background: linear-gradient(135deg, #1e293b 0%, #1a2332 100%);
      border-bottom: 1px solid #2d3a52;
      padding: 10px 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .header-left {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .logo {
      font-size: 24px;
      font-weight: 700;
      color: #f1f5f9;
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
    }

    .logo-icon {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      background: transparent;
    }

    .logo-icon img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 8px;
    }

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

    .header-btn {
      padding: 9px 14px;
      background: linear-gradient(160deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.86));
      color: #dbe7ff;
      border: 1px solid rgba(148, 163, 184, 0.35);
      border-radius: 10px;
      font-size: 13px;
      font-weight: 600;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 6px;
      box-shadow: 0 2px 8px rgba(2, 6, 23, 0.35);
      transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
    }

    .header-btn:hover {
      transform: translateY(-1px);
      border-color: rgba(125, 211, 252, 0.6);
      background: linear-gradient(160deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.95));
      box-shadow: 0 8px 18px rgba(2, 8, 23, 0.42), 0 0 0 1px rgba(96, 165, 250, 0.22) inset;
    }

    .header-btn.active {
      background: linear-gradient(160deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.95));
      color: #e6f0ff;
      border-color: rgba(125, 211, 252, 0.65);
    }

    .page-wrap {
      max-width: 1040px;
      margin: 0 auto;
      padding: 28px 20px 64px;
    }

    .hero-card,
    .section-card {
      background: rgba(17, 27, 46, 0.9);
      border: 1px solid #2d3a52;
      border-radius: 14px;
      backdrop-filter: blur(3px);
    }

    .hero-card {
      padding: 26px;
      margin-bottom: 16px;
    }

    .hero-card h1 {
      font-size: clamp(28px, 5vw, 42px);
      line-height: 1.1;
      margin-bottom: 10px;
      letter-spacing: -0.02em;
      color: #f8fafc;
    }

    .meta {
      color: #93a4c2;
      font-size: 14px;
      margin-top: 8px;
    }

    .lead {
      color: #a7b4c8;
      font-size: 17px;
      line-height: 1.6;
      max-width: 78ch;
    }

    .section-card {
      padding: 22px;
      margin-top: 14px;
    }

    .section-card h2 {
      color: #f1f5f9;
      font-size: 22px;
      margin-bottom: 10px;
    }

    .section-card p,
    .section-card li {
      color: #dbe6f8;
      line-height: 1.7;
      font-size: 15px;
    }

    .section-card ul {
      padding-left: 22px;
      margin-top: 8px;
    }

    .section-card li + li {
      margin-top: 6px;
    }

    a {
      color: #93c5fd;
    }

    a:hover {
      color: #c7e0ff;
    }

    .footer {
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #1e293b 0%, #1a2332 100%);
      border-top: 1px solid #2d3a52;
      padding: 10px 40px;
      width: 100%;
      text-align: center;
      z-index: 3;
    }

    .footer-text {
      font-size: 13px;
      color: #64748b;
    }

    @media (max-width: 768px) {
      .top-header { padding: 10px 16px; flex-direction: column; gap: 8px; }
      .header-right { flex-wrap: wrap; justify-content: center; }
      .page-wrap { padding: 20px 14px 54px; }
      .hero-card, .section-card { padding: 18px; }
    }