:root {
  --bg: #ffffff;
  --bg-muted: #f8fafc;
  --text: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --accent: #16a34a;
  --accent-hover: #15803d;
  --max-width: 720px;
  --radius: 10px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  background: var(--bg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  display: inline-flex;
}

.brand-name {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}

/* Hero */
.hero {
  padding: 72px 0 48px;
}

.hero h1 {
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  font-weight: 700;
}

.lead {
  font-size: 19px;
  color: var(--text-muted);
  margin: 0;
  max-width: 560px;
}

/* Sections */
.section {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.section-muted {
  background: var(--bg-muted);
}

.section h2 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 20px;
}

/* Products */
.product-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product {
  padding: 20px 0 0;
}

.product-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.product h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.product-tag {
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  padding: 2px 10px;
  border-radius: 999px;
}

.section-muted .product-tag {
  background: var(--bg);
}

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

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

/* Links */
.link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

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

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

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

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 14px;
}

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

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

.site-footer a:hover {
  color: var(--text);
  text-decoration: underline;
}

.dot {
  margin: 0 8px;
  color: var(--border);
}

/* Mobile */
@media (max-width: 540px) {
  .hero {
    padding: 48px 0 32px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .lead {
    font-size: 17px;
  }
  .section {
    padding: 36px 0;
  }
  .product h3 {
    font-size: 20px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
