:root{color-scheme:light;--radius:0;--on-accent:#fff;--bg:#faf9f4;--panel:#ffffff;--panel-strong:oklch(.984 .004 85);--line:oklch(.869 .022 84);--line-soft:oklch(.929 .014 88);--ink:oklch(.208 .042 78);--body:oklch(.372 .044 78);--muted:oklch(.446 .043 78);--faint:oklch(.704 .04 80);--accent:oklch(.53 .16 41);--accent-strong:oklch(.45 .155 40);--accent-subtle:oklch(.955 .025 56);--ok:oklch(.511 .096 186);--ok-subtle:oklch(.984 .014 181);--hero:#ffeedc;}
/* base.css — CSS vanilla (custom properties) das paginas do MCP. Transposto dos
   designs premium do TailwindPlus para a stack da casa; sem Tailwind em runtime
   (interfaces secao 2.1). Cores vem dos tokens --* injetados pelo Theme; trocar
   de tema troca so o :root. WCAG 2.2 AA: foco visivel, alvos >=24px, reflow a
   320px, contraste AA. */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  color: var(--body);
  background: var(--bg);
  font: 400 15px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Faixa larga da landing (card + hero); demais telas centram um card estreito. */
.wrap { width: min(100%, 470px); display: grid; gap: 20px; }
.stage {
  width: min(100%, 1040px);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  align-items: center;
}
@media (max-width: 880px) { .stage { grid-template-columns: minmax(0, 1fr); } .hero { display: none; } }

.card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 4px 16px -4px oklch(0 0 0 / .10), 0 1px 2px 0 oklch(0 0 0 / .06);
}

/* Marca -------------------------------------------------------------------- */
.brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.bird { width: 40px; height: auto; flex: none; }
.bird path { fill: var(--accent); }
.brand .sep { width: 1px; height: 14px; background: var(--line); }
.brand .product { color: var(--muted); font-weight: 600; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0; color: var(--accent); font-size: 11.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-subtle); }

h1 { font-size: 26px; line-height: 1.15; letter-spacing: -.02em; margin: 22px 0 10px; color: var(--ink); }
.lead { margin: 0 0 6px; font-size: 14.5px; line-height: 1.65; color: var(--body); }
.h2 { font-size: 13px; font-weight: 700; letter-spacing: .01em; color: var(--ink); margin: 24px 0 0; }

/* Passos numerados --------------------------------------------------------- */
.steps { display: grid; gap: 9px; margin: 14px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 13.5px; line-height: 1.5; color: var(--body); }
.steps li::before { content: counter(step); width: 22px; height: 22px; display: grid; place-items: center; background: var(--accent-subtle); color: var(--accent-strong); font-size: 11.5px; font-weight: 800; border-radius: var(--radius); }

/* Endpoint (a URL /mcp) ---------------------------------------------------- */
.endpoint { margin: 16px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-strong); font: 500 13px/1.4 ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace; color: var(--ink); word-break: break-all; }

/* Tabela de specs ---------------------------------------------------------- */
.facts { width: 100%; margin: 20px 0 0; border-collapse: collapse; font-size: 12.5px; }
.facts th { text-align: left; vertical-align: top; padding: 9px 16px 9px 0; color: var(--muted); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 10.5px; white-space: nowrap; }
.facts td { padding: 9px 0; color: var(--ink); font-weight: 600; border-top: 1px solid var(--line-soft); }
.facts tr:first-child th, .facts tr:first-child td { border-top: 0; }
.facts th { border-top: 1px solid var(--line-soft); }

/* Autoridade solicitada (consent) ----------------------------------------- */
.scopes { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.scopes li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 11px; align-items: start; }
.scopes svg { width: 16px; height: 16px; flex: none; margin-top: 3px; fill: var(--ok); }
.scopes strong { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.scopes span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }

/* Identidade / cliente ----------------------------------------------------- */
.identity { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: center; margin: 18px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-strong); }
.avatar { width: 30px; height: 30px; background: var(--accent); color: var(--on-accent); border-radius: var(--radius); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.identity .who { min-width: 0; }
.identity .who .name { display: block; font-size: 13px; color: var(--ink); word-break: break-all; }
.identity .who .sub { display: block; margin-top: 1px; font-size: 12px; color: var(--muted); word-break: break-all; }

/* Acoes -------------------------------------------------------------------- */
.actions { display: flex; gap: 10px; margin: 22px 0 0; }
.btn { appearance: none; border: 1px solid transparent; border-radius: var(--radius); padding: 11px 18px; font: 700 13.5px/1 inherit; cursor: pointer; color: var(--on-accent); background: var(--accent); }
.btn:hover { background: var(--accent-strong); }
.btn-ghost { background: var(--panel); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--panel-strong); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.foot { margin: 22px 0 0; font-size: 11.5px; line-height: 1.55; color: var(--faint); }
.foot a { color: var(--muted); }

/* Hero decorativo (landing) ------------------------------------------------ */
.hero { position: relative; min-height: 340px; border: 1px solid var(--line-soft); border-radius: var(--radius); background:
    radial-gradient(120% 90% at 78% 20%, var(--hero) 0%, transparent 60%),
    linear-gradient(180deg, var(--panel) 0%, var(--panel-strong) 100%);
  overflow: hidden; display: grid; place-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 34px 34px; mask-image: radial-gradient(80% 70% at 60% 35%, #000 0%, transparent 75%); }
.hero .bird { position: relative; width: 150px; height: auto; }
.hero .cap { position: absolute; bottom: 18px; left: 22px; right: 22px; font: 700 11px/1.4 ui-sans-serif, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }

@media (prefers-reduced-motion: no-preference) {
  .dot { animation: pulse 2.4s ease-in-out infinite; }
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px var(--accent-subtle); } 50% { box-shadow: 0 0 0 6px var(--accent-subtle); } }
