:root {
  color-scheme: light;
  --ink: #11172d;
  --muted: #5f6b85;
  --line: #dfe5ef;
  --surface: #ffffff;
  --page: #f6f8fc;
  --primary: #4038df;
  --primary-soft: #eeedff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
  font-family: "Google Sans Flex", "Google Sans", Arial, sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.policy-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 68px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(223, 229, 239, 0.9);
  backdrop-filter: blur(14px);
}

.policy-nav-inner {
  width: min(100% - 36px, 1120px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.policy-back {
  width: fit-content;
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 8px;
  color: #303a55;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.policy-back:hover,
.policy-back:focus-visible {
  background: #f0f3f9;
  color: var(--primary);
  outline: none;
}

.policy-back-icon {
  display: inline-flex;
  font-size: 1.25rem;
  line-height: 1;
}

.policy-back-icon .lucide {
  width: 19px;
  height: 19px;
}

.policy-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #0b1028;
  font-size: 1.08rem;
  font-weight: 850;
  text-decoration: none;
}

.policy-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.policy-nav-balance {
  width: 110px;
  justify-self: end;
}

.policy-page {
  width: min(100% - 36px, 860px);
  margin: 0 auto;
  padding: 56px 0 72px;
}

.policy-intro {
  margin-bottom: 28px;
  text-align: center;
}

.policy-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.policy-intro h1 {
  margin: 14px 0 8px;
  color: #090f2b;
  font-size: clamp(2.2rem, 6vw, 3.65rem);
  line-height: 1.08;
  font-weight: 900;
}

.policy-intro > p {
  max-width: 610px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.policy-updated {
  margin-top: 14px;
  color: #758097;
  font-size: 0.84rem;
  font-weight: 650;
}

.policy-container {
  padding: 38px 42px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.07);
}

.policy-lead {
  margin: 0 0 34px;
  padding: 0 0 26px;
  color: #3d4862;
  font-size: 1.02rem;
  border-bottom: 1px solid var(--line);
}

.policy-container section {
  margin: 0;
  padding: 26px 0;
  border-bottom: 1px solid #e9edf4;
}

.policy-container section:first-of-type {
  padding-top: 0;
}

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

.policy-container h2 {
  margin: 0 0 10px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #11172d;
  font-size: 1.12rem;
  line-height: 1.45;
  font-weight: 800;
}

.policy-container h2 > span {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 850;
}

.policy-container p {
  margin: 0;
  color: #4f5b73;
  font-size: 0.96rem;
}

.policy-container section p + p {
  margin-top: 12px;
}

.policy-container ul {
  margin: 12px 0 0;
  padding-left: 22px;
  color: #4f5b73;
}

.policy-container li {
  padding-left: 5px;
  margin: 7px 0;
}

.policy-container li::marker {
  color: var(--primary);
}

.policy-contact {
  background: #f8fafc;
  margin: 26px -18px -12px !important;
  padding: 22px 18px !important;
  border: 1px solid #e5eaf2 !important;
  border-radius: 8px;
}

.policy-contact a {
  display: inline-block;
  margin-top: 9px;
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.policy-contact a:hover,
.policy-contact a:focus-visible {
  text-decoration: underline;
}

.policy-footer {
  padding: 26px 18px 32px;
  color: #6c7790;
  font-size: 0.84rem;
}

.policy-footer-inner {
  width: min(100%, 860px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.policy-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.policy-footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #505c75;
  font-weight: 650;
  text-decoration: none;
}

.policy-footer a .lucide {
  width: 15px;
  height: 15px;
}

.policy-footer a:hover,
.policy-footer a:focus-visible,
.policy-footer a[aria-current="page"] {
  color: var(--primary);
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 68px;
  }

  .policy-nav {
    min-height: 60px;
  }

  .policy-nav-inner {
    width: calc(100% - 24px);
  }

  .policy-back {
    min-height: 42px;
    padding: 0 9px;
  }

  .policy-back-long {
    display: none;
  }

  .policy-brand {
    font-size: 1rem;
  }

  .policy-brand img {
    width: 30px;
    height: 30px;
  }

  .policy-nav-balance {
    width: 68px;
  }

  .policy-page {
    width: calc(100% - 28px);
    padding: 38px 0 50px;
  }

  .policy-intro {
    margin-bottom: 22px;
    text-align: left;
  }

  .policy-intro h1 {
    font-size: 2.2rem;
  }

  .policy-intro > p {
    font-size: 0.96rem;
  }

  .policy-container {
    padding: 26px 20px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
  }

  .policy-lead {
    margin-bottom: 26px;
    padding-bottom: 22px;
    font-size: 0.96rem;
  }

  .policy-container section {
    padding: 22px 0;
  }

  .policy-container h2 {
    font-size: 1.04rem;
  }

  .policy-container p,
  .policy-container ul {
    font-size: 0.93rem;
    line-height: 1.72;
  }

  .policy-contact {
    margin: 22px -8px -8px !important;
    padding: 18px 14px !important;
  }

  .policy-footer-inner {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 14px;
  }

  .policy-footer nav {
    width: 100%;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
