/* Task UI — site público. Tokens Radix Slate/Grass iguais aos de public/style.css; pilha de fontes do sistema. */
:root {
  --paper: #f9f9fb;
  --surface: #ffffff;
  --ink: #1c2024;
  --ink-muted: #60646c;
  --border: #d9d9e0;
  --border-strong: #cdced6;
  --signal: #46a758;
  --signal-ink: #2a7e3b;
  --signal-soft: #e9f6e9;
  --on-signal: #ffffff;
  --critical: #e5484d;
  --critical-ink: #ce2c31;
  --critical-soft: #feebec;
  --warn: #ffc53d;
  --warn-ink: #ab6400;
  --warn-soft: #fff7c2;
  --font-sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  /* locais do site (cores do design sem equivalente no app) */
  --slate-3: #f0f0f3;
  --slate-4: #e8e8ec;
  --slate-5: #e2e2e8;
  --avatar: #e0e1e6;
  --box: #b9bbc6;
  --dim: #8b8d98;
  --grass-card: #f3fbf3;
  --grass-line: #b7dfba;
  --grass-text: #3d5a42;
  --red-card: #fff8f8;
  --red-line: #f4c9cb;
  --btn: #2a7e3b;
  --btn-hover: #1f6b30;
  --band: #1c2024;
  --band-ink: #edeef0;
  --band-muted: #b0b4ba;
  --header-bg: rgba(249, 249, 251, .92);
  --shadow: 0 1px 2px rgba(28, 32, 41, .06), 0 18px 48px rgba(28, 32, 41, .12);
  --shadow-sm: 0 1px 2px rgba(28, 32, 41, .05), 0 8px 24px rgba(28, 32, 41, .07);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111113;
    --surface: #18191b;
    --ink: #edeef0;
    --ink-muted: #b0b4ba;
    --border: #363a3f;
    --border-strong: #43484e;
    --signal-ink: #71d083;
    --signal-soft: #1b2a1e;
    --critical: #e08256;
    --critical-ink: #eba17c;
    --critical-soft: #33211a;
    --warn: #d9a84a;
    --warn-ink: #e8c27a;
    --warn-soft: #2e2616;
    --slate-3: #212225;
    --slate-4: #272a2d;
    --slate-5: #2e3135;
    --avatar: #363a3f;
    --box: #5a6169;
    --dim: #777b84;
    --grass-card: #162119;
    --grass-line: #2d5a35;
    --grass-text: #b0d4b4;
    --red-card: #2a1a1a;
    --red-line: #5a2d2f;
    --band: #0b0b0c;
    --header-bg: rgba(17, 17, 19, .92);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 48px rgba(0, 0, 0, .4);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .28);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
a { color: var(--signal-ink); }
a:hover { color: var(--ink); }
h1, h2, h3 { text-wrap: balance; margin: 0; }
code { font-family: var(--font-mono); font-size: .92em; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--ink-muted); }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
:where(a, button, summary, input, select, textarea):focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }

/* topo */
.site-header { position: sticky; top: 0; z-index: 5; background: var(--header-bg); backdrop-filter: blur(8px); border-bottom: 1px solid var(--slate-4); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand-ui, .foot-ui { display: inline-grid; place-items: center; background: var(--signal); color: #fff; font-weight: 700; }
.brand-ui { height: 28px; min-width: 28px; padding: 0 6px; border-radius: 8px; font-size: 14px; }
.navlinks { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.navlinks a { color: var(--ink-muted); text-decoration: none; }
.navlinks a:hover { color: var(--ink); }
.top-right { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.top-right .mono { color: var(--ink-muted); }
.top-right strong { color: var(--ink); }
.top-right a { color: var(--ink-muted); text-decoration: none; }
.top-right a.enter { color: var(--ink); font-weight: 500; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 600; font-size: 16px; font-family: inherit; text-decoration: none; cursor: pointer; border: 0; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--btn); color: #fff; }
.btn-primary:hover { background: var(--btn-hover); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn-xl { min-height: 56px; padding: 0 32px; font-size: 18px; background: var(--signal); }
.btn-xl:hover { background: var(--btn); }

/* hero */
.s-hero { padding-block: 72px 88px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.beta { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--signal-soft); color: var(--signal-ink); font-family: var(--font-mono); font-size: 13px; font-weight: 600; }
.beta-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; }
.accent { color: var(--signal-ink); white-space: nowrap; }
.lead { margin: 0; max-width: 34em; font-size: 20px; line-height: 1.55; color: var(--ink-muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.checks { margin: 0; font-size: 14px; color: var(--ink-muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* card de demonstração */
.demo-wrap { position: relative; min-width: 0; }
.demo-grid { position: absolute; inset: -28px -20px; border-radius: 28px; background-color: var(--slate-3); background-image: linear-gradient(var(--slate-5) 1px, transparent 1px), linear-gradient(90deg, var(--slate-5) 1px, transparent 1px); background-size: 24px 24px; }
.demo { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); transition: background .25s, border-color .25s; display: flex; flex-direction: column; gap: 16px; }
.demo.is-done { background: var(--grass-card); border-color: var(--grass-line); }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tag-alta { padding: 3px 10px; border-radius: 999px; background: var(--critical-soft); color: var(--critical-ink); font-size: 12px; font-weight: 600; }
.chip { padding: 3px 10px; border-radius: 6px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; background: var(--warn-soft); color: var(--warn-ink); }
.demo.is-done .chip { background: var(--signal-soft); color: var(--signal-ink); }
.demo-title { display: flex; flex-direction: column; gap: 4px; }
.demo-title h3 { font-size: 22px; letter-spacing: -.01em; }
.demo-title p { margin: 0; font-size: 14px; color: var(--ink-muted); }
.demo-tasks { display: flex; flex-direction: column; gap: 2px; }
.task { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.task.lvl1 { padding-left: 38px; }
.task:hover { background: var(--slate-3); }
.task:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.task .box { flex: none; width: 20px; height: 20px; border-radius: 5px; display: grid; place-items: center; border: 1.5px solid var(--box); background: var(--surface); }
.task .box svg { display: none; }
.task[aria-pressed="true"] .box { background: var(--signal); border-color: var(--signal); }
.task[aria-pressed="true"] .box svg { display: block; }
.task .tt { font-size: 15px; color: var(--ink); }
.task[aria-pressed="true"] .tt { color: var(--ink-muted); text-decoration: line-through; }
.demo-foot { display: flex; align-items: center; gap: 12px; }
.bar-track, .demo-foot .bar { flex: 1; height: 7px; border-radius: 99px; background: var(--slate-4); overflow: hidden; }
.bar-fill { display: block; height: 7px; border-radius: 99px; background: var(--signal); transition: width .3s; }
.pct-0 { width: 0; } .pct-20 { width: 20%; } .pct-40 { width: 40%; } .pct-60 { width: 60%; } .pct-80 { width: 80%; } .pct-100 { width: 100%; }
.count { font-size: 13px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--avatar); color: var(--ink); font-size: 12px; font-weight: 600; }
.demo-cap { position: relative; margin: 18px 0 0; text-align: center; font-size: 13px; color: var(--ink-muted); }

/* faixas escuras */
.band { background: var(--band); color: var(--band-ink); padding-block: 64px; }
.band-grid { align-items: center; gap: 48px; }
.band-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.band h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -.025em; }
.band-text p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--band-muted); max-width: 30em; }
.nots { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; font-family: var(--font-mono); font-size: 15px; }
.nots li { display: flex; gap: 10px; color: var(--band-muted); }
.nots .x { color: #e5484d; }
.band-cta { padding-block: 88px; }
.cta-final { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.band-cta h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.03em; max-width: 14em; }
.cta-final p { margin: 0; font-size: 18px; color: var(--band-muted); }

/* como funciona */
.s-como { padding-block: 96px; }
.como { display: flex; flex-direction: column; gap: 48px; }
.sec-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.eyebrow { font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--signal-ink); }
.sec-head h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.03em; }
.step { margin: 0; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.step figcaption { display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.55; }
.step figcaption .mono { font-size: 13px; }
.step figcaption strong { font-size: 19px; letter-spacing: -.01em; line-height: 1.3; }
.shot { aspect-ratio: 4 / 3; max-width: 100%; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm); }
.shot-dash { background: var(--paper); padding: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mini-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.mini-card.is-late { background: var(--red-card); border-color: var(--red-line); }
.mini-card.is-ok { background: var(--grass-card); border-color: var(--grass-line); }
.mini-card strong { font-size: 12px; }
.mini-chip { align-self: flex-start; font-family: var(--font-mono); font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 4px; }
.mini-chip.late { background: var(--critical-soft); color: var(--critical-ink); }
.mini-chip.soon { background: var(--warn-soft); color: var(--warn-ink); }
.mini-chip.date { background: var(--paper); color: var(--ink-muted); border: 1px solid var(--border); }
.mini-chip.ok { background: var(--signal-soft); color: var(--signal-ink); }
.mini-track { height: 4px; border-radius: 9px; background: var(--slate-4); }
.mini-fill { height: 4px; border-radius: 9px; background: var(--signal); }
.w15 { width: 15%; } .w30 { width: 30%; } .w60 { width: 60%; } .w100 { width: 100%; }
.shot-list { padding: 18px; display: flex; flex-direction: column; gap: 9px; font-size: 13px; }
.shot-list strong { font-size: 14px; }
.li { display: flex; gap: 9px; align-items: center; }
.li.sub { padding-left: 24px; }
.li.done span:last-child { color: var(--ink-muted); text-decoration: line-through; }
.li.drag { padding: 6px 8px; margin-left: 16px; border-radius: 6px; background: var(--slate-3); border: 1px dashed var(--box); }
.li .grip { margin-left: auto; color: var(--dim); text-decoration: none; }
.mbox { width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid var(--border-strong); flex: none; }
.mbox.on { background: var(--signal); border-color: var(--signal); }
.shot-md { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.md-src { margin: 0; padding: 14px; background: var(--paper); border-right: 1px solid var(--slate-4); font-family: var(--font-mono); font-size: 11px; line-height: 1.6; color: var(--ink-muted); white-space: pre-wrap; overflow: hidden; }
.md-out { padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 11px; }
.md-out strong { font-size: 13px; }
.md-table { border: 1px solid var(--slate-4); border-radius: 6px; overflow: hidden; }
.md-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px 6px; border-top: 1px solid var(--slate-4); }
.md-row.head { background: var(--slate-3); font-weight: 600; border-top: 0; }
.md-flow { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.node { padding: 4px 8px; border: 1px solid var(--signal); border-radius: 6px; background: var(--signal-soft); }

/* pontos fortes */
.s-pontos { padding-block: 0 96px; }
.point { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--surface); border: 1px solid var(--slate-4); border-radius: 14px; font-size: 15px; line-height: 1.55; }
.point svg { color: var(--signal-ink); }
.point strong { font-size: 18px; }

/* comparar */
.s-comparar { padding-block: 88px; background: var(--surface); border-block: 1px solid var(--slate-4); }
.comparar { display: flex; flex-direction: column; gap: 36px; }
.comparar h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -.025em; max-width: 720px; }
.cmp { overflow-x: auto; }
.cmp table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--slate-4); }
.cmp thead th { font-weight: 600; border-bottom: 1px solid var(--border); }
.cmp tbody th { font-weight: 500; }
.cmp td.us { background: var(--grass-card); color: var(--signal-ink); font-weight: 600; }
.cmp thead th.us { background: var(--signal-soft); color: var(--signal-ink); font-weight: 700; border-bottom: 2px solid var(--signal); border-radius: 10px 10px 0 0; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody tr:last-child td.us { border-radius: 0 0 10px 10px; }

/* faq */
.s-faq { padding-block: 96px; }
.faq { gap: 48px; align-items: start; }
.faq-head { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.faq-head h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -.025em; }
.faq-head p { margin: 0; font-size: 16px; }
.faq-head a { color: var(--ink); text-decoration: none; }
.faq-list { display: flex; flex-direction: column; min-width: 0; border-top: 1px solid var(--border); }
details { border-bottom: 1px solid var(--border); }
details summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 600; }
details summary::-webkit-details-marker { display: none; }
details > p { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--ink-muted); }
.plus { color: var(--signal-ink); font-size: 22px; line-height: 1; transition: transform .2s; }
details[open] .plus { transform: rotate(45deg); }

/* apoie */
.s-apoie { padding-block: 0 96px; }
.apoie { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: 36px; border-radius: 18px; background: var(--signal-soft); border: 1px solid var(--grass-line); }
.apoie-text { display: flex; flex-direction: column; gap: 8px; max-width: 560px; min-width: 0; }
.apoie-text h2 { font-size: 28px; letter-spacing: -.02em; }
.apoie-text p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--grass-text); }
.apoie-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.pix { background: var(--surface); border: 1px solid var(--grass-line); border-radius: 10px; }
.pix summary { display: inline-flex; padding: 0 22px; color: var(--ink); min-height: 46px; }
.pix-body { padding: 0 18px 16px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.pix-key { font-weight: 600; user-select: all; }

/* rodapé */
.site-footer { padding-block: 36px; border-top: 1px solid var(--slate-4); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; font-size: 14px; color: var(--ink-muted); }
.foot-brand { display: flex; align-items: center; gap: 8px; }
.foot-ui { height: 24px; min-width: 24px; padding: 0 4px; border-radius: 6px; font-size: 11px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: var(--ink-muted); }
.foot a:hover { color: var(--ink); }

/* páginas internas (suporte, contato, termos, blog) */
.s-doc { padding-block: 64px 96px; }
.doc { max-width: 760px; display: flex; flex-direction: column; gap: 20px; }
.doc h1 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -.03em; }
.doc h2 { font-size: 26px; letter-spacing: -.02em; margin-top: 12px; }
.doc p, .doc li { font-size: 17px; line-height: 1.65; }
.doc p { margin: 0; }
.doc pre { overflow-x: auto; padding: 14px; border-radius: 10px; background: var(--slate-3); font-family: var(--font-mono); font-size: 14px; }
.doc .meta { font-family: var(--font-mono); font-size: 13px; color: var(--ink-muted); }
.post-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.post-list li { padding: 20px 22px; background: var(--surface); border: 1px solid var(--slate-4); border-radius: 14px; display: flex; flex-direction: column; gap: 6px; }
.post-list a { font-size: 20px; font-weight: 600; text-decoration: none; }
.post-list p { font-size: 15px; color: var(--ink-muted); }
.contact { display: flex; flex-direction: column; gap: 16px; }
.contact label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.contact input, .contact select, .contact textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); color: var(--ink); }
.contact button { align-self: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 12px 14px; border-radius: 8px; background: var(--critical-soft); color: var(--critical-ink); font-size: 15px; }

@media (max-width: 900px) {
  .hero, .cols2, .cols3 { grid-template-columns: minmax(0, 1fr); }
  .navlinks { display: none; }
  .hero { gap: 40px; }
}
@media (max-width: 720px) {
  .s-hero { padding-block: 40px 64px; }
  .s-como, .s-faq { padding-block: 64px; }
  .s-comparar { padding-block: 56px; }
  .nots { grid-template-columns: minmax(0, 1fr); }
  .apoie { padding: 24px; }
  .demo { padding: 16px; }
  .foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}
