/* ============================================================
   Love Queues — Legal Pages Stylesheet
   Privacy Policy & Terms of Service
   ============================================================ */

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #f8fafc;
  background-color: #0f1923;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- STICKY HEADER --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #0a1119;
  border-bottom: 1px solid rgba(8, 145, 178, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* --- LOGO --- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 1001;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  color: #0a1119;
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  letter-spacing: -0.5px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -0.3px;
}

/* --- MAIN NAV --- */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-list li a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #94a3b8;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-list li a:hover {
  color: #f8fafc;
  background-color: rgba(8, 145, 178, 0.08);
}

.nav-cta {
  background: linear-gradient(135deg, #0891b2, #06b6d4) !important;
  color: #0a1119 !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(8, 145, 178, 0.35);
  background: linear-gradient(135deg, #0891b2, #06b6d4) !important;
}

/* --- MOBILE TOGGLE --- */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #f8fafc;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.mobile-toggle[aria-expanded="true"] .hamburger {
  background-color: transparent;
}

.mobile-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ============================================================
   PAGE HERO BANNER
   ============================================================ */
.page-hero {
  position: relative;
  padding: 80px 0 64px;
  background-color: #0f1923;
  background-image:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(8, 145, 178, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(245, 158, 11, 0.04) 0%, transparent 60%);
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid rgba(8, 145, 178, 0.08);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  color: #0891b2;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.effective-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

/* ============================================================
   POLICY CONTENT
   ============================================================ */
.policy-content {
  padding: 64px 0 80px;
  background-color: #0a1119;
}

.policy-content .container {
  max-width: 860px;
}

/* light/white card */
.policy-card {
  background-color: #f8fafc;
  border: 1px solid #16222e;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  padding: 56px 60px;
}

.policy-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0f1923;
  letter-spacing: -0.3px;
  margin-top: 48px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #0891b2;
  position: relative;
}

.policy-card h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: #0891b2;
}

.policy-card h2:first-of-type {
  margin-top: 0;
}

.policy-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #0f1923;
  margin-top: 28px;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.policy-card p {
  font-size: 16px;
  line-height: 1.75;
  color: #1e293b;
  margin-bottom: 18px;
}

.policy-card ul {
  list-style: disc;
  margin-bottom: 20px;
  padding-left: 24px;
}

.policy-card ul li {
  font-size: 16px;
  line-height: 1.75;
  color: #1e293b;
  margin-bottom: 10px;
  padding-left: 4px;
}

.policy-card ul li::marker {
  color: #0891b2;
}

.policy-card strong {
  color: #0f1923;
  font-weight: 700;
}

.policy-card a {
  color: #0891b2;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.policy-card a:hover {
  color: #06b6d4;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: #0a1119;
  border-top: 1px solid rgba(8, 145, 178, 0.12);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #94a3b8;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links ul li a {
  font-size: 14px;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.footer-links ul li a:hover {
  color: #0891b2;
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

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

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: #64748b;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: #0891b2;
}

.footer-divider {
  color: #334155;
}

.footer-legal-col h4 {
  text-transform: uppercase;
}

/* ============================================================
   RESPONSIVE — ~880px breakpoint
   ============================================================ */

@media (max-width: 880px) {
  .container {
    padding: 0 20px;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-list {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: rgba(10, 17, 25, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
  }

  .nav-list.active,
  .mobile-toggle[aria-expanded="true"] + .nav-list,
  #navList.active {
    opacity: 1;
    pointer-events: all;
  }

  .nav-list li a {
    font-size: 18px;
    padding: 14px 24px;
  }

  .nav-cta {
    margin-top: 12px;
  }

  .page-hero {
    padding: 56px 0 48px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .policy-content {
    padding: 48px 0 64px;
  }

  .policy-card {
    padding: 40px 32px;
  }

  .policy-card h2 {
    font-size: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .page-hero h1 {
    font-size: 28px;
  }

  .policy-card {
    padding: 32px 24px;
    border-radius: 12px;
  }

  .policy-card h2 {
    font-size: 20px;
    margin-top: 36px;
    margin-bottom: 16px;
  }

  .policy-card p {
    font-size: 15px;
    line-height: 1.7;
  }

  .policy-card ul li {
    font-size: 15px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
