:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #e9f1fb;
  background: #071528;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 50% 5%, rgba(32, 113, 204, .2), transparent 52%),
    linear-gradient(145deg, #071528 0%, #0a1830 52%, #091323 100%);
}

a,
button,
select {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
select:focus-visible {
  outline: 2px solid #38c8f2;
  outline-offset: 3px;
}

.privacy-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.privacy-header {
  width: min(1120px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.privacy-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f3f8ff;
  text-decoration: none;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .14em;
}

.privacy-brand img {
  display: block;
  object-fit: contain;
}

.privacy-language {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #9eb0c8;
  font-size: 13px;
}

.privacy-language-select-wrap {
  position: relative;
  display: inline-flex;
  min-width: 132px;
  min-height: 40px;
  border: 1px solid rgba(111, 145, 190, .4);
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(33, 56, 85, .96), rgba(12, 27, 47, .98));
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.privacy-language-select-wrap:hover {
  border-color: rgba(56, 200, 242, .72);
  background-color: #142742;
}

.privacy-language-select-wrap:focus-within {
  outline: 2px solid #38c8f2;
  outline-offset: 2px;
}

.privacy-language-visual {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  color: #e9f1fb;
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
}

.privacy-language-visual img {
  display: block;
  flex: 0 0 auto;
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
}

.privacy-language-visual > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.privacy-language-visual svg {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-left: auto;
  fill: none;
  stroke: #9eb0c8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.privacy-language-select-wrap select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.privacy-main {
  flex: 1;
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.privacy-card {
  padding: clamp(22px, 5vw, 44px);
  border: 1px solid rgba(135, 165, 206, .19);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(20, 38, 63, .97), rgba(11, 24, 42, .98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.privacy-translation-note {
  margin: 0 0 18px;
  color: #8da1ba;
  font-size: 12px;
  line-height: 1.5;
}

.privacy-original-text {
  margin: 0;
  color: #bdcbe0;
  font: inherit;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.privacy-eyebrow {
  margin: 0 0 8px;
  color: #32c8f4;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(27px, 5vw, 38px);
  letter-spacing: -.025em;
}

h2 {
  margin-bottom: 10px;
  color: #f3f8ff;
  font-size: 19px;
}

.privacy-card h1,
.privacy-card h2 {
  overflow-wrap: anywhere;
}

.privacy-intro,
.privacy-card section p,
.privacy-card li {
  color: #bdcbe0;
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.privacy-draft {
  margin: 20px 0 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 190, 90, .46);
  border-radius: 12px;
  color: #ffe4b2;
  background: rgba(91, 61, 19, .28);
  font-size: 13px;
  line-height: 1.55;
}

.privacy-version {
  margin: 0 0 25px;
  color: #8da1ba;
  font-size: 12px;
}

.privacy-card section {
  padding: 20px 0;
  border-top: 1px solid rgba(137, 165, 202, .15);
}

.privacy-card section p:last-child,
.privacy-card li:last-child {
  margin-bottom: 0;
}

.privacy-card ul {
  margin: 0;
  padding-inline-start: 22px;
}

.privacy-card li + li {
  margin-top: 8px;
}

.privacy-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(137, 165, 202, .15);
  font-size: 13px;
}

.privacy-footer a {
  color: #70d7f4;
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .privacy-header {
    width: calc(100% - 28px);
    min-height: 64px;
    gap: 10px;
  }

  .privacy-brand {
    gap: 6px;
    font-size: 17px;
  }

  .privacy-language {
    min-width: 0;
    gap: 6px;
    font-size: 12px;
  }

  .privacy-language-select-wrap {
    width: 132px;
    min-width: 132px;
    max-width: 132px;
  }

  .privacy-main {
    padding: 14px 12px 28px;
  }

  .privacy-card {
    border-radius: 15px;
  }
}

@media (max-width: 360px) {
  #privacy-language-label {
    display: none;
  }
}
