/* Layout: editorial asymmetry on a dark night field; one blue accent, cyan for small details, violet only in the hero light. */
:root {
  color-scheme: dark;
  --bg: #07080f;
  --surface: #0d1020;
  --surface-2: #141830;
  --blue: #3f78ff;
  --blue-2: #6d98ff;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --text: #eef0f8;
  --soft: #c3c9de;
  --muted: #98a0bd;
  --line: rgba(238, 240, 248, .1);
  --line-2: rgba(238, 240, 248, .18);
  --wa: #25d366;
  --wa-ink: #04140a;

  --display: "Unbounded", "Inter Tight", system-ui, sans-serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(1.1rem, 4.5vw, 4rem);
  --max: 1360px;
  --r: 10px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  interpolate-size: allow-keywords;
  --mx: 70%;
  --my: 40%;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); }
body { font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; line-height: 1.06; letter-spacing: -.02em; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label, html.has-cursor summary { cursor: none; }
  html.has-cursor input, html.has-cursor textarea { cursor: text; }
}

.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 10000; padding: .6rem 1rem; background: var(--text); color: var(--bg); border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Type */
.section { position: relative; padding: clamp(4.5rem, 10vw, 8.5rem) var(--gutter); max-width: var(--max); margin-inline: auto; }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.label { display: flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.8rem, 4.3vw, 3.6rem); max-width: 20ch; }
.h-xl { font-size: clamp(2.1rem, 5.4vw, 4.6rem); }
.h2 em, .hero-title em { font-style: normal; font-weight: 300; color: var(--blue-2); }
.lead { font-size: clamp(1.06rem, 1.45vw, 1.24rem); color: var(--soft); max-width: 54ch; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); animation: pulse 2.6s infinite; }

/* Buttons */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 52px; padding: .85rem 1.5rem; border-radius: var(--r); font-weight: 600; font-size: 1rem;
  overflow: hidden; isolation: isolate; text-align: center;
  transform: translate3d(var(--bx), var(--by), 0);
  transition: transform .5s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { color: #fff; background: var(--blue); }
.btn-primary:hover { background: var(--blue-2); color: var(--bg); }
.btn-line { border: 1px solid var(--line-2); }
.btn-line:hover { border-color: var(--text); }
.btn-wa { color: var(--wa-ink); background: var(--wa); }
.btn-wa:hover { background: #4be083; }
.btn-wa:hover svg { transform: none; }
.btn-block { width: 100%; }
.ripple { position: absolute; z-index: -1; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; pointer-events: none; background: rgba(255, 255, 255, .35); animation: ripple .7s var(--ease) forwards; }

/* Ambient + cursor */
.ambient { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .5; }
main, .footer { position: relative; z-index: 2; }
.cursor { position: fixed; inset: 0; z-index: 9997; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-ready { opacity: 1; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--text); }
.cursor-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid rgba(238, 240, 248, .4); display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), border-color .3s; }
.cursor.is-hover .cursor-ring { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-color: var(--cyan); }
.cursor-label { display: none; }
html.has-cursor dialog, html.has-cursor dialog * { cursor: auto; }
html.has-cursor dialog button, html.has-cursor dialog a { cursor: pointer; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 2rem;
  padding: calc(1rem + env(safe-area-inset-top, 0px)) var(--gutter) 1rem;
  border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s, padding .3s var(--ease);
}
.nav.is-scrolled { background: rgba(7, 8, 15, .92); border-color: var(--line); padding-block-end: .65rem; padding-top: calc(.65rem + env(safe-area-inset-top, 0px)); }
.nav-logo { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 700; font-size: 1rem; }
.nav-logo svg { width: 28px; height: 28px; transition: transform .8s var(--ease); }
.nav-logo:hover svg { transform: rotate(60deg); }
.nav-logo i, .footer-brand i { font-style: normal; color: var(--cyan); }
.nav-links { display: none; margin-left: auto; gap: 2rem; }
.nav-links a { position: relative; padding-block: .4rem; font-size: .95rem; color: var(--soft); transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--text); }
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { transform: scaleX(1); }
.nav-cta { display: none; min-height: 44px; padding: .5rem 1.1rem; font-size: .92rem; }
.nav-burger { margin-left: auto; width: 46px; height: 46px; display: grid; place-content: center; gap: 6px; border-radius: var(--r); border: 1px solid var(--line-2); }
.nav-burger span { width: 18px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.nav.is-open .nav-burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav.is-open .nav-burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.nav.is-open .nav-links { display: flex; position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 1rem; margin: 0; padding: var(--gutter); background: var(--bg); }
.nav.is-open .nav-links a { font-family: var(--display); font-size: 1.7rem; color: var(--text); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; gap: 2.5rem; padding: 7rem var(--gutter) 2rem; max-width: var(--max); margin-inline: auto; isolation: isolate; }
.hero-light { position: absolute; inset: -10% -30%; z-index: -2; pointer-events: none; background: radial-gradient(560px circle at var(--mx) var(--my), rgba(63, 120, 255, .2), transparent 65%), radial-gradient(420px circle at calc(var(--mx) + 12%) calc(var(--my) + 18%), rgba(139, 92, 246, .12), transparent 65%); }
.hero-core { position: absolute; z-index: -1; right: calc(var(--gutter) * -1); top: 3.5rem; width: min(68vw, 860px); height: min(84vh, 780px); }
.hero-copy { align-self: center; display: grid; gap: 1.5rem; justify-items: start; }
.hero-title { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 8.6vw, 5rem); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; max-width: 13ch; }
.hero-sub { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--soft); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-index { display: grid; border-top: 1px solid var(--line); }
.hero-index a { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); transition: color .25s, padding .4s var(--ease); }
.hero-index a:hover { color: var(--cyan); padding-left: .4rem; }
.hero-index b { font-family: var(--display); font-weight: 500; font-size: .95rem; }
.hero-index span { font-size: .85rem; color: var(--muted); text-align: right; }

/* About */
.about { display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about-card { position: relative; display: grid; align-content: end; aspect-ratio: 4 / 5; width: min(100%, 420px); padding: 1.4rem; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.about-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-mark { position: absolute; inset: 0 0 18%; display: grid; place-items: center; color: var(--line-2); }
.about-mark svg { width: 74%; }
.about-id { position: relative; display: grid; gap: .15rem; }
.about-id b { font-family: var(--display); font-weight: 500; font-size: 1.1rem; }
.about-id span { font-size: .9rem; color: var(--muted); }
.about-copy { display: grid; gap: 1.3rem; min-width: 0; }
.about-copy > p:last-child { color: var(--muted); max-width: 56ch; }

/* Services */
.service { display: grid; gap: clamp(1.8rem, 4vw, 4rem); align-items: center; padding-block: clamp(2rem, 4vw, 3.5rem); border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.service-body { display: grid; gap: 1.1rem; justify-items: start; min-width: 0; }
.service h3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.45rem, 2.7vw, 2.2rem); }
.service-body > p { color: var(--soft); max-width: 46ch; }
.stage { position: relative; aspect-ratio: 16 / 11; max-width: 100%; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; container-type: inline-size; }

/* Mockups (sized from the stage width, so they scale at every breakpoint) */
.mk-laptop { width: 80cqw; transition: transform .9s var(--ease); }
.service:hover .mk-laptop { transform: translateY(-1.2cqw); }
.mk-screen { border: .5cqw solid #20253f; border-bottom-width: .8cqw; border-radius: 1.4cqw 1.4cqw 0 0; background: #f4f5fa; overflow: hidden; color: #10132a; }
.mk-base { height: 1.7cqw; margin-inline: -5cqw; border-radius: 0 0 1.6cqw 1.6cqw; background: linear-gradient(#2a3050, #161a30); }
.mk-bar { display: flex; align-items: center; gap: .6cqw; padding: .9cqw 1.3cqw; background: #e4e6f0; }
.mk-bar i { width: 1cqw; height: 1cqw; border-radius: 50%; background: #b8bdd2; }
.mk-bar span { flex: 1; margin-left: 1cqw; padding: .25cqw 1.2cqw; border-radius: 1cqw; background: #fff; font: 1.25cqw var(--mono); color: #5b6280; }
.mk-site { padding: 1.6cqw 2.4cqw 2.4cqw; display: grid; gap: 1.6cqw; }
.mk-nav { display: flex; align-items: center; gap: 2cqw; font: 500 1.35cqw var(--sans); color: #5b6280; }
.mk-nav b { margin-right: auto; font: 700 1.5cqw var(--display); color: #10132a; }
.mk-hero { display: grid; gap: 1.5cqw; justify-items: start; padding: 3.4cqw; border-radius: 1cqw; background: #101638; color: #fff; }
.mk-hero p { font: 700 3.5cqw/1.1 var(--display); letter-spacing: -.02em; max-width: 15em; }
.mk-cta { padding: .7cqw 1.5cqw; border-radius: .6cqw; font: 600 1.35cqw var(--sans); background: var(--blue); }
.mk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqw; }
.mk-grid i { aspect-ratio: 16 / 9; border-radius: .8cqw; background: #dfe3f2; }
.mk-grid i:nth-child(2) { background: #c8d4fb; }

.stage-apps { display: block; }
.mk-win { position: absolute; left: 5cqw; top: 11%; width: 68cqw; border-radius: 1.2cqw; overflow: hidden; background: #f4f5fa; border: .3cqw solid #33395c; transition: transform .9s var(--ease); }
.service:hover .mk-win { transform: translateY(-1cqw); }
.mk-dash { display: grid; grid-template-columns: 11cqw minmax(0, 1fr); min-height: 34cqw; color: #10132a; }
.mk-side { display: grid; align-content: start; gap: 1.3cqw; padding: 2cqw 1.4cqw; background: #101638; }
.mk-side b { height: 2cqw; border-radius: .4cqw; background: var(--cyan); width: 60%; }
.mk-side i { height: 1.1cqw; border-radius: .4cqw; background: rgba(238, 240, 248, .25); }
.mk-main { display: grid; gap: 1.5cqw; align-content: start; padding: 2cqw; }
.mk-main svg { width: 100%; height: 13cqw; }
.mk-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1cqw; }
.mk-kpis span { padding: 1cqw; border-radius: .7cqw; background: #e4e6f0; }
.mk-kpis u { display: block; text-decoration: none; font: 500 1.15cqw var(--sans); color: #5b6280; }
.mk-kpis b { font: 700 2.1cqw var(--display); }
.mk-phone { position: absolute; width: 25cqw; aspect-ratio: 9 / 19; padding: 1cqw; border-radius: 4cqw; background: #1b2038; border: .3cqw solid #33395c; transition: transform .9s var(--ease); }
.mk-front { right: 5cqw; top: 8%; }
.service:hover .mk-front { transform: translateY(1cqw); }
.mk-app { height: 100%; display: flex; flex-direction: column; gap: 1.5cqw; padding: 3cqw 1.8cqw; border-radius: 3cqw; background: #0b0e1d; color: var(--text); overflow: hidden; }
.mk-title { font: 700 1.75cqw var(--display); }
.mk-rows { display: grid; gap: .8cqw; }
.mk-rows i { height: 1.8cqw; border-radius: .6cqw; background: #dfe3f2; }
.mk-msg { max-width: 88%; padding: .9cqw 1.2cqw; border-radius: 1.2cqw; font: 500 1.45cqw/1.35 var(--sans); background: var(--surface-2); }
.mk-msg.me { align-self: flex-end; background: var(--blue); color: #fff; }
.mk-slots { display: flex; gap: .6cqw; margin-top: auto; }
.mk-slots span { flex: 1; padding: .8cqw 0; border-radius: .7cqw; text-align: center; font: 500 1.25cqw var(--mono); border: 1px solid var(--line-2); }
.mk-slots .on { background: var(--cyan); color: #04141a; border-color: transparent; }

/* Game */
.stage-game { background: #05060d; }
.game { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-game.is-playing .game { touch-action: none; }
.game-hud { position: absolute; left: 1rem; right: 1rem; top: .8rem; display: flex; justify-content: space-between; font-family: var(--mono); font-size: .78rem; color: var(--muted); pointer-events: none; font-variant-numeric: tabular-nums; }
.game-hud b { color: var(--text); font-weight: 500; }
.game-over { position: relative; display: grid; gap: .8rem; justify-items: center; padding: 1rem; text-align: center; }
.game-over p { font-family: var(--display); font-weight: 500; font-size: clamp(.95rem, 2vw, 1.2rem); max-width: 22ch; }
.game-over small { font-size: .82rem; color: var(--muted); }
.stage-game.is-playing .game-over { display: none; }

/* FAQ */
.faq-list { display: grid; max-width: 880px; border-bottom: 1px solid var(--line); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; padding: 1rem 0; font-weight: 600; font-size: 1.08rem; list-style: none; transition: color .25s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font-family: var(--mono); font-size: 1.3rem; font-weight: 400; color: var(--cyan); transition: transform .4s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--blue-2); }
.faq-list p { padding-bottom: 1.3rem; color: var(--soft); max-width: 64ch; }

/* Contact */
.contact { display: grid; gap: 3rem; align-items: start; }
.contact-copy { display: grid; gap: 1.3rem; justify-items: start; min-width: 0; }
.contact-alt { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; color: var(--muted); overflow-wrap: anywhere; }
.contact-alt a { color: var(--text); border-bottom: 1px solid var(--line-2); }
.link-btn { min-height: 32px; font-size: .88rem; color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.form { display: grid; gap: 1rem; padding: clamp(1.2rem, 3vw, 2.2rem); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.field { position: relative; }
.field input, .field textarea { width: 100%; padding: 1.35rem 1rem .55rem; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg); outline: none; resize: vertical; transition: border-color .25s; }
.field textarea { min-height: 128px; }
.field label { position: absolute; left: 1rem; top: .95rem; color: var(--muted); pointer-events: none; transition: transform .3s var(--ease), color .25s; transform-origin: left; }
.field input:focus, .field textarea:focus { border-color: var(--cyan); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-.6rem) scale(.78); color: var(--cyan); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff8fa6; }
.field-choices { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.err { display: block; min-height: 0; margin-top: .3rem; font-size: .84rem; color: #ff8fa6; }
.err:empty { display: none; }
.field-choices legend { margin-bottom: .55rem; font-size: .88rem; color: var(--muted); }
.field-choices label { position: relative; }
.field-choices input { position: absolute; opacity: 0; pointer-events: none; }
.field-choices span { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem; border-radius: 8px; border: 1px solid var(--line-2); font-size: .94rem; transition: background-color .25s, border-color .25s; }
.field-choices input:checked + span { background: var(--blue); border-color: transparent; color: #fff; }
.field-choices input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.form-note { font-size: .86rem; color: var(--muted); text-align: center; }
.form-note.is-error { color: #ff8fa6; }

/* Footer */
.footer { padding: 3.5rem var(--gutter) calc(5.5rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); max-width: var(--max); margin-inline: auto; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2rem; }
.footer-h { margin-bottom: .35rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.footer-grid nav, .footer-contact, .footer-social { display: grid; gap: .35rem; align-content: start; }
.footer-grid a { display: inline-block; width: fit-content; padding-block: .25rem; color: var(--soft); overflow-wrap: anywhere; transition: color .25s; }
.footer-grid a:hover { color: var(--cyan); }
.footer-brand { font-family: var(--display); font-weight: 700; font-size: 1.3rem; }
.footer-tag { color: var(--muted); margin-top: .35rem; }
.footer-copy { padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }

/* WhatsApp float */
.wa-float { --bx: 0px; --by: 0px; position: fixed; left: calc(1rem + env(safe-area-inset-left, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: var(--wa-ink); transform: translate3d(var(--bx), var(--by), 0); transition: transform .5s var(--ease); }
.wa-float svg { width: 28px; height: 28px; }

/* Assistant */
.bot { position: fixed; right: calc(1rem + env(safe-area-inset-right, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 70; }
.bot-launch { position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); transition: transform .5s var(--ease); }
.bot-launch:hover { transform: scale(1.06); }
.bot-orb { position: relative; width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .9); display: grid; place-items: center; transition: opacity .3s, transform .4s var(--ease); }
.bot-orb i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: breathe 2.8s ease-in-out infinite; }
.bot-orb.sm { width: 32px; height: 32px; flex: none; background: var(--blue); border-color: rgba(255, 255, 255, .3); }
.bot-x { position: absolute; width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; opacity: 0; transform: rotate(-90deg); transition: opacity .3s, transform .4s var(--ease); }
.bot.is-open .bot-launch .bot-orb { opacity: 0; transform: scale(.5); }
.bot.is-open .bot-x { opacity: 1; transform: none; }
.bot-panel { position: absolute; right: 0; bottom: 72px; width: min(380px, calc(100vw - 2rem)); height: min(560px, calc(100svh - 110px)); display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 30px 80px -30px #000; transform-origin: bottom right; animation: panelIn .45s var(--ease); }
.bot-panel.is-closing { animation: panelOut .28s ease forwards; }
.bot-panel[hidden] { display: none; }
.bot-head { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
.bot-head b { display: block; font-family: var(--display); font-weight: 500; font-size: .9rem; }
.bot-head span { font-size: .76rem; color: #8ef0b5; }
.bot-head span.is-off { color: #ffc98a; }
.bot-wa { margin-left: auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: var(--wa-ink); }
.bot-wa svg { width: 20px; height: 20px; }
.bot-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .65rem; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: .7rem .9rem; border-radius: 12px; font-size: .94rem; line-height: 1.5; animation: msgIn .4s var(--ease); white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.ai { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 4px; }
.msg.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.msg.note { align-self: center; max-width: 100%; text-align: center; font-size: .84rem; color: var(--muted); padding: .2rem; }
.msg-wa { display: inline-flex; align-items: center; min-height: 40px; margin-top: .6rem; padding: .4rem .9rem; border-radius: 8px; background: var(--wa); color: var(--wa-ink); font-weight: 600; font-size: .87rem; }
.typing { display: inline-flex; gap: 4px; padding: .85rem 1rem; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.bot-quick { display: flex; gap: .4rem; padding: 0 1rem .7rem; overflow-x: auto; scrollbar-width: none; }
.bot-quick[hidden] { display: none; }
.bot-quick button { flex: none; min-height: 38px; padding: .3rem .8rem; border-radius: 8px; font-size: .84rem; border: 1px solid var(--line-2); color: var(--soft); transition: border-color .25s; }
.bot-quick button:hover { border-color: var(--cyan); }
.bot-form { display: flex; gap: .5rem; padding: .75rem; border-top: 1px solid var(--line); }
.bot-form input { flex: 1; min-width: 0; padding: .75rem .9rem; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg); outline: none; font-size: 1rem; }
.bot-form input:focus { border-color: var(--cyan); }
.bot-form button { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--blue); }
.bot-form button svg { width: 18px; height: 18px; fill: #fff; }
.bot-form button:disabled { opacity: .5; }

/* ===== Version 3 ===== */
body.menu-open, body.demo-open, body.game-max { overflow: hidden; }
.upper { text-transform: uppercase; }
h4 { font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Studio values */
.values { display: grid; gap: 0 2rem; margin-top: .5rem; }
.values div { padding: .85rem 0; border-top: 1px solid var(--line); }
.values dt { font-weight: 600; }
.values dd { margin: .15rem 0 0; color: var(--muted); font-size: .97rem; }

/* Lists shared by services, plans and projects */
.checks { display: grid; gap: .35rem; }
.checks li { position: relative; padding-left: 1.3rem; color: var(--soft); font-size: .96rem; line-height: 1.4; }
.checks li::before { content: ""; position: absolute; left: 0; top: .42em; width: .62em; height: .34em; border-left: 1.5px solid var(--cyan); border-bottom: 1.5px solid var(--cyan); transform: rotate(-45deg); }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.chips li { padding: .2rem .55rem; border-radius: 6px; font-size: .84rem; color: var(--soft); background: var(--surface-2); }
.service-cols { display: grid; gap: 1.2rem; width: 100%; }
.service-cols h4 { margin-bottom: .6rem; }
.service-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Game */
.game-hud { justify-content: flex-start; flex-wrap: wrap; gap: .1rem 1rem; right: 9rem; }
.game-tools { position: absolute; right: .55rem; top: .45rem; display: flex; gap: .3rem; }
.game-tools button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; color: var(--soft); background: rgba(13, 16, 32, .8); transition: color .25s; }
.game-tools button:hover { color: var(--cyan); }
.game-tools svg { width: 20px; height: 20px; }
.game-tools .game-mute { display: none; }
.game-tools .is-off .game-mute { display: block; }
.game-tools .is-off .game-wave { display: none; }
.game-help { display: grid; gap: .25rem; text-align: left; font-size: .86rem; color: var(--soft); max-width: 34ch; }
.game-help b { display: inline-block; min-width: 6.2em; font-family: var(--mono); font-size: .72rem; font-weight: 500; color: var(--cyan); }
.stage-game { min-height: 380px; }
.stage-game .game-over { max-width: min(92%, 420px); padding: 1.1rem; border-radius: var(--r); background: rgba(7, 8, 15, .68); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.stage-game.is-max { position: fixed; inset: 0; z-index: 200; border: 0; border-radius: 0; aspect-ratio: auto; max-width: none; padding-bottom: env(safe-area-inset-bottom, 0px); }
body.game-max .nav, body.game-max .wa-float, body.game-max .bot { display: none; }
html.js [data-reveal]:has(.is-max) { transform: none; transition: none; }

/* Portfolio */
.work-head { display: grid; gap: 1.4rem; }
.filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.filters button { min-height: 44px; padding: .4rem 1rem; border-radius: 8px; border: 1px solid var(--line-2); font-size: .94rem; color: var(--soft); transition: background-color .25s, color .25s, border-color .25s; }
.filters button:hover { border-color: var(--text); }
.filters button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.work-grid { display: grid; gap: 1.4rem; }
.project { display: grid; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s; }
.project:hover { border-color: var(--line-2); }
.cover { aspect-ratio: 16 / 9; border: 0; border-radius: 0; background: #0a0d1b; border-bottom: 1px solid var(--line); }
.cover > * { transition: transform .9s var(--ease); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.project:hover .cover > * { transform: scale(1.04); }
.cv-art { width: 100%; height: 100%; }
.cv-shop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; width: 66cqw; }
.cv-shop span { aspect-ratio: 4 / 3; border-radius: 1cqw; background: var(--surface-2); border: 1px solid var(--line); }
.cv-shop span:nth-child(2) { background: var(--blue); }
.cv-dash { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; width: 70cqw; }
.cv-dash i { height: 9cqw; border-radius: 1cqw; background: var(--surface-2); }
.cv-dash b { grid-column: span 3; height: 20cqw; border-radius: 1cqw; background: linear-gradient(to top right, var(--surface-2) 49.5%, transparent 50%), var(--surface); border-bottom: 2px solid var(--blue); }
.cv-chat { display: grid; gap: 1.6cqw; width: 62cqw; }
.cv-chat p { width: fit-content; padding: 1.4cqw 2.4cqw; border-radius: 1.6cqw; font-size: 3.2cqw; background: var(--surface-2); }
.cv-chat .me { justify-self: end; background: var(--blue); color: #fff; }
.project-body { display: grid; gap: .7rem; justify-items: start; align-content: start; padding: 1.3rem; }
.project-body h3 { font-family: var(--display); font-weight: 500; font-size: 1.3rem; }
.project-body > p:not(.project-meta):not(.project-tech) { color: var(--soft); }
.project-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; font-size: .86rem; color: var(--muted); }
.badge { padding: .12rem .5rem; border-radius: 5px; font-family: var(--mono); font-size: .72rem; color: #ffd591; border: 1px solid rgba(255, 213, 145, .45); }
.badge-real { color: var(--cyan); border-color: rgba(34, 211, 238, .45); }
.project-tech { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.project .btn { margin-top: .3rem; }

/* Technology */
.tech-grid { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.tech-grid > section { padding: 1.3rem 1.3rem 1.3rem 0; background: var(--bg); }
.tech-grid h3 { margin-bottom: .75rem; font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tech-grid ul { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; }
.tech-grid li { position: relative; display: flex; align-items: center; gap: .5rem; color: var(--soft); }
.tech-grid svg { width: 22px; height: 22px; flex: none; color: var(--text); }
.tech-grid li.on::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

/* Line icons: the symbols do not inherit stroke from their sprite group */
.why-grid svg, .step-n svg, .game-tools svg, .tech-grid svg:has(use[href^="#i-"]) { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Why */
.why-grid { display: grid; gap: 1rem; }
.why-grid li { display: grid; gap: .6rem; align-content: start; padding: 1.5rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .5s var(--ease); }
.why-grid li:hover { border-color: var(--line-2); transform: translateY(-3px); }
.why-grid svg { width: 28px; height: 28px; color: var(--cyan); }
.why-grid h3 { font-family: var(--display); font-weight: 500; font-size: 1.02rem; line-height: 1.25; }
.why-grid p { color: var(--muted); font-size: .97rem; }

/* Process */
.steps { position: relative; display: grid; gap: 0; }
.steps li { position: relative; display: grid; gap: .35rem; align-content: start; padding: 0 0 2rem 4rem; }
.steps li::before { content: ""; position: absolute; left: 1.35rem; top: 2.8rem; bottom: 0; width: 1px; background: var(--line-2); }
.steps li:last-child::before { display: none; }
.step-n { position: absolute; left: 0; top: 0; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 50%; color: var(--cyan); background: var(--surface); border: 1px solid var(--line-2); }
.step-n svg { width: 20px; height: 20px; }
.step-k { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.steps h3 { font-family: var(--display); font-weight: 500; font-size: 1.15rem; }
.steps p:not(.step-k):not(.step-d) { color: var(--soft); font-size: .98rem; max-width: 42ch; }
.step-d { margin-top: .3rem; font-size: .9rem; color: var(--soft); }
.step-d b { display: block; font-family: var(--mono); font-size: .72rem; font-weight: 500; color: var(--cyan); }

/* Plans */
.plan-grid { display: grid; gap: 1rem; }
.plan { display: flex; flex-direction: column; gap: .7rem; padding: 1.5rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s; }
.plan:hover { border-color: var(--line-2); }
.plan h3 { font-family: var(--display); font-weight: 500; font-size: 1.25rem; }
.plan > p:nth-of-type(1) { color: var(--soft); }
.plan-for { font-size: .92rem; color: var(--soft); }
.plan-for b { display: block; font-family: var(--mono); font-size: .72rem; font-weight: 500; color: var(--cyan); }
.plan h4 { margin-top: .5rem; }
.plan-price { margin-top: auto; padding-top: 1rem; font-family: var(--display); font-weight: 500; font-size: 1rem; }

/* FAQ transitions */
.faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }

/* Form preview */
.form-preview { display: grid; gap: .7rem; padding-top: .6rem; border-top: 1px solid var(--line); }
.form-preview pre { max-height: 220px; overflow: auto; padding: .9rem; border-radius: 8px; font-family: var(--sans); font-size: .94rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--soft); background: var(--bg); border: 1px solid var(--line); }

/* Footer */
.footer-copy .link-btn { margin-left: .4rem; }

/* Dialogs */
dialog { color: var(--text); }
dialog::backdrop { background: rgba(4, 5, 10, .8); }
.demo { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: var(--bg); }
.demo[open] { display: flex; flex-direction: column; }
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: calc(.8rem + env(safe-area-inset-top, 0px)) var(--gutter) .8rem; border-bottom: 1px solid var(--line); }
.demo-head h2 { font-family: var(--display); font-weight: 500; font-size: 1.1rem; }
.demo-head p { font-size: .84rem; color: #ffd591; }
.demo-close { flex: none; width: 46px; height: 46px; border-radius: 8px; border: 1px solid var(--line-2); }
.demo-close:hover { border-color: var(--text); }
.demo-root { flex: 1; min-height: 0; overflow: auto; padding: 1.2rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
.privacy { width: min(620px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); margin: auto; padding: 1.6rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-2); overflow: auto; }
.privacy[open] { display: grid; gap: .8rem; }
.privacy h2 { font-family: var(--display); font-weight: 500; font-size: 1.2rem; }
.privacy p { color: var(--soft); font-size: .96rem; }
.privacy .btn { justify-self: start; }

/* Store demo */
.st { display: grid; gap: 1.4rem; max-width: 1280px; margin-inline: auto; }
.st-main { min-width: 0; display: grid; gap: .9rem; align-content: start; }
.st-tools, .pn-tools { display: flex; flex-wrap: wrap; gap: .6rem; }
.st-tools input, .st-tools select, .pn-tools input, .pn-tools select { min-height: 46px; padding: .5rem .8rem; border-radius: 8px; border: 1px solid var(--line-2); color: var(--text); background: var(--surface); font: inherit; }
.st-tools input, .pn-tools input { flex: 1 1 200px; min-width: 0; }
.st-cats { display: flex; flex-wrap: wrap; gap: .4rem; }
.st-cats button { min-height: 42px; padding: .3rem .9rem; border-radius: 8px; border: 1px solid var(--line-2); color: var(--soft); }
.st-cats button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.st-count { font-size: .88rem; color: var(--muted); }
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: .9rem; }
.st-card { display: grid; gap: .3rem; align-content: start; padding: .8rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s; }
.st-card:hover { border-color: var(--line-2); }
.st-art { display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: .4rem; border-radius: 8px; background: var(--surface-2); }
.st-art svg { width: 56%; fill: none; stroke: var(--blue-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-cat { font-size: .78rem; color: var(--muted); }
.st-card h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text); }
.st-price { font-weight: 600; font-variant-numeric: tabular-nums; margin-bottom: .4rem; }
.st-price small { font-weight: 400; font-size: .74rem; color: #ffd591; }
.st-card .btn { min-height: 44px; padding: .4rem; font-size: .94rem; }
.st-empty { color: var(--muted); }
.st-cart { display: grid; gap: .8rem; align-content: start; padding: 1.1rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.st-cart h3 { display: flex; justify-content: space-between; font-family: var(--display); font-weight: 500; font-size: 1.05rem; }
.st-lines { display: grid; gap: .7rem; }
.st-line { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.st-line b { display: block; font-size: .95rem; font-weight: 500; }
.st-line div > span { font-size: .86rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.st-qty { display: flex; align-items: center; gap: .35rem; }
.st-qty button { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line-2); font-size: 1.1rem; }
.st-qty span { min-width: 1.4em; text-align: center; color: var(--text); }
.st-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: .7rem; border-top: 1px solid var(--line); }
.st-total b { font-family: var(--display); font-weight: 500; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.st-cart .btn:disabled { opacity: .6; cursor: not-allowed; }
.st-filter-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; }
.st-range { display: grid; gap: .1rem; min-width: 180px; font-size: .86rem; color: var(--muted); }
.st-range b { color: var(--text); font-variant-numeric: tabular-nums; }
.st-range input { width: 100%; accent-color: var(--cyan); }
.st-card { position: relative; animation: stIn .45s var(--ease) both; animation-delay: calc(var(--i) * 30ms); transition: border-color .3s, transform .35s var(--ease); }
.st-card:hover { transform: translateY(-3px); }
.st-art { width: 100%; padding: 0; cursor: zoom-in; transition: background-color .3s; }
.st-art:hover { background: #1c2245; }
.st-art svg { transition: transform .45s var(--ease); }
.st-art:hover svg { transform: scale(1.1) rotate(-3deg); }
.st-fav { position: absolute; right: 1rem; top: 1rem; z-index: 1; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); background: rgba(7, 8, 15, .7); transition: color .2s, transform .3s var(--ease); }
.st-fav:active { transform: scale(1.3); }
.st-fav[aria-pressed="true"] { color: #ff6f91; }
.st-cat em { margin-left: .3rem; font-style: normal; color: #ffc15e; }
.st-stars { position: relative; display: inline-block; width: 5.2em; height: 1em; font-size: .82rem; line-height: 1; color: var(--line-2); }
.st-stars::before { content: "★★★★★"; letter-spacing: .04em; }
.st-stars i { position: absolute; left: 0; top: 0; width: var(--p); overflow: hidden; white-space: nowrap; color: #ffc15e; }
.st-stars i::before { content: "★★★★★"; letter-spacing: .04em; font-style: normal; }
.st-cart h3 span { display: inline-grid; place-items: center; min-width: 1.8em; border-radius: 999px; font-size: .8em; color: var(--bg); background: var(--cyan); }
.st-cart h3 span.is-bump { animation: stBump .4s var(--ease); }
.st-free { display: grid; gap: .3rem; font-size: .86rem; color: var(--soft); }
.st-free i { display: block; height: 6px; border-radius: 3px; overflow: hidden; background: var(--surface-2); }
.st-free b { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .5s var(--ease); }
.st-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.st-line > div:nth-child(2) { flex: 1; min-width: 0; }
.st-coupon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem; }
.st-coupon input { min-width: 0; min-height: 44px; padding: .4rem .7rem; border-radius: 8px; border: 1px solid var(--line-2); color: var(--text); background: var(--bg); font: inherit; text-transform: uppercase; }
.st-coupon input::placeholder { text-transform: none; }
.st-coupon .btn { min-height: 44px; padding: .3rem .8rem; }
.st-sum { display: grid; gap: .2rem; font-size: .92rem; color: var(--soft); }
.st-sum div { display: flex; justify-content: space-between; gap: 1rem; }
.st-sum dd { margin: 0; font-variant-numeric: tabular-nums; }
.st-fab { position: sticky; bottom: .6rem; z-index: 3; justify-self: center; min-height: 48px; padding: .4rem 1.2rem; border-radius: 999px; font-weight: 600; color: var(--bg); background: var(--cyan); box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .8); }
.st-fly { position: fixed; z-index: 30; margin: 0; fill: none; stroke: var(--cyan); stroke-width: 2; pointer-events: none; }
.st-sheet { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 1rem; background: rgba(4, 5, 12, .72); animation: stFade .25s ease; }
.st-sheet-box, .pn-drawer-box { position: relative; display: grid; gap: .7rem; width: min(760px, 100%); max-height: calc(100dvh - 2rem); padding: 1.3rem; overflow: auto; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); animation: stUp .4s var(--ease); }
.st-sheet-box:focus, .pn-drawer-box:focus { outline: none; }
.st-x { position: absolute; right: .6rem; top: .6rem; z-index: 1; width: 42px; height: 42px; border-radius: 8px; color: var(--soft); background: var(--surface-2); }
.st-detail { display: grid; gap: 1.2rem; }
.st-hero { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 10px; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--tint) 26%, transparent), var(--surface-2) 70%); transition: background .4s; }
.st-hero svg { width: 56%; fill: none; stroke: var(--tint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.st-info { display: grid; gap: .5rem; align-content: start; min-width: 0; }
.st-info h3, .st-sheet-box > h3 { font-family: var(--display); font-weight: 500; font-size: 1.2rem; }
.st-info > p:not(.st-cat):not(.st-price) { color: var(--soft); }
.st-colors { display: flex; flex-wrap: wrap; gap: .4rem; border: 0; padding: 0; }
.st-colors legend { width: 100%; margin-bottom: .3rem; font-size: .84rem; color: var(--muted); }
.st-colors button { width: 40px; height: 40px; border-radius: 50%; background: var(--c); border: 3px solid var(--surface); outline: 2px solid transparent; }
.st-colors button[aria-pressed="true"] { outline-color: var(--text); }
.st-steps { display: flex; gap: .3rem; padding-right: 3rem; font-size: .84rem; color: var(--muted); }
.st-steps li { flex: 1; padding-top: .35rem; border-top: 3px solid var(--surface-2); }
.st-steps .is-done { border-color: var(--cyan); }
.st-steps .is-now { border-color: var(--blue); color: var(--text); }
.st-note { font-size: .86rem; color: #ffd591; }
.st-form { display: grid; gap: .8rem; }
.st-form > label { display: grid; gap: .25rem; font-size: .92rem; }
.st-form input[type="text"] { min-height: 46px; padding: .4rem .7rem; border-radius: 8px; border: 1px solid var(--line-2); color: var(--text); background: var(--bg); font: inherit; }
.st-form fieldset { display: grid; gap: .4rem; border: 0; padding: 0; }
.st-form fieldset label { display: flex; align-items: center; gap: .6rem; min-height: 46px; padding: .3rem .7rem; border-radius: 8px; border: 1px solid var(--line-2); cursor: pointer; }
.st-form small { display: block; color: var(--muted); }
.st-done { display: grid; gap: .7rem; justify-items: center; padding-block: .6rem; text-align: center; }
.st-done svg { width: 76px; fill: none; stroke: #3ee08f; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; animation: stBump .6s var(--ease); }
.st-done h3 { font-family: var(--display); font-weight: 500; font-size: 1.2rem; }
.st-done p { color: var(--soft); }
.demo-toasts { position: fixed; left: 50%; bottom: 4.6rem; z-index: 40; display: grid; gap: .4rem; justify-items: center; width: min(420px, calc(100% - 2rem)); transform: translateX(-50%); pointer-events: none; }
.demo-toasts p { padding: .5rem .9rem; border-radius: 8px; font-size: .92rem; color: var(--text); background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 10px 28px -12px #000; animation: stUp .35s var(--ease); }
@keyframes stIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes stUp { from { opacity: 0; transform: translateY(14px); } }
@keyframes stFade { from { opacity: 0; } }
@keyframes stBump { 40% { transform: scale(1.35); } }
.st-cart small { font-size: .82rem; color: var(--muted); }

/* Panel demo */
.pn { display: grid; gap: 1.2rem; max-width: 1280px; margin-inline: auto; }
.pn-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.pn-live { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .3rem .9rem; border-radius: 999px; font-size: .92rem; color: var(--soft); border: 1px solid var(--line-2); }
.pn-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.pn-live[aria-pressed="true"] i { background: #3ee08f; animation: pnPulse 1.6s infinite; }
.pn-filters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.pn-filters > div { display: flex; gap: .2rem; padding: .2rem; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.pn-filters button { min-height: 40px; padding: .2rem .8rem; border-radius: 6px; font-size: .9rem; color: var(--soft); }
.pn-filters button[aria-pressed="true"] { color: var(--bg); background: var(--text); }
.pn-kpis small { display: block; margin-top: .15rem; font-size: .78rem; }
.pn-kpis .up { color: #3ee08f; }
.pn-kpis .down { color: #ff8f7a; }
.pn-now { animation: pnPulse 1.6s infinite; }
.pn-donut { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: .8rem; align-items: center; }
.pn-donut svg circle { transition: stroke-dasharray .5s; }
.pn-donut-n { font: 600 22px var(--mono); fill: var(--text); }
.pn-donut button { display: flex; align-items: center; gap: .45rem; width: 100%; min-height: 36px; font-size: .9rem; color: var(--soft); }
.pn-donut button:hover { color: var(--text); }
.pn-donut i { width: 10px; height: 10px; border-radius: 50%; }
.pn-donut b { margin-left: auto; font-weight: 500; color: var(--text); }
.pn-drawer { position: fixed; inset: 0; z-index: 20; display: grid; justify-items: end; background: rgba(4, 5, 12, .6); animation: stFade .25s ease; }
.pn-drawer-box { width: min(380px, 100%); height: 100%; max-height: none; align-content: start; border-radius: 0; border-width: 0 0 0 1px; }
.pn-drawer-box h3 { font-family: var(--display); font-weight: 500; font-size: 1.1rem; }
.pn-drawer-box p { color: var(--soft); }
.pn-big { font-family: var(--display); font-size: 1.5rem; color: var(--text) !important; font-variant-numeric: tabular-nums; }
.pn-track { display: grid; gap: .5rem; margin-block: .4rem; }
.pn-track li { position: relative; padding-left: 1.6rem; color: var(--muted); }
.pn-track li::before { content: ""; position: absolute; left: 0; top: .32em; width: 12px; height: 12px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--line-2); }
.pn-track .is-done { color: var(--text); }
.pn-track .is-done::before { background: var(--cyan); border-color: var(--cyan); }
.pn-table td button { min-height: 36px; font-weight: 600; color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.pn-table tr.is-new td { animation: pnRow 1.4s ease; }
@keyframes pnPulse { 50% { opacity: .35; } }
@keyframes pnRow { from { background: rgba(34, 211, 238, .22); } }
.pn-nav { display: flex; gap: .3rem; overflow-x: auto; }
.pn-nav button { flex: none; min-height: 44px; padding: .4rem 1rem; border-radius: 8px; color: var(--soft); }
.pn-nav button[aria-current="true"] { background: var(--surface-2); color: var(--text); }
.pn-view { display: grid; gap: 1rem; min-width: 0; align-content: start; }
.pn-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.pn-kpis div { padding: 1rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.pn-kpis span { display: block; font-size: .84rem; color: var(--muted); }
.pn-kpis b { font-family: var(--display); font-weight: 500; font-size: clamp(1.1rem, 2.4vw, 1.6rem); font-variant-numeric: tabular-nums; }
.pn-cols { display: grid; gap: 1rem; min-width: 0; }
.pn-card { min-width: 0; padding: 1.1rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.pn-card h3 { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.pn-card > p { font-size: .84rem; color: var(--muted); margin-bottom: .7rem; }
.chart { position: relative; min-width: 0; }
.chart svg { display: block; max-width: none; touch-action: pan-y; }
.chart .ax { font: 11px var(--mono); fill: var(--muted); }
.tip { position: absolute; padding: .35rem .6rem; border-radius: 6px; font-size: .8rem; white-space: nowrap; pointer-events: none; color: var(--soft); background: var(--surface-2); border: 1px solid var(--line-2); }
.tip b { display: block; color: var(--text); font-variant-numeric: tabular-nums; }
.bars { display: grid; gap: .7rem; margin-top: .4rem; }
.bars button { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr) 2.2rem; align-items: center; gap: .5rem; width: 100%; min-height: 34px; font-size: .9rem; color: var(--soft); }
.bars button:hover { color: var(--text); }
.bars i { display: block; height: 10px; width: var(--w); border-radius: 0 4px 4px 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .6s var(--ease); }
.bars b { font-weight: 500; text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.pn-log { display: grid; gap: .55rem; margin-top: .5rem; font-size: .92rem; color: var(--soft); }
.pn-log span { display: block; font-size: .78rem; color: var(--muted); }
.pn-table { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); }
.pn-table table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .93rem; }
.pn-table th, .pn-table td { padding: .7rem .9rem; text-align: left; border-bottom: 1px solid var(--line); }
.pn-table th { font-size: .8rem; font-weight: 500; color: var(--muted); background: var(--surface); }
.pn-table th button { color: inherit; font-weight: 500; }
.pn-table .num { font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; gap: .35rem; font-size: .84rem; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.pill-ok i { background: #3ee08f; }
.pill-road i { background: var(--cyan); }
.pill-wait i { background: #ffc15e; }

.lv { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: .7rem; height: 100%; min-height: 0; max-width: 1400px; margin-inline: auto; }
.lv-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .8rem; }
.lv-tools > div { display: flex; gap: .2rem; padding: .2rem; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.lv-tools button { min-height: 40px; padding: .2rem .8rem; border-radius: 6px; font-size: .9rem; color: var(--soft); }
.lv-tools button[aria-pressed="true"] { color: var(--bg); background: var(--text); }
.lv-tools a { display: inline-flex; align-items: center; min-height: 40px; font-size: .92rem; color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.lv-stage { display: grid; justify-items: center; min-height: 0; }
.lv-frame { position: relative; width: 100%; max-width: 100%; height: 100%; min-height: 420px; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line-2); transition: max-width .45s var(--ease); }
.lv-frame p { position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; text-align: center; color: #1b2420; }
.lv-frame iframe { position: relative; display: block; width: 100%; height: 100%; border: 0; }
.demo[data-current="ar"] .demo-root { display: flex; flex-direction: column; overflow: hidden; }
.demo[data-current="ar"] .lv { flex: 1; width: 100%; }

@media (min-width: 620px) {
  .st-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 900px) {
  .st-fab { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .st-card, .st-sheet-box, .pn-drawer-box, .demo-toasts p, .st-sheet, .pn-drawer { animation: none; }
  .pn-live[aria-pressed="true"] i, .pn-now { animation: none; }
}

@media (max-width: 1199px) {
  .hero { padding-bottom: 5.5rem; }
}
@media (min-width: 540px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .tech-grid::after { content: ""; grid-column: 2 / -1; background: var(--bg); }
  .tech-grid > section:nth-child(even) { padding-left: 1.3rem; }
  .values { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }
  .pn-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pn-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pn-wide { grid-column: span 2; }
  .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .service-cols { grid-template-columns: 1fr; }
  .work-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .st { grid-template-columns: minmax(0, 1fr) 320px; }
  .st-cart { position: sticky; top: 0; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .tech-grid > section:nth-child(even) { padding-left: 0; }
  .tech-grid > section:not(:nth-child(3n+1)) { padding-left: 1.3rem; }
  .steps { grid-template-columns: repeat(4, 1fr); column-gap: 1.6rem; }
  .steps li { padding: 3.6rem 0 0; }
  .steps li::before { left: 3.2rem; right: -1.6rem; top: 1.37rem; bottom: auto; width: auto; height: 1px; }
}
@media (min-width: 1200px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-burger { display: none; }
  .nav-cta { margin-left: 0; }
  .nav { gap: 1.5rem; }
  .nav-links { gap: 1.3rem; }
  .nav-links a { font-size: .9rem; }
  .work-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Entrance: everything stays readable before it animates */
html.js [data-reveal] { opacity: .5; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
html.js [data-reveal].is-revealed { opacity: 1; transform: none; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.is-split.is-revealed .split-word > span { transform: none; }
html.js [data-intro] { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
html.js.is-loaded [data-intro] { opacity: 1; transform: none; }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(37, 211, 102, 0); } }
@keyframes ripple { to { transform: scale(40); opacity: 0; } }
@keyframes breathe { 50% { transform: scale(1.35); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes panelOut { to { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } }
@keyframes typing { 0%, 60%, 100% { opacity: .4; } 30% { transform: translateY(-3px); opacity: 1; } }

/* Responsive */
@media (min-width: 540px) {
}
@media (min-width: 720px) {
  .hero-index { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .hero-index a { display: grid; gap: .15rem; border-bottom: 0; padding: 1rem 0 .4rem; }
  .hero-index span { text-align: left; }
}
@media (min-width: 960px) {
  .hero-title { font-size: clamp(3rem, 6vw, 6.6rem); }
  .about { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .service { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .service.is-flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .service.is-flip .stage { order: 2; }
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 719px) {
  .hero { padding-bottom: 5.5rem; }
  .hero-core { width: 118vw; right: -46vw; top: 4.5rem; height: 74vh; opacity: .55; }
}

/* Reduced motion: only intrusive effects */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ambient { display: none; }
}
