:root {
  color-scheme: light;
  --navy: #0d2135;
  --steel: #315875;
  --ink: #152b40;
  --muted: #41576b;
  --pale: #edf3f8;
  --line: #d2dfe9;
  font: 100% / 1.6 system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; }
.wrap { width: min(100% - 2.5rem, 70rem); margin-inline: auto; }
a { color: var(--steel); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 0.15em; }
:focus-visible { outline: 3px solid #a44800; outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: 1rem; transform: translateY(-250%); z-index: 1; padding: 0.5rem 1rem; background: #fff; }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1.5rem; }
.header-inner { min-height: 4.75rem; padding-block: 0.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--navy); font-weight: 750; text-decoration: none; }
.brand span { background: var(--navy); color: #fff; padding: 0.4rem 0.55rem; border-radius: 0.3rem; }
nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 650; }
.hero { color: #fff; background: linear-gradient(120deg, var(--navy), #234761); border-bottom: 0.4rem solid #7196ae; }
.hero-inner { padding-block: clamp(3rem, 8vw, 7rem); }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.025em; }
h1 { max-width: 18ch; font-size: clamp(2.45rem, 7vw, 5.1rem); }
h2 { font-size: clamp(1.65rem, 4vw, 2.65rem); }
h3 { font-size: 1.23rem; }
p { max-width: 65ch; margin: 0.9rem 0 0; }
.hero p { max-width: 45ch; font-size: clamp(1.1rem, 2.5vw, 1.35rem); color: #e0edf6; }
.button { display: inline-flex; align-items: center; gap: 0.65rem; margin-top: 1.65rem; padding: 0.65rem 1rem; border-radius: 0.3rem; background: var(--navy); color: #fff; font-weight: 700; }
.hero .button { background: #e5f0f8; color: var(--navy); }
.hero a:focus-visible { outline-color: #ffcb8c; }
.services, .text-section { padding-block: clamp(2.75rem, 6vw, 5rem); }
.cards { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 0; margin: 1.5rem 0 0; }
.cards li { padding: clamp(1rem, 3vw, 1.75rem); border: 1px solid var(--line); border-top: 0.25rem solid var(--steel); border-radius: 0.35rem; }
.cards p, .text-section p { color: var(--muted); }
.about { background: var(--pale); }
.contact a, .document a { overflow-wrap: anywhere; }
.document { min-height: 55vh; }
.document h1 { font-size: clamp(2.25rem, 6vw, 4rem); }
.document h2 { margin-top: 2rem; font-size: 1.5rem; }
.site-footer { border-top: 1px solid var(--line); background: var(--pale); }
.footer-inner { padding-block: 1.25rem; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 2.75rem; }
@media (max-width: 42rem) {
  .cards { grid-template-columns: 1fr; }
}
@media (forced-colors: active) {
  .button, .brand span { border: 1px solid currentColor; }
}
