:root {
  color-scheme: light;
  --ink: #10233b;
  --text: #354960;
  --muted: #4e627a;
  --blue: #285884;
  --line: #dce5ef;
  --white: #fff;
  font: 16px/1.65 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #eff4fa;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(ellipse 85rem 54rem at 8% 0%, #fff, #eff4fa 68%);
}
a { color: inherit; }
:focus-visible {
  outline: 2px solid #3475af;
  outline-offset: 4px;
}

.shell { width: min(calc(100% - 5rem), 75rem); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 2;
  inset: 1rem auto auto 1rem;
  padding: .65rem 1rem;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--white);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 4.15rem;
  margin-block: 1.1rem .85rem;
  padding: .55rem 1rem;
  border: 1px solid #d8e3ee;
  border-radius: 1rem;
  background: #ffffffca;
  box-shadow: 0 5px 22px #12345908;
}
.brand, .home-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  width: fit-content;
  text-decoration: none;
}
.brand { font-size: .93rem; font-weight: 700; letter-spacing: -.025em; }
.brand img { display: block; border-radius: .55rem; }
.policy-nav {
  display: flex;
  gap: .15rem;
  padding: .2rem;
  border: 1px solid var(--line);
  border-radius: 5rem;
  background: #f0f5fb;
}
.policy-nav a {
  padding: .27rem .9rem;
  border-radius: 5rem;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
}
.policy-nav a[aria-current="page"] { color: var(--white); background: #153353; }
.policy-nav a:hover:not([aria-current="page"]) { color: var(--ink); background: #e3edf8; }
.home-link {
  justify-self: end;
  font-size: .82rem;
  font-weight: 650;
  color: var(--text);
}
.home-link:hover, .site-footer a:hover { text-decoration: underline; }

.policy-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 19rem;
  padding: clamp(1.65rem, 5vw, 4.1rem);
  border-radius: 1.45rem;
  color: #f6f9ff;
  background:
    linear-gradient(90deg, #0b192bea 10%, #0a1a2bda 37%, #12254065 72%, #0c21363b),
    linear-gradient(0deg, #0a1725b3, transparent 70%),
    #102640 url("../assets/frames/ezgif-frame-001.webp") center 31% / cover no-repeat;
  box-shadow: 0 12px 30px #1739521a;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  color: #d5e7fa;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 1px;
  background: currentColor;
}
.eyebrow span { opacity: .75; }
.policy-hero h1 {
  margin: .65rem 0 .4rem;
  font-size: clamp(2.65rem, 6.6vw, 5.15rem);
  line-height: 1.04;
  letter-spacing: -.07em;
  font-weight: 420;
}
.hero-intro {
  max-width: 39ch;
  margin: 0;
  color: #e4edf9;
  font-size: clamp(.94rem, 1.45vw, 1.09rem);
}
.policy-date {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem .65rem;
  margin: 1.45rem 0 0;
  padding: .35rem .75rem;
  border: 1px solid #c6def352;
  border-radius: 4rem;
  color: #dceaf9;
  background: #0b192b70;
  font-size: .78rem;
}
.policy-date time { color: #fff; font-weight: 650; }

.policy-layout {
  display: grid;
  grid-template-columns: minmax(13.5rem, .34fr) minmax(0, 1fr);
  align-items: start;
  gap: 1.3rem;
  margin-block: 1.3rem 2.5rem;
}
.contents, .policy-text {
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: var(--white);
}
.contents {
  position: sticky;
  top: 1rem;
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 1.3rem 1.15rem;
}
.contents h2 {
  margin: 0 0 .7rem;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.contents ol {
  margin: 0;
  padding-left: 1.75rem;
  list-style-type: decimal-leading-zero;
  font-size: .82rem;
}
.contents li::marker { color: var(--blue); font-weight: 650; font-variant-numeric: tabular-nums; }
.contents a {
  display: block;
  padding: .35rem .4rem;
  border-radius: .35rem;
  color: var(--text);
  line-height: 1.4;
  text-decoration: none;
}
.contents a:hover { color: var(--ink); background: #eef5fc; text-decoration: underline; }

.policy-text {
  min-width: 0;
  padding: clamp(1.25rem, 3.7vw, 3.15rem);
  color: var(--text);
  line-height: 1.75;
}
.policy-intro { margin: 0 0 1.7rem; font-size: clamp(1rem, 1.4vw, 1.12rem); }
.policy-text strong { color: var(--ink); font-weight: 650; }
.policy-text p:not(.table-hint), .policy-text li, .company-details dd { overflow-wrap: anywhere; }
.policy-section {
  padding-block: 1.45rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: 1rem;
}
.policy-section h2 {
  display: flex;
  align-items: baseline;
  gap: .65rem;
  margin: 0 0 .75rem;
  color: var(--ink);
  font-size: clamp(1.3rem, 2.15vw, 1.75rem);
  font-weight: 620;
  letter-spacing: -.045em;
  line-height: 1.22;
}
.section-number {
  flex: none;
  padding: .2rem .4rem;
  border-radius: .3rem;
  color: var(--blue);
  background: #edf4fc;
  font-size: .7rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: .02em;
}
.policy-section:target .section-number { color: #fff; background: #285884; }
.policy-section p { margin: 0; }
.policy-section p + p, .policy-section ul + p { margin-top: .65rem; }
.policy-section ul { margin: .5rem 0 0; padding-inline-start: 1.2rem; }
.policy-section li + li { margin-top: .35rem; }
.policy-section li::marker { color: #5279a2; }
.policy-section a { color: #194c7c; text-underline-offset: .16em; }
.policy-section a:hover { text-decoration-thickness: 2px; }
.company-details {
  display: grid;
  grid-template-columns: minmax(9rem, .35fr) minmax(0, 1fr);
  gap: .65rem 1rem;
  margin: 0;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: #f5f9fd;
  font-size: .92rem;
  line-height: 1.55;
}
.company-details dt { color: var(--ink); font-weight: 650; }
.company-details dd { margin: 0; }

.table-scroll {
  margin-top: .7rem;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: .75rem;
}
table {
  width: 100%;
  min-width: 33rem;
  border-collapse: collapse;
  font-size: .89rem;
  line-height: 1.45;
  text-align: left;
}
th, td { padding: .75rem .8rem; vertical-align: top; }
th { color: var(--ink); font-weight: 650; }
thead { background: #eaf2fb; }
tbody tr { border-top: 1px solid var(--line); }
tbody tr:nth-child(even) { background: #f7faff; }
.table-hint { display: none; color: var(--muted); font-size: .82rem; }

.related-policy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  padding: .9rem 1.1rem;
  border: 1px solid #d5e3f2;
  border-radius: .8rem;
  background: linear-gradient(112deg, #edf5fd, #f9fbff);
  text-decoration: none;
}
.related-policy small, .related-policy strong { display: block; }
.related-policy small { color: var(--muted); font-size: .78rem; }
.related-policy:hover strong { text-decoration: underline; }
.related-arrow {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid #c5d9ec;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
}
.site-footer {
  margin-bottom: 1.25rem;
  padding-block: 1.2rem .6rem;
  border-top: 1px solid #cfdeed;
}
.footer-row, .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 1.2rem;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: .45rem 1.15rem; }
.site-footer nav a, .footer-bottom a { text-decoration: none; }
.site-footer nav a { color: var(--text); font-size: .85rem; }
.site-footer nav a[aria-current="page"] { font-weight: 700; }
.footer-bottom {
  margin-top: 1rem;
  padding-top: .7rem;
  border-top: 1px solid #d8e4f0;
  color: var(--muted);
  font-size: .78rem;
}
.footer-bottom small { font-size: inherit; }

@media (max-width: 960px) {
  .shell { width: calc(100% - 3rem); }
  .table-hint { display: block; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 1.5rem); }
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .65rem .6rem;
    margin-block: .65rem;
    padding: .65rem .8rem;
  }
  .policy-nav { grid-row: 2; grid-column: 1 / -1; justify-self: start; }
  .policy-hero { min-height: 16rem; border-radius: 1.1rem; }
  .policy-layout { grid-template-columns: 1fr; gap: .8rem; margin-block: .8rem 1.6rem; }
  .contents { position: static; max-height: none; padding: 1rem; }
  .contents ol { columns: 2; column-gap: 1.5rem; }
  .contents li { break-inside: avoid; }
  .company-details { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .company-details dd:not(:last-child) { margin-bottom: .5rem; }
}
@media (max-width: 355px) {
  .contents ol { columns: 1; }
  .brand img { width: 30px; height: 30px; }
  .brand, .home-link { gap: .35rem; }
}
