
:root {
  --background: #0A0A0A;
  --surface: #171717;
  --text: #F5F2EF;
  --muted: #858585;
  --orange: #FD4F0C;
  --border: #292929;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 35px;
}

body {
  background: var(--background);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

/* HEADER */

.header {
  max-width: 1100px;
  margin: auto;
  padding: 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 800;
}

.brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.back-link {
  color: var(--muted);
  font-size: 12px;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--orange);
}

/* ARTICLE CONTAINER */

.article-container {
  max-width: 1100px;
  margin: auto;
  padding: 80px 24px 100px;
}

/* HEADING */

.article-heading {
  max-width: 760px;
  margin-bottom: 65px;
}

.eyebrow {
  color: var(--orange);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.article-heading h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(42px, 7vw, 68px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1.1;
  margin: 20px 0;
}

.article-heading > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  max-width: 520px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
}

/* ARTICLE LAYOUT */

.article-nav {
  position: sticky;
  top: 20px;
  float: left;
  width: 250px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 22px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.article-nav > span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.article-nav a {
  display: block;
  color: #A5A5A5;
  font-size: 11px;
  line-height: 1.5;
  padding: 9px 0;
  transition: color 0.2s ease;
}

.article-nav a:hover {
  color: var(--orange);
}

.legal-content {
  margin-left: 300px;
  max-width: 720px;
}

.legal-content section {
  padding: 0 0 55px;
  margin-bottom: 55px;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 30px;
}

.article-number {
  color: var(--orange);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.legal-content h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(23px, 4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin: 15px 0 24px;
}

.legal-content p {
  color: #A5A5A5;
  font-size: 14px;
  line-height: 1.95;
  margin-bottom: 17px;
}

.legal-content ul {
  padding-left: 22px;
  margin: 15px 0 20px;
}

.legal-content li {
  color: #A5A5A5;
  font-size: 14px;
  line-height: 1.9;
  padding-left: 5px;
  margin-bottom: 8px;
}

.legal-content li::marker {
  color: var(--orange);
}

.legal-content strong {
  color: var(--text);
  font-weight: 600;
}

.contact-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
}

/* BOTTOM NAVIGATION */

.article-bottom {
  margin-left: 300px;
  max-width: 720px;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
}

.article-bottom a {
  color: var(--muted);
  font-size: 12px;
  transition: color 0.2s ease;
}

.article-bottom a:hover {
  color: var(--orange);
}

/* FOOTER */

.footer {
  max-width: 1100px;
  margin: auto;
  padding: 25px 24px 35px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: var(--muted);
  font-size: 11px;
}

/* RESPONSIVE */

@media (max-width: 850px) {
  .article-nav {
    position: static;
    float: none;
    width: 100%;
    max-height: none;
    margin-bottom: 55px;
  }

  .legal-content,
  .article-bottom {
    margin-left: 0;
    max-width: 100%;
  }

  .article-nav a {
    display: inline-block;
    margin-right: 15px;
  }
}

@media (max-width: 600px) {
  .header {
    padding: 20px;
  }

  .article-container {
    padding: 65px 22px 75px;
  }

  .article-heading {
    margin-bottom: 45px;
  }

  .article-heading h1 {
    letter-spacing: -2px;
  }

  .article-meta {
    flex-direction: column;
    gap: 10px;
  }

  .legal-content section {
    padding-bottom: 38px;
    margin-bottom: 38px;
  }

  .legal-content p,
  .legal-content li {
    font-size: 13px;
  }

  .article-bottom {
    flex-direction: column;
  }

  .footer {
    padding: 22px;
    flex-direction: column;
  }
}
