:root {
  color-scheme: dark;
  --bg-deep: #07151f;
  --bg-page: #0b1f2b;
  --panel: #102b38;
  --panel-soft: #163844;
  --ice: #bceff4;
  --cyan: #34c6d3;
  --teal: #168c99;
  --aurora: #65d6b4;
  --gold: #e5bd68;
  --success: #35c786;
  --warning: #e8b64b;
  --danger: #e15b55;
  --text-primary: #f4fbfc;
  --text-secondary: #a9c1c8;
  --border: rgba(174, 226, 232, 0.18);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 70% 10%, rgba(72, 210, 193, 0.14), transparent 32%),
    radial-gradient(circle at 15% 5%, rgba(62, 170, 210, 0.12), transparent 28%),
    linear-gradient(180deg, #07151f 0%, #0b202b 55%, #081720 100%);
  font-family:
    Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body::before {
  position: fixed;
  right: -3vw;
  bottom: 0;
  left: -3vw;
  z-index: -1;
  height: 190px;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background: rgba(188, 239, 244, 0.12);
  clip-path: polygon(0 100%, 0 58%, 12% 34%, 23% 66%, 34% 25%, 46% 68%, 58% 38%, 70% 65%, 82% 28%, 100% 62%, 100% 100%);
}

button,
textarea,
input {
  font: inherit;
}

a {
  color: var(--ice);
  font-weight: 850;
  text-decoration: none;
}

a:hover {
  color: var(--aurora);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(101, 214, 180, 0.48);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.legal-shell {
  display: grid;
  gap: 22px;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 28px;
}

.legal-header,
.legal-card,
.legal-footer {
  background: linear-gradient(180deg, rgba(16, 43, 56, 0.82), rgba(10, 31, 43, 0.72));
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.legal-header {
  display: grid;
  gap: 20px;
  padding: 22px;
}

.legal-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand-block img {
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 14px;
  background: rgba(236, 245, 246, 0.08);
  border: 1px solid rgba(188, 239, 244, 0.24);
  box-shadow: 0 10px 30px rgba(52, 198, 211, 0.12);
}

.brand-name {
  display: grid;
  gap: 2px;
  font-weight: 900;
}

.brand-name span {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 780;
}

.eyebrow {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 800;
}

.legal-title {
  display: grid;
  gap: 10px;
}

h1 {
  font-size: clamp(42px, 4vw, 68px);
  line-height: 1.02;
}

.legal-title p,
.legal-section p,
.legal-section li,
.notice-banner,
.legal-footer {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.65;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.legal-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  min-width: 108px;
  padding: 4px;
  background: rgba(5, 18, 27, 0.58);
  border: 1px solid rgba(188, 239, 244, 0.16);
  border-radius: 999px;
}

.language-switch button {
  min-height: 34px;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.language-switch button.is-active,
.language-switch button[aria-pressed="true"] {
  color: #03171d;
  background: linear-gradient(135deg, var(--aurora), var(--cyan));
  border-color: rgba(188, 239, 244, 0.42);
  box-shadow: 0 10px 22px rgba(52, 198, 211, 0.18);
}

.legal-nav a {
  min-height: 38px;
  padding: 9px 12px;
  color: var(--text-secondary);
  background: rgba(236, 245, 246, 0.06);
  border: 1px solid rgba(188, 239, 244, 0.14);
  border-radius: 999px;
  font-size: 13px;
}

.legal-nav a:hover,
.legal-nav a[aria-current="page"] {
  color: #03171d;
  background: var(--ice);
  border-color: rgba(188, 239, 244, 0.58);
}

.legal-card {
  display: grid;
  gap: 22px;
  padding: clamp(20px, 3vw, 30px);
}

.notice-banner,
.warning-box {
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 850;
}

.notice-banner {
  color: #d9fff0;
  background: rgba(53, 199, 134, 0.13);
  border: 1px solid rgba(53, 199, 134, 0.34);
}

.warning-box {
  color: #ffe5a9;
  background: rgba(232, 182, 75, 0.12);
  border: 1px solid rgba(232, 182, 75, 0.34);
}

.legal-section {
  display: grid;
  gap: 9px;
  padding-top: 18px;
  border-top: 1px solid rgba(188, 239, 244, 0.12);
}

.legal-section:first-child,
.notice-banner + .legal-section {
  padding-top: 0;
  border-top: 0;
}

h2 {
  color: var(--text-primary);
  font-size: 22px;
  line-height: 1.18;
}

ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.contact-channel {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: rgba(236, 245, 246, 0.05);
  border: 1px solid rgba(188, 239, 244, 0.12);
  border-radius: 14px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 44px;
  padding: 0 18px;
  color: #03171d;
  background: linear-gradient(135deg, var(--aurora), var(--cyan));
  border: 1px solid rgba(188, 239, 244, 0.44);
  border-radius: 12px;
  font-weight: 900;
}

.legal-footer {
  padding: 16px 20px;
}

@media (max-width: 720px) {
  .legal-shell {
    padding: 16px;
  }

  .legal-topline,
  .legal-actions,
  .brand-block {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .legal-nav a {
    flex: 0 0 auto;
  }

  h1 {
    font-size: clamp(34px, 10vw, 46px);
  }
}
/* Premium WOS Forge mark */
.brand-block img{object-fit:contain;border:0;background:transparent;box-shadow:none;filter:drop-shadow(0 5px 8px rgba(0,0,0,.38));}
