:root {
  --purple: #3E2D8F;
  --purple-dark: #2f2170;
  --green: #1E9E4A;
  --green-text: #15803a;
  --navy: #1F2A5C;
  --ink: #1b1f2a;
  --muted: #4a5160;
  --bg: #ffffff;
  --band: #f4f6fa;
  --line: #e3e7ee;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 0.5em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

a:focus-visible, .btn:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 18px;
  border-radius: 8px; font-weight: 600; text-decoration: none;
  border: 2px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--purple); color: #fff; border-color: var(--purple); }
.btn-primary:hover { background: var(--purple-dark); border-color: var(--purple-dark); }
.btn-outline { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn-outline:hover { background: #f1eefb; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: #fff; border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex; align-items: center; gap: 16px;
  min-height: 72px; padding-top: 8px; padding-bottom: 8px;
}
.brand-link { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-link img { width: 110px; height: auto; flex: none; }
.brand { font-weight: 700; color: var(--navy); font-size: 0.95rem; line-height: 1.15; }
.site-nav { display: none; margin-left: auto; gap: 20px; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 500; padding: 8px 0; }
.site-nav a:hover { color: var(--purple); }
.header-call { margin-left: auto; padding: 8px 14px; }

/* Hero */
.hero { padding: 48px 0 56px; }
.eyebrow {
  color: var(--green-text); text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.8rem; font-weight: 700; margin-bottom: 12px;
}
.hero h1 { font-size: clamp(1.8rem, 5vw, 3rem); max-width: 18ch; }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Sections */
.products, .contact { background: var(--band); }
.products, .about, .contact { padding: 56px 0; }
.section-intro { color: var(--muted); max-width: 60ch; margin-bottom: 28px; }

/* Products */
.product-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 20px; grid-template-columns: 1fr;
}
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px;
  display: flex; flex-direction: column;
}
.product-card svg { width: 56px; height: 56px; color: var(--green); margin-bottom: 12px; }
.product-card img { border-radius: 8px; margin-bottom: 14px; }
.product-card p { color: var(--muted); margin: 0; }
.badge {
  display: inline-block; vertical-align: middle; margin-left: 6px;
  background: var(--green); color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}

/* About */
.about-grid { display: grid; gap: 24px; }
.stat { color: var(--muted); font-weight: 600; margin: 0; }
.stat strong { display: block; font-size: 3rem; line-height: 1; color: var(--purple); }
.about-text p { max-width: 70ch; }
.vision { color: var(--navy); font-weight: 600; }

/* Contact */
address { font-style: normal; font-size: 1.15rem; margin-bottom: 20px; }
.contact-line { margin-bottom: 10px; }
.contact-label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; }
.contact address a { color: var(--purple); font-weight: 600; text-decoration: underline; padding: 8px 0; display: inline-block; }

/* Footer */
.site-footer { background: var(--navy); color: #fff; padding: 24px 0; font-size: 0.9rem; }
.site-footer p { margin: 0 0 4px; }

@media (min-width: 640px) {
  .brand-link img { width: 136px; }
  .brand { font-size: 1.05rem; }
  .site-nav { display: flex; }
  .header-call { margin-left: 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 220px 1fr; align-items: start; }
}

@media (min-width: 960px) {
  .hero { padding: 72px 0 80px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-card-photo { grid-column: span 1; }
}
