:root {
  color-scheme: light;
  --bg: #f7f8f6;
  --paper: #ffffff;
  --ink: #182126;
  --muted: #5a666c;
  --line: #d8dedb;
  --accent: #174a5c;
  --accent-strong: #0f3441;
  --accent-soft: #e6eff1;
  --shadow: 0 18px 42px rgba(24, 33, 38, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-strong);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 5;
  padding: 0.5rem 0.75rem;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: rgba(247, 248, 246, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--accent);
  background: var(--paper);
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
  font-size: 0.94rem;
}

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

.site-nav a:hover {
  color: var(--accent);
}

.section {
  padding: 82px 0;
}

.hero {
  padding-top: 90px;
  border-bottom: 1px solid var(--line);
}

.hero-grid,
.split,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.14;
}

h1 {
  max-width: 820px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.12rem;
}

.lead {
  max-width: 720px;
  color: #2f3a3f;
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  line-height: 1.45;
}

.lead.small {
  font-size: 1.25rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1rem;
  border: 1px solid var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: var(--paper);
}

.button.primary:hover {
  background: var(--accent-strong);
  color: var(--paper);
}

.button.secondary {
  background: transparent;
  color: var(--accent);
}

.hero-panel,
.contact-card {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-panel {
  position: relative;
  padding: 1.25rem;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(23, 74, 92, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(23, 74, 92, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(135deg, transparent 0, black 34%, transparent 100%);
}

.hero-panel dl {
  position: relative;
  margin: 0;
}

.hero-panel div {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.hero-panel div:last-child {
  border-bottom: 0;
}

dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 0.2rem 0 0;
  font-weight: 700;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.compact {
  margin-bottom: 0;
}

.band {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  min-height: 220px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

.service-card p,
.text-block p,
.section-heading p,
.contact-grid p {
  color: var(--muted);
}

.text-block {
  max-width: 760px;
}

.check-list,
.fact-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-list li,
.fact-list li {
  position: relative;
  padding-left: 1.35rem;
}

.check-list li::before,
.fact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--accent);
}

.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.help-grid li {
  min-height: 96px;
  padding: 1rem 1rem 1rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--bg);
  color: #263238;
  font-weight: 700;
}

.notice {
  margin: 1.8rem 0 0;
  padding: 1rem;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  font-weight: 700;
}

.contact-section {
  background: var(--accent-strong);
  color: var(--paper);
}

.contact-section .eyebrow,
.contact-section a,
.contact-section p {
  color: var(--paper);
}

.contact-section p {
  opacity: 0.9;
}

.contact-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.25rem;
  color: var(--ink);
  font-style: normal;
}

.contact-card a {
  color: var(--accent);
}

.contact-link {
  font-size: 1.22rem;
  font-weight: 800;
}

.site-footer {
  background: #11191d;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a {
  color: #ffffff;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .header-inner,
  .footer-inner,
  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .footer-inner {
    display: grid;
    justify-items: start;
    padding: 0.85rem 0;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, 1120px);
  }

  .section,
  .hero {
    padding: 54px 0;
  }

  h1 {
    font-size: 2.45rem;
  }

  .service-grid,
  .help-grid,
  .check-list,
  .two-column {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .button {
    width: 100%;
  }
}
