:root {
  --bg: #ffffff;
  --fg: #0e1a2b;
  --fg-soft: #243246;
  --muted: #5b6b80;
  --accent: #1e6fb8;
  --accent-soft: #eaf2fb;
  --border: #dde3ec;
  --soft: #f4f7fb;
  --max: 980px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  background: var(--bg);
}

header.site .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand a {
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 34px;
  width: auto;
  display: block;
}

nav.primary a {
  color: var(--muted);
  margin-left: 24px;
  font-size: 15px;
}

nav.primary a:hover {
  color: var(--fg);
  text-decoration: none;
}

section.hero {
  position: relative;
  padding: 120px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -20%, rgba(30, 111, 184, 0.10), transparent 70%),
    radial-gradient(600px 320px at 0% 100%, rgba(30, 111, 184, 0.06), transparent 70%),
    linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  position: relative;
  max-width: 720px;
  z-index: 1;
}

.hero-mountains {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
  height: 220px;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.hero-mountains .range-back {
  fill: rgba(30, 111, 184, 0.07);
}

.hero-mountains .range-front {
  fill: rgba(14, 61, 117, 0.10);
}

@media (max-width: 700px) {
  .hero-mountains {
    height: 140px;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--fg-soft);
  margin-bottom: 24px;
  box-shadow: 0 1px 2px rgba(14, 26, 43, 0.04);
}

.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ea043;
  box-shadow: 0 0 0 3px rgba(46, 160, 67, 0.18);
}

section.hero h1 {
  font-size: 56px;
  line-height: 1.05;
  margin: 0 0 28px;
  letter-spacing: -0.03em;
  color: var(--fg);
  font-weight: 700;
}

section.hero h1 .line {
  display: block;
}

section.hero h1 .accent {
  background: linear-gradient(180deg, #1e6fb8 0%, #0e3d75 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

section.hero p.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--fg-soft);
  margin: 0 0 36px;
  max-width: 620px;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fg);
  color: #fff;
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  transition: transform 120ms ease, box-shadow 120ms ease;
  box-shadow: 0 4px 14px rgba(14, 26, 43, 0.18);
}

.cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(14, 26, 43, 0.22);
}

.cta-secondary {
  color: var(--fg-soft);
  font-size: 15px;
}

.cta-secondary:hover {
  color: var(--fg);
}

section.block {
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

.section-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

section.block h2 {
  font-size: 28px;
  margin: 0 0 32px;
  letter-spacing: -0.015em;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.service:hover {
  border-color: #c9d3e2;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(14, 26, 43, 0.06);
}

.service-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--accent);
}

.service-icon svg {
  width: 20px;
  height: 20px;
}

.service h3 {
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--fg);
}

.service p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

section#contact {
  background: var(--soft);
}

.contact-info {
  color: var(--fg-soft);
  font-size: 17px;
  margin: 0 0 10px;
}

.contact-info strong {
  color: var(--fg);
  font-weight: 600;
}

.contact-meta {
  color: var(--muted);
  font-size: 14px;
  margin: 4px 0 0;
}

footer.site {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--muted);
  font-size: 14px;
  background: var(--bg);
}

footer.site .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer.site nav a {
  color: var(--muted);
  margin-left: 20px;
}

footer.site nav a:hover {
  color: var(--fg);
  text-decoration: none;
}

footer.site nav a:first-child {
  margin-left: 0;
}

main.legal {
  padding: 56px 0 32px;
}

main.legal h1 {
  font-size: 32px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

main.legal .updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 32px;
}

main.legal h2 {
  font-size: 20px;
  margin: 32px 0 12px;
}

main.legal p, main.legal li {
  color: var(--fg-soft);
}

main.legal ul {
  padding-left: 22px;
}

@media (max-width: 700px) {
  section.hero {
    padding: 72px 0 64px;
  }
  section.hero h1 {
    font-size: 38px;
    letter-spacing: -0.02em;
  }
  section.block {
    padding: 56px 0;
  }
  section.block h2 {
    font-size: 24px;
  }
  .brand img {
    height: 28px;
  }
  nav.primary a {
    margin-left: 16px;
  }
  footer.site nav a {
    margin-left: 14px;
  }
}
