:root {
  --bg-deep: #0a1426;
  --bg-darker: #070f1f;
  --cyan: #36c5f0;
  --cyan-bright: #4cd4ff;
  --ink: #ffffff;
  --text: #c3d2e6;
  --muted: #8ba0bd;
  --line: rgba(76, 140, 200, 0.22);
  --panel: rgba(15, 30, 54, 0.72);
  --panel-border: rgba(76, 140, 200, 0.35);
  --shadow: 0 24px 60px rgba(3, 8, 20, 0.55);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(110% 80% at 50% -12%, #10264c 0%, #0a1426 46%, #060d1c 100%),
    var(--bg-darker);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.nav {
  position: relative;
  z-index: 5;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4vh 3vw;
  gap: 24px;
}

.logo {
  height: 9.6vh;
  max-height: 88px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4vw;
  margin-left: auto;
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 500;
  color: #e6eefb;
  white-space: nowrap;
}

.nav-links a { text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--cyan-bright); }

.nav-btn {
  border: 1.5px solid rgba(150, 180, 215, 0.55);
  border-radius: 10px;
  min-height: 44px;
  padding: 0 24px;
  color: #fff;
  background: transparent;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 0.2s;
}

.nav-btn:hover {
  border-color: var(--cyan-bright);
  background: rgba(54, 197, 240, 0.08);
}

.legal-hero {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 66px 0 30px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  border: 1.5px solid rgba(54, 197, 240, 0.4);
  border-radius: 999px;
  color: var(--cyan-bright);
  background: rgba(54, 197, 240, 0.08);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  margin: 22px 0 14px;
  max-width: 860px;
  font-family: Poppins, Inter, "Segoe UI", sans-serif;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: #ffffff;
}

.hero-copy {
  margin: 0;
  max-width: 800px;
  color: #aebfd4;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.legal-layout {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 24px;
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 16px 40px rgba(3, 8, 20, 0.4);
  padding: 22px;
  backdrop-filter: blur(6px);
}

.aside-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 850;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.legal-aside p {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

.contact-card {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.contact-card strong {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
  color: var(--ink);
}

.contact-card address {
  color: var(--text);
  font-style: normal;
  font-size: 15px;
  line-height: 1.55;
}

.contact-card a {
  color: var(--cyan-bright);
  font-weight: 750;
  text-decoration: none;
}

.legal-document {
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 58px);
  backdrop-filter: blur(6px);
}

.effective-date {
  margin: 0 0 34px;
  padding: 18px 20px;
  border-left: 4px solid var(--cyan);
  background: rgba(54, 197, 240, 0.08);
  color: #c3d2e6;
  font-size: 16px;
  line-height: 1.5;
  border-radius: 0 10px 10px 0;
}

.effective-date strong { color: var(--ink); }

.legal-section {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.legal-section:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

p {
  color: var(--text);
  font-size: 17px;
  line-height: 1.72;
  margin: 0 0 16px;
}

.legal-document a { color: var(--cyan-bright); text-decoration: none; font-weight: 650; }
.legal-document a:hover { text-decoration: underline; }

ul {
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--text);
}

li {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.65;
}

.thanks {
  margin-top: 34px;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--panel-border);
  background: linear-gradient(135deg, rgba(54, 197, 240, 0.12), rgba(91, 141, 239, 0.12));
}

.thanks p {
  margin: 0;
  color: #e6eefb;
  font-weight: 600;
}

.site-footer {
  background: rgba(6, 13, 28, 0.7);
  border-top: 1px solid var(--line);
  padding: 34px 0 38px;
}

.site-footer-inner {
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.footer-logo {
  height: 40px;
  width: auto;
  display: block;
}

.footer-copy {
  color: #8ba0bd;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  white-space: nowrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #c3d2e6;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-links a:hover { color: var(--cyan-bright); }

.footer-divider {
  width: 1px;
  height: 18px;
  background: var(--line);
}

@media (max-width: 900px) {
  .legal-hero,
  .legal-layout,
  .site-footer-inner {
    width: calc(100% - 40px);
  }
  .nav-links { gap: 16px; font-size: 14px; }
  .legal-layout { display: block; }
  .legal-aside { position: static; margin-bottom: 24px; }
}

@media (max-width: 640px) {
  .nav {
    min-height: 64px;
    padding: 2vh 5vw;
    align-items: flex-start;
    flex-direction: column;
  }
  .nav-links { width: 100%; justify-content: space-between; }
  .nav-btn { min-height: 42px; padding: 0 18px; }
  .legal-hero { padding-top: 42px; }
  .legal-document { padding: 24px 20px; }
  p, li { font-size: 16px; }
  .site-footer-inner,
  .footer-brand { flex-direction: column; align-items: flex-start; }
  .footer-copy { white-space: normal; }
}
