:root {
  --bg: #fbfbfa;
  --header-bg-top: #f2f6f9;
  --header-bg-mid: #e7edf3;
  --header-bg-bottom: #ebf0f4;
  --card-bg: #ffffff;
  --text: #1f2933;
  --muted: #5f6b76;
  --accent: #243746;
  --accent-soft: #f4f7f9;
  --border: #dde4e9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
}

body.page-home {
  line-height: 1.7;
}

body.page-doc {
  line-height: 1.65;
}

header {
  position: relative;
  background:
    radial-gradient(
      58rem 22rem at 50% -28%,
      rgba(255, 255, 255, 0.52) 0%,
      rgba(255, 255, 255, 0) 62%
    ),
    radial-gradient(
      26rem 15rem at 10% 0%,
      rgba(255, 255, 255, 0.68) 0%,
      rgba(255, 255, 255, 0) 57%
    ),
    radial-gradient(
      26rem 15rem at 90% 0%,
      rgba(255, 255, 255, 0.56) 0%,
      rgba(255, 255, 255, 0) 57%
    ),
    linear-gradient(
      110deg,
      rgba(209, 221, 233, 0.26) 0%,
      rgba(209, 221, 233, 0) 40%
    ),
    linear-gradient(
      180deg,
      var(--header-bg-top) 0%,
      var(--header-bg-mid) 50%,
      var(--header-bg-bottom) 100%
    );
  color: var(--text);
  padding: 2.4rem 1.5rem 1.9rem 1.5rem;
  border-bottom: 1px solid #d2dce4;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    inset 0 -1px 0 rgba(130, 151, 170, 0.14),
    inset 0 16px 24px -24px rgba(255, 255, 255, 0.75);
  overflow: hidden;
}

.header-inner {
  margin: 0 auto;
  text-align: center;
}

body.page-home .header-inner {
  max-width: 900px;
}

body.page-doc .header-inner {
  max-width: 960px;
}

h1 {
  margin: 0;
  font-family:
    "Big Caslon", "Baskerville", "Iowan Old Style", "Palatino Linotype",
    "Book Antiqua", Georgia, serif;
  font-weight: 650;
  letter-spacing: 0.012em;
  color: #203443;
  text-wrap: balance;
}

body.page-home h1 {
  font-size: 2.75rem;
  line-height: 1.05;
}

body.page-doc h1 {
  font-size: 2.5rem;
  line-height: 1.08;
}

.descriptor {
  margin: 0.45rem 0 0 0;
  font-size: 1.05rem;
  color: #304352;
  font-weight: 600;
}

.tagline {
  margin: 0.42rem auto 0 auto;
  font-size: 0.96rem;
  color: #5a6874;
  max-width: 760px;
  line-height: 1.65;
}

nav {
  margin-top: 1.3rem;
  padding-top: 0.92rem;
  border-top: 1px solid rgba(89, 109, 126, 0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

nav a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.1rem 0.2rem;
  border-bottom: 1px solid transparent;
}

nav a:hover {
  border-bottom-color: var(--accent);
}

.header-utility {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.header-utility a {
  color: var(--accent);
  text-decoration: none;
}

.header-utility a:hover {
  text-decoration: underline;
}

main {
  margin: 2rem auto;
}

body.page-home main {
  max-width: 900px;
  padding: 0 1.5rem 3rem 1.5rem;
}

body.page-doc main {
  max-width: 960px;
  padding: 0 1.5rem 2.5rem 1.5rem;
}

main a {
  color: var(--accent);
}

body.page-home .key-facts {
  margin: 0 0 1.6rem 0;
}

body.page-home .key-facts-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

body.page-home .key-facts-list li {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.32rem 0.58rem;
  font-size: 0.8rem;
  color: var(--accent);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  line-height: 1.35;
  white-space: nowrap;
}

section {
  background: var(--card-bg);
  border: 1px solid var(--border);
}

body.page-home section {
  border-radius: 14px;
  padding: 2rem 1.7rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

body.page-doc section {
  border-radius: 10px;
  padding: 1.6rem 1.4rem;
  margin-bottom: 1.4rem;
}

section h2 {
  margin-top: 0;
}

body.page-home section h2 {
  margin-bottom: 0.85rem;
  font-size: 1.3rem;
  color: var(--accent);
  letter-spacing: 0.01em;
}

body.page-doc section h2 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

body.page-home section p,
body.page-home section ul {
  max-width: 72ch;
}

p {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

body.page-doc p,
body.page-doc li {
  margin-top: 0.45rem;
  margin-bottom: 0.45rem;
}

body.page-doc ul {
  padding-left: 1.2rem;
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

body.page-home .lead {
  font-size: 1.03rem;
}

body.page-doc .lead {
  font-size: 1rem;
}

.eyebrow {
  margin: 0 0 0.45rem 0;
  font-size: 0.76rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

body.page-home .muted {
  color: var(--muted);
  font-size: 0.92rem;
}

body.page-doc .muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.highlight-card,
.highlight,
.upload-card {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
}

.button {
  display: inline-block;
  margin-top: 0.95rem;
  padding: 0.84rem 1.55rem;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--accent);
}

.button:hover {
  background: #2a3e50;
}

.contact-details p {
  margin: 0.3rem 0;
}

footer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  padding: 1.5rem 1rem 2rem 1rem;
  line-height: 1.7;
}

body.page-home footer {
  padding: 1.6rem 1rem 2rem 1rem;
}

footer p {
  margin: 0.3rem 0;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  header {
    padding: 2.9rem 1.5rem 2.1rem 1.5rem;
  }

  body.page-home h1 {
    font-size: 3.15rem;
  }

  body.page-doc h1 {
    font-size: 2.85rem;
  }

  .descriptor {
    font-size: 1.08rem;
  }

  body.page-home .tagline {
    font-size: 0.99rem;
  }

  body.page-home main {
    margin-top: 2.3rem;
  }
}

@media (min-width: 980px) {
  body.page-home .key-facts-list {
    flex-wrap: nowrap;
  }
}
