/* Animated product mockups. Everything reads the page tokens, so light and dark both work. */
:root { --ease: cubic-bezier(.16,1,.3,1); --warn: #f59e0b; --bad: #ef4444; }

@keyframes blink { 50% { opacity: .25; } }
@keyframes lnIn { from { opacity: 0; transform: translateY(4px); } }
@keyframes bump { 35% { transform: translateY(-3px); color: var(--accent); } }
@keyframes packet { 0% { opacity: 1; transform: translateX(-6px); } 100% { opacity: 0; transform: translateX(18px); } }
@keyframes glow { 50% { box-shadow: 0 0 0 4px var(--accent-soft), 0 0 18px -2px var(--accent); } }
@keyframes shim { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.caret::after { content: "▍"; color: var(--accent); animation: blink 1s steps(1) infinite; }
.mlabel { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ── mission control ─────────────────────────────────────────── */
.shot .bar { align-items: center; }
.bar-title { margin-left: 10px; font-size: 11px; color: var(--subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc { position: relative; padding: 18px; display: grid; gap: 12px; background: var(--bg); text-align: left; }
.mc-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mc-top .grow { flex: 1; }
.pill { border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 10px; font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; }
.pill.live i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: 1px; animation: blink 1.4s infinite; }
.crumb { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.crumb b { color: var(--ink); font-weight: 500; margin-right: 8px; }

.mc-stats { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.mc-stats div { padding: 10px 14px; border-right: 1px solid var(--line); min-width: 0; }
.mc-stats div:last-child { border-right: 0; }
.mc-stats span { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-stats b { display: inline-block; font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mc-stats b.bump { animation: bump .5s ease; }

.mc-pipe { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 16px 14px; }
.node { flex: 1 1 0; min-width: 0; border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px 10px; background: var(--surface-2); transition: border-color .3s, background .3s, box-shadow .3s; }
.node small { display: block; font-family: var(--mono); font-size: 8.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.node b { display: flex; justify-content: space-between; align-items: center; gap: 4px; margin-top: 3px; font-size: 13px; font-weight: 600; }
.node b i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); font-style: normal; line-height: 1; }
.node.active { border-color: var(--accent); background: var(--accent-soft); animation: glow 1.6s ease-in-out infinite; }
.node.active b i { background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: blink 1s infinite; }
.node.done b i { width: auto; height: auto; background: none; color: var(--accent); font-size: 11px; }
.node.done b i::before { content: "✓"; }
.link { flex: 0 0 16px; height: 1px; background: var(--line-strong); position: relative; transition: background .3s; }
.link.done { background: var(--accent); }
.link::after { content: ""; position: absolute; top: -2px; left: 0; width: 6px; height: 5px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 8px var(--accent); opacity: 0; }
.link.flow::after { animation: packet .6s ease-out; }

.mc-grid { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 12px; }
.panel { position: relative; height: 272px; min-width: 0; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.panel-h { display: flex; justify-content: space-between; gap: 8px; }
.panel-h .mlabel::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: 1px; }
.panel-h .count { font-family: var(--mono); font-size: 10px; color: var(--subtle); }

.queue { display: grid; gap: 8px; }
.tk { border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; transition: border-color .3s, background .3s, opacity .3s; }
.tk-h { display: flex; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 10px; color: var(--subtle); }
.tk-src { margin-left: 6px; padding: 0 4px; border: 1px solid var(--line-strong); border-radius: 4px; font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; }
.tk-st { text-transform: uppercase; letter-spacing: .08em; }
.tk p { margin: 5px 0 0; font-size: 12.5px; line-height: 1.35; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-m { margin-top: 3px; font-family: var(--mono); font-size: 9.5px; color: var(--subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prog { height: 2px; margin-top: 8px; border-radius: 2px; background: var(--line); overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.tk.run { border-color: var(--accent); background: var(--accent-soft); }
.tk.run .tk-st, .tk.done .tk-st { color: var(--accent); }
.tk.done { opacity: .7; }

.log { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); font-family: var(--mono); font-size: 11px; line-height: 1.7; }
.ln { display: grid; grid-template-columns: 62px 14px minmax(0, 1fr); gap: 4px; color: var(--muted); white-space: nowrap; animation: lnIn .25s ease; }
.ln span:last-child { overflow: hidden; text-overflow: ellipsis; }
.ln .st { color: var(--subtle); }
.ln .ok { color: var(--accent); }
.ln .warn { color: var(--warn); }

.perm { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); border-radius: 10px; background: var(--surface-2); box-shadow: 0 16px 40px -16px rgba(0,0,0,.55); opacity: 0; transform: translateY(115%); transition: transform .45s var(--ease), opacity .3s; }
.perm.show { opacity: 1; transform: none; }
.perm .mlabel { color: var(--warn); }
.perm code { display: block; margin: 6px 0 8px; font-family: var(--mono); font-size: 11.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.perm-b { display: flex; justify-content: flex-end; gap: 6px; }
.mbtn { padding: 3px 10px; border: 1px solid var(--line-strong); border-radius: 999px; font-family: var(--mono); font-size: 10.5px; color: var(--muted); transition: transform .15s, background .2s, color .2s, border-color .2s; }
.mbtn.primary { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.mbtn.press { transform: scale(.93); background: var(--accent); border-color: var(--accent); color: #04130a; }

.plan { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.plan li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; font-size: 12px; line-height: 1.35; color: var(--muted); animation: lnIn .35s ease both; }
.plan li i { width: 14px; height: 14px; margin-top: 1px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font-style: normal; font-size: 9px; transition: background .3s, border-color .3s; }
.plan li.ok { color: var(--ink); }
.plan li.ok i { background: var(--accent); border-color: var(--accent); color: #04130a; }
.plan li.ok i::before { content: "✓"; }
.plan li.empty { display: block; font-family: var(--mono); font-size: 11px; color: var(--subtle); }

.toast { position: absolute; top: 18px; right: 18px; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--accent); border-radius: 999px; background: var(--surface); box-shadow: 0 12px 40px -12px var(--accent); font-family: var(--mono); font-size: 11.5px; opacity: 0; transform: translateY(-10px); transition: opacity .3s, transform .4s var(--ease); }
.toast.show { opacity: 1; transform: none; }
.toast::before { content: "✓"; color: var(--accent); }

/* ── nova tarefa ─────────────────────────────────────────────── */
.nt { margin-top: 20px; display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--bg); font-size: 12.5px; }
.nt-tabs { display: flex; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.nt-tabs span { padding: 4px 8px; border: 1px solid transparent; border-radius: 8px; }
.nt-tabs .on { border-color: var(--line-strong); color: var(--ink); }
.nt-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.nt-in { min-height: 38px; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); }
.nt-ta { position: relative; overflow: hidden; min-height: 132px; white-space: pre-wrap; line-height: 1.55; font-size: 12px; }
.nt-ta.drafting::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--accent-soft), transparent); animation: shim 1.1s linear infinite; }
.ai { padding: 3px 9px; border: 1px solid var(--accent); border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-family: var(--mono); font-size: 10.5px; white-space: nowrap; }
.ai.busy { animation: glow 1s ease-in-out infinite; }
.chips2 { display: flex; flex-wrap: wrap; gap: 6px; }
.chip2 { padding: 3px 10px; border: 1px solid var(--line-strong); border-radius: 999px; font-family: var(--mono); font-size: 10.5px; color: var(--muted); transition: border-color .15s, background .2s, color .2s; }
.chip2.hover { border-color: var(--muted); color: var(--ink); }
.chip2.on { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.nt-hint { min-height: 15px; font-family: var(--mono); font-size: 10px; color: var(--subtle); }
.nt-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; color: var(--subtle); }
.go { padding: 7px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-family: var(--sans); font-size: 12.5px; font-weight: 500; white-space: nowrap; transition: transform .15s, background .2s, color .2s; }
.go.press { transform: scale(.95); background: var(--accent); color: #04130a; }

/* ── base de conhecimento ───────────────────────────────────── */
.kg { margin-top: 20px; display: grid; grid-template-columns: 1fr 1.25fr; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--bg); }
.kg-side { display: grid; align-content: start; gap: 10px; padding: 14px; border-right: 1px solid var(--line); min-width: 0; }
.kg-q { padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface); font-family: var(--mono); font-size: 11.5px; color: var(--ink); min-height: 34px; }
.kg-q::before { content: "⌕ "; color: var(--subtle); }
.res { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; min-height: 120px; }
.res li { display: grid; gap: 4px; font-family: var(--mono); font-size: 11px; animation: lnIn .3s ease both; }
.res li > div:first-child { display: flex; justify-content: space-between; gap: 8px; }
.res li span:last-child { color: var(--accent); }
.res .bar3 { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.res .bar3 i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform .7s var(--ease); }
.kg-meta { font-family: var(--mono); font-size: 9.5px; color: var(--subtle); }
.kg svg { display: block; width: 100%; height: 100%; min-height: 230px; }
.kg .e { stroke: var(--line-strong); stroke-width: 1; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease), stroke .3s, opacity .3s; }
.kg .drawn .e { stroke-dashoffset: 0; }
.kg .n circle { fill: var(--surface-2); stroke: var(--line-strong); transition: fill .3s, stroke .3s; }
.kg .n text { fill: var(--subtle); font-family: var(--mono); font-size: 8.5px; transition: fill .3s; }
.kg .dim .e:not(.hit), .kg .dim .n:not(.hit) { opacity: .35; }
.kg .n.hit circle { fill: var(--accent); stroke: var(--accent); }
.kg .n.hit text { fill: var(--ink); }
.kg .e.hit { stroke: var(--accent); stroke-width: 1.5; }

/* ── mini widgets nos cards pequenos ─────────────────────────── */
.mini { margin-top: 18px; display: grid; gap: 7px; min-height: 92px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); font-family: var(--mono); font-size: 11px; color: var(--muted); }
.mini .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-width: 0; animation: lnIn .3s ease both; }
.mini .row > span:first-child { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { flex: none; padding: 1px 8px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 10px; transition: all .25s; }
.tag.ok { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.tag.bad { border-color: var(--bad); color: var(--bad); }
.tag.ask { border-color: var(--warn); color: var(--warn); }
.tag.fade { opacity: 0; }

@media (max-width: 900px) {
  .mc-grid { grid-template-columns: 1fr 1fr; }
  .panel.p { display: none; }
  .mc-stats { grid-template-columns: repeat(3, 1fr); }
  .mc-stats div:nth-child(n+4) { display: none; }
  .mc-stats div:nth-child(3) { border-right: 0; }
}
@media (max-width: 640px) {
  .mc { padding: 12px; }
  .mc-pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px; }
  .link, .node small, .bar-title, .mc-top .pill:first-child { display: none; }
  .node { padding: 6px 7px; }
  .node b { font-size: 11px; }
  .mc-grid { grid-template-columns: 1fr; }
  .panel.q { display: none; }
  .panel { height: 240px; }
  .ln { grid-template-columns: 52px 12px minmax(0, 1fr); font-size: 10.5px; }
  .mc-stats b { font-size: 18px; }
  .kg { grid-template-columns: 1fr; }
  .kg-side { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ── integrações: cena de chat ───────────────────────────────── */
.integ { margin-top: 44px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; align-items: start; }
.chat { margin: 0; display: flex; flex-direction: column; min-height: 470px; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--bg); overflow: hidden; box-shadow: 0 40px 120px -50px rgba(34,197,94,.3); }
.chat-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.chat-ch { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--ink); }
.chat-ch i { width: 8px; height: 8px; border-radius: 3px; background: var(--accent); transition: background .3s; }
.chat-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 16px; overflow: hidden; }
.msg { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; animation: lnIn .35s var(--ease) both; }
.msg .av { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; font-weight: 600; background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--muted); }
.msg.bot .av { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.msg .who { font-size: 12.5px; font-weight: 600; }
.msg .who small { margin-left: 6px; font-family: var(--mono); font-size: 10px; font-weight: 400; color: var(--subtle); }
.msg .txt { margin-top: 2px; font-size: 13.5px; line-height: 1.5; color: var(--ink); white-space: pre-wrap; }
.msg .txt code { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.msg .card-q { margin-top: 8px; padding: 12px; border: 1px solid var(--line-strong); border-left: 3px solid var(--accent); border-radius: 10px; background: var(--surface); }
.opts { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.opt { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 12.5px; color: var(--ink); background: var(--surface-2); transition: transform .15s, background .2s, border-color .2s, opacity .2s; }
.opt.rec { border-color: var(--accent); background: var(--accent-soft); }
.opt.rec::before { content: "★ "; color: var(--accent); }
.opt.press { transform: scale(.94); background: var(--accent); border-color: var(--accent); color: #04130a; }
.opt.press::before { color: #04130a; }
.opts.done .opt:not(.press) { opacity: .35; }
.typing { display: inline-flex; gap: 4px; padding: 8px 0 2px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.integ-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.integ-list .card { padding: 20px 22px; }
.integ-list h3 { margin: 8px 0 6px; font-size: 17px; }
.integ-list code, .integ-note code { font-family: var(--mono); font-size: .9em; color: var(--accent); }
.integ-note { margin: 16px 0 0; font-family: var(--mono); font-size: 12px; color: var(--subtle); }

@media (max-width: 900px) {
  .integ { grid-template-columns: 1fr; }
  .chat { min-height: 430px; }
}

/* ── harness: skills por etapa ───────────────────────────────── */
.harness { margin-top: 44px; padding: 20px; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--bg); }
.h-stages { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.h-stage { padding: 5px 11px; border: 1px solid var(--line-strong); border-radius: 999px; font-family: var(--mono); font-size: 11px; color: var(--subtle); transition: color .3s, border-color .3s, background .3s; }
.h-stage.done { color: var(--muted); border-color: var(--line-strong); }
.h-stage.done::after { content: " ✓"; color: var(--accent); }
.h-stage.on { color: var(--ink); border-color: var(--accent); background: var(--accent-soft); animation: glow 1.4s ease-in-out infinite; }
.h-count { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--accent); font-variant-numeric: tabular-nums; }
.h-groups { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px 20px; }
.h-title { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); }
.h-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.h-chip { padding: 4px 9px; border: 1px solid var(--line); border-radius: 7px; font-family: var(--mono); font-size: 11.5px; color: var(--subtle); transition: color .25s, border-color .25s, background .25s, transform .25s var(--ease); }
.h-chip.used { color: var(--ink); border-color: var(--line-strong); }
.h-chip.on { color: var(--ink); border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); box-shadow: 0 6px 18px -8px var(--accent); }
@media (max-width: 640px) {
  .harness { padding: 14px; }
  .h-count { margin-left: 0; width: 100%; }
}

/* ── eficácia: barra de métricas (demo) ──────────────────────── */
.metrics { margin-top: 44px; display: grid; grid-template-columns: minmax(230px, 1fr) 3fr minmax(190px, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--line); --tone: var(--accent); }
.metrics[data-tone="fair"] { --tone: var(--warn); }
.metrics[data-tone="bad"] { --tone: var(--bad); }
.metrics > * { background: var(--surface); }
.m-ring { display: flex; align-items: center; gap: 16px; padding: 18px; }
.m-ring svg { width: 92px; height: 92px; flex: none; transform: rotate(-90deg); }
.m-ring circle { fill: none; stroke-width: 8; }
.m-track { stroke: var(--line); }
.m-arc { stroke: var(--tone); stroke-linecap: round; transition: stroke-dashoffset 1.1s var(--ease), stroke .4s; }
.m-ring b { display: block; margin-top: 4px; font-size: 34px; line-height: 1; letter-spacing: -.03em; color: var(--tone); font-variant-numeric: tabular-nums; }
.m-eyebrow { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); }
.m-meta { display: block; margin-top: 6px; font-family: var(--mono); font-size: 10px; color: var(--subtle); }
.m-tiles { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.m-tile { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 14px 16px; background: var(--surface); --t: var(--accent); }
.m-tile[data-tone="fair"] { --t: var(--warn); }
.m-tile[data-tone="bad"] { --t: var(--bad); }
.m-label { font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); }
.m-value { margin: 0; font-size: 26px; font-weight: 600; line-height: 1; letter-spacing: -.03em; color: var(--t); font-variant-numeric: tabular-nums; }
.m-bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.m-bar i { display: block; height: 100%; background: var(--t); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.m-detail { font-family: var(--mono); font-size: 10.5px; color: var(--subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-eff { margin: 0; display: grid; align-content: center; gap: 10px; padding: 16px; }
.m-eff-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.m-eff dt { font-family: var(--mono); font-size: 10.5px; color: var(--subtle); }
.m-eff dd { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--ink); font-variant-numeric: tabular-nums; }
.metrics.bump .m-value, .metrics.bump .m-ring b { animation: bump .6s ease; }
@media (max-width: 900px) {
  .metrics { grid-template-columns: 1fr; }
  .m-tiles { grid-template-columns: repeat(2, 1fr); }
}
