:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --surface-muted: #f0f2ef;
  --ink: #20242d;
  --muted: #606775;
  --line: #d9ddd7;
  --accent: #315f8f;
  --accent-soft: #dbe6ef;
  --shadow: 0 14px 34px rgba(28, 34, 44, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, sans-serif;
  line-height: 1.58;
  letter-spacing: 0;
  background: var(--bg);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 16px 52px;
  background: rgba(247, 247, 244, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand,
.site-nav,
.site-footer span {
  display: flex;
  align-items: center;
}

.brand {
  font-weight: 760;
}

.site-nav {
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  width: min(1180px, calc(100% - 96px));
  min-height: min(520px, calc(100svh - 132px));
  margin: 0 auto;
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  align-self: center;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  font-size: 54px;
  font-weight: 780;
}

h2 {
  font-size: 34px;
  font-weight: 740;
}

h3 {
  font-size: 21px;
  font-weight: 720;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: #3c4350;
  font-size: 20px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 38px 0 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-facts div {
  min-height: 104px;
  padding: 18px;
  background: var(--surface);
}

.hero-facts dt,
.detail-list dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.hero-facts dd,
.detail-list dd {
  margin: 0;
  font-weight: 720;
}

.section {
  padding: 72px 52px;
}

.section-muted {
  background: var(--surface-muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading,
.detail-list,
.trust-grid,
.text-page {
  width: min(1180px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
}

.trust-grid {
  display: grid;
  gap: 18px;
}

.trust-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trust-grid p,
.text-page p,
.text-page li {
  color: var(--muted);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
  font-weight: 720;
}

.link-row a {
  color: var(--accent);
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-list div {
  min-height: 106px;
  padding: 24px;
  background: var(--surface);
}

.detail-list dd {
  font-size: 17px;
}

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

.trust-grid article {
  padding: 24px;
  border-top: 3px solid var(--accent-soft);
}

.page-shell {
  padding: 72px 52px;
}

.text-page {
  max-width: 860px;
  padding: 42px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.text-page h1 {
  font-size: 42px;
}

.text-page h2 {
  margin-top: 32px;
  font-size: 23px;
}

.text-page p {
  margin: 16px 0 0;
}

.meta {
  color: var(--muted);
  font-weight: 700;
}

.contact-callout {
  padding: 16px 18px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 21px;
  font-weight: 760;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 52px;
  color: #f4f5f2;
  background: #242832;
}

.site-footer span {
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: #f4f5f2;
}

.site-footer a:hover {
  color: #b9cde0;
}

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

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .hero {
    width: calc(100% - 44px);
    min-height: 0;
    padding: 42px 0 32px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 29px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-facts,
  .detail-list,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .page-shell {
    padding: 54px 22px;
  }

  .text-page {
    padding: 28px;
  }

  .text-page h1 {
    font-size: 34px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 22px;
  }
}

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

  .brand span {
    max-width: 238px;
  }

  h1 {
    font-size: 34px;
  }

}
