:root {
  --bg: #f6f7f8;
  --text: #17191c;
  --muted: #6b7078;
  --line: #dfe2e6;
  --accent: #33495f;
  --max-width: 820px;
}

* { box-sizing: border-box; }

html {
  color-scheme: light;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
               BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

.page {
  width: min(calc(100% - 64px), var(--max-width));
  margin: 0 auto;
  padding: 96px 0 52px;
}

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

.eyebrow {
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 580;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.lead {
  max-width: 650px;
  margin: 32px 0 0;
  color: var(--text);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  line-height: 1.42;
}

.specialization {
  margin: 22px 0 0;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 620;
}

.section {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  column-gap: 54px;
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
}

.section h2 {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section > p { margin: 0; }

.services {
  grid-column: 2;
  margin-top: 30px;
}

.services p {
  margin: 0;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.services p:last-child {
  border-bottom: 1px solid var(--line);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 34px;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer p { margin: 0; }

@media (max-width: 680px) {
  body { font-size: 16px; }

  .page {
    width: min(calc(100% - 32px), var(--max-width));
    padding-top: 52px;
  }

  .hero { padding-bottom: 48px; }
  .eyebrow { margin-bottom: 26px; }
  .lead { margin-top: 24px; }

  .section {
    grid-template-columns: 1fr;
    row-gap: 22px;
    padding: 38px 0;
  }

  .services {
    grid-column: 1;
    margin-top: 2px;
  }

  .footer {
    flex-direction: column;
    gap: 6px;
  }
}
