:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #071e27;
  background: #f3faff;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f3faff;
}

a {
  color: #3f6f85;
  text-underline-offset: 3px;
}

a:hover {
  color: #2f5668;
}

a:focus-visible {
  outline: 3px solid #78a9c7;
  outline-offset: 3px;
  border-radius: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #c7dde9;
  background: rgba(243, 250, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner,
.legal-main,
.site-footer {
  width: min(100% - 40px, 820px);
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #071e27;
  font-size: 17px;
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 650;
}

.header-nav a {
  text-decoration: none;
}

.legal-main {
  padding-block: 64px 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #a95342;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: #071e27;
  letter-spacing: 0;
}

h1 {
  max-width: 700px;
  margin: 0;
  font-size: 42px;
  line-height: 1.08;
}

.updated {
  margin: 18px 0 0;
  color: #526167;
  font-size: 14px;
}

.lede {
  max-width: 720px;
  margin: 28px 0 0;
  color: #424848;
  font-size: 18px;
  line-height: 1.65;
}

.summary {
  margin: 36px 0 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid #c7dde9;
}

.summary div {
  padding: 22px 20px;
}

.summary div + div {
  border-left: 1px solid #c7dde9;
}

.summary strong,
.summary span {
  display: block;
}

.summary strong {
  margin-bottom: 6px;
  font-size: 15px;
}

.summary span {
  color: #526167;
  font-size: 14px;
  line-height: 1.45;
}

.notice {
  margin: 32px 0 44px;
  padding: 18px 20px;
  border-left: 4px solid #a95342;
  background: #f9e4da;
  color: #314850;
  line-height: 1.55;
}

.contents {
  margin-bottom: 48px;
  padding: 24px 0;
  border-block: 1px solid #c7dde9;
}

.contents strong {
  display: block;
  margin-bottom: 12px;
}

.contents ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 36px;
}

.contents li {
  margin: 7px 0;
  break-inside: avoid;
}

.legal-section {
  scroll-margin-top: 90px;
  padding: 10px 0 38px;
}

.legal-section + .legal-section {
  padding-top: 38px;
  border-top: 1px solid #c7dde9;
}

h2 {
  margin: 0 0 16px;
  font-size: 25px;
  line-height: 1.2;
}

h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

p,
li,
td,
th {
  font-size: 16px;
  line-height: 1.65;
}

p {
  margin: 0 0 15px;
}

ul,
ol {
  padding-left: 24px;
}

li + li {
  margin-top: 8px;
}

.table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border-block: 1px solid #c7dde9;
}

table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #c7dde9;
}

th {
  color: #314850;
  font-size: 14px;
  font-weight: 750;
  background: #e6f6ff;
}

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

.contact-block {
  padding: 20px;
  border: 1px solid #c7dde9;
  background: #fff;
}

.site-footer {
  padding-block: 28px 42px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #c7dde9;
  color: #526167;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

@media (max-width: 680px) {
  .header-inner,
  .legal-main,
  .site-footer {
    width: min(100% - 32px, 820px);
  }

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

  .header-nav a:first-child {
    display: none;
  }

  .legal-main {
    padding-block: 42px 56px;
  }

  h1 {
    font-size: 32px;
  }

  .lede {
    font-size: 17px;
  }

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

  .summary div + div {
    border-top: 1px solid #c7dde9;
    border-left: 0;
  }

  .contents ol {
    columns: 1;
  }

  .table-wrap {
    overflow: visible;
    border: 0;
  }

  table,
  tbody,
  tr,
  td {
    display: block;
    min-width: 0;
    width: 100%;
  }

  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  tr {
    padding: 13px 0;
    border-bottom: 1px solid #c7dde9;
  }

  tr:first-child {
    border-top: 1px solid #c7dde9;
  }

  td,
  tr:last-child td {
    padding: 7px 0;
    border: 0;
  }

  td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: #526167;
    font-size: 12px;
    font-weight: 750;
    text-transform: uppercase;
  }

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