:root {
  --blue: #25a8ff;
  --blue-soft: #70c9ff;
  --green: #28f26b;
  --green-soft: #9affb6;
  --white-line: rgba(140, 170, 190, 0.38);
  --panel: rgba(7, 13, 26, 0.94);
  --muted: #a6b5ca;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: #000;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: #fff;
  background: #080d13;
  font-family: "Exo 2", system-ui, sans-serif;
  line-height: 1.65;
}

a {
  color: var(--blue-soft);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #fff;
}

a:focus-visible {
  outline: 1px solid var(--blue-soft);
  outline-offset: 4px;
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  width: min(1120px, calc(100% - 36px));
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 22px 0;
  background: #080d13;
  border-bottom: 1px solid rgba(140, 170, 190, 0.18);
}

.legal-brand {
  display: inline-flex;
  align-items: center;
}

.legal-brand img {
  display: block;
  width: 106px;
  height: auto;
}

.back-link,
.legal-kicker,
.legal-meta,
.legal-footer a {
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.back-link {
  color: rgba(174, 199, 219, 0.78);
  font-size: 10px;
  font-weight: 600;
}

.back-link::before {
  margin-right: 8px;
  color: var(--green-soft);
  content: "←";
}

.legal-shell {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
  padding: 68px 0 82px;
}

.legal-hero {
  max-width: 760px;
  margin-bottom: 42px;
}

.legal-kicker {
  margin: 0 0 12px;
  color: var(--green-soft);
  font-size: 11px;
  font-weight: 600;
}

h1,
h2 {
  margin: 0;
  font-weight: 600;
  line-height: 1.12;
}

h1 {
  color: #fff;
  font-size: clamp(38px, 7vw, 72px);
  letter-spacing: -0.035em;
}

.legal-lede {
  max-width: 680px;
  margin: 22px 0 12px;
  color: #d1dceb;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
}

.legal-meta {
  margin: 0;
  color: rgba(174, 199, 219, 0.68);
  font-size: 10px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.legal-article {
  min-width: 0;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--white-line);
  background: #0d1520;
}

.legal-article section + section {
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid rgba(140, 170, 190, 0.18);
}

.legal-article h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(20px, 3vw, 27px);
}

.legal-article p,
.legal-article ul {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.legal-article p:last-child,
.legal-article ul:last-child {
  margin-bottom: 0;
}

.legal-article ul {
  padding-left: 22px;
}

.legal-article li + li {
  margin-top: 8px;
}

.legal-article strong {
  color: #dce8f5;
  font-weight: 600;
}

.legal-callout {
  margin: 0 0 34px;
  padding: 18px 20px;
  border: 1px solid rgba(40, 242, 107, 0.36);
  background: #10231a;
}

.legal-callout p {
  color: #c9f5d5;
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

.data-request-form {
  display: grid;
  max-width: 640px;
  gap: 18px;
  margin-top: 24px;
}

.data-request-field {
  display: grid;
  gap: 7px;
}

.data-request-field label {
  color: #dce8f5;
  font-size: 13px;
  font-weight: 600;
}

.data-request-optional {
  color: rgba(174, 199, 219, 0.62);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-request-field input,
.data-request-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--white-line);
  border-radius: 2px;
  color: #fff;
  background: #080d13;
  font: inherit;
}

.data-request-field textarea {
  min-height: 140px;
  resize: vertical;
}

.data-request-field input::placeholder,
.data-request-field textarea::placeholder {
  color: rgba(174, 199, 219, 0.5);
}

.data-request-field input:focus-visible,
.data-request-field textarea:focus-visible {
  border-color: var(--blue-soft);
  outline: 2px solid var(--blue-soft);
  outline-offset: 2px;
}

.data-request-confirmation {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.data-request-confirmation input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 3px 0 0;
  accent-color: var(--green);
}

.data-request-form button {
  width: fit-content;
  padding: 12px 18px;
  border: 1px solid var(--green);
  border-radius: 2px;
  color: #06110a;
  background: var(--green);
  font: 600 12px/1.2 "Exo 2", system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.data-request-form button:hover,
.data-request-form button:focus-visible {
  color: #fff;
  background: #126b32;
}

.data-request-form button:focus-visible {
  outline: 2px solid var(--green-soft);
  outline-offset: 3px;
}

.data-request-note {
  max-width: 640px;
  margin-top: 18px;
  color: rgba(174, 199, 219, 0.68);
  font-size: 12px;
}

.legal-footer {
  display: flex;
  width: min(1080px, calc(100% - 36px));
  justify-content: center;
  gap: 22px;
  margin: 0 auto;
  padding: 0 0 32px;
}

.legal-footer a {
  color: rgba(174, 199, 219, 0.68);
  font-size: 10px;
  font-weight: 600;
}

.legal-footer a:hover,
.legal-footer a:focus-visible {
  color: var(--blue-soft);
}

@media (max-width: 760px) {
  .legal-header {
    width: min(100% - 28px, 1080px);
    padding-top: 16px;
  }

  .legal-shell {
    width: min(100% - 28px, 1080px);
    padding-top: 48px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-article {
    padding: 24px 20px;
  }
}

@media (max-width: 440px) {
  .legal-header {
    align-items: flex-start;
  }

  .legal-brand img {
    width: 92px;
  }

  .back-link {
    max-width: 135px;
    text-align: right;
  }

  .legal-shell {
    padding-top: 36px;
  }

  .legal-article p,
  .legal-article ul {
    font-size: 13px;
  }

  .legal-footer {
    flex-wrap: wrap;
    width: min(100% - 28px, 1080px);
    gap: 10px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
