:root {
  --ink: #07041b;
  --muted: rgba(7, 4, 27, 0.66);
  --line: rgba(7, 4, 27, 0.12);
  --glass: rgba(255, 255, 255, 0.52);
  --pink: #fbd3f0;
  --aqua: #c4f7ff;
  --lav: #d9c7ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Quicksand", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(251, 211, 240, 0.72), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(196, 247, 255, 0.82), transparent 34%),
    radial-gradient(circle at 50% 32%, #edf8ff 0%, #d8efff 43%, #c7e5f7 100%);
  background-attachment: fixed;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  padding: 18px clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: rgba(235, 247, 255, 0.76);
  border-bottom: 1px solid rgba(7, 4, 27, 0.08);
  backdrop-filter: blur(20px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
}
.brand img { width: 32px; height: 32px; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 42px);
}
.nav-links a,
.header-actions a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.nav-links a:hover,
.nav-links a:focus-visible { text-decoration: underline; text-underline-offset: 7px; }

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}
.signup-link {
  min-height: 40px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #effaff;
  background: var(--ink);
  border-radius: 999px;
}

.menu-btn {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: auto;
  border-radius: 999px;
  background: var(--ink);
}
.menu-btn span::before { transform: translateY(-6px); }
.menu-btn span::after { transform: translateY(4px); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(224, 243, 255, 0.9);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .28s ease;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu-card {
  width: min(430px, 100%);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255,255,255,.58);
  box-shadow: 0 28px 70px rgba(7,4,27,.13);
}
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mobile-menu-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.mobile-menu-brand img { width: 32px; height: 32px; }
.menu-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  font: inherit;
  font-size: 24px;
  cursor: pointer;
}
.mobile-menu-links { display: grid; gap: 6px; margin-top: 28px; }
.mobile-menu-links a {
  padding: 15px 8px;
  text-decoration: none;
  text-align: center;
  border-bottom: 1px solid var(--line);
  font-size: 22px;
  font-weight: 700;
}

.legal-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(68px, 9vw, 116px) 0 40px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--aqua));
  box-shadow: 0 0 12px rgba(196,247,255,.95);
}
.legal-hero h1 {
  max-width: 850px;
  margin: 22px 0 18px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: .95;
  letter-spacing: -.07em;
}
.legal-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.7;
}
.policy-meta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.policy-meta span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.32);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.legal-layout {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 clamp(90px, 10vw, 140px);
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}
.policy-nav {
  position: sticky;
  top: 98px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.38);
  backdrop-filter: blur(18px);
}
.policy-nav strong { display: block; margin-bottom: 12px; font-size: 13px; }
.policy-nav a {
  display: block;
  padding: 9px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.35;
}
.policy-nav a:hover,
.policy-nav a.is-active { color: var(--ink); font-weight: 700; }

.policy-content {
  min-width: 0;
  padding: clamp(26px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--glass);
  box-shadow: 0 28px 80px rgba(7,4,27,.09);
  backdrop-filter: blur(20px);
}
.policy-section { scroll-margin-top: 105px; }
.policy-section + .policy-section {
  margin-top: 46px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}
.policy-section h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.policy-section h3 { margin: 26px 0 10px; font-size: 18px; }
.policy-section p,
.policy-section li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.policy-section p { margin: 12px 0; }
.policy-section ul { margin: 14px 0; padding-left: 22px; }
.policy-section li + li { margin-top: 8px; }
.policy-section a { font-weight: 700; text-underline-offset: 3px; }
.callout {
  margin: 22px 0;
  padding: 18px 20px;
  border: 1px solid rgba(7,4,27,.13);
  border-radius: 20px;
  background: rgba(196,247,255,.28);
}
.callout strong { display: block; margin-bottom: 6px; }
.callout p { margin: 0; }

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 34px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  border-top: 1px solid var(--line);
}
.footer-brand p { margin: 4px 0; color: var(--muted); font-size: 12px; }
.footer-brand a { text-decoration: none; font-weight: 700; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 9px; }
.footer-legal a { color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 600; }
.footer-legal a[aria-current="page"],
.footer-legal a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-legal span { color: rgba(7,4,27,.32); }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; padding: 14px 20px; }
  .nav-links, .header-actions { display: none; }
  .menu-btn { display: block; }
  .legal-layout { grid-template-columns: 1fr; }
  .policy-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .policy-nav strong { width: 100%; }
  .policy-nav a { padding: 5px 0; }
}

@media (max-width: 640px) {
  .legal-hero, .legal-layout, .site-footer { width: min(100% - 28px, 1180px); }
  .legal-hero { padding-top: 52px; }
  .policy-content { padding: 24px 20px; border-radius: 26px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .footer-legal { justify-content: flex-start; }
}
