:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --text: #1a1d23;
  --text-muted: #565d6b;
  --border: #e4e7ec;
  --accent: #3454d1;
  --accent-hover: #2a44ac;
  --accent-soft: #eef1fd;
  --pill-bg: #eef1fd;
  --card-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.06);
  --radius: 14px;
  --max-width: 1100px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101216;
    --bg-alt: #16181d;
    --text: #eef0f3;
    --text-muted: #a2a8b4;
    --border: #262a32;
    --accent: #7c93ff;
    --accent-hover: #97a8ff;
    --accent-soft: #1b2140;
    --pill-bg: #1b2140;
    --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.4);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

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

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

header.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover { color: var(--text); }

main { display: block; }

.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--pill-bg);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.06s ease, background 0.15s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { background: var(--bg-alt); }

.btn-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

section { padding: 56px 0; }

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

.section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 12px; letter-spacing: -0.01em; }
.section-head p { color: var(--text-muted); margin: 0; }

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

.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: var(--accent-soft);
}

.product-card h3 { margin: 4px 0 0; font-size: 1.3rem; }
.product-card .tagline { color: var(--accent); font-weight: 600; font-size: 0.92rem; margin: -8px 0 0; }
.product-card p.desc { color: var(--text-muted); margin: 0; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; }
.tag {
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--pill-bg);
  color: var(--accent);
  padding: 5px 11px;
  border-radius: 999px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.feature {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--bg);
}

.feature .f-icon { font-size: 22px; margin-bottom: 10px; }
.feature h4 { margin: 0 0 6px; font-size: 1.02rem; }
.feature p { margin: 0; color: var(--text-muted); font-size: 0.93rem; }

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 18px 0 0;
}

.platform-pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.product-hero {
  padding: 64px 0 40px;
  text-align: center;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb span { margin: 0 6px; }

.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item h3 { margin: 0 0 8px; font-size: 1.05rem; }
.faq-item p { margin: 0; color: var(--text-muted); }

.cta-band {
  text-align: center;
  padding: 64px 0;
}

.cta-band h2 { margin: 0 0 12px; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.cta-band p { color: var(--text-muted); margin: 0 0 28px; }

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

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

.cross-link {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--bg-alt);
}

.cross-link .cl-text h3 { margin: 0 0 6px; }
.cross-link .cl-text p { margin: 0; color: var(--text-muted); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

a.feature {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.1s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
a.feature:hover {
  border-color: var(--accent);
  box-shadow: var(--card-shadow);
  transform: translateY(-2px);
}
a.feature .f-arrow {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 8px;
  display: inline-block;
}

.feature-nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 18px 0 0;
}
.feature-nav-pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--text-muted);
}
.feature-nav-pill:hover { background: var(--bg-alt); color: var(--text); }
.feature-nav-pill.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.detail-body {
  max-width: 700px;
  margin: 0 auto;
}
.detail-body p { color: var(--text-muted); margin: 0 0 18px; }
.detail-body h2 { font-size: 1.4rem; margin: 36px 0 14px; letter-spacing: -0.01em; }
.detail-body ul { color: var(--text-muted); padding-left: 20px; margin: 0 0 18px; }
.detail-body li { margin-bottom: 8px; }
