:root {
  color-scheme: light;
  --ink: #11253c;
  --muted: #475b70;
  --light: #f3f6fa;
  --dark: #0c192a;
  --accent: #ffce66;
  --line: #d7e1eb;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: white;
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .21em; }
a:hover { text-decoration-thickness: .14em; }
a:focus-visible { outline: 3px solid #1770bc; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
h1, h2 { letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
p, address { overflow-wrap: anywhere; }
.wrap { width: min(100% - 3rem, 74rem); margin-inline: auto; }
.skip { position: absolute; z-index: 1; left: 1rem; top: .5rem; transform: translateY(-160%); padding: .5rem 1rem; background: white; }
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.header-inner { min-height: 4.8rem; }
.brand { display: inline-block; flex-shrink: 0; max-width: 100%; }
.brand img { width: 13rem; height: auto; }
.header-inner nav, .footer-inner nav { display: flex; align-items: center; gap: clamp(.85rem, 3vw, 2rem); flex-wrap: wrap; }
.header-inner nav a { font-weight: 650; }
.nav-contact { padding: .45rem .8rem; border: 1px solid var(--line); border-radius: .35rem; }
.hero { background: var(--dark); color: #fff; padding-block: clamp(2.5rem, 5vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: clamp(2rem, 4vw, 4rem); }
.eyebrow { color: #30557b; font-size: .9rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .95rem; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { font-size: clamp(2.9rem, 5.3vw, 5rem); max-width: 11ch; }
.hero-description { font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 34ch; color: #d6e2ef; margin-top: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .72rem 1rem; border: 1px solid transparent; border-radius: .35rem; font-weight: 700; text-decoration: none; }
.button:hover { text-decoration: underline; }
.hero a:focus-visible, .site-footer a:focus-visible { outline-color: var(--accent); }
.button-primary { background: var(--accent); color: var(--dark); }
.button-secondary { border-color: #70849b; color: white; }
.button-dark { background: var(--dark); color: white; }
.hero-image img { width: 100%; height: auto; border-radius: .6rem; }
.section { padding-block: clamp(3rem, 6vw, 5.4rem); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.7rem; }
.service { border: 1px solid var(--line); border-top: 3px solid #e6ad3e; border-radius: .4rem; background: var(--light); padding: clamp(1.15rem, 3vw, 1.7rem); }
.service h3 { font-size: 1.22rem; }
.service p, .contact p { color: var(--muted); margin-top: .65rem; }
.about { background: #eaf1f8; padding-block: clamp(2.6rem, 5vw, 4rem); }
.about-grid, .contact { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.about-grid > p { font-size: 1.1rem; max-width: 48ch; }
.contact p { max-width: 50ch; }
.contact .button { margin-top: 1.1rem; }
address { font-style: normal; }
.contact address { display: grid; gap: .25rem; padding: 1.2rem 1.45rem; border-left: 3px solid #e6ad3e; background: var(--light); }
.contact address a { justify-self: start; }
.site-footer { background: var(--dark); color: #dde8f4; padding-block: 1.5rem; }
.footer-brand { color: white; font-weight: 750; text-decoration: none; }
.legal { max-width: 49rem; padding-block: clamp(2.75rem, 6vw, 5rem); }
.legal h1 { font-size: clamp(2.15rem, 6vw, 4rem); overflow-wrap: anywhere; }
.legal h2 { margin-top: 1.75rem; font-size: 1.36rem; letter-spacing: -.02em; }
.legal p, .legal address { margin-top: .5rem; max-width: 72ch; }

@media (max-width: 53rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .hero-image img { max-height: 22rem; object-fit: cover; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-wrap: wrap; }
}

@media (max-width: 36rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: .5rem; padding-block: .7rem; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .service-grid, .about-grid, .contact { grid-template-columns: 1fr; }
  .about-grid, .contact { gap: 1.05rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}