:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --text: #1c2128;
  --text-muted: #4b5563;
  --rule: #e6e4df;
  --accent: #334155;
  --accent-hover: #0f172a;
  --max-width: 680px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 88px 28px 64px;
}

.hero {
  margin-bottom: 56px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text);
}

.subline {
  margin: 0;
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.intro {
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule);
}

.intro p {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--text);
}

.block {
  margin-bottom: 48px;
}

.block h2 {
  margin: 0 0 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.block p {
  margin: 0 0 12px;
}

.block p:last-child {
  margin-bottom: 0;
}

.services-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--text);
}

.services-list li:last-child {
  border-bottom: none;
}

.product-name {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}

.product-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.product-link:hover,
.product-link:focus-visible {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}

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

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

.address {
  color: var(--text-muted);
}

.footer {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer p {
  margin: 0;
}

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

  .page {
    padding: 56px 22px 48px;
  }

  .hero {
    margin-bottom: 40px;
  }

  .hero h1 {
    font-size: 1.625rem;
  }

  .subline {
    font-size: 1.0625rem;
  }

  .intro {
    margin-bottom: 40px;
    padding-bottom: 32px;
  }

  .block {
    margin-bottom: 36px;
  }

  .footer {
    margin-top: 48px;
  }
}
