:root {
  color-scheme: light;
  --page: #f7f9fa;
  --surface: #ffffff;
  --ink: #22313d;
  --muted: #5f6f7a;
  --blue: #52738f;
  --line: #d9e1e6;
  --shell: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

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

.header-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand,
.site-purpose,
.eyebrow,
.site-footer p {
  margin: 0;
}

.brand {
  color: var(--blue);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-purpose {
  color: var(--muted);
  font-size: 0.9rem;
}

main {
  padding-block: 64px 72px;
}

.intro {
  max-width: 760px;
  margin-bottom: 46px;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  color: var(--ink);
  line-height: 1.22;
}

h1 {
  max-width: 650px;
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.025em;
}

.intro > p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.075rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

section {
  min-width: 0;
  padding: 29px 30px 26px;
  border: 1px solid var(--line);
  background: var(--surface);
}

h2 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

section p + p {
  margin-top: 14px;
}

.site-footer {
  padding-block: 25px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.875rem;
}

@media (max-width: 680px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-height: 82px;
  }

  main {
    padding-block: 46px 52px;
  }

  .intro {
    margin-bottom: 32px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  section {
    padding: 24px 22px 22px;
  }
}

@media (max-width: 380px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  section {
    padding-inline: 18px;
  }
}
