:root {
  --bg: #ffffff;
  --bg-soft: #f5f7f9;
  --text: #17202a;
  --muted: #5f6b76;
  --border: #dce2e7;
  --brand: #1f5f8b;
  --brand-dark: #174765;
  --accent: #d9edf8;
  --max-width: 1120px;
  --radius: 16px;
  --shadow: 0 18px 45px rgba(18, 38, 55, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; margin-top: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4.7rem); letter-spacing: -0.04em; margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); letter-spacing: -0.025em; }
h3 { font-size: 1.2rem; }
p { margin-top: 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; }

.container { width: min(calc(100% - 2rem), var(--max-width)); margin-inline: auto; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--text); text-decoration: none; font-weight: 800; }
.brand img { width: 42px; height: 42px; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav > a:not(.button) { color: var(--text); text-decoration: none; font-weight: 650; }
.site-nav > a[aria-current="page"]:not(.button) { color: var(--brand); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px; background: #fff; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.nav-toggle span:not(.sr-only) { width: 20px; height: 2px; background: var(--text); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .72rem 1.1rem; border: 0; border-radius: 10px; background: var(--brand); color: #fff; text-decoration: none; font: inherit; font-weight: 750; cursor: pointer; }
.button:hover, .button:focus-visible { background: var(--brand-dark); }
.button-small { min-height: 40px; padding: .55rem .9rem; }
.text-link { font-weight: 750; text-decoration: none; }

.hero { padding: 6.5rem 0; background: linear-gradient(180deg, #fff 0%, #f7fafc 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 4rem; align-items: center; }
.hero-copy { max-width: 720px; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 68ch; }
.eyebrow { margin-bottom: .75rem; color: var(--brand); font-weight: 850; font-size: .78rem; letter-spacing: .16em; }
.hero-actions { display: flex; align-items: center; gap: 1.25rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-card { background: linear-gradient(135deg, var(--brand), #2a799f); border-radius: 24px; padding: 1px; box-shadow: var(--shadow); }
.hero-card-inner { min-height: 340px; padding: 2rem; border-radius: 23px; color: white; background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.02)); display: flex; flex-direction: column; justify-content: end; }
.hero-card-label { font-size: .75rem; letter-spacing: .16em; font-weight: 800; opacity: .82; }
.hero-card h2 { font-size: 2.2rem; margin: .45rem 0 .65rem; }
.hero-card p { margin: 0; color: rgba(255,255,255,.88); }

.section { padding: 5.5rem 0; }
.section-muted { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-heading { max-width: 760px; margin-bottom: 2.5rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature-card, .info-card, .contact-form, .contact-details { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; padding: 1.6rem; }
.feature-card p { color: var(--muted); margin-bottom: 0; }
.callout { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.callout p:last-child { margin-bottom: 0; color: var(--muted); }

.page-hero { padding: 5rem 0 3.5rem; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 3rem; align-items: start; }
.info-card dl { margin: 0; }
.info-card dl div { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--border); }
.info-card dl div:last-child { border-bottom: 0; }
.info-card dt { font-weight: 800; }
.info-card dd { margin: 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 2rem; align-items: start; }
.contact-form { box-shadow: var(--shadow); }
.form-row { display: grid; gap: .45rem; margin-bottom: 1rem; }
.form-row label { font-weight: 750; }
.optional { font-weight: 500; color: var(--muted); font-size: .9rem; }
input, textarea { width: 100%; border: 1px solid #cbd4dc; border-radius: 9px; padding: .8rem .9rem; font: inherit; color: var(--text); background: #fff; }
input:focus, textarea:focus { outline: 3px solid rgba(31,95,139,.16); border-color: var(--brand); }
textarea { resize: vertical; }
.form-note { margin: 1rem 0 0; color: var(--muted); font-size: .9rem; }
.contact-details a { text-decoration: none; font-weight: 650; }

.site-footer { padding: 2.5rem 0; background: #101820; color: #d9e1e7; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; align-items: end; }
.site-footer p { margin: .3rem 0 0; color: #aebbc5; }

.error-page { min-height: 100vh; display: grid; place-items: center; padding: 3rem 0; background: var(--bg-soft); }

@media (max-width: 800px) {
  .hero-grid, .content-grid, .contact-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero { padding: 4.5rem 0; }
  .hero-card-inner { min-height: 260px; }
  .callout, .footer-inner { align-items: flex-start; flex-direction: column; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 1rem; right: 1rem; top: calc(100% + .5rem); padding: 1rem; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .site-nav.open { display: flex; }
  .site-nav .button { width: 100%; }
}
