:root {
  --white: #ffffff;
  --ink: #17201c;
  --paper: #f5f0e7;
  --muted: rgba(23, 32, 28, 0.68);
  --shade: transparent;
  --hero-blue: #15355a;
  --hero-blue-soft: #1d4168;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
}

p,
h1 {
  margin: 0;
  overflow-wrap: break-word;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center center;
}

.hero-shade {
  z-index: 1;
  background: var(--shade);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, 920px);
  transform: translateY(-7svh);
}

.hero-initials {
  font-family: "Times New Roman", "Liberation Serif", "Nimbus Roman", Times, serif;
  font-size: 8.8rem;
  font-weight: 200;
  line-height: 0.86;
  color: rgba(255, 255, 255, 0.84);
}

.hero h1 {
  font-family: "Times New Roman", "Liberation Serif", "Nimbus Roman", Times, serif;
  margin-top: 1.35rem;
  font-size: 2.45rem;
  font-weight: 300;
  line-height: 1.12;
  color: var(--hero-blue);
  text-shadow: 0 1px 14px rgba(255, 255, 255, 0.5);
}

.hero-subtitle {
  max-width: 42rem;
  margin: 1rem auto 0;
  color: var(--hero-blue-soft);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.5;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.5);
}

.legal-links {
  position: fixed;
  right: 0;
  bottom: 1rem;
  left: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
}

.legal-links a {
  color: inherit;
  text-decoration: none;
}

.legal-links a:focus-visible,
.legal-links a:hover {
  color: rgba(255, 255, 255, 0.92);
  outline: 0;
}

.document-page {
  background: var(--paper);
  color: var(--ink);
}

.document-main {
  width: min(100% - 2.5rem, 760px);
  margin: 0 auto;
  padding: 5rem 0 3rem;
}

.document-main a {
  color: inherit;
}

.back-link {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.document-main h1,
.document-main h2 {
  font-family: "Times New Roman", "Liberation Serif", "Nimbus Roman", Times, serif;
  font-weight: 300;
}

.document-main h1 {
  margin-top: 1rem;
  color: var(--ink);
  font-size: 2.55rem;
  line-height: 1.1;
}

.document-main h2 {
  margin: 2.1rem 0 0.7rem;
  color: var(--ink);
  font-size: 1.35rem;
}

.document-main p,
.document-main li {
  color: var(--muted);
  line-height: 1.65;
}

.document-main p {
  margin: 0.75rem 0 0;
}

.placeholder-note {
  border-left: 2px solid rgba(23, 32, 28, 0.25);
  padding-left: 1rem;
}

.document-page .legal-links {
  position: static;
  padding: 0 1.25rem 2rem;
  color: rgba(23, 32, 28, 0.6);
}

.document-page .legal-links a:focus-visible,
.document-page .legal-links a:hover {
  color: var(--ink);
}

@media (max-width: 760px) {
  .hero-content {
    width: min(100% - 2rem, 620px);
    transform: translateY(-6svh);
  }

  .hero-initials {
    font-size: 6.1rem;
  }

  .hero h1 {
    margin-top: 1.1rem;
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 440px) {
  .hero-initials {
    font-size: 5.2rem;
  }

  .hero h1 {
    font-size: 1.65rem;
  }

  .hero-subtitle {
    font-size: 0.96rem;
  }

  .document-main h1 {
    font-size: 2.15rem;
  }
}
