:root {
  --bg: #0b0b0c;
  --bg-2: #100f12;
  --paper: #141517;
  --paper-2: #17181b;
  --ink: #e5e7eb;
  --ink-strong: #f6f7f8;
  --muted: #9ba1a9;
  --muted-2: #767c85;
  --line: #26272b;
  --line-2: #313339;
  --teal: #10b981;
  --teal-bright: #34d399;
  --teal-dark: #0e9f6e;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --radius: 10px;
  --max: 1160px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 480px at 50% -6%, rgba(16, 185, 129, 0.12), transparent 70%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: auto, 46px 46px, 46px 46px;
  mask-image: linear-gradient(to bottom, #000 0, #000 300px, transparent 900px);
}
a { color: var(--teal-bright); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.01em; color: var(--ink-strong); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); margin-bottom: 22px; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: 16px; }
h3 { font-size: 1.12rem; margin-bottom: 10px; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 0; padding: 10px 14px; background: var(--teal); color: #05130d; z-index: 99; border-radius: 0 0 var(--radius) 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid rgba(52, 211, 153, 0.55); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 12, 0.72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink-strong); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 36px; height: 36px; border-radius: 9px; background: var(--teal); position: relative; box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.4), inset 0 -8px 16px rgba(0, 0, 0, 0.28); }
.brand-mark::after { content: ""; position: absolute; left: 9px; top: 11px; width: 18px; height: 11px; border-left: 4px solid #05130d; border-bottom: 4px solid #05130d; transform: skew(-18deg); }
.brand strong { display: block; font-size: 0.98rem; }
.brand small { display: block; color: var(--muted); font-size: 0.78rem; margin-top: -3px; }
.nav-links { display: flex; align-items: center; gap: 16px; }
.nav-links a { color: var(--muted); font-weight: 650; font-size: 0.88rem; }
.nav-links a:hover { color: var(--ink-strong); text-decoration: none; }
.nav-toggle { display: none; border: 1px solid var(--line-2); background: var(--paper); border-radius: var(--radius); padding: 8px 12px; color: var(--ink); }

/* ---------- Buttons ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 22px; border: 1px solid var(--teal); border-radius: var(--radius); background: var(--teal); color: #05130d; font-weight: 800; cursor: pointer; transition: background .15s ease, transform .15s ease, border-color .15s ease; }
.button:hover { background: var(--teal-bright); border-color: var(--teal-bright); text-decoration: none; transform: translateY(-1px); }
.button svg { width: 18px; height: 18px; }
.button-secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.button-secondary:hover { border-color: var(--teal); color: var(--teal-bright); background: rgba(16, 185, 129, 0.08); }
.button-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.button-ghost:hover { background: rgba(16, 185, 129, 0.08); color: var(--teal-bright); border-color: var(--teal); }
.button-small { min-height: 38px; padding: 8px 16px; }

/* ---------- Hero (centered) ---------- */
.hero { padding: 78px 0 70px; }
.hero-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, 0.03); color: var(--muted); font-size: 0.82rem; font-weight: 650; margin-bottom: 26px; }
.hero h1 { margin-inline: auto; max-width: 18ch; }
.lede { color: #c3c8cf; font-size: clamp(1.08rem, 1.9vw, 1.32rem); max-width: 60ch; margin: 0 auto 30px; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.dl-note { margin: 20px 0 0; color: var(--muted); font-size: 0.92rem; }
.dl-note strong { color: var(--ink-strong); }
.dl-note a { font-weight: 700; }
.eyebrow { color: var(--teal-bright); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.76rem; font-weight: 800; margin-bottom: 14px; }
.eyebrow.center { text-align: center; }

/* ---------- Framed app-window mockup ---------- */
.window-frame { margin: 60px auto 0; max-width: 1000px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--paper); box-shadow: var(--shadow); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 8px; padding: 12px 15px; background: #0f1012; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: #f87171; }
.window-bar span:nth-child(2) { background: #fbbf24; }
.window-bar span:nth-child(3) { background: #34d399; }
.window-bar strong { margin-left: 10px; font-weight: 650; color: var(--muted-2); }
.product-shell { display: grid; grid-template-columns: 168px 1fr; min-height: 470px; background: var(--paper); }
.app-sidebar { background: #0e0f11; border-right: 1px solid var(--line); padding: 20px 14px; display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.app-sidebar span { padding: 9px 11px; border-radius: 8px; }
.app-sidebar span.active { background: rgba(16, 185, 129, 0.14); color: var(--teal-bright); }
.dot-logo { width: 32px; height: 32px; border-radius: 9px; background: var(--teal); margin-bottom: 14px; }
.app-main { padding: 24px; background: var(--paper-2); }
.app-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; margin-bottom: 18px; }
.app-head h2 { font-size: clamp(1.3rem, 2.6vw, 1.95rem); margin: 0; color: var(--ink-strong); }
.mini { color: var(--muted); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 800; margin-bottom: 6px; }
.app-head button { border: 1px solid var(--line-2); background: var(--paper); border-radius: 8px; padding: 9px 13px; color: var(--ink); font-weight: 650; }
.metric-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.metric-row article { background: var(--paper); border: 1px solid var(--line); border-radius: 9px; padding: 15px; }
.metric-row span, .metric-row em { display: block; color: var(--muted); font-size: 0.8rem; font-style: normal; }
.metric-row strong { display: block; font-size: 1.45rem; color: var(--ink-strong); margin: 5px 0; }
.cockpit-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 14px; }
.queue-panel, .brief-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 9px; padding: 17px; }
.panel-title { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel-title strong { color: var(--ink-strong); }
.panel-title span { color: var(--muted); font-size: 0.8rem; font-weight: 700; }
.queue-item { border-left: 3px solid var(--line-2); padding: 11px 12px 11px 13px; background: rgba(255, 255, 255, 0.02); border-radius: 0 8px 8px 0; margin-bottom: 10px; }
.queue-item b, .queue-item span { display: block; }
.queue-item b { color: var(--ink); }
.queue-item span { color: var(--muted); font-size: 0.88rem; }
.queue-item.high { border-color: var(--red); }
.queue-item.med { border-color: var(--amber); }
.queue-item.low { border-color: var(--green); }
.brief-panel p { color: var(--muted); }
.day-list { display: grid; gap: 9px; margin-top: 16px; }
.day-list span { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-weight: 650; color: var(--ink); }
.mock-caption { text-align: center; color: var(--muted-2); font-size: 0.82rem; margin: 14px 0 0; }
.assess-btn { margin-top: 16px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.section-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Health-report panel inside the mockup */
.health-panel { margin-top: 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; padding: 16px 18px; }
.health-score { display: flex; align-items: center; gap: 13px; }
.health-ring { width: 60px; height: 60px; border-radius: 50%; background: conic-gradient(var(--teal) 0 82%, rgba(255, 255, 255, 0.08) 82% 100%); display: grid; place-items: center; position: relative; flex-shrink: 0; }
.health-ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--paper); }
.health-ring span { position: relative; font-weight: 800; font-size: 1.15rem; color: var(--ink-strong); }
.health-label strong { display: block; color: var(--ink-strong); font-size: 0.95rem; }
.health-label em { font-style: normal; color: var(--muted); font-size: 0.85rem; }
.health-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 18px; }
.health-checks li { position: relative; padding-left: 18px; color: var(--muted); font-size: 0.86rem; }
.health-checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.health-checks li.warn::before { background: var(--amber); }
.health-report { align-self: center; white-space: nowrap; font-size: 0.78rem; font-weight: 700; color: var(--teal-bright); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 13px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.soft { background: var(--bg-2); border-block: 1px solid var(--line); }
.dark-band { background: linear-gradient(180deg, #0c1210, #0b0f0e); border-block: 1px solid var(--line); }

/* ---------- Value cards (3 signature) ---------- */
.value-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-cards article { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 26px; transition: border-color .15s ease, transform .15s ease; }
.value-cards article:hover { border-color: var(--line-2); transform: translateY(-3px); }
.value-cards p { color: var(--muted); margin-bottom: 0; }
.v-icon { width: 46px; height: 46px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: rgba(16, 185, 129, 0.12); color: var(--teal-bright); margin-bottom: 16px; }
.v-icon svg { width: 24px; height: 24px; }

/* What it replaces */
.replace-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 780px; margin: 0 auto; }
.replace-chip { display: inline-flex; align-items: center; gap: 10px; padding: 11px 15px 11px 17px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--muted); font-weight: 650; }
.replace-chip i { font-style: normal; width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(248, 113, 113, 0.14); color: var(--red); font-size: 0.82rem; line-height: 1; }
.replace-close { text-align: center; max-width: 620px; margin: 28px auto 0; color: var(--ink); font-size: 1.12rem; font-weight: 600; }

/* ---------- Generic card grids ---------- */
.cards { display: grid; gap: 16px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards article { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 22px; transition: border-color .15s ease, transform .15s ease; }
.cards article:hover { border-color: var(--line-2); transform: translateY(-2px); }
.cards p { color: var(--muted); margin-bottom: 0; }

/* ---------- Integrations / pricing / FAQ ---------- */
.integration-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 860px; margin: 0 auto; }
.integration-grid span { min-height: 64px; display: flex; align-items: center; justify-content: center; text-align: center; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font-weight: 800; }
.pricing-box { background: var(--paper); border: 1px solid var(--line-2); border-radius: 14px; padding: 26px; box-shadow: var(--shadow); }
.pricing-box strong { display: block; color: var(--teal-bright); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; margin-bottom: 10px; }
.pricing-box span { display: block; color: var(--ink-strong); font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; font-weight: 900; margin-bottom: 14px; }
.pricing-box p { color: var(--muted); margin-bottom: 22px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.faq-grid article { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.faq-grid p { color: var(--muted); margin-bottom: 0; }

/* ---------- Pain wall (OpenClaw-style grid) ---------- */
.pain-wall { columns: 3; column-gap: 18px; }
.pain-wall article { break-inside: avoid; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 22px; margin-bottom: 18px; }
.pain-wall h3 { color: var(--ink-strong); }
.pain-wall p { color: var(--muted); margin-bottom: 0; }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 46px; align-items: start; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.steps span { width: 34px; height: 34px; border-radius: 9px; background: var(--teal); color: #05130d; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; }
.steps strong { color: var(--ink-strong); }
.steps p { grid-column: 2; margin: -6px 0 0; color: var(--muted); }
.workflow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.workflow span { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; font-weight: 750; color: var(--ink); }

/* ---------- Feature tabs ---------- */
.feature-tabs { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.tab-buttons { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.tab-buttons button { border: 1px solid var(--line-2); background: transparent; color: var(--muted); border-radius: 8px; padding: 9px 14px; font-weight: 700; cursor: pointer; transition: all .15s ease; }
.tab-buttons button:hover { color: var(--ink); }
.tab-buttons button[aria-selected="true"] { background: var(--teal); border-color: var(--teal); color: #05130d; }
.tab-panel { display: none; padding: 24px 8px 8px; max-width: 720px; }
.tab-panel.active { display: block; }
.tab-panel h3 { color: var(--ink-strong); }
.tab-panel p { color: var(--muted); font-size: 1.04rem; }

/* ---------- Security / fit lists ---------- */
.security-list { display: grid; gap: 12px; }
.security-list p { margin: 0; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--ink); font-weight: 600; }
.fit-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.fit-list li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 14px 42px; position: relative; font-weight: 600; color: var(--ink); }
.fit-list li::before { content: ""; position: absolute; left: 16px; top: 20px; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }

/* ---------- Founder quote ---------- */
.founder-quote { margin: 0 auto; max-width: 900px; font-size: clamp(1.3rem, 2.6vw, 1.95rem); line-height: 1.36; color: var(--ink-strong); font-weight: 500; border-left: 3px solid var(--teal); padding-left: 26px; }
.founder-quote cite { display: block; margin-top: 22px; font-style: normal; font-size: 1rem; font-weight: 800; color: var(--teal-bright); }
.founder-quote cite span { display: block; margin-top: 2px; color: var(--muted); font-weight: 600; font-size: 0.9rem; }

/* ---------- Final CTA + form ---------- */
.final-cta { background: linear-gradient(180deg, #0c1210, var(--bg)); border-top: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.75fr); gap: 42px; align-items: start; }
.small-note { color: var(--muted); font-weight: 600; }
.feedback-form { background: var(--paper); border: 1px solid var(--line-2); border-radius: 12px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.feedback-form label { display: grid; gap: 6px; color: var(--ink); font-weight: 700; font-size: 0.92rem; }
.feedback-form input, .feedback-form select, .feedback-form textarea { width: 100%; border: 1px solid var(--line-2); border-radius: 8px; padding: 11px 12px; color: var(--ink); background: #0f1012; }
.feedback-form input::placeholder, .feedback-form textarea::placeholder { color: var(--muted-2); }
.feedback-form input:focus, .feedback-form select:focus, .feedback-form textarea:focus { outline: none; border-color: var(--teal); }
.feedback-form textarea { min-height: 110px; resize: vertical; }
.feedback-form .check { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; color: var(--muted); }
.feedback-form .check input { width: auto; margin-top: 5px; accent-color: var(--teal); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 800; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }

/* ---------- Footer ---------- */
.site-footer { padding: 42px 0; background: #0a0a0b; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 30px; align-items: start; }
.site-footer strong { color: var(--ink-strong); }
.site-footer p { color: var(--muted); margin: 6px 0 0; max-width: 44ch; }
.site-footer nav { display: grid; gap: 8px; }
.site-footer a { color: var(--teal-bright); }
.copyright { color: var(--muted-2); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .split, .form-grid { grid-template-columns: 1fr; }
  .cards.four, .cards.three, .value-cards, .metric-row, .cockpit-grid, .integration-grid, .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-wall { columns: 2; }
  .health-panel { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 65px; padding: 14px 20px 20px; background: var(--bg-2); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.open { display: grid; gap: 10px; }
  .nav-links a { padding: 8px 0; }
  .product-shell { grid-template-columns: 1fr; }
  .app-sidebar { display: none; }
  .app-head { flex-direction: column; }
  .cards.four, .cards.three, .value-cards, .metric-row, .cockpit-grid, .workflow, .footer-grid, .integration-grid, .faq-grid { grid-template-columns: 1fr; }
  .pain-wall { columns: 1; }
  .health-checks { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .hero { padding-top: 56px; }
  .dl-actions { flex-direction: column; }
  .dl-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
