:root {
  color-scheme: light;
  --navy: #10274b;
  --blue: #1954a5;
  --muted: #435570;
  --light-blue: #eff5fc;
  --border: #d6e2f1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: system-ui, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.75;
}

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

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 2 * clamp(1rem, 4vw, 2.5rem)), 69rem);
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.header-inner,
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 0.75rem;
}

.brand {
  font-size: 1.125rem;
  font-weight: 800;
  text-decoration: none;
}

nav ul,
.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  column-gap: clamp(0.875rem, 3vw, 2rem);
}

nav a {
  display: inline-block;
  padding-block: 0.65rem;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.hero {
  padding-block: clamp(4rem, 10vw, 8rem);
  background: linear-gradient(120deg, #10274b 18%, #17487d 72%, #215ea0);
  color: #fff;
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 4rem);
  line-height: 1.2;
}

.hero p {
  margin-top: 1rem;
  color: #e3efff;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.action {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
  padding: 0.75rem 1.125rem;
  border-radius: 0.375rem;
  background: #fff;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.action:hover {
  background: #e3efff;
}

.action:focus-visible {
  outline-color: #fff;
}

.section {
  padding-block: clamp(2.5rem, 7vw, 5rem);
}

.section h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  line-height: 1.35;
}

.section p {
  color: var(--muted);
}

.about p {
  max-width: 40rem;
}

.services {
  background: var(--light-blue);
}

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

.service-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-top: 4px solid var(--blue);
  border-radius: 0.5rem;
  background: #fff;
}

.service-card h3 {
  font-size: 1.125rem;
  line-height: 1.5;
}

.contact-panel {
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--light-blue);
}

.contact-note {
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.site-footer {
  background: var(--navy);
  color: #fff;
}

.site-footer a {
  display: inline-block;
  padding-block: 0.65rem;
  font-size: 0.875rem;
  text-underline-offset: 0.2em;
}

@media (max-width: 43rem) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .service-list {
    grid-template-columns: 1fr;
  }
}
