:root {
  --paper: #f2efe8;
  --paper-deep: #e9e5dc;
  --ink: #101820;
  --ink-soft: #26343d;
  --muted: #536069;
  --blue: #2d7fc4;
  --blue-action: #236ea8;
  --blue-hover: #1c5d90;
  --ice: #dde7e5;
  --coral: #ff6b4a;
  --white: #faf9f6;
  --line: rgba(16, 24, 32, 0.14);
  --line-strong: rgba(16, 24, 32, 0.24);
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --mono: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  --content: 720px;
  --shell: 1180px;
  --header-height: 60px;
  --ease: cubic-bezier(0.35, 0, 0, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 95% 4%, rgba(45, 127, 196, 0.11), transparent 25rem),
    radial-gradient(circle at 0% 46%, rgba(221, 231, 229, 0.76), transparent 30rem);
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid rgba(45, 127, 196, 0.38);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -80px;
  left: 16px;
  padding: 12px 16px;
  border-radius: 0 0 10px 10px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

.reading-progress {
  position: fixed;
  z-index: 220;
  inset: 0 auto auto 0;
  width: 0;
  height: 3px;
  background: var(--blue);
  pointer-events: none;
}

.site-header {
  position: sticky;
  z-index: 200;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(242, 239, 232, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  width: min(calc(100% - 32px), var(--shell));
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 112px;
  height: auto;
  transition: opacity 0.2s ease;
}

.brand:hover .brand-logo {
  opacity: 0.8;
}

.brand-divider {
  width: 1px;
  height: 18px;
  background: var(--line-strong);
}

.brand-section {
  color: var(--muted);
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.header-tenant {
  max-width: 42vw;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  position: absolute;
  right: -88px;
  bottom: -112px;
  width: 230px;
  aspect-ratio: 1;
  border: 1px solid rgba(45, 127, 196, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(45, 127, 196, 0.05),
    0 0 0 68px rgba(45, 127, 196, 0.025);
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 920px);
  margin-inline: auto;
  padding: 56px 0 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--blue-action);
  font: 500 11px/1.3 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(45, 127, 196, 0.09);
  content: "";
}

.hero h1 {
  max-width: 720px;
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(2.75rem, 11vw, 5rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--blue);
  font-style: normal;
  font-weight: 500;
}

.hero-lede {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 3.8vw, 1.125rem);
  line-height: 1.62;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.meta-chip {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(250, 249, 246, 0.58);
  color: var(--muted);
  font: 500 10px/1.2 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.disclosures {
  border-bottom: 1px solid var(--line);
  background: rgba(250, 249, 246, 0.48);
}

.disclosures-inner {
  width: min(calc(100% - 32px), var(--shell));
  margin-inline: auto;
  padding: 32px 0 40px;
}

.section-kicker {
  margin: 0 0 7px;
  color: var(--blue-action);
  font: 500 10px/1.3 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-heading {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 7vw, 2.7rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.section-intro {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
}

.document-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 24px;
}

.document-link {
  min-height: 82px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.document-link:active {
  transform: scale(0.985);
}

.document-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--ice);
  color: var(--blue-action);
}

.document-icon svg,
.document-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.document-link strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.document-link small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.document-arrow {
  color: var(--blue-action);
}

.document-link.is-current {
  border-color: rgba(45, 127, 196, 0.32);
  background: var(--ice);
}

.document-link.is-current .document-icon {
  background: var(--blue);
  color: var(--white);
}

.legal-layout {
  width: min(calc(100% - 32px), var(--shell));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-inline: auto;
  padding: 40px 0 64px;
}

.mobile-toc {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(250, 249, 246, 0.76);
}

.mobile-toc summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
}

.mobile-toc summary::-webkit-details-marker {
  display: none;
}

.mobile-toc summary::after {
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-3px);
  transition: transform 180ms ease;
}

.mobile-toc[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.mobile-toc nav {
  max-height: min(56vh, 430px);
  overflow-y: auto;
  padding: 0 16px 16px;
  border-top: 1px solid var(--line);
}

.toc-list {
  margin: 0;
  padding: 12px 0 0 22px;
}

.toc-list li {
  margin: 0;
  padding-left: 4px;
  color: var(--muted);
  font-size: 12px;
}

.toc-list a {
  min-height: 38px;
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.desktop-toc {
  display: none;
}

.agreement {
  min-width: 0;
  padding: 28px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 18px 56px rgba(16, 24, 32, 0.06);
}

.agreement-header {
  margin-bottom: 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.agreement-label {
  margin: 0 0 12px;
  color: var(--blue-action);
  font: 500 10px/1.3 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.agreement-header h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 9vw, 3.5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.agreement-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  color: var(--muted);
  font: 500 10px/1.4 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.agreement-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.quiet-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

.quiet-action svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.agreement-body {
  max-width: var(--content);
  margin-inline: auto;
}

.agreement-body h2 {
  margin: 52px 0 18px;
  padding-top: 4px;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 6vw, 2.25rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.agreement-body h2:first-child {
  margin-top: 0;
}

.agreement-body p,
.agreement-body li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.78;
}

.agreement-body p {
  margin: 0 0 20px;
}

.agreement-body strong {
  color: var(--ink);
  font-weight: 600;
}

.agreement-body a {
  color: var(--blue-action);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.agreement-body ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.agreement-body li {
  margin-bottom: 18px;
  padding-left: 6px;
}

.agreement-body li::marker {
  color: var(--blue-action);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}

.legal-note {
  margin-top: 40px;
  padding: 20px;
  border-left: 3px solid var(--blue);
  border-radius: 0 16px 16px 0;
  background: var(--ice);
  color: var(--ink-soft);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid rgba(250, 249, 246, 0.16);
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
  padding: 40px 0 calc(36px + env(safe-area-inset-bottom));
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo {
  display: block;
  width: 112px;
  height: auto;
}

.footer-copy {
  max-width: 620px;
  margin: 0;
  color: rgba(250, 249, 246, 0.68);
  font-size: 12px;
  line-height: 1.65;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(250, 249, 246, 0.14);
  color: rgba(250, 249, 246, 0.56);
  font: 400 10px/1.5 var(--mono);
}

.back-to-top {
  position: fixed;
  z-index: 180;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(250, 249, 246, 0.18);
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(16, 24, 32, 0.2);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.toast {
  position: fixed;
  z-index: 300;
  right: 16px;
  bottom: calc(76px + env(safe-area-inset-bottom));
  max-width: calc(100vw - 32px);
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.24);
  font-size: 12px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: none;
}

.pdf-hero .hero-inner {
  padding-bottom: 40px;
}

.pdf-grid {
  width: min(calc(100% - 32px), 920px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0 auto;
  padding: 40px 0 72px;
}

.pdf-card {
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.pdf-card::after {
  position: absolute;
  right: -48px;
  bottom: -56px;
  width: 130px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(45, 127, 196, 0.07);
  content: "";
}

.pdf-card.featured {
  background: var(--ice);
}

.pdf-type {
  position: relative;
  z-index: 1;
  color: var(--blue-action);
  font: 500 10px/1.3 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pdf-card h2 {
  position: relative;
  z-index: 1;
  max-width: 13ch;
  margin: 26px 0 10px;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.pdf-card p {
  position: relative;
  z-index: 1;
  max-width: 44ch;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.pdf-open {
  position: relative;
  z-index: 1;
  min-height: 44px;
  display: inline-flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  color: var(--blue-action);
  font-size: 12px;
  font-weight: 600;
}

.pdf-open svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

@media (hover: hover) {
  .document-link:hover,
  .pdf-card:hover {
    border-color: rgba(45, 127, 196, 0.48);
  }

  .document-link:hover {
    background: #fff;
  }

  .pdf-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(16, 24, 32, 0.08);
  }

  .quiet-action:hover {
    border-color: var(--blue);
    color: var(--blue-action);
  }

  .toc-list a:hover {
    color: var(--blue-action);
  }
}

@media (max-width: 639px) {
  .brand-logo,
  .footer-logo {
    width: 106px;
  }
}

@media (min-width: 640px) {
  .header-inner,
  .disclosures-inner,
  .legal-layout,
  .pdf-grid {
    width: min(calc(100% - 48px), var(--shell));
  }

  .hero-inner {
    width: min(calc(100% - 48px), 920px);
    padding: 72px 0 64px;
  }

  .document-grid,
  .pdf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agreement {
    padding: 44px 40px;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

@media (min-width: 980px) {
  .disclosures-inner {
    padding: 40px 0 48px;
  }

  .document-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .document-link {
    min-height: 154px;
    grid-template-columns: 1fr 24px;
    align-content: start;
  }

  .document-icon {
    grid-column: 1 / -1;
  }

  .legal-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 32px;
    padding: 56px 0 96px;
  }

  .mobile-toc {
    display: none;
  }

  .desktop-toc {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    max-height: calc(100vh - var(--header-height) - 48px);
    display: block;
    align-self: start;
    overflow-y: auto;
    padding: 6px 12px 20px 0;
  }

  .desktop-toc p {
    margin: 0 0 8px;
    color: var(--ink);
    font: 600 10px/1.3 var(--mono);
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }

  .toc-list a[aria-current="true"] {
    color: var(--blue-action);
    font-weight: 600;
  }

  .agreement {
    padding: 56px 64px 72px;
  }

  .pdf-grid {
    padding: 56px 0 96px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  @page {
    margin: 18mm;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  body::before,
  .site-header,
  .reading-progress,
  .disclosures,
  .mobile-toc,
  .desktop-toc,
  .agreement-actions,
  .back-to-top,
  .toast,
  .site-footer {
    display: none !important;
  }

  .hero {
    border: 0;
  }

  .hero::after,
  .hero-meta {
    display: none;
  }

  .hero-inner {
    width: 100%;
    padding: 0 0 12mm;
  }

  .hero h1 {
    font-size: 32pt;
  }

  .legal-layout {
    width: 100%;
    display: block;
    padding: 0;
  }

  .agreement {
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .agreement-body {
    max-width: none;
  }

  .agreement-body h2 {
    break-after: avoid;
  }

  .agreement-body p,
  .agreement-body li {
    color: #111;
    font-size: 10.5pt;
  }
}
