*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --bg: #07080a;
  --surface: #111520;
  --surface-soft: #161b28;
  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f7fa;
  --text-2: #b8c0ce;
  --text-3: #828c9c;
  --cyan: #20e0ff;
  --warn: #ff8a4c;
  --maxw: 980px;
  --pad: clamp(20px, 5vw, 64px);
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(900px 540px at 18% -10%, rgba(32, 224, 255, 0.08), transparent 62%),
    radial-gradient(700px 420px at 100% 0%, rgba(139, 92, 246, 0.12), transparent 64%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

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

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.93em;
}

header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 8, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

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

.logo-name {
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav-back {
  margin-left: auto;
  color: var(--text-3);
  font-size: 13px;
  white-space: nowrap;
}

.nav-back:hover {
  color: var(--text);
  text-decoration: none;
}

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 52px var(--pad) 88px;
}

.page-eyebrow {
  margin: 0 0 14px;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 12px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.meta {
  margin: 0 0 32px;
  color: var(--text-3);
  font-size: 14px;
}

.legal-shell {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(17, 21, 32, 0.82);
  overflow: hidden;
}

.legal-summary {
  display: grid;
  gap: 14px;
  padding: 28px 28px 24px;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(140deg, rgba(32, 224, 255, 0.06), transparent 55%),
    rgba(255, 255, 255, 0.01);
}

.legal-summary p {
  margin: 0;
  color: var(--text-2);
}

article {
  padding: 12px 28px 34px;
}

article h2 {
  margin: 0;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}

article h2:first-child {
  padding-top: 8px;
  border-top: none;
}

article p,
article ul,
article ol {
  margin: 14px 0 0;
  color: var(--text-2);
}

article ul,
article ol {
  padding-left: 22px;
}

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

article strong {
  color: var(--text);
}

.contact-box,
.table-wrap {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-soft);
}

.contact-box p,
.table-wrap p {
  margin-top: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--text);
  font-weight: 600;
}

tr:last-child td {
  border-bottom: none;
}

footer {
  border-top: 1px solid var(--border);
  background: rgba(11, 13, 18, 0.92);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px var(--pad) 32px;
}

.footer-copy {
  color: var(--text-3);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}

.footer-links a,
.footer-links .cookie-settings-link {
  color: var(--text-3);
  font-size: 13px;
}

.footer-links a:hover,
.footer-links .cookie-settings-link:hover {
  color: var(--text);
  text-decoration: none;
}

@media (max-width: 760px) {
  header.nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  main {
    padding-top: 32px;
  }

  .legal-summary,
  article {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 620px) {
  .nav-inner {
    min-height: 60px;
  }

  .nav-back {
    margin-left: 0;
  }

  .footer-inner {
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  thead {
    display: none;
  }

  tr {
    border-top: 1px solid var(--border);
    padding: 14px 0;
  }

  tr:first-child {
    border-top: none;
    padding-top: 0;
  }

  td {
    border-bottom: none;
    padding: 6px 0;
  }

  td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
}
