:root {
  --bg: #0a0810;
  --bg-deep: #100d18;
  --panel: rgba(20, 15, 31, 0.9);
  --panel-strong: rgba(29, 22, 43, 0.96);
  --line: rgba(227, 210, 186, 0.14);
  --line-strong: rgba(227, 210, 186, 0.22);
  --text: #f6edde;
  --text-soft: #d1c3b1;
  --text-dim: #9f9285;
  --accent: #e1af67;
  --accent-strong: #ff7e45;
  --accent-cool: #7dd0cf;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(255, 126, 69, 0.18), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(125, 208, 207, 0.12), transparent 22%),
    linear-gradient(180deg, #140f1f 0%, #08060d 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

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

.legal-shell {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 48px;
}

.legal-topbar,
.legal-card,
.legal-footer {
  position: relative;
  z-index: 1;
}

.legal-topbar {
  margin-bottom: 24px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 12, 24, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 126, 69, 0.24), rgba(125, 208, 207, 0.16));
  border: 1px solid rgba(225, 175, 103, 0.4);
  color: #f1e2c4;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1rem;
  font-weight: 800;
}

.brand-tag {
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.top-link,
.footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(241, 226, 196, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease;
}

.top-link:hover,
.footer-link:hover {
  transform: translateY(-1px);
  border-color: rgba(225, 175, 103, 0.36);
  color: var(--text);
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(255, 126, 69, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(32, 24, 47, 0.94), rgba(14, 11, 21, 0.96));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.legal-hero {
  padding: 40px 40px 28px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin: 12px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  line-height: 0.94;
}

.hero-copy,
.hero-meta {
  max-width: 70ch;
  color: var(--text-soft);
  line-height: 1.72;
}

.hero-copy {
  margin: 18px 0 0;
}

.hero-meta {
  margin: 18px 0 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.legal-content {
  padding: 28px 40px 40px;
}

.legal-section + .legal-section {
  margin-top: 28px;
}

.legal-section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}

.legal-section h2 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.legal-section p,
.legal-section li {
  color: var(--text-soft);
  line-height: 1.75;
}

.legal-section p {
  margin: 0;
}

.legal-section p + p,
.legal-section ul + p,
.legal-section p + ul {
  margin-top: 14px;
}

.legal-section ul {
  margin: 0;
  padding-left: 20px;
}

.callout {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(125, 208, 207, 0.24);
  border-radius: var(--radius-md);
  background: rgba(125, 208, 207, 0.08);
}

.callout strong {
  color: #f1e2c4;
}

.legal-footer {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.legal-footer p {
  margin: 0;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 720px) {
  .legal-shell {
    width: min(100% - 24px, 980px);
    padding-top: 12px;
  }

  .legal-topbar,
  .legal-hero,
  .legal-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .legal-topbar,
  .legal-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .top-links,
  .footer-links {
    flex-direction: column;
  }

  .top-link,
  .footer-link {
    width: 100%;
  }
}
