:root {
  --navy: #0b1739;
  --navy-light: #163063;
  --blue: #277cff;
  --gold: #f4b942;
  --cream: #fbf8f1;
  --ink: #101a33;
  --muted: #5d6679;
  --line: #dfe3eb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.policy-container {
  width: min(calc(100% - 40px), 1080px);
  margin-inline: auto;
}

.policy-header {
  color: #fff;
  background: #07112d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.policy-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.policy-brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 10px;
}

.policy-brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.policy-brand strong {
  font-family: "Manrope", sans-serif;
}

.policy-brand small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.back-link {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.policy-hero {
  padding: 76px 0 82px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(39, 124, 255, 0.4), transparent 36%),
    var(--navy);
}

.policy-hero p {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.policy-hero h1 {
  margin: 0 0 16px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.7rem, 6vw, 4.7rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.policy-hero span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 70px;
  align-items: start;
  padding-top: 76px;
  padding-bottom: 90px;
}

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

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

.policy-content h2,
.policy-aside h2 {
  margin: 0 0 14px;
  font-family: "Manrope", sans-serif;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.policy-content h2 {
  font-size: 1.45rem;
}

.policy-content p {
  margin: 0 0 14px;
  color: var(--muted);
}

.policy-content ul {
  padding-left: 22px;
  color: var(--muted);
}

.policy-content li {
  margin: 5px 0;
}

.policy-content address {
  color: var(--muted);
  font-style: normal;
}

.policy-aside {
  position: sticky;
  top: 30px;
  display: grid;
  gap: 18px;
}

.policy-aside > div {
  padding: 24px;
  background: var(--cream);
  border: 1px solid #eee7d8;
  border-radius: 16px;
}

.policy-aside h2 {
  font-size: 1rem;
}

.policy-aside p {
  color: var(--muted);
  font-size: 13px;
}

.policy-aside a {
  font-size: 13px;
  font-weight: 700;
}

footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.6);
  background: #07112d;
  font-size: 12px;
}

footer .policy-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

footer a {
  color: var(--gold);
  text-decoration: none;
}

@media (max-width: 760px) {
  .policy-container {
    width: min(calc(100% - 28px), 1080px);
  }

  .header-inner {
    min-height: 72px;
  }

  .policy-brand small {
    display: none;
  }

  .back-link {
    font-size: 11px;
  }

  .policy-hero {
    padding: 58px 0 62px;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 54px;
    padding-bottom: 62px;
  }

  .policy-aside {
    position: static;
    grid-row: 1;
  }

  footer .policy-container {
    flex-direction: column;
    gap: 8px;
  }
}
