:root {
  --bg: #edf2f5;
  --paper: rgba(255, 255, 255, 0.84);
  --paper-strong: rgba(255, 255, 255, 0.94);
  --ink: #0f1115;
  --body: #36414e;
  --muted: #596571;
  --line: rgba(15, 17, 21, 0.1);
  --slate: #334b6e;
  --pine: #36554a;
  --signal: #7a3030;
  --gold: #8a6f2d;
  --shadow: 0 24px 64px rgba(15, 17, 21, 0.07);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f7f9fb 0%, #e9edf2 52%, #f3f6f8 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 17, 21, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 17, 21, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.58;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

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

.page {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 26px 0 56px;
}

.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  width: 142px;
  max-width: 34vw;
  font-size: 0;
  line-height: 0;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav,
.hero-actions,
.related-grid,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

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

.nav a,
.hero-actions a,
.related-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(15, 17, 21, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  color: #27313b;
  font-size: 0.62rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  line-height: 1.15;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav a:hover,
.hero-actions a:hover,
.related-grid a:hover {
  transform: translateY(-1px);
  border-color: rgba(51, 75, 110, 0.22);
  background: rgba(255, 255, 255, 0.94);
}

.hero {
  display: grid;
  gap: 22px;
  margin-top: 30px;
  padding: clamp(2rem, 4vw, 3.1rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.76)),
    linear-gradient(135deg, rgba(51, 75, 110, 0.06), rgba(54, 85, 74, 0.035));
  box-shadow: var(--shadow);
}

.eyebrow,
.section-label,
.card-kicker,
.fact-label {
  color: var(--signal);
  font-size: 0.62rem;
  font-weight: 820;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 13ch;
  font-size: clamp(3.1rem, 6vw, 5.35rem);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 0.93;
  text-wrap: balance;
}

.lede {
  max-width: 58rem;
  color: var(--body);
  font-size: clamp(1rem, 1.2vw, 1.13rem);
  line-height: 1.68;
}

.hero-actions .primary {
  border-color: #0f1115;
  background: #0f1115;
  color: #fff;
}

.summary-grid,
.content-grid,
.fact-grid,
.faq-grid {
  display: grid;
  gap: 14px;
}

.summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.summary-card,
.section,
.fact-card,
.faq-card,
.related-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(15, 17, 21, 0.045);
}

.summary-card {
  min-height: 132px;
  padding: 18px;
}

.summary-card strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.1;
}

.summary-card p,
.fact-card p,
.faq-card p,
.related-panel p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.58;
}

.section {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.section h2 {
  max-width: 24ch;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.04;
}

.section > p,
.content-block p,
.content-block li {
  max-width: 70rem;
  color: var(--body);
  font-size: 0.98rem;
  line-height: 1.68;
}

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

.content-block {
  display: grid;
  gap: 10px;
}

.content-block h3,
.fact-card h3,
.faq-card h3,
.related-panel h2 {
  font-size: 1.05rem;
  line-height: 1.15;
}

.content-block ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.15rem;
}

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

.fact-card {
  padding: 16px;
}

.fact-label {
  color: var(--slate);
  font-size: 0.55rem;
}

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

.faq-card {
  padding: 18px;
}

.related-panel {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 22px;
}

/* Compatibility for the first live page markup. */
.site-shell {
  min-height: 100vh;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(24px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 249, 251, 0.92);
  backdrop-filter: blur(16px);
}

.site-nav .brand {
  flex: 0 0 auto;
  width: 142px;
  max-width: 34vw;
}

.site-nav .brand img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

.nav-links,
.action-row,
.link-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.nav-links {
  justify-content: flex-end;
}

.nav-links a,
.action-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(15, 17, 21, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(15, 17, 21, 0.035);
  color: #27313b;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.15;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.nav-links a:hover,
.action-row a:hover {
  transform: translateY(-1px);
  border-color: rgba(51, 75, 110, 0.22);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 30px rgba(15, 17, 21, 0.055);
}

.site-shell .hero,
.site-shell > main {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-shell .hero {
  margin-top: 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: end;
}

.site-shell .eyebrow {
  margin-bottom: 14px;
}

.site-shell .lede {
  margin-top: 18px;
}

.action-row {
  margin-top: 22px;
}

.action-row .primary {
  border-color: #0f1115;
  background: #0f1115;
  color: #fff;
}

.signal-panel {
  display: grid;
  gap: 14px;
  padding: clamp(1.2rem, 2vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-strong);
  box-shadow: 0 14px 34px rgba(15, 17, 21, 0.045);
}

.signal-panel h2 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.1;
}

.signal-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--body);
  line-height: 1.55;
}

.site-shell > main {
  padding: 18px 0 56px;
}

.split {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card,
.faq-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(15, 17, 21, 0.045);
}

.card h3,
.faq-item h3 {
  font-size: 1.05rem;
  line-height: 1.15;
}

.card p,
.faq-item p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.58;
}

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

.kicker-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.15rem;
}

.kicker-list li {
  color: var(--body);
  line-height: 1.68;
}

.link-band {
  padding-top: 4px;
}

.link-band a,
.site-shell footer a {
  color: var(--slate);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-shell footer {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 0 0 28px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
}

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

@media (max-width: 900px) {
  .topline {
    align-items: flex-start;
  }

  .summary-grid,
  .content-grid,
  .fact-grid,
  .faq-grid,
  .hero-grid,
  .split,
  .card-grid,
  .site-shell .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body::before {
    display: none;
  }

  .page {
    width: min(calc(100% - 26px), var(--max));
    padding-top: 18px;
  }

  .topline,
  .site-nav,
  .footer {
    display: grid;
    justify-items: start;
  }

  .site-nav {
    padding: 16px 13px;
  }

  .site-shell .hero,
  .site-shell > main,
  .site-shell footer {
    width: min(calc(100% - 26px), var(--max));
  }

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

  .nav a,
  .nav-links a,
  .hero-actions a,
  .action-row a,
  .related-grid a {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.55rem;
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 3.7rem);
  }
}
