@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  src: url("./assets/Montserrat.ttf") format("truetype");
}

:root {
  --navy: #1e2633;
  --deep: #0f171b;
  --panel: rgba(20, 31, 38, 0.82);
  --green: #30df04;
  --orange: #ff9900;
  --white: #fffffc;
  --muted: rgba(255, 255, 252, 0.78);
  --line: rgba(255, 255, 252, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--navy);
}

body {
  min-height: 100%;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(11, 20, 24, 0.96), rgba(30, 38, 51, 0.98)),
    var(--navy);
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: var(--green);
  text-decoration-color: rgba(48, 223, 4, 0.45);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--orange);
  text-decoration-color: rgba(255, 153, 0, 0.65);
}

.policy-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 36px 20px 56px;
}

.policy-shell::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("./assets/bg_login.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  filter: saturate(0.96);
  opacity: 0.18;
}

.policy-shell::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 8%, rgba(48, 223, 4, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(9, 17, 20, 0.78), rgba(30, 38, 51, 0.98) 42%, rgba(14, 23, 24, 1));
  content: "";
}

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

.policy-header {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 28px 0 34px;
  text-align: center;
}

.brand-link {
  color: var(--green);
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 0 18px rgba(48, 223, 4, 0.34);
}

.brand-rule {
  width: 46px;
  height: 3px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 14px rgba(255, 153, 0, 0.36);
}

.policy-header h1 {
  max-width: 780px;
  margin: 10px 0 0;
  color: var(--white);
  font-size: clamp(30px, 5.6vw, 56px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}

.policy-header p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 1.45vw, 17px);
  font-weight: 500;
  line-height: 1.55;
}

.policy-card {
  border: 1px solid rgba(48, 223, 4, 0.24);
  border-radius: 10px;
  background: var(--panel);
  box-shadow:
    0 0 0 1px rgba(255, 153, 0, 0.08) inset,
    0 24px 70px rgba(0, 0, 0, 0.34),
    0 0 38px rgba(48, 223, 4, 0.08);
  overflow: hidden;
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 252, 0.08);
}

.summary div {
  min-height: 116px;
  padding: 20px;
  background: rgba(11, 22, 25, 0.74);
}

.summary strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.summary span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.policy-content {
  padding: clamp(24px, 5vw, 48px);
}

.policy-section {
  padding: 0 0 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}

.policy-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
  margin-bottom: 0;
}

.policy-section h2 {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: clamp(18px, 2.3vw, 24px);
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.policy-section p,
.policy-section li {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.72;
}

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

.policy-section ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.policy-section li {
  position: relative;
  padding-left: 23px;
}

.policy-section li::before {
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 8px;
  height: 8px;
  border: 1px solid var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(48, 223, 4, 0.45);
  content: "";
  transform: translateY(-50%);
}

.policy-section strong {
  color: var(--white);
  font-weight: 800;
}

.policy-section mark {
  background: transparent;
  color: var(--green);
  font-weight: 900;
  text-shadow: 0 0 12px rgba(48, 223, 4, 0.25);
}

.notice {
  border-left: 4px solid var(--orange);
  margin-top: 18px;
  padding: 16px 18px;
  background: rgba(255, 153, 0, 0.08);
  color: rgba(255, 255, 252, 0.86);
  font-size: 14px;
  line-height: 1.6;
}

.policy-footer {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 30px 0 0;
  color: rgba(255, 255, 252, 0.7);
  font-size: 13px;
  text-align: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--orange);
  border-radius: 8px;
  padding: 0 18px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.back-link:hover {
  border-color: var(--green);
}

@media (max-width: 760px) {
  .policy-shell {
    padding: 24px 14px 44px;
  }

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

  .summary div {
    min-height: auto;
    padding: 18px;
  }

  .policy-content {
    padding: 22px 18px;
  }

  .policy-section {
    padding-bottom: 24px;
    margin-bottom: 24px;
  }

  .policy-section p,
  .policy-section li {
    font-size: 14px;
    line-height: 1.65;
  }
}
