:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --surface: #151515;
  --text: #f7f7f4;
  --muted: #aaa9a5;
  --line: #2b2b29;
  --orange: #ff6411;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 86% 2%, rgba(255,100,17,.1), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange); text-underline-offset: .16em; }
a:hover { color: #ff8647; }
:focus-visible { outline: 3px solid rgba(255,100,17,.48); outline-offset: 3px; }

.legal-nav {
  min-height: 72px;
  padding: 0 max(20px, calc((100vw - 920px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(11,11,11,.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.05em;
}

.brand span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--orange);
  color: #fff;
  font-size: 17px;
  box-shadow: 0 7px 22px rgba(255,100,17,.22);
}

.back-link { color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
.wrap { width: min(calc(100% - 40px), 880px); margin: 0 auto; padding: 72px 0 96px; }
h1 { margin: 0 0 8px; font-size: clamp(38px, 7vw, 64px); line-height: 1; letter-spacing: -.055em; }
h2 { margin: 48px 0 14px; font-size: clamp(23px, 3vw, 30px); line-height: 1.2; letter-spacing: -.035em; }
h3 { margin: 28px 0 10px; font-size: 18px; line-height: 1.3; }
p, li { color: #cfceca; }
li + li { margin-top: 8px; }
ul { padding-left: 22px; }
.meta { margin: 0 0 34px; color: #85847f; font-size: 13px; }
.box { margin: 20px 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.box p { margin: 4px 0; }
.small { color: #85847f; font-size: 13px; }
table { width: 100%; margin: 18px 0; border-collapse: separate; border-spacing: 0; font-size: 14px; }
th, td { padding: 13px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { border-top: 1px solid var(--line); background: #1b1b1b; color: #fff; }
th:first-child, td:first-child { border-left: 1px solid var(--line); }
tr:first-child th:first-child { border-top-left-radius: 14px; }
tr:first-child th:last-child { border-top-right-radius: 14px; }
tr:last-child td:first-child { border-bottom-left-radius: 14px; }
tr:last-child td:last-child { border-bottom-right-radius: 14px; }
.legal-footer { padding: 30px 20px 42px; display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; border-top: 1px solid var(--line); }
.legal-footer a { color: var(--muted); font-size: 14px; text-decoration: none; }
.legal-footer a[aria-current="page"] { color: var(--orange); }

@media (max-width: 680px) {
  .wrap { width: min(calc(100% - 32px), 880px); padding-top: 48px; }
  .legal-nav { padding-inline: 16px; }
  .back-link { font-size: 13px; }
  table { display: block; overflow-x: auto; }
  th, td { min-width: 190px; }
}
