:root {
  color-scheme: light;
  --ocean: #003580;
  --deep: #00224b;
  --sand: #faf7f2;
  --gold: #febb02;
  --text: #26384a;
  --muted: #5f6f80;
  --line: #d8e0e7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background:
    linear-gradient(135deg, rgba(0, 53, 128, 0.1), rgba(254, 187, 2, 0.16)),
    var(--sand);
  color: var(--text);
}

.shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.panel {
  width: min(100%, 460px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 32px;
  box-shadow: 0 24px 80px rgba(0, 34, 75, 0.14);
}

.mark {
  width: 180px;
  height: 138px;
  border-radius: 8px;
  object-fit: contain;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 34, 75, 0.12);
}

.eyebrow {
  margin: 24px 0 8px;
  color: var(--ocean);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--deep);
  font-size: 28px;
  line-height: 1.15;
}

p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 700;
  text-decoration: none;
}

.button[hidden] {
  display: none;
}

.primary {
  background: var(--ocean);
  color: white;
}

.secondary {
  border: 1px solid var(--line);
  color: var(--deep);
}

.hint {
  font-size: 13px;
}

.policy-shell {
  min-height: 100vh;
  padding: 56px 24px;
  background: #05070a;
  color: #e8edf5;
}

.policy-document {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.policy-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(232, 237, 245, 0.14);
}

.policy-header h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 700;
  line-height: 0.96;
}

.policy-header p {
  color: #9aa7b7;
}

.policy-header .eyebrow {
  margin-top: 0;
  color: #febb02;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.policy-mark {
  width: 116px;
  height: 90px;
  border: 1px solid rgba(232, 237, 245, 0.12);
  border-radius: 8px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
}

.language-switcher {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 -24px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(232, 237, 245, 0.1);
  background: rgba(5, 7, 10, 0.86);
  backdrop-filter: blur(18px);
}

.language-option {
  border: 1px solid rgba(232, 237, 245, 0.18);
  border-radius: 999px;
  padding: 10px 15px;
  color: #c8d2df;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.language-option:hover {
  border-color: rgba(255, 255, 255, 0.38);
  color: #ffffff;
}

.language-option.active {
  border-color: #ffffff;
  background: #ffffff;
  color: #05070a;
}

.contact-band {
  margin: 40px 0 8px;
  border-block: 1px solid rgba(232, 237, 245, 0.14);
  padding: 28px 0;
}

.contact-band h2,
.policy-section h2 {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  font-weight: 650;
}

.contact-band p,
.policy-section p {
  color: #aeb9c8;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.contact-grid a {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(232, 237, 245, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 18px;
  color: #ffffff;
  text-decoration: none;
}

.contact-grid a:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.07);
}

.contact-grid span {
  color: #9aa7b7;
  overflow-wrap: anywhere;
}

.policy-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 0.68fr);
  gap: 48px;
  padding: 38px 0;
  border-bottom: 1px solid rgba(232, 237, 245, 0.1);
}

.policy-section h2 {
  grid-column: 1;
  grid-row: 1 / span 20;
}

.policy-section > :not(h2) {
  grid-column: 2;
}

.policy-section p:first-of-type {
  margin-top: 0;
}

.policy-section ul {
  margin: 0;
  padding-inline-start: 22px;
  color: #aeb9c8;
  line-height: 1.75;
}

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

.policy-section a,
.contact-band a {
  color: #ffffff;
}

[dir="rtl"] .policy-document,
.policy-section[dir="rtl"] {
  text-align: right;
}

@media (max-width: 520px) {
  .panel {
    padding: 24px;
  }

  h1 {
    font-size: 24px;
  }

  .button {
    width: 100%;
  }

  .policy-shell {
    padding: 28px 18px;
  }

  .policy-header {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 26px;
  }

  .policy-mark {
    width: 110px;
    height: 84px;
  }

  .language-switcher {
    margin: 0 -18px;
    padding: 14px 18px;
  }

  .policy-section {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 0;
  }

  .policy-section h2,
  .policy-section > :not(h2) {
    grid-column: 1;
    grid-row: auto;
  }

  .contact-band {
    margin: 28px 0 4px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}
