:root {
  font-family: system-ui, sans-serif;
  color: #0d1a32;
  background: #fff;
  line-height: 1.55;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #1754c9; outline-offset: 4px; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  padding: .75rem max(1.25rem, calc((100vw - 70rem) / 2));
  border-bottom: 1px solid #e4e9f2;
}

.brand, nav, .actions { display: flex; align-items: center; gap: 1rem; }
.brand { gap: .65rem; font-size: 1.15rem; font-weight: 750; text-decoration: none; }
.brand img { border-radius: .55rem; object-fit: cover; }
nav a { font-weight: 600; text-decoration: none; }
.actions { flex-wrap: wrap; margin-top: 2rem; }

.button {
  display: inline-block;
  padding: .7rem 1.05rem;
  border: 1px solid transparent;
  border-radius: .55rem;
  background: #1648b2;
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.button:hover { background: #103a91; }
.secondary { border-color: #c5d1e7; background: #fff; color: #0d1a32; }
.secondary:hover { background: #f0f5ff; }

main { width: min(70rem, calc(100% - 2.5rem)); margin: 0 auto; }
.hero { padding: clamp(3.5rem, 9vw, 7.5rem) 0 clamp(3rem, 7vw, 5rem); }
h1, h2, p { margin: 0; }
h1 { max-width: 16ch; font-size: clamp(2.55rem, 6.4vw, 5.3rem); line-height: 1.04; letter-spacing: -.05em; }
.hero p { max-width: 43ch; margin-top: 1.25rem; color: #3f506d; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-bottom: 3rem; }
.features article { padding: 1.4rem; border: 1px solid #e4e9f2; border-radius: .8rem; background: #f7f9fd; }
.features h2 { font-size: 1.12rem; }
.features p { margin-top: .4rem; color: #3f506d; }

@media (max-width: 38rem) {
  .features { grid-template-columns: 1fr; }
  .site-header { flex-wrap: wrap; }
}
