/* =========================================================
   MR.209RESELLER — LEGAL PAGES
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #060606;
  --dark: #0b0b0b;
  --card: #111111;
  --border: #252525;
  --green: #00e528;
  --green-light: #28ff4d;
  --white: #f2f2f2;
  --white2: #bcbcbc;
  --white3: #9a9a9a;
  --font-display: "Inter", sans-serif;
  --font: "Inter", sans-serif;
  --font-mono: "Space Mono", monospace;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(
      circle at 50% -10%,
      rgba(0, 229, 40, 0.09),
      transparent 34%
    ),
    var(--black);
  color: var(--white);
  font-family: var(--font);
}

:where(h1, h2, h3) {
  font-family: var(--font);
  text-wrap: balance;
}

:where(p, li) {
  text-wrap: pretty;
}

:where(main, section, header, footer, nav, article, div) {
  min-width: 0;
}

:where(h1, h2, h3, h4, p, li, a, button, strong, span) {
  overflow-wrap: anywhere;
}

:where(img, video, iframe, button, a, input, textarea, select) {
  max-width: 100%;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.legal-lines {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.legal-lines span {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.035);
}

.legal-lines span:nth-child(1) {
  left: 14%;
}

.legal-lines span:nth-child(2) {
  left: 50%;
}

.legal-lines span:nth-child(3) {
  right: 14%;
}

.legal-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  min-height: 68px;
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(5, 5, 5, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.legal-brand {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.legal-brand span {
  color: var(--green);
}

.legal-back {
  color: var(--white2);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.legal-back:hover {
  color: var(--green);
}

.legal-page {
  width: min(900px, calc(100% - 40px));
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding: 88px 0 100px;
}

.legal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 8px 14px;
  color: var(--green);
  background: rgba(0, 229, 40, 0.07);
  border: 1px solid rgba(0, 229, 40, 0.24);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 229, 40, 0.65);
}

.legal-title {
  max-width: 760px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(58px, 9vw, 104px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.legal-title span {
  color: var(--green);
}

.legal-intro {
  max-width: 720px;
  margin-top: 24px;
  color: var(--white2);
  font-size: 13px;
  line-height: 1.8;
}

.legal-meta {
  margin-top: 20px;
  color: var(--white3);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-notice {
  margin-top: 32px;
  padding: 18px 20px;
  color: var(--white2);
  background:
    linear-gradient(
      90deg,
      rgba(0, 229, 40, 0.07),
      rgba(0, 229, 40, 0.015)
    );
  border: 1px solid rgba(0, 229, 40, 0.17);
  border-left: 3px solid var(--green);
  border-radius: 9px;
  font-size: 11px;
  line-height: 1.7;
}

.legal-content {
  margin-top: 44px;
  display: grid;
  gap: 16px;
}

.legal-section {
  padding: 26px;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(0, 229, 40, 0.035),
      transparent 28%
    ),
    var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.legal-section h2 {
  margin-bottom: 13px;
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.legal-section h2 span {
  margin-right: 8px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 9px;
}

.legal-section h3 {
  margin-top: 18px;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.legal-section p,
.legal-section li {
  color: var(--white3);
  font-size: 13px;
  line-height: 1.75;
}

.legal-section p + p {
  margin-top: 10px;
}

.legal-section ul {
  margin-top: 9px;
  padding-left: 19px;
}

.legal-section li {
  margin-bottom: 7px;
}

.legal-section a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

.legal-highlight {
  color: var(--white2);
  font-weight: 700;
}

.legal-navigation {
  margin-top: 32px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.legal-navigation a {
  padding: 11px 15px;
  color: var(--white2);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 9px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-navigation a:hover,
.legal-navigation a.active {
  color: var(--black);
  background: var(--green);
  border-color: var(--green);
}

@media (max-width: 768px) {
  .legal-topbar {
    min-height: 60px;
    padding: 0 16px;
  }

  .legal-brand {
    font-size: 19px;
  }

  .legal-page {
    width: calc(100% - 28px);
    padding: 62px 0 78px;
  }

  .legal-section {
    padding: 21px 17px;
  }
}

@media (max-width: 480px) {
  .legal-topbar {
    padding-left: 10px;
    padding-right: 10px;
  }

  .legal-brand {
    min-width: 0;
    overflow: hidden;
    font-size: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .legal-back {
    flex-shrink: 0;
    font-size: 8px;
  }

  .legal-page {
    width: calc(100% - 20px);
    padding-top: 50px;
  }

  .legal-title {
    font-size: 51px;
  }

  .legal-intro {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .legal-topbar {
    gap: 8px;
    padding-right: 7px;
    padding-left: 7px;
  }

  .legal-title {
    font-size: clamp(34px, 15vw, 46px);
    overflow-wrap: anywhere;
  }

  .legal-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .legal-back {
    max-width: 42vw;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }
}
