:root, [data-theme="dark"] {
  --bg: #0a0b0d;
  --bg-2: #0f1114;
  --panel: #14171b;
  --panel-2: #191d22;
  --line: #23272e;
  --line-2: #2f343c;
  --text: #e8eaed;
  --soft: #c3c8cf;
  --muted: #8b929c;
  --accent: #c8f542;
  --fill: #c8f542;
  --on-fill: #0a0b0d;
  --accent-dim: rgba(200, 245, 66, .14);
  --glow: rgba(200, 245, 66, .10);
  --glow-2: rgba(200, 245, 66, .22);
  --glass: rgba(10, 11, 13, .72);
  --glass-2: rgba(20, 23, 27, .7);
  --term-bg: rgba(15, 17, 20, .92);
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  --shadow-soft: 0 18px 40px -18px rgba(0, 0, 0, .7);
  --danger: #ff8a5c;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f5f6f2;
  --bg-2: #ecede7;
  --panel: #ffffff;
  --panel-2: #f8f9f5;
  --line: #dcdfd6;
  --line-2: #c9cdc2;
  --text: #0e1012;
  --soft: #363b42;
  --muted: #5d636b;
  --accent: #3b6d00;
  --fill: #9be01c;
  --on-fill: #0a0b0d;
  --accent-dim: rgba(110, 180, 0, .22);
  --glow: rgba(140, 210, 0, .22);
  --glow-2: rgba(100, 170, 0, .45);
  --glass: rgba(245, 246, 242, .78);
  --glass-2: rgba(255, 255, 255, .8);
  --term-bg: rgba(255, 255, 255, .94);
  --shadow: 0 30px 60px -24px rgba(30, 40, 10, .28);
  --shadow-soft: 0 18px 40px -20px rgba(30, 40, 10, .22);
  --danger: #c2410c;
  color-scheme: light;
}
:root {
  --sans: 'Geist', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, Consolas, monospace;
  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); transition: background-color .4s, color .4s; color: var(--text); font: 400 16.5px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
em { font-style: normal; color: var(--accent); }
::selection { background: var(--fill); color: var(--on-fill); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(1320px, 100%); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--fill); color: var(--on-fill); padding: 10px 14px; }
.skip:focus { left: 8px; }

/* grid backdrop */
.hero, .contact { position: relative; isolation: isolate; }
.hero::before, .contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .45;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero::after { content: ""; position: absolute; z-index: -1; right: 6%; top: 8%; width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 65%); pointer-events: none; }

/* top */
.top { position: sticky; top: 0; z-index: 20; background: var(--glass); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.is-scrolled { border-color: var(--line); }
.top__bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.mark { display: inline-flex; align-items: center; font: 500 14px/1 var(--mono); text-decoration: none; }
.mark__p { color: var(--accent); }
.caret { display: inline-block; width: .55em; height: 1.05em; margin-left: 3px; background: var(--accent); vertical-align: -.15em; animation: blink 1.1s steps(1) infinite; }
.caret--big { width: .42em; height: .82em; margin-left: .08em; vertical-align: -.02em; }
@keyframes blink { 50% { opacity: 0; } }
.top nav { display: flex; gap: clamp(14px, 2.4vw, 32px); align-items: center; }
.top nav a { font: 400 13.5px/1 var(--mono); text-decoration: none; color: var(--muted); transition: color .2s; }
.top nav a:hover { color: var(--text); }
.top nav .top__cta { color: var(--on-fill); background: var(--fill); border-radius: 6px; padding: 10px 14px; font-weight: 500; transition: box-shadow .25s, transform .25s var(--ease); }
.top nav .top__cta:hover { color: var(--on-fill); box-shadow: 0 0 0 4px var(--accent-dim); }

/* type */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--glass-2); font: 400 12.5px/1.3 var(--mono); color: var(--soft); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fill); box-shadow: 0 0 0 0 rgba(200, 245, 66, .6); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(200, 245, 66, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 245, 66, 0); } }
.path { margin: 0 0 14px; font: 500 13px/1 var(--mono); color: var(--accent); }
.path::before { content: "$ cd "; color: var(--muted); }
.h2 { margin: 0; font: 600 clamp(2.4rem, 5.4vw, 4.8rem)/.98 var(--sans); letter-spacing: -.045em; text-wrap: balance; }
.h2__sub { display: block; margin-top: 14px; font: 400 14px/1 var(--mono); letter-spacing: 0; color: var(--muted); }

/* hero */
.hero { padding: clamp(48px, 7vw, 100px) 0 clamp(56px, 7vw, 100px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { margin: 0; font: 600 clamp(2.7rem, 5.7vw, 5.6rem)/.95 var(--sans); letter-spacing: -.05em; }
.line { display: block; overflow: hidden; padding-bottom: .07em; }
.line > span { display: inline-block; animation: rise 1s var(--ease) both; }
.line:nth-child(2) > span { animation-delay: .08s; }
.line:nth-child(3) > span { animation-delay: .16s; }
.line:nth-child(4) > span { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero__lede { max-width: 56ch; margin: 32px 0 0; font-size: clamp(1rem, 1.25vw, 1.14rem); color: var(--soft); animation: fade .9s .45s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; animation: fade .9s .55s var(--ease) both; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 8px; font: 500 14px/1 var(--mono); text-decoration: none; transition: transform .25s var(--ease), background .2s, color .2s, box-shadow .25s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--ink, .btn--accent { background: var(--fill); color: var(--on-fill); }
.btn--ink:hover, .btn--accent:hover { box-shadow: 0 0 0 5px var(--accent-dim), 0 12px 34px -8px var(--glow-2); }
.btn--line { border: 1px solid var(--line-2); color: var(--text); background: var(--glass-2); }
.btn--line:hover { border-color: var(--accent); color: var(--accent); }
.hero__side { position: relative; animation: fade 1.1s .2s var(--ease) both; }
.hero__side { display: flex; flex-direction: column; align-items: center; }
.hero__photo { margin: 0; position: relative; width: clamp(220px, 23vw, 310px); }
.hero__photo picture { display: block; overflow: hidden; border-radius: 50%; aspect-ratio: 1; background: var(--panel); border: 2px solid var(--line-2); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(1.08); will-change: transform; filter: saturate(.85) contrast(1.05); transition: filter .6s; }
.hero__photo:hover img { filter: none; }
.hero__photo::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1.5px dashed var(--accent); opacity: .6; animation: spin 40s linear infinite; pointer-events: none; }
.hero__photo::after { content: ""; position: absolute; right: 9%; bottom: 9%; width: 18px; height: 18px; border-radius: 50%; background: var(--fill); border: 4px solid var(--bg); box-shadow: 0 0 0 0 rgba(200, 245, 66, .6); animation: pulse 2.2s infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.term { position: relative; z-index: 3; width: 100%; max-width: 480px; margin-top: 40px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--term-bg); backdrop-filter: blur(10px); box-shadow: var(--shadow), 0 0 80px -30px var(--glow-2); overflow: hidden; }
.term__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.term__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.term__bar span:first-child { background: var(--fill); }
.term__bar b { margin-left: 8px; font: 400 11.5px/1 var(--mono); color: var(--muted); }
.term__body { margin: 0; padding: 14px 16px 16px; font: 400 12.5px/1.7 var(--mono); color: var(--soft); white-space: pre-wrap; word-break: break-word; min-height: 9.4em; }
.t-p { color: var(--accent); }
.t-cmd { color: var(--text); }
.t-out { display: block; margin-top: 6px; color: var(--accent); transition: opacity .4s; }
.term.is-typing .t-out { opacity: 0; }
.term.is-typing .t-cmd::after { content: ""; display: inline-block; width: .55em; height: 1.1em; background: var(--accent); vertical-align: -.2em; animation: blink 1s steps(1) infinite; }

/* ticker */
.ticker { background: var(--bg-2); overflow: hidden; border-block: 1px solid var(--line); }
.ticker__track { display: flex; width: max-content; animation: slide 60s linear infinite; }
.ticker ul { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker li { display: flex; align-items: center; gap: 12px; padding: 20px 30px; font: 400 15px/1 var(--mono); color: var(--soft); white-space: nowrap; transition: color .2s; }
.ticker svg { width: 22px; height: 22px; fill: currentColor; flex: none; opacity: .85; transition: fill .2s, opacity .2s; }
.ticker li:hover { color: var(--text); }
.ticker li:hover svg { fill: var(--accent); opacity: 1; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* facts */
.facts { padding: clamp(56px, 8vw, 104px) 0; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fact { position: relative; padding: 26px 24px 24px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(180deg, var(--panel), var(--bg-2)); overflow: hidden; transition: border-color .3s, transform .35s var(--ease); }
.fact:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow-soft), 0 0 50px -20px var(--glow-2); }
.fact::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 36px; background: var(--fill); transition: width .5s var(--ease); }
.fact:hover::after { width: 100%; }
.fact__num { margin: 0; font: 600 clamp(1.9rem, 3vw, 2.8rem)/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fact__num small { font: 500 .45em var(--mono); margin-left: 4px; color: var(--accent); letter-spacing: 0; }
.fact__label { margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* work index */
.work { background: var(--bg-2); border-block: 1px solid var(--line); padding: clamp(72px, 9vw, 124px) 0; }
.work__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(36px, 5vw, 56px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 6px; background: transparent; color: var(--muted); font: 400 13px/1 var(--mono); cursor: pointer; transition: all .2s; }
.chip:hover { color: var(--text); border-color: var(--muted); }
.chip.is-on { background: var(--fill); color: var(--on-fill); border-color: var(--fill); }
.index { border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); }
.row[hidden] { display: none; }
.row summary { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 1fr) 52px 28px; gap: 20px; align-items: center; padding: 24px 12px; list-style: none; cursor: pointer; position: relative; transition: background .3s; }
.row summary::-webkit-details-marker { display: none; }
.row summary::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); transition: width .35s var(--ease); }
.row summary:hover { background: var(--panel); }
.row summary:hover::before, .row[open] summary::before { width: 2px; }
.row__name { font: 600 clamp(1.25rem, 1.9vw, 1.65rem)/1.15 var(--sans); letter-spacing: -.03em; transition: transform .35s var(--ease), color .2s; }
.row summary:hover .row__name, .row[open] .row__name { color: var(--accent); }
.row summary:hover .row__name { transform: translateX(8px); }
.row__what { color: var(--soft); font-size: 14.5px; }
.row__stack, .row__year { font: 400 12px/1.4 var(--mono); color: var(--muted); }
.row__year { text-align: right; }
.row__toggle { position: relative; width: 14px; height: 14px; justify-self: end; }
.row__toggle::before, .row__toggle::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: var(--text); transition: transform .35s var(--ease); }
.row__toggle::after { transform: rotate(90deg); }
.row[open] .row__toggle::after { transform: rotate(0); }
.row__body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); padding: 6px 12px 40px; animation: fade .5s var(--ease) both; }
.row__text p { margin: 0 0 18px; color: var(--soft); max-width: 60ch; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.tags li { padding: 5px 9px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--panel); font: 400 11.5px/1.2 var(--mono); color: var(--soft); }
.row .row__link { font: 400 12.5px/1.4 var(--mono); color: var(--muted); margin: 0; }
.row__link a { color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; }
.sample { margin: 0; align-self: start; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); overflow: hidden; box-shadow: var(--shadow-soft); }
.sample figcaption { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--panel); font: 400 11.5px/1.3 var(--mono); color: var(--muted); }
.sample figcaption::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--fill); box-shadow: 12px 0 0 var(--line-2), 24px 0 0 var(--line-2); margin-right: 28px; }
.sample pre { margin: 0; padding: 18px 16px; overflow-x: auto; font: 400 12.5px/1.65 var(--mono); color: var(--soft); tab-size: 2; }
.work__note { margin: 32px 0 0; max-width: 72ch; font: 400 13px/1.6 var(--mono); color: var(--muted); }
.work__note::before { content: "// "; color: var(--accent); }

/* now */
.now { padding: clamp(72px, 9vw, 124px) 0; }
.now__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); }
.now__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.now__list li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: baseline; padding: 22px 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); transition: border-color .3s; }
.now__list li:hover { border-color: var(--line-2); box-shadow: var(--shadow-soft); }
.now__tag { display: inline-flex; align-items: center; gap: 8px; font: 400 12px/1.6 var(--mono); color: var(--accent); }
.now__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.now__list p { margin: 0; font: 500 clamp(1.05rem, 1.5vw, 1.25rem)/1.4 var(--sans); letter-spacing: -.01em; }

/* about */
.about { background: var(--bg-2); border-block: 1px solid var(--line); padding: clamp(80px, 10vw, 136px) 0; }
.about__grid { display: grid; grid-template-columns: 1fr 2.4fr; gap: 32px; align-items: start; }
.about__big { margin: 0 0 32px; font: 600 clamp(1.8rem, 3.6vw, 3.1rem)/1.1 var(--sans); letter-spacing: -.04em; text-wrap: balance; }
.about__text p:not(.about__big) { max-width: 62ch; color: var(--soft); margin: 0 0 18px; font-size: 1.05rem; }

/* contact */
.contact { padding: clamp(88px, 11vw, 160px) 0 clamp(72px, 9vw, 120px); overflow: hidden; }
.contact__title { margin: 0; font: 600 clamp(2.8rem, 8vw, 7.4rem)/.95 var(--sans); letter-spacing: -.055em; }
.contact__mail { display: inline-flex; gap: 14px; align-items: center; margin-top: 44px; padding: 16px 22px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); font: 400 clamp(1rem, 2.2vw, 1.5rem)/1.2 var(--mono); text-decoration: none; transition: color .2s, border-color .2s, gap .3s var(--ease), box-shadow .3s; overflow-wrap: anywhere; }
.contact__mail:hover { color: var(--accent); border-color: var(--accent); gap: 22px; box-shadow: 0 0 0 5px var(--accent-dim); }
.contact__links { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 32px 0 0; padding: 0; list-style: none; }
.contact__links a { display: inline-block; padding: 14px 0; font: 400 14px/1 var(--mono); text-decoration: none; color: var(--muted); transition: color .2s; }
.contact__links a:hover { color: var(--accent); }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: clamp(56px, 7vw, 88px) 0 40px; }
.foot__name { margin: 0; font: 500 18px/1 var(--mono); }
.foot__tag { margin: 14px 0 24px; max-width: 34ch; color: var(--muted); font-size: 14.5px; }
.foot__h { margin: 0 0 16px; font: 400 12px/1 var(--mono); color: var(--accent); }
.foot__h::before { content: "// "; color: var(--muted); }
.foot__col { display: flex; flex-direction: column; align-items: flex-start; }
.foot__col a { padding: 7px 0; font-size: 14.5px; color: var(--soft); text-decoration: none; transition: color .2s, transform .25s var(--ease); }
.foot__col a:hover { color: var(--accent); transform: translateX(4px); }
.foot__giant { margin: 0; font: 700 clamp(3rem, 14.2vw, 13.6rem)/.8 var(--sans); letter-spacing: -.07em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--line-2); background: linear-gradient(180deg, var(--glow-2), transparent 70%); -webkit-background-clip: text; background-clip: text; user-select: none; transform: translateY(.1em); }
.foot__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; border-top: 1px solid var(--line); font: 400 12px/1.4 var(--mono); color: var(--muted); position: relative; background: var(--bg-2); }
.foot a { text-decoration: none; }
.foot__bar a:hover { color: var(--accent); }
.mobilebar { display: none; }


/* logo + header controls */
.mark { gap: 10px; }
.logo { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 0 14px var(--glow-2)); transition: transform .4s var(--ease); }
.mark:hover .logo { transform: rotate(-8deg) scale(1.05); }
.logo__tile { fill: var(--panel); stroke: var(--line-2); }
.logo__c { fill: none; stroke: var(--text); stroke-width: 3.4; stroke-linecap: round; }
.logo__cur { fill: var(--accent); animation: blink 1.1s steps(1) infinite; }
.theme { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; height: 36px; padding: 3px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--bg); cursor: pointer; font: 500 11.5px/1 var(--mono); transition: border-color .2s, box-shadow .25s; }
.theme::before { content: "$"; position: absolute; left: -16px; top: 50%; transform: translateY(-50%); font: 400 12px/1 var(--mono); color: var(--muted); }
.theme:hover { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-dim); }
.theme__opt { position: relative; z-index: 1; padding: 0 10px; line-height: 28px; text-align: center; color: var(--muted); transition: color .3s; }
.theme__knob { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 6px; background: var(--fill); box-shadow: 0 0 16px -2px var(--glow-2); transition: transform .45s var(--ease); }
[data-theme="dark"] .theme__opt--dark, [data-theme="light"] .theme__opt--light { color: var(--on-fill); }
[data-theme="light"] .theme__knob { transform: translateX(100%); }
.foot__name { display: flex; align-items: center; gap: 12px; }

/* section glow */
.svcs, .demo { position: relative; isolation: isolate; overflow: hidden; }
.svcs::before, .demo::before { content: ""; position: absolute; z-index: -1; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 62%); pointer-events: none; }
.svcs::before { left: -20%; top: -30%; }
.demo::before { right: -15%; top: 0; }

/* for businesses */
.svcs { padding: clamp(72px, 9vw, 124px) 0; border-top: 1px solid var(--line); }
.svcs__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.svcs__lede { margin: 22px 0 0; color: var(--soft); font-size: 1.08rem; max-width: 56ch; }
.svcs__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.svc { --mx: 50%; --my: 0%; position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 28px 26px; border: 1px solid var(--line); border-radius: 14px; background: radial-gradient(420px circle at var(--mx) var(--my), var(--glow), transparent 60%), linear-gradient(180deg, var(--panel), var(--bg-2)); text-decoration: none; overflow: hidden; transition: border-color .3s, transform .35s var(--ease), box-shadow .35s; }
.svc:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: var(--shadow-soft), 0 0 60px -24px var(--glow-2); }
.svc__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); box-shadow: 0 0 24px -6px var(--glow-2); }
.svc__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { margin: 10px 0 0; font: 600 clamp(1.25rem, 1.8vw, 1.5rem)/1.2 var(--sans); letter-spacing: -.025em; }
.svc p { margin: 0; color: var(--soft); max-width: 48ch; }
.svc__ex { margin-top: auto; padding-top: 14px; font: 400 12.5px/1.4 var(--mono); color: var(--muted); transition: color .2s; }
.svc:hover .svc__ex { color: var(--accent); }

@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes bounce { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }


/* stack */
.stack { position: relative; isolation: isolate; padding: clamp(72px, 9vw, 124px) 0; overflow: hidden; }
.stack::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 10%; width: 80vw; height: 60vw; max-width: 1100px; max-height: 800px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, var(--glow), transparent 62%); pointer-events: none; }
.stack__head { margin-bottom: clamp(32px, 4vw, 48px); }
.stack__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stack__card { --mx: 50%; --my: 0%; padding: 26px 24px; border: 1px solid var(--line); border-radius: 16px; background: radial-gradient(380px circle at var(--mx) var(--my), var(--glow), transparent 60%), linear-gradient(180deg, var(--panel), var(--bg-2)); transition: border-color .3s, box-shadow .35s; }
.stack__card:hover { border-color: var(--line-2); box-shadow: var(--shadow-soft), 0 0 60px -26px var(--glow-2); }
.stack__card--wide { grid-column: span 2; border-color: var(--line-2); box-shadow: 0 0 0 1px var(--accent-dim), 0 0 80px -40px var(--glow-2); }
.stack__card--wide .tools { grid-template-columns: repeat(2, 1fr); }
.stack__card--wide { display: flex; flex-direction: column; }
.stack__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: auto 0 0; padding: 16px 18px; border: 1px dashed var(--line-2); border-radius: 12px; background: var(--bg); font: 400 12.5px/1.5 var(--mono); color: var(--soft); }
.stack__card--wide .tools { margin-bottom: 20px; }
.stack__foot span { padding: 4px 8px; border-radius: 6px; background: var(--fill); color: var(--on-fill); font-weight: 500; }
.stack__h { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.stack__h::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--fill); box-shadow: 0 0 10px var(--glow-2); }
.tools { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.tools li { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 8px; border-radius: 10px; transition: background .2s, transform .25s var(--ease); }
.tools li:hover { background: var(--glass-2); transform: translateX(3px); }
.tool__ico { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); transition: box-shadow .25s, border-color .25s; }
.tools li:hover .tool__ico { border-color: var(--accent); box-shadow: 0 0 18px -4px var(--glow-2); }
.tool__ico .b { width: 20px; height: 20px; fill: var(--c, var(--text)); }
.tool__ico .g { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tool__name { font: 500 15px/1.2 var(--sans); }
.tool__note { font: 400 11.5px/1.3 var(--mono); color: var(--muted); }
@media (max-width: 1080px) { .stack__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .stack__grid { grid-template-columns: 1fr; } .stack__card--wide { grid-column: auto; } .stack__card--wide .tools { grid-template-columns: 1fr; } }


/* demo console */
.demo { padding: clamp(72px, 9vw, 124px) 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.demo__head { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.demo__text p { color: var(--soft); margin: 0 0 12px; max-width: 58ch; }
.console { position: relative; border: 1px solid var(--line-2); border-radius: 18px; background: var(--term-bg); box-shadow: var(--shadow), 0 0 140px -40px var(--glow-2), inset 0 1px 0 rgba(255, 255, 255, .04); overflow: hidden; }
.console::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, var(--glow-2), transparent 35%, transparent 65%, var(--glow-2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.console__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--glass-2); }
.console__dots { display: flex; gap: 6px; }
.console__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.console__dots i:first-child { background: var(--fill); box-shadow: 0 0 10px var(--glow-2); }
.console__bar b { font: 400 12px/1 var(--mono); color: var(--muted); }
.console__tabs { display: flex; gap: 4px; margin-left: auto; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); }
.ctab { min-height: 30px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font: 400 12px/1 var(--mono); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.ctab:hover { color: var(--text); }
.ctab.is-on { background: var(--fill); color: var(--on-fill); box-shadow: 0 0 16px -4px var(--glow-2); }
.console__live { display: inline-flex; align-items: center; gap: 6px; font: 400 11px/1 var(--mono); color: var(--accent); }
.console__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 10px rgba(255, 77, 77, .7); animation: blink 1.4s steps(1) infinite; }
.console__grid { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 440px; }
.console__foot { height: 3px; background: var(--line); }
.console__bar-fill { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, transparent, var(--fill)); box-shadow: 0 0 12px var(--glow-2); }

.convo { display: flex; flex-direction: column; border-right: 1px solid var(--line); background: radial-gradient(circle at 20% 0%, var(--glow), transparent 55%); }
.convo__head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.convo__head strong { display: block; font-size: 14.5px; }
.convo__head small { font: 400 11.5px/1 var(--mono); color: var(--accent); }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--panel-2), var(--line-2)); border: 1px solid var(--line-2); font: 600 14px/1 var(--sans); }
.convo__body { display: flex; flex-direction: column; gap: 14px; padding: 22px 18px; flex: 1; }
.convo__body > * { flex-shrink: 0; }
.bubble { position: relative; max-width: 82%; padding: 11px 14px 20px; border-radius: 14px; font-size: 15px; line-height: 1.45; animation: pop .45s var(--ease) both; }
.bubble time { position: absolute; right: 10px; bottom: 5px; font: 400 10.5px/1 var(--mono); opacity: .65; }
.bubble--in { align-self: flex-start; background: var(--panel); border: 1px solid var(--line-2); border-bottom-left-radius: 4px; padding-right: 54px; }
.bubble--out, .bubble--agent { align-self: flex-end; min-width: 220px; background: var(--fill); color: var(--on-fill); border-bottom-right-radius: 4px; box-shadow: 0 14px 34px -14px var(--glow-2); }
.bubble--agent { background: var(--panel-2); color: var(--text); border: 1px solid var(--line-2); box-shadow: var(--shadow-soft); }
.bubble--agent strong { display: block; margin-bottom: 8px; font: 500 12px/1 var(--mono); color: var(--accent); }
.sugg__lines { display: grid; gap: 7px; margin: 4px 0 2px; }
.sugg__lines i { display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, currentColor 0%, transparent 140%); opacity: .22; }
.sugg__lines i:nth-child(2) { width: 85%; }
.sugg__lines i:nth-child(3) { width: 60%; }
.bubble--out .sugg__lines i { opacity: .35; }
.sugg { align-self: flex-end; width: min(100%, 360px); padding: 16px; border: 1px solid var(--accent); border-radius: 14px; background: var(--bg); box-shadow: 0 0 0 4px var(--accent-dim), var(--shadow-soft); animation: pop .5s var(--ease) both; transition: opacity .4s, transform .4s var(--ease), max-height .5s var(--ease), padding .4s, margin .4s; max-height: 320px; overflow: hidden; }
.sugg.is-sent { opacity: 0; transform: scale(.96); max-height: 0; padding-block: 0; margin-block: -7px; border-width: 0; }
.sugg__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.sugg__top b { font: 600 13px/1 var(--mono); }
.sugg__tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 6px; background: var(--accent-dim); font: 500 11px/1 var(--mono); color: var(--accent); }
.sugg__tag::before { content: "✦"; }
.sugg p { margin: 0 0 10px; font-size: 13.5px; color: var(--soft); }
.sugg .sugg__lines { color: var(--text); margin-bottom: 12px; }
.sugg .sugg__lines i { background: linear-gradient(90deg, var(--line-2), var(--panel-2), var(--line-2)); background-size: 200% 100%; opacity: 1; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.sugg__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.sugg__chips span { padding: 3px 7px; border: 1px solid var(--line-2); border-radius: 5px; font: 400 11px/1.2 var(--mono); color: var(--muted); }
.sugg__actions { display: flex; gap: 8px; }
.sugg__btn { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 7px; font: 500 12.5px/1 var(--mono); color: var(--soft); transition: transform .15s, box-shadow .2s; }
.sugg__btn--go { border-color: var(--fill); background: var(--fill); color: var(--on-fill); box-shadow: 0 0 18px -6px var(--glow-2); }
.sugg__btn--go.is-press { transform: scale(.94); box-shadow: 0 0 0 6px var(--accent-dim); }
.notice { align-self: center; display: inline-flex; gap: 8px; align-items: center; padding: 7px 12px; border: 1px dashed var(--danger); border-radius: 999px; font: 400 12px/1.2 var(--mono); color: var(--soft); animation: pop .4s var(--ease) both; }
.notice b { color: var(--danger); font-weight: 600; }

.inspect { display: flex; flex-direction: column; gap: 16px; padding: 18px; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; background-position: -1px -1px; background-color: var(--bg); background-blend-mode: normal; }
.inspect__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 400 11.5px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.inspect__head code { padding: 5px 8px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--panel); color: var(--accent); text-transform: none; letter-spacing: 0; }
.pipe { position: relative; margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pipe::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--line-2); }
.pipe li { position: relative; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; padding: 9px 12px 9px 0; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); font-size: 14px; color: var(--muted); transition: border-color .3s, box-shadow .3s, color .3s, opacity .3s; }
.pipe li i { justify-self: center; position: relative; z-index: 1; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--bg); font: 700 11px/1 var(--mono); font-style: normal; }
.pipe li em { font: 400 11px/1 var(--mono); font-style: normal; color: var(--muted); }
.pipe li:not([class]) em, .pipe li.is-run em { opacity: 0; }
.pipe li em { transition: opacity .3s; }
.pipe li.is-run { color: var(--text); border-color: var(--accent); box-shadow: 0 0 22px -8px var(--glow-2); }
.pipe li.is-run i { border-color: var(--line-2); border-top-color: var(--accent); animation: spin .7s linear infinite; }
.pipe li.is-done { color: var(--text); }
.pipe li.is-done i { border-color: var(--fill); background: var(--fill); box-shadow: 0 0 12px var(--glow-2); }
.pipe li.is-done i::after { content: "✓"; color: var(--on-fill); }
.pipe li.is-done em { color: var(--accent); }
.pipe li.is-no, .pipe li.is-warn { color: var(--text); border-color: var(--danger); }
.pipe li.is-no i, .pipe li.is-warn i { border-color: var(--danger); background: var(--danger); }
.pipe li.is-no i::after { content: "✕"; color: #fff; }
.pipe li.is-warn i::after { content: "!"; color: #fff; }
.pipe li.is-no em, .pipe li.is-warn em { color: var(--danger); }
.pipe li.is-skip { opacity: .45; text-decoration: line-through; text-decoration-color: var(--muted); }
.json.is-wait { color: var(--muted); }
.json { margin: auto 0 0; min-height: 5.6em; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); font: 400 12.5px/1.6 var(--mono); color: var(--accent); white-space: pre-wrap; box-shadow: inset 0 0 30px -18px var(--glow-2); }
@media (max-width: 960px) {
  .demo__head { grid-template-columns: 1fr; }
  .console__grid { grid-template-columns: 1fr; }
  .convo { border-right: 0; border-bottom: 1px solid var(--line); min-height: 380px; }
}
@media (max-width: 640px) {
  .console__bar b, .console__live { display: none; }
  .console__tabs { margin-left: 0; }
  .bubble { max-width: 92%; }
}

.typing { align-self: flex-end; display: inline-flex; gap: 5px; padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); animation: pop .3s var(--ease) both; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: bounce 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }

/* more samples */
.more { position: relative; isolation: isolate; padding: clamp(72px, 9vw, 124px) 0; overflow: hidden; }
.more::before { content: ""; position: absolute; z-index: -1; left: -10%; bottom: -20%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 62%); pointer-events: none; }
.more__head { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: 32px; }
.more__lede { margin: 0; color: var(--soft); max-width: 56ch; }
.more__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.mtab { position: relative; display: grid; gap: 4px; padding: 16px 18px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--muted); text-align: left; cursor: pointer; overflow: hidden; transition: border-color .25s, color .25s, box-shadow .3s, transform .3s var(--ease); }
.mtab b { font: 600 16px/1.2 var(--sans); color: var(--text); letter-spacing: -.01em; }
.mtab small { font: 400 11.5px/1 var(--mono); }
.mtab:hover { border-color: var(--line-2); transform: translateY(-2px); }
.mtab.is-on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim), 0 18px 40px -24px var(--glow-2); color: var(--accent); }
.mtab__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--fill); box-shadow: 0 0 10px var(--glow-2); }
.mtab.is-on .mtab__bar { animation: tabfill var(--dur, 11s) linear forwards; }
@keyframes tabfill { to { width: 100%; } }
.more__badge { margin-left: auto; padding: 4px 8px; border: 1px dashed var(--line-2); border-radius: 6px; font: 400 11px/1 var(--mono); color: var(--muted); }
.mpane { min-height: 430px; padding: 22px; animation: fade .5s var(--ease) both; }
.mpane[hidden] { display: none; }

/* dashboard */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.kpi { display: grid; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.kpi__l { font: 400 12px/1 var(--mono); color: var(--muted); }
.kpi__v { font: 600 clamp(1.5rem, 2.4vw, 2rem)/1 var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpi__d { font: 400 12px/1 var(--mono); color: var(--accent); }
.kpi--ring { display: flex; align-items: center; gap: 16px; }
.kpi--ring > div { display: grid; gap: 6px; }
.kpi--ring svg { width: 64px; height: 64px; flex: none; transform: rotate(-90deg); }
.ring__bg, .ring__fg { fill: none; stroke-width: 5; }
.ring__bg { stroke: var(--line); }
.ring__fg { stroke: var(--fill); stroke-linecap: round; stroke-dasharray: 78 100; stroke-dashoffset: 0; filter: drop-shadow(0 0 4px var(--glow-2)); transition: stroke-dashoffset 1.4s var(--ease); }
.pane-dash.is-reset .ring__fg { stroke-dashoffset: 78; transition: none; }
.dash__row { display: grid; grid-template-columns: 1.7fr 1fr; gap: 14px; }
.bars { margin: 0; padding: 16px 18px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.bars figcaption { display: flex; justify-content: space-between; margin-bottom: 14px; font: 500 13px/1 var(--sans); }
.bars figcaption span { font: 400 11.5px/1 var(--mono); color: var(--muted); }
.bars__plot { position: relative; height: 200px; margin-left: 30px; border-bottom: 1px solid var(--line-2); }
.bars__grid { position: absolute; left: -30px; right: 0; bottom: var(--y); font: 400 10.5px/0 var(--mono); color: var(--muted); border-bottom: 1px dashed var(--line); }
.bars__cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; align-items: end; padding: 0 4px; }
.bars__cols span { position: relative; height: var(--h); margin: 0 18%; border-radius: 4px 4px 0 0; background: var(--fill); opacity: .55; transform-origin: bottom; transition: transform .9s var(--ease), opacity .2s; cursor: default; }
.bars__cols span.is-last { opacity: 1; box-shadow: 0 0 18px -2px var(--glow-2); }
.bars__cols span:hover { opacity: 1; }
.bars__cols span::after { content: attr(data-v); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); padding: 5px 8px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--bg); color: var(--text); font: 400 11px/1 var(--mono); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 2; }
.bars__cols span:hover::after { opacity: 1; }
.pane-dash.is-reset .bars__cols span { transform: scaleY(0); transition: none; }
.bars__cols span:nth-child(n) { transition-delay: calc(var(--i, 0) * 50ms); }
.bars__x { display: grid; grid-template-columns: repeat(12, 1fr); margin-left: 30px; padding: 8px 4px 0; font: 400 10.5px/1 var(--mono); color: var(--muted); text-align: center; }
.etl { display: flex; flex-direction: column; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.etl__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font: 400 11.5px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.etl__head code { padding: 4px 7px; border: 1px solid var(--line-2); border-radius: 5px; color: var(--accent); text-transform: none; letter-spacing: 0; }
.etl__log { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font: 400 12.5px/1.3 var(--mono); }
.etl__log li { display: grid; grid-template-columns: 44px 1fr auto; gap: 8px; padding: 8px 10px; border-radius: 8px; background: var(--panel); color: var(--soft); animation: pop .35s var(--ease) both; }
.etl__log time { color: var(--muted); }
.etl__log em { font-style: normal; color: var(--accent); }
.etl__log li.is-run em { color: var(--muted); }

/* kanban */
.kanban { display: grid; grid-template-columns: repeat(4, minmax(180px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.kcol { display: flex; flex-direction: column; gap: 10px; min-height: 320px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.kcol__h { display: flex; justify-content: space-between; align-items: center; font: 500 12.5px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.kcol__h b { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--panel); color: var(--text); font-weight: 500; }
.kcol[data-col="ganho"] .kcol__h b { background: var(--fill); color: var(--on-fill); }
.kcol__list { display: flex; flex-direction: column; gap: 8px; }
.kcard { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); box-shadow: var(--shadow-soft); animation: pop .45s var(--ease) both; }
.kcard strong { font: 500 14px/1.2 var(--sans); }
.kcard__t { justify-self: start; padding: 3px 7px; border-radius: 5px; background: var(--accent-dim); color: var(--accent); font: 500 10.5px/1.2 var(--mono); }
.kcard__m { display: flex; align-items: center; gap: 8px; font: 400 11px/1 var(--mono); color: var(--muted); }
.kcard__m i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--line-2); color: var(--text); font: 600 9.5px/1 var(--sans); font-style: normal; }
.kcard.is-hot { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim), 0 0 30px -10px var(--glow-2); }
.kfeed { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 14px; border: 1px dashed var(--line-2); border-radius: 10px; font: 400 12.5px/1.3 var(--mono); color: var(--soft); }
.kfeed::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--fill); box-shadow: 0 0 10px var(--glow-2); flex: none; }
.kfeed span { animation: fade .35s var(--ease) both; }

/* nota fiscal */
.nf { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 14px; align-items: stretch; }
.nf > div { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.nf__h { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 14px; font: 600 15px/1.2 var(--sans); }
.nf__h span { font: 400 11px/1 var(--mono); color: var(--muted); }
.nf__sale ul { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; }
.nf__sale li { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 8px; background: var(--bg); font-size: 14px; }
.nf__sale em { font: 400 12px/1.4 var(--mono); font-style: normal; color: var(--muted); }
.nf__route { display: flex; align-items: center; gap: 8px; margin: 0; font: 400 12px/1 var(--mono); color: var(--soft); }
.nf__route span { padding: 6px 8px; border: 1px solid var(--line-2); border-radius: 6px; }
.nf__route i { color: var(--accent); font-style: normal; }
.nf__engine { background: radial-gradient(circle at 50% 0%, var(--glow), transparent 60%), var(--panel) !important; }
.nf__taxes { margin: 0 0 14px; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nf__taxes li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); font: 500 13px/1.2 var(--mono); color: var(--muted); transition: border-color .3s, color .3s, box-shadow .3s; }
.nf__taxes li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; transition: all .3s; }
.nf__taxes li small { margin-left: auto; font: 400 10px/1 var(--mono); color: var(--accent); }
.nf__taxes li.is-on { border-color: var(--line-2); color: var(--text); }
.nf__taxes li.is-on::before { border-color: var(--fill); background: var(--fill); box-shadow: 0 0 10px var(--glow-2); }
.nf__money { margin: 0; font: 400 11.5px/1.5 var(--mono); color: var(--muted); }
.nf__money code { color: var(--accent); }
.nf__flow { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; counter-reset: s; }
.nf__flow li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); transition: color .3s; }
.nf__flow li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); font: 500 11px/1 var(--mono); transition: all .3s; }
.nf__flow li.is-on { color: var(--text); }
.nf__flow li.is-on::before { content: "✓"; border-color: var(--fill); background: var(--fill); color: var(--on-fill); }
.nf__stamp { display: grid; gap: 6px; padding: 14px; border: 2px solid var(--accent); border-radius: 10px; text-align: center; transform: rotate(-3deg) scale(.9); opacity: 0; transition: opacity .3s, transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.nf__stamp.is-on { opacity: 1; transform: rotate(-3deg) scale(1); box-shadow: 0 0 30px -10px var(--glow-2); }
.nf__stamp b { font: 700 18px/1 var(--mono); letter-spacing: .14em; color: var(--accent); }
.nf__stamp code { font: 400 11px/1.2 var(--mono); color: var(--muted); }
.nf__tests { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 14px; padding: 16px 18px; border: 1px dashed var(--line-2); border-radius: 12px; background: var(--bg); font: 400 13px/1.3 var(--mono); }
.nf__tests code { color: var(--text); }
.nf__tests span { color: var(--muted); }
.nf__tests b { margin-left: auto; padding: 5px 10px; border-radius: 6px; background: var(--fill); color: var(--on-fill); font-weight: 600; opacity: 0; transform: scale(.9); transition: opacity .3s, transform .4s var(--ease); }
.nf__tests.is-on b { opacity: 1; transform: none; box-shadow: 0 0 18px -4px var(--glow-2); }
@media (max-width: 960px) {
  .more__head { grid-template-columns: 1fr; }
  .dash__row, .nf { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi--ring { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .more__tabs { grid-template-columns: 1fr; }
  .mtab { padding: 12px 14px 14px; }
  .mpane { padding: 14px; }
  .kpis { grid-template-columns: 1fr; }
  .kanban { grid-template-columns: repeat(4, 200px); }
  .more__badge { display: none; }
}

.row__demo { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 9px 14px; border: 1px solid var(--accent); border-radius: 8px; background: var(--accent-dim); color: var(--accent); font: 500 13px/1 var(--mono); text-decoration: none; transition: background .2s, color .2s, box-shadow .25s, gap .25s var(--ease); }
.row__demo:hover { background: var(--fill); color: var(--on-fill); gap: 12px; box-shadow: 0 0 22px -6px var(--glow-2); }
.svc__ex { color: var(--accent); }
/* scroll reveal (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* legal */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font: 600 clamp(2.2rem, 5vw, 3.4rem)/1 var(--sans); letter-spacing: -.04em; margin: 0 0 10px; }
.legal h2 { font: 600 1.3rem/1.2 var(--sans); margin: 40px 0 8px; }
.legal p { color: var(--soft); }
.legal__date { font: 400 13px/1.4 var(--mono); color: var(--muted); }
.legal a { color: var(--accent); }

@media (max-width: 1080px) {
  .row summary { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr) 48px 24px; }
  .row__stack { display: none; }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__side { align-items: flex-start; }
  .row__body { grid-template-columns: 1fr; }
  .now__grid, .about__grid, .demo__grid { grid-template-columns: 1fr; }
  .svcs__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .top nav a { display: none; }
  .mark__txt { display: none; }
  .term__body { font-size: 11.5px; }
  .eyebrow { font-size: 11px; white-space: nowrap; }
  .row summary { grid-template-columns: 1fr auto 18px; gap: 6px 14px; padding: 20px 6px; }
  .row__year { grid-column: 2; grid-row: 1; }
  .row__toggle { grid-column: 3; grid-row: 1; }
  .row__what { grid-column: 1 / -1; font-size: 14px; }
  .row__body { padding: 4px 6px 32px; }
  .sample pre { font-size: 11.5px; }
  .facts__grid { grid-template-columns: 1fr; }
  .now__list li { grid-template-columns: 1fr; gap: 8px; }
  .foot__grid { grid-template-columns: 1fr; gap: 32px; }
  .mobilebar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; justify-content: center; align-items: center; min-height: 52px; border-radius: 10px; background: var(--fill); color: var(--on-fill); font: 500 14px/1 var(--mono); text-decoration: none; box-shadow: var(--shadow-soft); transition: transform .35s var(--ease), opacity .3s; }
  .mobilebar.is-hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__photo img { transform: none; }
  .term.is-typing .t-out { opacity: 1; }
}
