@font-face {
  font-family: 'PlanetSide2';
  src: url('/fonts/PlanetSide2.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Vera';
  src: url('/fonts/Vera.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Vera';
  src: url('/fonts/VeraBd.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #030914;
  --panel: #071427;
  --panel-deep: #050f1e;
  --border: #1a4c75;
  --text: #e8edf3;
  --muted: #a8bbcf;
  --quiet: #71879d;
  --accent: #59c9f6;
  --gold: #f5b72f;
}

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

html {
  font-size: 16px;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 8%, rgba(0, 164, 255, 0.1), transparent 32rem),
    radial-gradient(circle at 88% 5%, rgba(62, 255, 172, 0.05), transparent 30rem),
    linear-gradient(180deg, #040b16, var(--background));
  color: var(--text);
  font-family: 'Vera', system-ui, sans-serif;
  line-height: 1.7;
}

a {
  color: var(--accent);
}

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

.privacy-header {
  border-bottom: 1px solid var(--border);
  background: rgba(5, 16, 29, 0.94);
}

.privacy-header-inner {
  width: min(1080px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.privacy-logo img {
  display: block;
  width: auto;
  height: 56px;
}

.privacy-return {
  padding: 9px 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(12, 38, 65, 0.7);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.privacy-main {
  width: min(980px, calc(100% - 40px));
  margin: 42px auto 56px;
}

.privacy-document {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(8, 25, 45, 0.98), rgba(4, 13, 25, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.privacy-title,
.privacy-document section {
  padding: 30px 38px;
}

.privacy-title {
  border-bottom: 1px solid rgba(37, 91, 135, 0.65);
  background: linear-gradient(135deg, rgba(10, 44, 75, 0.66), rgba(6, 21, 38, 0.5));
}

.privacy-kicker {
  margin: 0 0 6px;
  color: var(--gold);
  font-family: 'PlanetSide2', 'Vera', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: 'PlanetSide2', 'Vera', sans-serif;
  line-height: 1.25;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: 0.025em;
}

.privacy-effective {
  margin: 8px 0 18px;
  color: var(--quiet);
  font-size: 0.86rem;
}

.privacy-title > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.privacy-document section + section {
  border-top: 1px solid rgba(37, 91, 135, 0.36);
}

h2 {
  margin: 0 0 16px;
  color: #f3f7fb;
  font-size: 1.35rem;
  letter-spacing: 0.035em;
}

h3 {
  margin: 24px 0 7px;
  color: #cde9fa;
  font-size: 1rem;
  letter-spacing: 0.025em;
}

p {
  margin: 0 0 14px;
}

p:last-child {
  margin-bottom: 0;
}

.privacy-document section p,
.privacy-document li {
  color: var(--muted);
}

ul {
  margin: 0;
  padding-left: 1.35rem;
}

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

li::marker {
  color: var(--accent);
}

.privacy-footer {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 max(32px, env(safe-area-inset-bottom));
  color: var(--quiet);
  font-size: 0.78rem;
  text-align: center;
}

.privacy-footer p + p {
  margin-top: 4px;
}

@media (max-width: 640px) {
  .privacy-header-inner,
  .privacy-main,
  .privacy-footer {
    width: min(100% - 24px, 980px);
  }

  .privacy-header-inner {
    min-height: 68px;
  }

  .privacy-logo img {
    height: 46px;
    max-width: 52vw;
    object-fit: contain;
  }

  .privacy-return {
    padding: 8px 11px;
    font-size: 0.78rem;
  }

  .privacy-main {
    margin-top: 20px;
    margin-bottom: 34px;
  }

  .privacy-title,
  .privacy-document section {
    padding: 23px 20px;
  }

  .privacy-title > p:last-child {
    font-size: 0.96rem;
  }
}
