:root {
  --ink: #1f2933;
  --muted: #52616f;
  --line: #d9e2ec;
  --paper: #f8fafc;
  --white: #ffffff;
  --teal: #235f5c;
  --teal-dark: #173f3d;
  --gold: #9b7a2f;
  --rose: #8b4f62;
  --shadow: 0 18px 60px rgba(31, 41, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid rgba(217, 226, 236, 0.86);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(35, 95, 92, 0.34);
  background: var(--white);
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.3vw, 28px);
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--teal);
}

.hero {
  display: grid;
  align-items: center;
  min-height: calc(86svh - 72px);
  padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.96), rgba(248, 250, 252, 0.74)),
    url("assets/protected-summary-field.png") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: 100%;
  max-width: 920px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid var(--teal);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--teal);
  color: var(--white);
}

.button.secondary,
.document-button {
  background: var(--white);
  color: var(--teal);
}

.button:hover {
  transform: translateY(-1px);
}

.custody {
  max-width: 680px;
  color: var(--teal-dark);
  font-weight: 700;
}

.section {
  padding: clamp(58px, 9vw, 104px) clamp(20px, 5vw, 72px);
  background: var(--white);
}

.section.muted {
  background: #eef4f3;
}

.section.compact {
  padding-top: clamp(52px, 8vw, 86px);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 96px);
  max-width: 1180px;
  margin: 0 auto;
}

.section-grid > *,
.section-heading,
.prose,
.document,
.topic {
  min-width: 0;
}

.section-heading {
  max-width: 1180px;
  margin: 0 auto 32px;
}

.prose {
  color: var(--muted);
  font-size: 18px;
}

.prose p {
  margin-bottom: 18px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
}

.topic {
  min-height: 94px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}

.topic:nth-child(2n) {
  border-color: rgba(35, 95, 92, 0.32);
}

.topic:nth-child(3n) {
  border-color: rgba(155, 122, 47, 0.38);
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.document {
  padding: 26px;
  border: 1px solid rgba(35, 95, 92, 0.24);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.document p {
  color: var(--muted);
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(52px, 8vw, 86px) clamp(20px, 5vw, 72px);
  background: var(--teal-dark);
  color: var(--white);
}

.contact-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-band .eyebrow {
  color: #d8b960;
}

.contact-link {
  overflow-wrap: anywhere;
  color: var(--white);
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 72px);
  background: #172027;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.footer p {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
  }

  .section-grid,
  .document-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-band,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section,
  .contact-band,
  .footer {
    width: 100vw;
    max-width: 100vw;
  }

  .hero-inner,
  .section-grid,
  .section-heading,
  .topic-grid,
  .document-grid {
    width: 100%;
    max-width: calc(100vw - 40px);
  }

  .nav {
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  h1 {
    font-size: 39px;
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: 27px;
    line-height: 1.15;
    overflow-wrap: break-word;
  }

  .lead,
  .prose {
    font-size: 17px;
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
