:root {
  --ink: #18222b;
  --muted: #5c6b76;
  --accent: #0c6ea3;
  --accent-dark: #084e75;
  --bg: #ffffff;
  --panel: #f4f6f8;
  --border: #d9dee3;
}

* { box-sizing: border-box; }

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

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

.layout {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

h1, h2, h3 { line-height: 1.2; color: var(--ink); }
h1 { font-size: 2.2rem; margin: 0 0 0.5em; }
h2 { font-size: 1.4rem; margin: 1.5em 0 0.5em; }

.site-header {
  border-bottom: 1px solid var(--border);
  background: #fff;
  padding: 14px 0;
}
.site-header .layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-weight: 800;
}
.site-nav { display: flex; gap: 18px; }
.site-nav a { color: var(--ink); font-weight: 500; }
.site-nav a:hover { color: var(--accent); }

main.layout { padding-top: 32px; padding-bottom: 64px; }

.lede { font-size: 1.15rem; color: var(--muted); max-width: 65ch; }

.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
}
.cta:hover { background: var(--accent-dark); text-decoration: none; }

.hero { padding: 24px 0 16px; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}
.pillars > div {
  background: var(--panel);
  padding: 20px;
  border-radius: 8px;
}

.proof { margin-top: 40px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; }
.stats > div { background: #fff; border: 1px solid var(--border); padding: 18px; border-radius: 8px; text-align: center; }
.stats dt { font-size: 2rem; font-weight: 700; color: var(--accent); }
.stats dd { margin: 6px 0 0; color: var(--muted); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.product {
  background: var(--panel);
  padding: 20px 22px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.product ul { padding-left: 18px; }

.news { max-width: 72ch; margin: 0 auto; }
.news-head { border-bottom: 1px solid var(--border); padding-bottom: 16px; margin-bottom: 24px; }
.kicker { text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 6px; }
.byline { color: var(--muted); margin-top: 4px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.member {
  background: var(--panel);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
}
.member .portrait {
  width: 100%;
  max-width: 160px;
  height: auto;
  border-radius: 50%;
  background: #e5eaee;
  display: block;
  margin: 0 auto 12px;
}
.member h2 { font-size: 1.05rem; margin: 6px 0 2px; }
.member .role { color: var(--muted); font-size: 0.9rem; margin: 0 0 8px; }
.member .bio { font-size: 0.9rem; text-align: left; }

.faqs { margin-top: 24px; max-width: 80ch; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 10px;
}
.faq-item > summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::before {
  content: "+";
  display: inline-block;
  width: 18px;
  color: var(--accent);
  font-weight: 700;
}
.faq-item[open] > summary::before { content: "-"; }
.faq-item > p { margin: 10px 0 4px; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  margin-top: 64px;
  background: var(--panel);
  font-size: 0.9rem;
  color: var(--muted);
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 25, 35, 0.65);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal {
  background: #fff;
  border-radius: 8px;
  padding: 28px 30px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal h2 { margin-top: 0; }
.modal label { display: block; margin: 16px 0; font-weight: 600; }
.modal input { width: 100%; padding: 10px; font-size: 1rem; border: 1px solid var(--border); border-radius: 4px; margin-top: 4px; }
.modal-actions { display: flex; gap: 12px; align-items: center; }
.modal-actions .link { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 0.95rem; }

.sitemap { width: 100%; border-collapse: collapse; margin-top: 24px; }
.sitemap th, .sitemap td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.sitemap code { background: var(--panel); padding: 1px 4px; border-radius: 3px; }

@media (max-width: 720px) {
  .pillars, .stats, .product-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .site-header .layout { flex-direction: column; align-items: flex-start; gap: 12px; }
}
