:root {
  --brand: #0b5d4b;
  --brand-2: #0e7a62;
  --accent: #f5b82e;
  --bg: #fbfaf7;
  --bg-alt: #f1efe8;
  --surface: #ffffff;
  --text: #17201d;
  --muted: #5b6763;
  --line: #e2ded4;
  --hl-bg: #fdecc1;
  --shadow: 0 1px 2px rgba(16, 32, 28, .06), 0 12px 32px rgba(16, 32, 28, .08);
  --radius: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #2bb593;
    --brand-2: #3fcaa7;
    --accent: #f5b82e;
    --bg: #0f1513;
    --bg-alt: #141c19;
    --surface: #18221f;
    --text: #e8eeeb;
    --muted: #9aa8a3;
    --line: #26332f;
    --hl-bg: rgba(245, 184, 46, .18);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 32px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em; padding: .85em 1.4em; border-radius: 999px;
  font-weight: 700; font-size: .98rem; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .55em 1.1em; font-size: .9rem; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-light { background: #fff; color: #0b5d4b; }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }
@media (prefers-color-scheme: dark) { .btn-primary { color: #06231c; } }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 1.1rem; }
.brand b { color: var(--brand); }
.brand.small { font-size: 1rem; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-inner .btn { margin-left: auto; }
}

/* Hero */
.hero { padding: 72px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 700; color: var(--brand);
  background: var(--surface); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(245,184,46,.25); }
.hl { background: linear-gradient(transparent 58%, var(--hl-bg) 58%); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .92rem; }
.ticks li::before { content: "✓"; color: var(--brand); font-weight: 800; margin-right: 6px; }
@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Dashboard mock */
.mock {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  transform: rotate(-1deg);
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-bar span { margin-left: 10px; font-size: .75rem; color: var(--muted); }
.mock-body { display: grid; grid-template-columns: 120px 1fr; min-height: 300px; }
.mock-side { display: flex; flex-direction: column; gap: 4px; padding: 14px 10px; border-right: 1px solid var(--line); }
.mock-side b { font-size: .78rem; font-weight: 600; color: var(--muted); padding: 6px 10px; border-radius: 8px; }
.mock-side b.on { background: var(--brand); color: #fff; }
.mock-main { padding: 14px; display: grid; gap: 12px; }
.mock-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-tiles div { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.mock-tiles small, .mock-chart small { display: block; font-size: .68rem; color: var(--muted); }
.mock-tiles strong { font-size: .98rem; }
.mock-chart { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 80px; margin-top: 6px; }
.bars i { flex: 1; height: var(--h); background: var(--brand); border-radius: 4px 4px 0 0; opacity: .85; }
.bars i:nth-child(6) { background: var(--accent); opacity: 1; }
.mock-list { display: grid; gap: 6px; }
.mock-list div { display: flex; align-items: center; gap: 10px; font-size: .78rem; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.mock-list code { font-family: ui-monospace, Consolas, monospace; color: var(--text); }
.mock-list em { margin-left: auto; font-style: normal; font-weight: 700; }
.pill { font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); }
.pill.alt { background: var(--hl-bg); color: #8a5a00; }
@media (prefers-color-scheme: dark) { .pill.alt { color: var(--accent); } }
.mock-note { position: absolute; right: 12px; bottom: 6px; margin: 0; font-size: .65rem; color: var(--muted); }
@media (max-width: 520px) {
  .mock { transform: none; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { flex-direction: row; overflow: hidden; border-right: 0; border-bottom: 1px solid var(--line); }
  .mock-side b:nth-child(n+4) { display: none; }
}

/* Strip */
.strip { border-block: 1px solid var(--line); background: var(--surface); }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; padding: 18px 0; color: var(--muted); font-weight: 600; font-size: .95rem; }
.strip-inner strong { color: var(--text); }
.sep { color: var(--line); }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.cards { display: grid; gap: 20px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .cards.grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .cards.three { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cards.grid { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.card.f { border-top: 3px solid var(--brand); }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 12%, transparent); margin-bottom: 16px; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.steps p { color: var(--muted); margin: 0; }
.num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #2a1d00; font-weight: 800; margin-bottom: 14px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Roadmap */
.roadmap { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; display: grid; gap: 10px; }
.roadmap li { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.roadmap b { color: var(--muted); font-size: .9rem; }
.roadmap span { font-weight: 600; }
.roadmap em { font-style: normal; font-size: .78rem; font-weight: 700; color: var(--muted); border: 1px solid var(--line); padding: 2px 10px; border-radius: 999px; }
.roadmap li.now { border-color: var(--brand); }
.roadmap li.now em { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (prefers-color-scheme: dark) { .roadmap li.now em { color: #06231c; } }
@media (max-width: 520px) { .roadmap li { grid-template-columns: 1fr auto; } .roadmap b { grid-column: 1 / -1; } }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); }

/* CTA */
.cta { background: #0b5d4b; color: #fff; padding: 72px 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.82); max-width: 34em; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-inner { align-items: flex-start; }
.cta-copy { flex: 1 1 320px; }
.cta-alt { margin-top: 24px !important; margin-bottom: 10px !important; font-weight: 600; color: #fff !important; }

/* Sign-up form */
.signup {
  flex: 1 1 420px; max-width: 520px;
  background: var(--surface); color: var(--text);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px; display: grid; gap: 14px;
}
.signup .row { display: grid; grid-template-columns: 1fr 140px; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input {
  font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; width: 100%;
}
.field input:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.field input[aria-invalid="true"] { border-color: #c0392b; }
.err { color: #c0392b; font-size: .82rem; min-height: 0; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup button { width: 100%; margin-top: 4px; }
.signup button:disabled { opacity: .7; cursor: wait; transform: none; }
.form-msg { margin: 0; font-size: .92rem; font-weight: 600; }
.form-msg:empty { display: none; }
.form-msg.ok { color: var(--brand); }
.form-msg.bad { color: #c0392b; }
@media (prefers-color-scheme: dark) { .err, .form-msg.bad { color: #ff8a7a; } .field input[aria-invalid="true"] { border-color: #ff8a7a; } }
@media (max-width: 520px) { .signup { padding: 20px; } .signup .row { grid-template-columns: 1fr; } }

/* Footer */
.footer { padding: 32px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .9rem; }
.footer-inner p { margin: 0; }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 8px; padding: 16px; }
.notfound p { color: var(--muted); }
