:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --bg-deep: #0f1420;
  --text: #1a1f2b;
  --text-muted: #5a6376;
  --text-invert: #e8ecf3;
  --text-invert-muted: #9aa5b8;
  --accent: #2f6df6;
  --accent-soft: #e8f0ff;
  --border: #e2e6ed;
  --radius: 10px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

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

h1, h2, h3 { line-height: 1.25; margin: 0 0 16px; font-weight: 650; letter-spacing: -0.015em; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 18px; }

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.brand {
  font-weight: 680;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand span { color: var(--accent); }

.site-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}

/* ---------- sections ---------- */

section { padding: 64px 0; }
section.tight { padding: 44px 0; }
section.alt { background: var(--bg-alt); }

.lede {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 62ch;
}

.hero { padding: 88px 0 72px; }
.hero h1 { max-width: 20ch; }
.hero .lede { font-size: 1.28rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.76rem;
  font-weight: 650;
  color: var(--accent);
  margin: 0 0 12px;
}

.section-intro { max-width: 62ch; margin-bottom: 40px; }

/* ---------- grid + cards ---------- */

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--bg);
}
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 0; padding-left: 20px; color: var(--text-muted); }
.card ul li { margin-bottom: 6px; }

.stack { display: flex; flex-direction: column; gap: 18px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.98rem;
}
.btn:hover { text-decoration: none; opacity: 0.92; }
.btn.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- detail lists ---------- */

dl.details { margin: 0; }
dl.details div {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
dl.details div:last-child { border-bottom: 0; }
dl.details dt {
  flex: 0 0 190px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
dl.details dd { margin: 0; flex: 1 1 240px; }

/* ---------- product row ---------- */

.product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 22px;
}
.product .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 14px;
}
.product .tag.wip { background: #fff1dd; color: #a45c00; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--bg-deep);
  color: var(--text-invert-muted);
  padding: 56px 0 40px;
  font-size: 0.93rem;
  margin-top: 24px;
}
.site-footer a { color: var(--text-invert); }
.site-footer h4 {
  color: var(--text-invert);
  font-size: 0.95rem;
  margin: 0 0 14px;
  font-weight: 650;
}
.footer-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-bottom: 36px;
}
.footer-grid p { margin: 0 0 8px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.13);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 1.95rem; }
  .hero { padding: 56px 0 48px; }
  section { padding: 48px 0; }
  .site-header .wrap { min-height: 60px; padding-top: 10px; padding-bottom: 10px; }
  .site-nav { gap: 18px; }
}
