:root {
  --bg: #08111d;
  --bg2: #0f1a2b;
  --card: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: #cfd7e6;
  --soft: #9eadc4;
  --green: #8fde65;
  --green-soft: rgba(143, 222, 101, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(143, 222, 101, 0.08), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}

a {
  color: var(--green);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(8, 17, 29, 0.86);
  backdrop-filter: blur(12px);
}

.topbar-inner,
.policy-shell,
.footer-inner {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand-icon {
  width: auto;
  height: 58px;
}

.brand-text-logo {
  width: auto;
  height: 48px;
}

.language-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.language-nav a {
  min-width: 44px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #e7edf8;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.language-nav a[aria-current="page"] {
  color: var(--bg);
  background: var(--green);
}

.policy-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  padding: 64px 0 72px;
  align-items: start;
}

.policy-card,
.toc {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--card);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.policy-card {
  min-width: 0;
  padding: clamp(28px, 5vw, 58px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.02;
}

h1,
h2 {
  hyphens: auto;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.review-note {
  margin: 30px 0 8px;
  padding: 20px 22px;
  border: 1px solid rgba(143, 222, 101, 0.25);
  border-radius: 18px;
  background: var(--green-soft);
  color: #ecffd9;
}

.review-note strong {
  display: block;
  margin-bottom: 7px;
}

.review-note p {
  margin: 0;
}

.policy-section {
  padding-top: 42px;
}

.policy-section h2 {
  margin: 0 0 16px;
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.2;
}

.policy-section h3 {
  margin: 24px 0 10px;
  font-size: 18px;
}

.policy-section p,
.policy-section li,
.review-note p,
.review-note li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.policy-section p {
  margin: 0 0 14px;
}

.policy-section ul,
.review-note ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.policy-section li + li,
.review-note li + li {
  margin-top: 8px;
}

.contact-card {
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  line-height: 1.7;
}

.toc {
  position: sticky;
  top: 24px;
  padding: 24px;
}

.toc strong {
  display: block;
  margin-bottom: 14px;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
}

.toc li + li {
  margin-top: 10px;
}

.toc a {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
}

.toc a:hover {
  color: var(--green);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 0 42px;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.75;
}

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

.footer-links a {
  font-weight: 700;
}

@media (max-width: 900px) {
  .policy-shell {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 640px) {
  .topbar-inner,
  .policy-shell,
  .footer-inner {
    width: min(100% - 28px, 1120px);
  }

  .topbar-inner {
    min-height: 88px;
    gap: 14px;
  }

  .brand {
    gap: 9px;
  }

  .brand-icon {
    height: 43px;
  }

  .brand-text-logo {
    height: 34px;
  }

  .language-nav a {
    min-width: 38px;
    padding: 7px 8px;
  }

  .policy-shell {
    padding: 30px 0 48px;
  }

  .policy-card,
  .toc {
    border-radius: 20px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
