:root {
  color-scheme: dark;
  --legal-bg: #03060a;
  --legal-surface: rgba(17, 23, 28, 0.92);
  --legal-text: rgba(247, 250, 252, 0.96);
  --legal-muted: rgba(194, 204, 207, 0.76);
  --legal-dim: rgba(175, 188, 192, 0.52);
  --legal-accent: #59e3cf;
  --legal-line: rgba(255, 255, 255, 0.08);
  font-family: "Onest", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
html { background: var(--legal-bg); scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--legal-text);
  background:
    radial-gradient(circle at 14% 8%, rgba(62, 119, 255, 0.1), transparent 28rem),
    radial-gradient(circle at 86% 14%, rgba(89, 227, 207, 0.08), transparent 25rem),
    var(--legal-bg);
}

a { color: #9ff5e8; text-underline-offset: 3px; }
a:hover { color: #d2fff8; }
header, main, footer { width: min(920px, calc(100% - 40px)); margin-inline: auto; }
header {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--legal-line);
}
.brand {
  display: inline-flex;
  width: 156px;
  min-height: 44px;
  align-items: center;
  text-decoration: none;
}
.brand img {
  display: block;
  width: 100%;
  height: auto;
}
nav { display: flex; align-items: center; gap: 8px; }
nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 12px;
  border-radius: 11px;
  color: var(--legal-muted);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
nav a:hover { color: var(--legal-text); background: rgba(255, 255, 255, 0.055); }
main { padding: 68px 0 86px; }
.eyebrow { margin: 0; color: var(--legal-accent); font-size: 11px; font-weight: 750; letter-spacing: 0.13em; }
h1 { max-width: 790px; margin: 14px 0 0; font-size: clamp(40px, 7vw, 66px); font-weight: 650; letter-spacing: -0.052em; line-height: 1.02; text-wrap: balance; }
.lead { max-width: 740px; margin: 22px 0 0; color: var(--legal-muted); font-size: 17px; line-height: 1.62; text-wrap: pretty; }
.meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.meta span { padding: 8px 11px; border-radius: 999px; color: var(--legal-muted); background: rgba(255, 255, 255, 0.045); box-shadow: inset 0 0 0 1px var(--legal-line); font-size: 11px; font-variant-numeric: tabular-nums; font-weight: 600; }
.notice { margin-top: 36px; padding: 18px 20px; border-radius: 17px; color: var(--legal-muted); background: rgba(89, 227, 207, 0.055); box-shadow: inset 0 0 0 1px rgba(89, 227, 207, 0.13); font-size: 13px; line-height: 1.62; }
.policy { display: grid; gap: 14px; margin-top: 44px; }
main > section + section { margin-top: 18px; }
section { padding: 27px; border-radius: 21px; background: var(--legal-surface); box-shadow: 0 0 0 1px var(--legal-line), 0 18px 45px rgba(0, 0, 0, 0.18); backdrop-filter: blur(16px); }
h2 { margin: 0; font-size: 21px; font-weight: 650; letter-spacing: -0.025em; line-height: 1.28; text-wrap: balance; }
h3 { margin: 21px 0 0; font-size: 15px; font-weight: 650; }
p, li { color: var(--legal-muted); font-size: 14px; line-height: 1.68; }
p { margin: 13px 0 0; }
ul, ol { display: grid; gap: 8px; margin: 13px 0 0; padding-left: 21px; }
li::marker { color: var(--legal-accent); }
strong { color: rgba(239, 247, 248, 0.92); font-weight: 650; }
.table-wrap { margin-top: 16px; overflow-x: auto; }
table { width: 100%; min-width: 690px; border-collapse: collapse; }
th, td { padding: 12px 13px; border-bottom: 1px solid var(--legal-line); color: var(--legal-muted); font-size: 12px; line-height: 1.52; text-align: left; vertical-align: top; }
th { color: var(--legal-text); font-weight: 650; }
tr:last-child td { border-bottom: 0; }
.contact-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; margin-top: 16px; padding: 17px; border-radius: 15px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--legal-line); }
.contact-card p { margin: 0; }
.contact-card a { font-size: 13px; font-weight: 650; }
.doc-list { display: grid; gap: 10px; margin-top: 22px; padding: 0; list-style: none; }
.doc-list li { margin: 0; padding: 0; }
.doc-list a { display: grid; grid-template-columns: 1fr auto; gap: 16px; min-height: 62px; align-items: center; padding: 13px 15px; border-radius: 14px; background: rgba(255, 255, 255, 0.035); box-shadow: inset 0 0 0 1px var(--legal-line); text-decoration: none; }
.doc-list a:hover { background: rgba(89, 227, 207, 0.06); }
.doc-list strong { display: block; }
.doc-list small { display: block; margin-top: 3px; color: var(--legal-dim); font-size: 11px; line-height: 1.45; }
.arrow { color: var(--legal-accent); font-size: 18px; }
footer { display: flex; min-height: 82px; align-items: center; gap: 20px; border-top: 1px solid var(--legal-line); color: var(--legal-dim); font-size: 12px; }
footer span { margin-right: auto; }
footer a { color: var(--legal-muted); text-decoration: none; }
@media (max-width: 640px) {
  header, main, footer { width: min(100% - 28px, 920px); }
  header { min-height: 72px; }
  nav a { padding-inline: 8px; }
  nav a:first-child { display: none; }
  main { padding: 52px 0 68px; }
  h1 { font-size: clamp(38px, 12vw, 54px); }
  .lead { font-size: 16px; }
  section { padding: 22px; border-radius: 18px; }
  .contact-card { grid-template-columns: 1fr; gap: 10px; }
  .doc-list a { grid-template-columns: minmax(0, 1fr) auto; }
  footer { min-height: 112px; align-items: flex-start; flex-direction: column; gap: 8px; padding: 24px 0; }
  footer span { margin: 0 0 5px; }
}
@media print {
  :root { color-scheme: light; --legal-bg: #fff; --legal-surface: #fff; --legal-text: #111; --legal-muted: #333; --legal-dim: #555; --legal-accent: #087b6e; }
  body { background: #fff; }
  header nav, footer { display: none; }
  main { padding: 34px 0; }
  section { break-inside: avoid; box-shadow: 0 0 0 1px #ddd; }
}
