:root {
  --hp-navy: #111a45;
  --hp-navy-soft: #28345f;
  --hp-red: #d52e38;
  --hp-ink: #172033;
  --hp-muted: #5d6678;
  --hp-line: #dfe4ed;
  --hp-surface: #f5f7fb;
  --hp-white: #ffffff;
  --hp-max: 1180px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--hp-ink);
  background: var(--hp-white);
  font-size: 1rem;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

a {
  color: #244c9f;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--hp-red);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  color: var(--hp-white);
  background: var(--hp-navy);
  border-radius: 0.4rem;
  transform: translateY(-180%);
}

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

.site-header {
  color: var(--hp-white);
  background: linear-gradient(118deg, #0e173f 0%, #1d2a5c 68%, #29396e 100%);
}

.header-inner,
.hero-inner,
.page-grid,
.footer-inner {
  width: min(calc(100% - 2.5rem), var(--hp-max));
  margin: 0 auto;
}

.header-inner {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--hp-white);
  font-weight: 800;
  font-size: 1.42rem;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 2.25rem;
  height: 2.25rem;
  border: 0.26rem solid var(--hp-white);
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border-style: solid;
}

.brand-mark::before {
  inset: 0.24rem;
  border-width: 0.18rem 0 0.18rem 0.18rem;
  border-color: var(--hp-red) transparent var(--hp-red) var(--hp-red);
  transform: rotate(25deg);
}

.brand-mark::after {
  inset: 0.62rem;
  border-width: 0.14rem;
  border-color: var(--hp-white) var(--hp-white) transparent transparent;
  transform: rotate(-15deg);
}

.brand-power {
  color: #f05660;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.1rem;
}

.language-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.language-nav a {
  min-width: 2.7rem;
  padding: 0.4rem 0.62rem;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.language-nav a[aria-current="page"] {
  color: var(--hp-navy);
  background: var(--hp-white);
  border-color: var(--hp-white);
}

.back-link {
  color: var(--hp-white);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.back-link::after {
  content: " \2192";
}

.privacy-hero {
  color: var(--hp-white);
  background:
    radial-gradient(circle at 88% 5%, rgba(255, 255, 255, 0.14), transparent 30%),
    linear-gradient(118deg, #0e173f 0%, #1d2a5c 68%, #29396e 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-inner {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(3.2rem, 6vw, 5.7rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 0.2rem;
  background: var(--hp-red);
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.hero-summary {
  max-width: 780px;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
}

.updated {
  display: inline-flex;
  margin-top: 1.75rem;
  padding: 0.4rem 0.7rem;
  color: rgba(255, 255, 255, 0.83);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  font-size: 0.82rem;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
  padding: clamp(3rem, 6vw, 6rem) 0;
}

.toc {
  position: sticky;
  top: 1.5rem;
  padding: 1.3rem;
  background: var(--hp-surface);
  border: 1px solid var(--hp-line);
  border-radius: 0.85rem;
}

.toc-title {
  margin: 0 0 0.85rem;
  color: var(--hp-navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toc ol {
  margin: 0;
  padding-left: 1.15rem;
}

.toc li + li {
  margin-top: 0.48rem;
}

.toc a {
  color: var(--hp-muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.content {
  max-width: 820px;
}

.content section {
  scroll-margin-top: 1.5rem;
  padding: 0 0 clamp(2.5rem, 5vw, 4.3rem);
}

.content section + section {
  padding-top: clamp(2.5rem, 5vw, 4.3rem);
  border-top: 1px solid var(--hp-line);
}

h2 {
  margin: 0 0 1.1rem;
  color: var(--hp-navy);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.028em;
}

h3 {
  margin: 1.9rem 0 0.65rem;
  color: var(--hp-navy-soft);
  font-size: 1.08rem;
  line-height: 1.35;
}

p,
ul,
dl {
  margin-top: 0;
}

p:last-child,
ul:last-child,
dl:last-child {
  margin-bottom: 0;
}

ul {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.35rem;
}

.lead {
  color: #334057;
  font-size: 1.08rem;
}

.controller-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.4rem 0;
}

.controller-card {
  padding: 1.35rem;
  background: var(--hp-surface);
  border: 1px solid var(--hp-line);
  border-top: 4px solid var(--hp-red);
  border-radius: 0.75rem;
}

.controller-card h3 {
  margin-top: 0;
}

.controller-card address {
  font-style: normal;
}

.controller-card a {
  overflow-wrap: anywhere;
}

.note {
  padding: 1rem 1.1rem;
  background: #f0f4fb;
  border-left: 4px solid #365ba6;
  border-radius: 0 0.45rem 0.45rem 0;
}

.facts {
  display: grid;
  grid-template-columns: minmax(150px, 0.33fr) minmax(0, 1fr);
  margin: 1.2rem 0 0;
  border-top: 1px solid var(--hp-line);
}

.facts dt,
.facts dd {
  margin: 0;
  padding: 0.78rem 0;
  border-bottom: 1px solid var(--hp-line);
}

.facts dt {
  padding-right: 1rem;
  color: var(--hp-navy);
  font-weight: 750;
}

.facts dd {
  color: #3f485a;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.2rem 0;
  border: 1px solid var(--hp-line);
  border-radius: 0.7rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

th,
td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--hp-line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--hp-navy);
  background: var(--hp-surface);
  font-size: 0.82rem;
  letter-spacing: 0.025em;
}

tbody tr:last-child td {
  border-bottom: 0;
}

code {
  color: var(--hp-navy);
  background: #edf1f7;
  border-radius: 0.28rem;
  padding: 0.12rem 0.32rem;
  font-size: 0.9em;
}

.site-footer {
  color: rgba(255, 255, 255, 0.75);
  background: #0d1434;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.6rem 0;
}

.footer-title {
  margin: 0 0 0.35rem;
  color: var(--hp-white);
  font-weight: 800;
}

.footer-inner p {
  margin: 0;
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem 1.1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  text-decoration: none;
}

@media (max-width: 820px) {
  .header-inner {
    min-height: auto;
    padding: 1rem 0;
    align-items: flex-start;
  }

  .header-actions {
    align-items: flex-end;
    flex-direction: column-reverse;
    gap: 0.55rem;
  }

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

  .toc {
    position: static;
  }

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

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .hero-inner,
  .page-grid,
  .footer-inner {
    width: min(calc(100% - 1.5rem), var(--hp-max));
  }

  .brand {
    font-size: 1.2rem;
  }

  .brand-mark {
    width: 1.9rem;
    height: 1.9rem;
  }

  .back-link {
    display: none;
  }

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

  .facts dt {
    padding-bottom: 0.2rem;
    border-bottom: 0;
  }

  .facts dd {
    padding-top: 0;
  }
}

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

@media print {
  .skip-link,
  .language-nav,
  .back-link,
  .toc {
    display: none;
  }

  .site-header,
  .privacy-hero,
  .site-footer {
    color: #000;
    background: #fff;
  }

  .hero-summary,
  .updated,
  .footer-inner,
  .brand {
    color: #000;
  }

  .page-grid {
    display: block;
  }
}
