:root {
  --navy: #19212d;
  --cobalt: #345bff;
  --cobalt-deep: #203cb5;
  --ink: #19212d;
  --muted: #5d6878;
  --line: #d8deec;
  --ice: #f2f5ff;
  --paper: #fff;
  --display: "Avenir Next", "Segoe UI", Arial, sans-serif;
  --body: "Avenir Next", "Segoe UI", Arial, sans-serif;
  --max: 1240px;
  --reading: 760px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 5px;
}

::selection {
  color: var(--navy);
  background: #dce3ff;
}

p,
h1,
h2,
h3,
ul,
ol { margin-top: 0; }

.container {
  width: min(var(--max), calc(100% - 112px));
  margin-inline: auto;
}

.reading-width {
  width: min(var(--reading), calc(100% - 112px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 100;
  padding: 10px 18px;
  color: #fff;
  background: var(--navy);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }


.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #e1e6f4;
  background: rgba(255, 255, 255, .98);
}

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

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
}

.brand img {
  display: block;
  width: 252px;
  max-width: 100%;
  height: auto;
}

.home-link,
.back-top {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}

.home-link { color: var(--cobalt-deep); min-height: 44px; }

.home-link:hover,
.back-top:hover,
.site-footer a:hover,
.policy-content a:hover { color: var(--cobalt); }

.home-link svg,
.back-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.policy-hero {
  padding-block: clamp(64px, 9vw, 108px) clamp(48px, 7vw, 76px);
  border-bottom: 1px solid var(--line);
  background: var(--ice);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--cobalt-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 2px;
  background: var(--cobalt);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(46px, 7vw, 72px);
  letter-spacing: -.045em;
  line-height: 1.06;
}

.effective-date {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.effective-date span {
  color: var(--ink);
  text-transform: none;
}

.policy-intro {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.65;
}

.policy { min-height: 34vh; }

.policy-content {
  padding-block: clamp(56px, 8vw, 92px) clamp(78px, 10vw, 120px);
}

/* Readable notice content. */
.policy-content > :first-child { margin-top: 0; }
.policy-content > :last-child { margin-bottom: 0; }

.policy-content h2 {
  margin: 52px 0 16px;
  padding-top: 4px;
  font-size: clamp(25px, 3vw, 32px);
  letter-spacing: -.025em;
  line-height: 1.25;
}

.policy-content h3 {
  margin: 34px 0 10px;
  font-size: 19px;
  line-height: 1.4;
}

.policy-content p,
.policy-content li {
  color: #364152;
  font-size: 17px;
}

.policy-content p { margin-bottom: 22px; }

.policy-content ul,
.policy-content ol {
  margin-bottom: 26px;
  padding-left: 1.35em;
}

.policy-content li + li { margin-top: 9px; }

.policy-content a {
  color: var(--cobalt-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #aab8e6;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.policy-content hr {
  margin-block: 48px;
  border: 0;
  border-top: 1px solid var(--line);
}

.site-footer { background: #fff; }

.footer-top {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-block: 42px;
}

.footer-brand img { width: 232px; }

.footer-top > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.back-top {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 23px 27px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

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

  .container,
  .reading-width { width: calc(100% - 40px); }

  .header-inner {
    min-height: 76px;
    gap: 12px;
  }

  .brand img { width: min(190px, 61vw); }
  .home-link { gap: 6px; font-size: 12px; }
  .home-link svg { width: 16px; height: 16px; }

  .policy-hero { padding-block: 52px 48px; }
  h1 { font-size: clamp(42px, 14vw, 58px); }
  .policy-intro { font-size: 17px; }
  .policy-content { padding-block: 54px 76px; }
  .policy-content h2 { margin-top: 42px; }
  .policy-content p,
  .policy-content li { font-size: 16px; }

  .footer-top {
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 21px;
    padding-block: 33px;
  }

  .footer-brand img { width: min(190px, 61vw); }

  .footer-top > p {
    order: 3;
    width: 100%;
  }

  .back-top { gap: 7px; }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    padding-block: 20px 27px;
  }
}

@media (max-width: 360px) {
  .container,
  .reading-width { width: calc(100% - 32px); }
  .brand img,
  .footer-brand img { width: 172px; }
  .home-link svg { width: 20px; height: 20px; }
  h1 { font-size: 42px; }
}

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