:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #fbfaf7;
  --bg-card: #ffffff;
  --accent: #0e7490;
  --accent-soft: #ecfeff;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
header.site-nav {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  padding: 20px 0;
}
header.site-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.brand {
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  font-size: 15px;
}
.nav-links a { color: var(--ink-soft); }

/* Hero */
.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--ink);
}
.hero p {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 640px;
}

/* Sections */
section.block {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
section.block h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: var(--ink);
}
section.block p { color: var(--ink-soft); margin-bottom: 12px; }
section.block p:last-child { margin-bottom: 0; }

/* Product card */
.product {
  display: block;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-card);
  margin-top: 24px;
  transition: border-color 0.15s, transform 0.15s;
}
.product:hover {
  border-color: var(--accent);
  text-decoration: none;
  transform: translateY(-1px);
}
.product h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.product .tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.product p { color: var(--ink-soft); font-size: 16px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 8px;
}
.contact-grid h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact-grid p, .contact-grid address {
  font-style: normal;
  color: var(--ink);
  line-height: 1.5;
}
@media (max-width: 600px) {
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: 32px; }
  .hero { padding: 48px 0 40px; }
  section.block { padding: 40px 0; }
}

/* Footer */
footer.site-footer {
  padding: 32px 0 48px;
  font-size: 14px;
  color: var(--muted);
}
footer.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
footer.site-footer a { color: var(--muted); }
