:root {
  --ink: #14213d;
  --muted: #5e6b7a;
  --line: #d9e0e8;
  --paper: #fbfcf8;
  --soft: #eef4f3;
  --gold: #caa955;
  --teal: #1f8a8a;
  --coral: #bd5d4d;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(20, 33, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(251, 252, 248, 0.92);
  border-bottom: 1px solid rgba(217, 224, 232, 0.8);
  backdrop-filter: blur(14px);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 44px;
  padding: 5px;
  background: var(--ink);
  border-radius: 8px;
  flex: 0 0 auto;
}

.brand-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

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

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

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.nav a {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  border-radius: 6px;
}

.nav a:hover {
  background: var(--soft);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(88svh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #dce4e7;
}

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

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(251, 252, 248, 0.1), rgba(251, 252, 248, 0.58) 34%, rgba(251, 252, 248, 0.92) 62%),
    linear-gradient(0deg, rgba(20, 33, 61, 0.18), rgba(20, 33, 61, 0.02));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin-left: auto;
  padding: 4vh clamp(18px, 6vw, 72px) 6vh 0;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.98;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.04;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: #334256;
  font-size: 19px;
}

.hero-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.link-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
}

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

.button.ghost,
.link-row a {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts article {
  min-height: 160px;
  padding: 28px clamp(18px, 3vw, 40px);
  background: var(--white);
}

.facts span {
  color: var(--muted);
  font-size: 13px;
}

.facts strong {
  display: block;
  margin-top: 8px;
  color: var(--coral);
  font-size: 34px;
  line-height: 1;
}

.facts p {
  margin: 12px 0 0;
  color: var(--muted);
}

.section {
  padding: clamp(64px, 9vw, 120px) clamp(18px, 5vw, 64px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.section > p,
.split p,
.section-head p {
  color: var(--muted);
  font-size: 17px;
}

.status-panel,
.service,
.compliance-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.status-panel {
  padding: 28px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-left: 22px;
  position: relative;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  content: "✓";
  color: var(--teal);
  font-weight: 900;
}

.note {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.service-grid,
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.service {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.service-code {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--coral);
  font-weight: 850;
}

.service p,
.compliance-grid p {
  color: var(--muted);
}

.service a {
  margin-top: auto;
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.registry {
  background: var(--white);
}

.registry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.registry-grid article {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.registry-code {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(202, 169, 85, 0.16);
  color: #76602a;
  font-size: 12px;
  font-weight: 850;
}

.registry-grid p {
  margin: 0;
  color: var(--muted);
}

.registry-grid button {
  width: fit-content;
  min-height: 38px;
  margin-top: auto;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.registry-grid button:hover {
  border-color: var(--teal);
}

.compliance {
  background: var(--soft);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: end;
}

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

.compliance-grid article {
  min-height: 190px;
  padding: 24px;
  box-shadow: none;
}

.compliance-grid .span-2 {
  grid-column: span 2;
}

.disclosure-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.disclosure-list div {
  display: grid;
  grid-template-columns: minmax(140px, 0.36fr) minmax(0, 1fr);
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.disclosure-list.compact div {
  grid-template-columns: minmax(126px, 0.42fr) minmax(0, 1fr);
}

.disclosure-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.disclosure-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 720;
}

.disclosure-points {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.disclosure-points a {
  color: var(--teal);
  font-weight: 800;
}

.disclosure-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.disclosure-actions a,
.disclosure-actions button {
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.disclosure-actions a:hover,
.disclosure-actions button:hover {
  border-color: var(--teal);
}

.documents {
  background: var(--white);
}

.doc-note {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.document-tools {
  display: grid;
  grid-template-columns: minmax(240px, 420px) 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 26px;
}

.search span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.search input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.filters button {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #465669;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
}

.filters button:hover {
  background: var(--soft);
  color: var(--ink);
}

.filters button.active {
  border-color: rgba(202, 169, 85, 0.45);
  background: #fff8e5;
  color: var(--ink);
}

.document-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.doc-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.doc-card:hover {
  border-color: var(--teal);
  box-shadow: 0 10px 26px rgba(20, 33, 61, 0.08);
  transform: translateY(-1px);
}

.doc-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
}

.doc-topline span {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(31, 138, 138, 0.08);
}

.doc-title {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.28;
}

.doc-section {
  color: var(--muted);
  font-size: 13px;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  color: var(--muted);
  font-size: 12px;
}

.doc-meta span {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.contacts {
  background: var(--soft);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  color: var(--muted);
  font-weight: 800;
}

.contact-list dd {
  margin: 0;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 64px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
}

.footer p {
  margin: 0;
}

@media (max-width: 1040px) {
  .facts,
  .service-grid,
  .document-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .compliance-grid .span-2 {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: calc(90svh - 136px);
  }

  .hero-image {
    object-position: 34% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(251, 252, 248, 0.98), rgba(251, 252, 248, 0.82) 54%, rgba(251, 252, 248, 0.2)),
      linear-gradient(90deg, rgba(20, 33, 61, 0.12), rgba(20, 33, 61, 0));
  }

  .hero-content {
    align-self: end;
    width: 100%;
    margin: 0;
    padding: 30vh 18px 42px;
  }

  .facts,
  .split,
  .section-head,
  .service-grid,
  .registry-grid,
  .compliance-grid,
  .document-list {
    grid-template-columns: 1fr;
  }

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

  .compliance-grid .span-2 {
    grid-column: auto;
  }

  .disclosure-list div,
  .disclosure-list.compact div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .filters {
    flex-wrap: nowrap;
    margin-inline: -18px;
    padding: 0 18px 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filters button {
    flex: 0 0 auto;
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
