:root {
  --surface-1: #ffffff;
  --surface-2: #f6f9f9;
  --page-plane: #fafcfc;
  --text-primary: #0b1b2e;
  --text-secondary: #46586b;
  --text-muted: #8494a3;
  --border: rgba(11,27,46,0.10);
  --gridline: #e4ebec;
  --accent: #00787a;
  --accent-bright: #00c4c3;
  --accent-soft: rgba(0,196,195,0.10);
  --accent-ink: #ffffff;
  --navy: #0b1b2e;
  --good: #0ca34e;
  --warning: #b45309;
  --critical: #d0311a;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 7px;
  --shadow-card: 0 1px 2px rgba(11,27,46,0.04), 0 12px 32px rgba(11,27,46,0.06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface-1: #10181f;
    --surface-2: #0c1319;
    --page-plane: #080d12;
    --text-primary: #f2f6f7;
    --text-secondary: #aebcc6;
    --text-muted: #7c8b96;
    --border: rgba(255,255,255,0.10);
    --gridline: #1c262f;
    --accent: #29d6d4;
    --accent-bright: #29d6d4;
    --accent-soft: rgba(41,214,212,0.14);
    --navy: #eef3f4;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--page-plane);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ---- nav ---- */
header.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--surface-1) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 20px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.brand-logo { height: 20px; width: auto; display: block; }
.footer-logo { height: 16px; width: auto; display: block; }
.brand-word { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; color: var(--text-primary); }
.brand-word .accent-teal { color: var(--accent); }
.footer-brand .brand-word { font-size: 15px; }
.powered-by { font-size: 11px; color: var(--text-muted); font-weight: 600; margin-top: 2px; letter-spacing: 0.01em; }
.powered-by strong { color: var(--text-secondary); font-weight: 700; }
.nav-links { display: flex; gap: 26px; font-size: 13.5px; font-weight: 500; color: var(--text-secondary); }
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active { color: var(--text-primary); }
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 650; padding: 10px 18px;
  border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface-1); color: var(--text-primary); cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-sm { padding: 7px 14px; font-size: 12.5px; }

/* ---- hero ---- */
.hero { padding: 88px 0 56px; text-align: center; }
.hero.compact { padding: 56px 0 40px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 650; color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 20px;
}
h1 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 18px; }
.sub { font-size: 17.5px; color: var(--text-secondary); max-width: 640px; margin: 0 auto 30px; line-height: 1.6; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.breadcrumb { font-size: 12.5px; color: var(--text-muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text-primary); }

.platform-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.platform-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 650;
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-1); color: var(--text-secondary);
}
.platform-badge.live { color: var(--good); border-color: color-mix(in srgb, var(--good) 30%, var(--border)); }
.platform-badge.soon { color: var(--text-muted); }

.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; text-align: left; padding: 40px 0 20px; }
.hero-split .hero-copy { text-align: left; }
.hero-split .eyebrow { margin-bottom: 18px; }
.hero-split h1 { margin: 0 0 18px; }
.hero-split .sub { margin: 0 0 28px; max-width: 520px; }
.hero-split .hero-ctas { justify-content: flex-start; }
.hero-split .platform-badges { justify-content: flex-start; margin-top: 26px; }

/* ---- mock dashboard ---- */
.mock {
  margin: 60px auto 0; max-width: 920px;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  box-shadow: var(--shadow-card); overflow: hidden; background: var(--surface-1);
}
.mock-bar { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--gridline); }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gridline); }
.mock-body { padding: 28px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; text-align: left; }
.mock-score { display: flex; align-items: center; gap: 16px; }
.ring { width: 72px; height: 72px; border-radius: 50%; background: conic-gradient(var(--good) 0 78%, var(--gridline) 78% 100%); display: flex; align-items: center; justify-content: center; }
.ring-inner { width: 54px; height: 54px; border-radius: 50%; background: var(--surface-1); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.mock-list-item { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--gridline); font-size: 13px; }
.mock-list-item:last-child { border: none; }
.badge { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--gridline); color: var(--text-secondary); }

/* ---- mission-control dashboard (hero) ---- */
.control {
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  box-shadow: var(--shadow-card); overflow: hidden; background: var(--surface-1);
}
.control-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 18px; border-bottom: 1px solid var(--gridline); background: var(--surface-2);
}
.control-bar .live-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--good); text-transform: uppercase; letter-spacing: 0.04em; }
.control-bar .live-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--good); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.control-bar .site-name { font-size: 12px; color: var(--text-muted); font-weight: 600; }

.control-body { padding: 22px 24px 24px; }
.metric-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 22px; }
.metric-tile { text-align: center; padding: 12px 6px; border-radius: var(--radius-md); background: var(--surface-2); }
.metric-ring { width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; }
.metric-ring-inner { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-1); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 11.5px; }
.metric-label { font-size: 10px; color: var(--text-muted); font-weight: 650; line-height: 1.3; }

.opportunities-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.opportunities-head span { font-weight: 700; font-size: 13px; }
.opportunity { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--gridline); }
.opportunity:last-child { border-bottom: none; }
.opportunity .opp-text { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.opportunity .opp-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.opportunity .opp-dot.high { background: var(--critical); }
.opportunity .opp-dot.medium { background: var(--warning); }
.opportunity .opp-actions { display: flex; gap: 6px; flex-shrink: 0; }
.opportunity .opp-actions button {
  font-size: 10.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface-1); color: var(--text-secondary); cursor: pointer;
}
.opportunity .opp-actions button.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ---- assistant notification mockup (Section 4) ---- */
.notify-card {
  max-width: 480px; margin: 0 auto; border-radius: var(--radius-lg); border: 1px solid var(--border);
  box-shadow: var(--shadow-card); background: var(--surface-1); overflow: hidden;
}
.notify-head { display: flex; align-items: center; gap: 10px; padding: 18px 22px; border-bottom: 1px solid var(--gridline); }
.notify-head img { width: 32px; height: 32px; }
.notify-head .greeting { font-weight: 700; font-size: 14.5px; }
.notify-head .sub-greeting { font-size: 11.5px; color: var(--text-muted); }
.notify-body { padding: 18px 22px 22px; }
.notify-body .n-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 12px; }
.notify-item { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 13px; border-bottom: 1px solid var(--gridline); }
.notify-item:last-child { border-bottom: none; }
.notify-item .n-icon { width: 22px; height: 22px; border-radius: 6px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; font-size: 11.5px; flex-shrink: 0; }
.notify-actions { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }

/* ---- problem/solution cards ---- */
.problem-card {
  padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--surface-1); box-shadow: var(--shadow-card);
}
.problem-card .problem { font-size: 15px; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
.problem-card .solution { display: flex; gap: 9px; font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; }
.problem-card .solution .check { color: var(--accent); font-weight: 800; flex-shrink: 0; }

/* ---- platform cards ---- */
.platform-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 720px; margin: 0 auto; }
.platform-card {
  padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--surface-1); box-shadow: var(--shadow-card); text-align: center;
}
.platform-card .p-icon { font-size: 32px; margin-bottom: 14px; }
.platform-card h3 { font-size: 17px; margin: 0 0 8px; }
.platform-card .btn { margin-top: 18px; }

/* ---- trust list ---- */
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.trust-item { text-align: center; padding: 18px 10px; }
.trust-item .t-icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 18px; margin: 0 auto 12px;
}
.trust-item h4 { font-size: 13px; margin: 0 0 4px; }
.trust-item p { font-size: 11.5px; color: var(--text-muted); margin: 0; line-height: 1.4; }

/* ---- sections ---- */
section { padding: 68px 0; }
section.tight { padding: 40px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head.left { text-align: left; margin: 0 0 32px; max-width: none; }
.section-head h2 { font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -0.01em; margin: 0 0 12px; }
.section-head p { color: var(--text-secondary); font-size: 15.5px; line-height: 1.6; }

.not-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 720px; margin: 32px auto 0; text-align: left; }
.not-card { padding: 20px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface-1); }
.not-card .k { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.not-card.no .k { color: #d03b3b; }
.not-card.yes .k { color: var(--good); }
.not-card p { margin: 8px 0 0; font-size: 13.5px; color: var(--text-secondary); line-height: 1.5; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature {
  padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--surface-1); box-shadow: var(--shadow-card);
}
.feature .icon { font-size: 22px; margin-bottom: 14px; }
.feature h3 { font-size: 15.5px; margin: 0 0 8px; }
.feature p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; margin: 0; }
.feature a.more { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 650; }

.flow { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; font-weight: 600; }
.flow .step { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-1); }
.flow .arrow { color: var(--text-muted); }

.steps { display: flex; flex-direction: column; gap: 0; counter-reset: step; }
.steps .step-row { display: flex; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--gridline); }
.steps .step-row:last-child { border-bottom: none; }
.steps .num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.steps h3 { margin: 4px 0 8px; font-size: 16px; }
.steps p { margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.6; }

/* ---- pricing ---- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan {
  padding: 28px 24px; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--surface-1); box-shadow: var(--shadow-card); display: flex; flex-direction: column;
}
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow-card); }
.plan .name { font-weight: 700; font-size: 15px; }
.plan .price { font-size: 30px; font-weight: 700; margin: 10px 0 2px; letter-spacing: -0.02em; }
.plan .price span { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.plan .desc { font-size: 12.5px; color: var(--text-muted); margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 9px; }
.plan li { font-size: 13px; color: var(--text-secondary); display: flex; gap: 8px; }
.plan li::before { content: "✓"; color: var(--good); font-weight: 700; }
.plan .btn { justify-content: center; margin-top: auto; }

.compare { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 8px; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--gridline); text-align: left; }
.compare th { color: var(--text-muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em; }
.compare td.yes { color: var(--good); font-weight: 700; }
.compare td.no { color: var(--text-muted); }
.compare td.center, .compare th.center { text-align: center; }
.compare th.highlight { color: var(--accent); }
.compare td.highlight { background: var(--accent-soft); font-weight: 700; }
.compare tr:last-child td { border-bottom: none; }

/* ---- FAQ ---- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 16px 18px; margin-bottom: 10px; background: var(--surface-1);
}
.faq summary { font-weight: 650; font-size: 14.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 18px; color: var(--text-muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; color: var(--text-secondary); font-size: 13.5px; line-height: 1.6; }

/* ---- blog ---- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-1);
  box-shadow: var(--shadow-card); padding: 22px; display: flex; flex-direction: column;
}
.post-card .tag { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 10px; }
.post-card h3 { font-size: 16.5px; margin: 0 0 10px; line-height: 1.35; }
.post-card h3 a { color: var(--text-primary); }
.post-card h3 a:hover { color: var(--accent); }
.post-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; margin: 0 0 16px; flex-grow: 1; }
.post-card .meta { font-size: 12px; color: var(--text-muted); }

article.post { max-width: 720px; margin: 0 auto; }
article.post .post-meta { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--text-muted); margin-bottom: 14px; }
article.post .post-meta .tag { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
article.post h1 { font-size: clamp(26px, 4vw, 38px); }
article.post .lede { font-size: 17px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 8px; }
article.post .prose { font-size: 15.5px; line-height: 1.75; color: var(--text-primary); }
article.post .prose h2 { font-size: 22px; margin: 40px 0 14px; letter-spacing: -0.01em; }
article.post .prose h3 { font-size: 17px; margin: 28px 0 10px; }
article.post .prose p { margin: 0 0 18px; color: var(--text-secondary); }
article.post .prose ul, article.post .prose ol { margin: 0 0 18px; padding-left: 22px; color: var(--text-secondary); }
article.post .prose li { margin-bottom: 8px; line-height: 1.65; }
article.post .prose strong { color: var(--text-primary); }
article.post .prose a { font-weight: 600; }
article.post .callout {
  border: 1px solid var(--border); border-left: 3px solid var(--accent);
  background: var(--accent-soft); border-radius: var(--radius-sm);
  padding: 16px 18px; margin: 24px 0; font-size: 14px; color: var(--text-primary);
}
article.post .callout a { font-weight: 700; }
.post-footer-cta {
  margin-top: 48px; padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--surface-1); box-shadow: var(--shadow-card); text-align: center;
}
.post-footer-cta h3 { margin: 0 0 8px; font-size: 18px; }
.post-footer-cta p { margin: 0 0 18px; color: var(--text-secondary); font-size: 14px; }

/* ---- support ---- */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 8px; }
.support-card { padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface-1); box-shadow: var(--shadow-card); }
.support-card .icon { font-size: 20px; margin-bottom: 12px; }
.support-card h3 { font-size: 14.5px; margin: 0 0 6px; }
.support-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.55; margin: 0 0 10px; }

/* ---- footer ---- */
footer.site-footer { border-top: 1px solid var(--border); padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 32px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.footer-grid p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin: 0; max-width: 260px; }
.footer-col h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin: 0 0 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: var(--text-secondary); }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  color: var(--text-muted); font-size: 12.5px;
}
.footer-bottom .legal { display: flex; gap: 16px; }

@media (max-width: 900px) {
  .grid, .grid-2, .pricing, .post-grid, .support-grid, .platform-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .hero-split { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-split .hero-copy { text-align: center; }
  .hero-split .hero-ctas, .hero-split .platform-badges { justify-content: center; }
  .hero-split .sub { margin: 0 auto 28px; }
  .metric-row { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .mock-body { grid-template-columns: 1fr; }
  .not-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .compare { font-size: 12px; }
  .compare th, .compare td { padding: 9px 8px; }
}
