:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --text: #1b1f24;
  --text-muted: #5b6470;
  --border: #e3e6ea;
  --accent: #1f5f5b;
  --accent-hover: #163f3c;
  --max-width: 880px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--accent-hover);
  text-decoration: underline;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.wordmark {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.wordmark:hover {
  text-decoration: none;
  color: var(--accent);
}

nav.site-nav a {
  margin-left: 22px;
  font-weight: 500;
  color: var(--text);
}

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

main {
  padding: 56px 0 72px;
}

.hero {
  padding-bottom: 8px;
}

.hero h1 {
  font-size: 2.1rem;
  line-height: 1.25;
  margin: 0 0 14px;
}

.hero p.lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0;
}

section {
  margin-top: 52px;
}

section h2 {
  font-size: 1.35rem;
  margin: 0 0 14px;
}

.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}

.product-card h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.product-card p {
  margin: 0 0 12px;
  color: var(--text-muted);
}

.badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(31, 95, 91, 0.1);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.contact-block {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}

.contact-block dt {
  font-weight: 600;
  margin-top: 16px;
}

.contact-block dt:first-child {
  margin-top: 0;
}

.contact-block dd {
  margin: 2px 0 0;
  color: var(--text-muted);
}

.mail-button {
  display: inline-block;
  margin-top: 18px;
  background: var(--accent);
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
}

.mail-button:hover {
  background: var(--accent-hover);
  color: #fff;
  text-decoration: none;
}

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

footer.site-footer .legal {
  margin: 0 0 6px;
}

footer.site-footer a {
  color: var(--text-muted);
}

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

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
  nav.site-nav a {
    margin-left: 14px;
  }
}
