:root {
  color-scheme: light;
  --ink: #102128;
  --muted: #53666f;
  --snow: #f6fbfd;
  --surface: #ffffff;
  --line: #d9e7ed;
  --pine: #0d3b4c;
  --glacier: #4cb8d3;
  --ember: #ff6f3c;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--snow);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--snow);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: var(--pine);
}

.legal-masthead {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  color: #ffffff;
  background: var(--pine);
  isolation: isolate;
}

.legal-masthead__image,
.legal-masthead__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.legal-masthead__image {
  z-index: -2;
  object-fit: cover;
  object-position: center 42%;
}

.legal-masthead__shade {
  z-index: -1;
  background: rgba(8, 33, 42, 0.78);
}

.legal-header,
.legal-title,
.legal-content,
.legal-footer__inner {
  width: min(840px, calc(100% - 48px));
  margin: 0 auto;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 20px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.legal-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.legal-home {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.legal-title {
  padding: 38px 0 54px;
}

.legal-kicker {
  margin: 0 0 12px;
  color: #ffd166;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
p,
li {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.05;
}

.legal-title p:last-child {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
}

.legal-content {
  padding: 52px 0 68px;
}

.legal-notice {
  margin: 0 0 40px;
  padding: 18px 20px;
  border-left: 4px solid var(--ember);
  background: var(--surface);
  color: var(--muted);
  line-height: 1.6;
}

.legal-section + .legal-section {
  margin-top: 36px;
}

h2 {
  margin: 0 0 12px;
  color: var(--pine);
  font-size: 24px;
  line-height: 1.2;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.legal-section p {
  margin: 0;
}

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

.legal-section ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-section li + li {
  margin-top: 8px;
}

.legal-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.legal-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.legal-footer nav {
  display: flex;
  gap: 20px;
}

.legal-brand:focus-visible,
.legal-home:focus-visible,
.legal-footer a:focus-visible {
  outline: 3px solid var(--glacier);
  outline-offset: 3px;
}

@media (max-width: 620px) {
  .legal-header,
  .legal-title,
  .legal-content,
  .legal-footer__inner {
    width: min(100% - 32px, 840px);
  }

  .legal-masthead {
    min-height: 280px;
  }

  .legal-header {
    padding-top: 16px;
  }

  h1 {
    font-size: 36px;
  }

  .legal-content {
    padding: 40px 0 52px;
  }

  .legal-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
  }
}
