/* TowerCTL. Craft values measured from linear.app (type scale, tracking, greys, hairlines);
   brand, accent and content are TowerCTL's own. */

@font-face { font-family: 'Inter'; src: url('assets/fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('assets/fonts/geist-mono.woff2') format('woff2'); font-weight: 400 600; font-display: swap; }

:root {
  --bg: #08090a;
  --bg-1: #0f1011;
  --bg-2: #141516;
  --bg-3: #191a1b;
  --bg-4: #1c1c1f;
  --text-1: #f7f8f8;
  --text-2: #d0d6e0;
  --text-3: #8a8f98;
  --text-4: #7e828a;
  --line-1: #23252a;
  --line-2: #1a1b1e;
  --line-3: #141516;
  --hair-2: rgba(255, 255, 255, 0.08);
  --violet: #a78bfa;
  --violet-2: #7c63e8;
  --green: #4cb782;
  --amber: #f2c94c;
  --orange: #f2994a;
  --red: #eb5757;
  --w-medium: 510;
  --w-semi: 590;
  --sans: 'Inter', 'SF Pro Display', -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --max: 1344px;
  --gutter: 46px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --shadow-high: 0 7px 32px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text-1); font-family: var(--sans); font-size: 15px; line-height: 1.6; letter-spacing: -0.011em; font-feature-settings: 'cv01', 'ss03'; -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: rgba(167, 139, 250, .35); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; padding: 13px 18px; border-radius: 8px; background: var(--text-1); color: var(--bg); }
.skip:focus { top: 12px; }
.container { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 calc(var(--gutter) + 32px); }
.micro { margin: 0; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--text-3); text-transform: uppercase; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 100; height: 72px; background: rgba(11, 11, 11, .8); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav-in { display: flex; align-items: center; height: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 calc(var(--gutter) + 32px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: var(--w-semi); letter-spacing: -0.02em; }
.brand img { border-radius: 6px; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a, .nav-login { padding: 8px 12px; border-radius: 6px; font-size: 13px; font-weight: var(--w-medium); color: var(--text-3); transition: color 160ms; }
.nav-links a:hover, .nav-login:hover { color: var(--text-1); }
.nav-right { display: flex; align-items: center; gap: 8px; margin-left: 12px; padding-left: 16px; border-left: 1px solid var(--line-1); }
.pill-btn { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 9999px; background: var(--text-1); color: var(--bg); font-size: 13px; font-weight: var(--w-medium); transition: background-color 160ms; }
.pill-btn:hover { background: #fff; }

/* Buttons */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border-radius: 9999px; background: var(--text-1); color: var(--bg); font-size: 15px; font-weight: var(--w-medium); transition: background-color 160ms, transform 160ms; }
.btn-primary:hover { background: #fff; }
.btn-primary:active { transform: scale(.98); }
.btn-ghost { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 9999px; color: var(--text-1); box-shadow: inset 0 0 0 1px var(--line-1); font-size: 15px; font-weight: var(--w-medium); transition: background-color 160ms; }
.btn-ghost:hover { background: var(--bg-2); }

/* Hero */
.hero { padding-top: 184px; overflow: hidden; }
.hero h1 { margin: 0; font-size: 64px; line-height: 1; font-weight: var(--w-medium); letter-spacing: -0.022em; }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: 40px; }
.hero-sub { max-width: 520px; font-size: 15px; line-height: 1.6; color: var(--text-3); }
.hero-new { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text-3); white-space: nowrap; transition: color 160ms; }
.hero-new b { color: var(--text-1); font-weight: var(--w-semi); }
.hero-new i { font-style: normal; transition: transform 200ms var(--ease); }
.hero-new:hover { color: var(--text-1); }
.hero-new:hover i { transform: translateX(3px); }

.stage { position: relative; max-width: calc(var(--max) + 32px); margin: 72px auto 0; padding: 0 16px; }
.stage::before { content: ''; position: absolute; left: 50%; top: -60px; width: 70%; height: 420px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(124, 99, 232, .18), transparent); filter: blur(30px); z-index: 0; pointer-events: none; }
.app { position: relative; z-index: 1; display: grid; grid-template-columns: 228px minmax(0, 1fr); height: 600px; border-radius: 16px 16px 0 0; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--hair-2), 0 0 0 1px rgba(0, 0, 0, .6), var(--shadow-high); overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
.app-side { padding: 14px 10px; border-right: 1px solid var(--line-2); background: #0c0d0e; font-size: 13px; }
.as-top { display: flex; align-items: center; gap: 8px; padding: 6px 8px 14px; font-weight: var(--w-semi); }
.as-top img { border-radius: 4px; }
.as-caret { width: 6px; height: 6px; border-right: 1.5px solid var(--text-4); border-bottom: 1.5px solid var(--text-4); transform: rotate(45deg) translateY(-2px); }
.as-h { margin: 14px 8px 4px; font-size: 12px; color: var(--text-4); font-weight: var(--w-medium); }
.as-list { list-style: none; margin: 0; padding: 0; }
.as-list li { display: flex; align-items: center; gap: 9px; height: 28px; padding: 0 8px; border-radius: 6px; color: var(--text-3); font-weight: var(--w-medium); }
.as-list li.on { background: var(--bg-2); color: var(--text-1); }
.as-list li span:last-child:not(.ico) { margin-left: auto; color: var(--text-4); font-size: 12px; }
.as-files li { font-family: var(--mono); font-size: 12px; font-weight: 400; }

.d { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--text-4); }
.d-v { background: var(--violet); }
.d-g { background: var(--green); }
.d-y { background: var(--amber); }
.d-o { background: var(--orange); }

.ico { display: inline-block; flex: none; width: 14px; height: 14px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--text-4); }
.ico-flag { border-radius: 2px; box-shadow: inset 0 0 0 1.5px var(--violet); }
.ico-list { border-radius: 2px; background: linear-gradient(var(--text-4), var(--text-4)) 3px 4px / 8px 1.5px no-repeat, linear-gradient(var(--text-4), var(--text-4)) 3px 8px / 8px 1.5px no-repeat; }
.ico-moon { border-radius: 50%; box-shadow: inset -4px -2px 0 0 var(--text-4); }
.ico-file { width: 11px; border-radius: 2px; }
.ico-split { border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--violet); }
.ico-eye { border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--orange); background: radial-gradient(circle, var(--orange) 2px, transparent 2.5px); }

.app-main { display: flex; flex-direction: column; min-width: 0; }
.am-bar { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line-2); font-size: 13px; color: var(--text-3); white-space: nowrap; }
.am-crumb { display: inline-flex; align-items: center; gap: 8px; color: var(--text-1); font-weight: var(--w-medium); }
.am-chip { padding: 2px 9px; border-radius: 9999px; box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .35); color: #c4b5fd; font-size: 12px; }
.am-sp { flex: 1; }
.am-meter { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; }
.am-meter b { width: 44px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--violet) var(--v), var(--bg-4) var(--v)); }
.am-live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 9999px; background: var(--bg-2); color: var(--text-2); font-size: 12px; }
.board { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 12px; padding: 16px; flex: 1; overflow: hidden; }
.col { display: grid; align-content: start; gap: 8px; min-width: 0; }
.col-fade { opacity: .45; -webkit-mask-image: linear-gradient(90deg, #000 20%, transparent 95%); mask-image: linear-gradient(90deg, #000 20%, transparent 95%); }
.col-h { display: flex; align-items: center; gap: 8px; padding: 4px 4px 8px; font-size: 13px; font-weight: var(--w-medium); color: var(--text-2); }
.col-h em { font-style: normal; color: var(--text-4); font-weight: 400; }
.ring { width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--text-4); }
.ring-half { box-shadow: inset 0 0 0 1.5px var(--amber); background: conic-gradient(var(--amber) 0 50%, transparent 50%); background-clip: content-box; padding: 3px; }
.ring-rev { box-shadow: inset 0 0 0 1.5px var(--orange); background: conic-gradient(var(--orange) 0 75%, transparent 75%); background-clip: content-box; padding: 3px; }
.ring-done { background: var(--violet); box-shadow: none; }
.card { padding: 12px 12px 10px; border-radius: 8px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--hair-2); }
.card-live { box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .4), 0 0 0 3px rgba(167, 139, 250, .06); }
.c-id { font-size: 12px; color: var(--text-4); }
.c-t { margin-top: 2px; font-size: 13px; font-weight: var(--w-medium); color: var(--text-1); }
.c-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 9999px; box-shadow: inset 0 0 0 1px var(--line-1); font-size: 12px; color: var(--text-2); }
.tag .d { width: 6px; height: 6px; }
.tag-dim { color: var(--text-4); }
.tag-red { color: #ff9a92; box-shadow: inset 0 0 0 1px rgba(235, 87, 87, .35); }
.tag-ok { color: #7fd6a8; box-shadow: inset 0 0 0 1px rgba(76, 183, 130, .35); }

.chat { position: absolute; right: 22px; top: 70px; width: 360px; border-radius: 12px; background: #121314; box-shadow: inset 0 0 0 1px var(--hair-2), 0 24px 48px rgba(0, 0, 0, .5); overflow: hidden; }
.ch-h { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.ch-h img { border-radius: 3px; }
.ch-model { padding: 1px 7px; border-radius: 5px; box-shadow: inset 0 0 0 1px var(--line-1); color: var(--text-3); font-size: 11.5px; }
.ch-x { margin-left: auto; width: 10px; height: 10px; background: linear-gradient(45deg, transparent 45%, var(--text-4) 45% 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, var(--text-4) 45% 55%, transparent 55%); }
.ch-body { display: grid; gap: 10px; padding: 14px; font-size: 13px; }
.bubble { justify-self: end; max-width: 92%; padding: 10px 12px; border-radius: 8px; background: #161718; background-image: linear-gradient(rgba(255,255,255,.04), rgba(255,255,255,.04)); box-shadow: 0 0 0 1px rgba(0,0,0,.2); color: var(--text-1); line-height: 1.5; }
.ch-sys { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 12.5px; }
.ch-think { color: var(--text-4); font-size: 12.5px; }
.ch-think::after { content: ''; display: inline-block; width: 7px; height: 13px; margin-left: 4px; vertical-align: -2px; background: var(--text-3); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ch-in { display: flex; align-items: center; justify-content: space-between; margin: 0 10px 10px; padding: 10px 10px 10px 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-1); color: var(--text-4); font-size: 13px; }
.ch-send { width: 22px; height: 22px; border-radius: 50%; background: var(--text-1); }

/* Logos */
.logos { padding: 96px 0 0; }
.logo-row { list-style: none; margin: 0 0 22px; padding: 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px; }
.logo-row li { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: var(--w-semi); letter-spacing: -0.03em; color: var(--text-1); }
.logo-row img { width: 22px; height: 22px; object-fit: contain; filter: grayscale(1) brightness(2.2); }

/* Statement */
.statement { margin: 0; max-width: 1180px; font-size: 48px; line-height: 1; font-weight: var(--w-medium); letter-spacing: -0.022em; color: var(--text-1); }
.statement span { color: var(--text-3); }
.manifesto { padding: 160px 0 0; }
.figs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 120px; }
.fig { padding: 0 32px; border-left: 1px solid var(--line-1); }
.fig:first-child { padding-left: 0; border-left: 0; }
.fig-n { font-family: var(--mono); font-size: 11px; color: var(--text-4); }
.fig-art { display: block; width: 100%; max-width: 280px; height: auto; margin: 36px auto 40px; color: rgba(255, 255, 255, .28); }
.fig h3 { margin: 0 0 8px; font-size: 15px; font-weight: var(--w-medium); color: var(--text-1); letter-spacing: -0.011em; }
.fig p { max-width: 320px; color: var(--text-3); }

/* Feature sections */
.feat { padding: 200px 0 0; }
.feat-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.feat-head h2 { margin: 0; font-size: 48px; line-height: 1; font-weight: var(--w-medium); letter-spacing: -0.022em; }
.feat-head p { max-width: 520px; font-size: 17px; line-height: 1.6; color: var(--text-3); padding-top: 6px; }
.feat-head-tight { margin-bottom: 48px; }
.scene { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: 20px; max-width: calc(var(--max) + 32px); margin: 72px auto 0; padding: 48px 48px 0; border-radius: 16px; background: linear-gradient(180deg, var(--bg-1), var(--bg) 85%); box-shadow: inset 0 1px 0 var(--hair-2); overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent); mask-image: linear-gradient(to bottom, #000 75%, transparent); }
.win { border-radius: 12px; background: #121314; box-shadow: inset 0 0 0 1px var(--hair-2), 0 24px 48px rgba(0, 0, 0, .45); overflow: hidden; font-size: 13px; }
.w-h { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line-2); font-weight: var(--w-medium); color: var(--text-1); }
.w-sub { margin-left: auto; font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--text-4); }
.w-tag { margin-left: auto; padding: 1px 8px; border-radius: 9999px; box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .35); color: #c4b5fd; font-size: 11.5px; font-weight: 400; }

.win-profile { align-self: start; padding-bottom: 8px; }
.opt { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line-3); }
.opt:last-child { border-bottom: 0; }
.opt b { font-weight: var(--w-medium); color: var(--text-1); }
.opt p { margin-top: 2px; color: var(--text-3); font-size: 12.5px; line-height: 1.5; }
.opt.on { background: rgba(167, 139, 250, .06); }
.radio { flex: none; width: 15px; height: 15px; margin-top: 3px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--text-4); }
.radio-on { box-shadow: inset 0 0 0 4.5px var(--violet); }
.win-table { align-self: start; margin-top: 64px; }
.trow { display: grid; grid-template-columns: 1.1fr 1fr .8fr .7fr; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line-3); color: var(--text-2); }
.trow span:nth-child(2) { display: inline-flex; align-items: center; gap: 8px; }
.trow img { width: 14px; height: 14px; object-fit: contain; filter: grayscale(1) brightness(2.2); opacity: .9; }
.trow-h { height: 36px; color: var(--text-4); font-size: 12px; }
.lvl { height: 6px; border-radius: 6px; background: var(--bg-4); position: relative; overflow: hidden; }
.lvl::after { content: ''; position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--text-2); }
.lvl-2::after { width: 45%; } .lvl-3::after { width: 70%; } .lvl-4::after { width: 92%; }
.quota { display: grid; grid-template-columns: 1fr 1.2fr 40px; align-items: center; gap: 12px; padding: 12px 16px 0; color: var(--text-3); font-size: 12.5px; }
.quota:last-child { padding-bottom: 16px; }
.quota b { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--violet) var(--v), var(--bg-4) var(--v)); }
.quota em { font-style: normal; text-align: right; font-family: var(--mono); font-size: 12px; }

.sublinks { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--line-1); }
.sublinks > div { padding: 22px 24px 0 0; }
.sublinks b { display: block; font-size: 14px; font-weight: var(--w-medium); color: var(--text-1); }
.sublinks p { margin-top: 4px; font-size: 14px; color: var(--text-3); }

.scene-build { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.code { margin: 0; padding: 16px; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; color: var(--text-2); white-space: pre-wrap; }
.c-dim { color: var(--text-4); } .c-g { color: #7fd6a8; } .c-b { color: var(--violet); } .c-o { color: var(--orange); }
.win-term { align-self: start; margin-top: 40px; }
.pv-bar { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--line-2); color: var(--text-3); font-size: 12px; }
.pv-url { font-family: var(--mono); }
.seg-mini { display: inline-flex; gap: 2px; padding: 3px; border-radius: 8px; background: var(--bg-2); margin-left: auto; }
.seg-mini b, .seg-mini span { padding: 2px 9px; border-radius: 6px; font-weight: 400; font-size: 12px; color: var(--text-3); }
.seg-mini b { background: var(--bg-4); color: var(--text-1); }
.pv-point { padding: 3px 10px; border-radius: 6px; background: var(--violet-2); color: #fff; }
.site { position: relative; height: 380px; padding: 18px 26px; background: #f4f8f8; color: #134e4a; }
.s-nav { display: flex; align-items: center; gap: 16px; font-size: 13px; color: #4b5d5c; }
.s-nav b { color: #134e4a; }
.s-logo { width: 22px; height: 22px; border-radius: 6px; background: #0f766e; }
.s-nav span:nth-of-type(2) { margin-left: auto; }
.s-cta { padding: 6px 12px; border-radius: 9999px; background: #0f766e; color: #fff; }
.s-hero { margin-top: 56px; }
.s-h { position: relative; display: inline-block; max-width: 14ch; font-size: 30px; line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }
.s-target::after { content: ''; position: absolute; inset: -6px -8px; border: 2px solid var(--violet-2); border-radius: 4px; background: rgba(124, 99, 232, .06); }
.s-p { margin-top: 14px; color: #4b5d5c; font-size: 14px; }
.s-btn { display: inline-block; margin-top: 18px; padding: 10px 16px; border-radius: 8px; background: #f6c453; color: #3b2a05; font-weight: 700; font-size: 13px; }
.pop { position: absolute; right: 28px; top: 120px; width: 260px; padding: 12px; border-radius: 10px; background: #161718; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 16px 32px rgba(0,0,0,.35); color: var(--text-2); font-size: 12px; }
.pop p { color: var(--text-3); margin-bottom: 8px; }
.pop-in { display: block; padding: 8px 10px; border-radius: 6px; background: #0c0d0e; box-shadow: inset 0 0 0 1px var(--line-1); color: var(--text-1); }
.pop-go { display: inline-block; margin-top: 8px; padding: 4px 10px; border-radius: 6px; background: var(--violet-2); color: #fff; float: right; }

.scene-review { grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); }
.diff { padding: 8px 0; font-family: var(--mono); font-size: 12.5px; line-height: 1.85; color: var(--text-2); }
.dl { padding: 0 16px; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.dl em { display: inline-block; width: 32px; font-style: normal; color: var(--text-4); }
.dl-del { background: rgba(235, 87, 87, .1); color: #ff9a92; }
.dl-add { background: rgba(76, 183, 130, .1); color: #7fd6a8; }
.comment { margin: 10px 16px; padding: 12px 14px; border-radius: 10px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--hair-2); font-family: var(--sans); font-size: 13px; line-height: 1.5; color: var(--text-2); white-space: normal; }
.cm-h { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.cm-h img { width: 14px; height: 14px; object-fit: contain; filter: grayscale(1) brightness(2.2); }
.cm-h b { font-weight: var(--w-medium); color: var(--text-1); }
.cm-h span { color: var(--text-4); font-size: 12px; }
.win-time { align-self: start; margin-top: 48px; }
.tl { list-style: none; margin: 0; padding: 6px 0; }
.tl li { display: grid; grid-template-columns: 16px 1fr auto; align-items: center; gap: 12px; padding: 10px 16px; }
.tl b { font-weight: var(--w-medium); color: var(--text-1); }
.tl p { color: var(--text-4); font-size: 12px; }
.tl li > span { padding: 3px 9px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-1); color: var(--text-3); font-size: 12px; }

.scene-ship { grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); }
.win-deploy { align-self: start; margin-top: 56px; padding-bottom: 12px; }
.seg-wide { margin: 14px 16px 6px; }
.steps { list-style: none; margin: 0; padding: 4px 16px 0; display: grid; gap: 2px; }
.steps li { display: flex; align-items: center; gap: 10px; height: 38px; color: var(--text-2); border-bottom: 1px solid var(--line-3); }
.steps li::before { content: ''; flex: none; width: 15px; height: 15px; border-radius: 50%; background: rgba(76, 183, 130, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%234cb782' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.steps li.live { color: var(--text-1); border-bottom: 0; }
.steps li.live::before { background: var(--green); box-shadow: 0 0 0 4px rgba(76, 183, 130, .18); }
.win-report { background: #f6f7f8; color: #1d2433; }
.rp-top { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid #e3e6ea; }
.rp-logo { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #1d2433; color: #fff; font-weight: 700; font-size: 13px; }
.rp-top b { font-weight: 600; }
.rp-top p { color: #6b7280; font-size: 12.5px; }
.rp-date { margin-left: auto; color: #6b7280; font-size: 12px; }
.rp-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #e3e6ea; }
.rp-stats div { padding: 14px 20px; border-right: 1px solid #e3e6ea; }
.rp-stats div:last-child { border-right: 0; }
.rp-stats b { display: block; font-size: 26px; line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }
.rp-stats span { color: #6b7280; font-size: 12px; }
.rp-shot { padding: 16px 20px 0; }
.rp-shot img { border-radius: 8px 8px 0 0; box-shadow: 0 0 0 1px #e3e6ea; height: 300px; width: 100%; object-fit: cover; object-position: top; }

/* Soneca */
.soneca { padding: 220px 0 0; }
.scene-sleep { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); align-items: start; }
.win-sleep { padding-bottom: 6px; }
.sl-meta { display: grid; grid-template-columns: repeat(3, 1fr); margin: 14px 16px 0; padding: 12px 14px; border-radius: 10px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--hair-2); }
.sl-meta span { display: block; color: var(--text-4); font-size: 12px; }
.sl-meta b { font-weight: var(--w-medium); color: var(--text-1); }
.sl-why { margin: 12px 16px 6px; color: var(--text-2); }
.sl-item { margin: 8px 16px; padding: 12px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-2); }
.sl-t { display: flex; align-items: center; gap: 10px; font-weight: var(--w-medium); color: var(--text-1); }
.sl-d { margin-top: 6px; color: var(--text-3); font-size: 12.5px; line-height: 1.5; }
.sl-test { margin-top: 8px; padding-left: 10px; box-shadow: inset 2px 0 0 var(--violet); color: var(--text-2); font-size: 12.5px; }
.sleep-side { display: grid; gap: 32px; padding-top: 40px; }
.big-n b { display: block; font-size: 64px; line-height: 1; font-weight: var(--w-medium); letter-spacing: -0.03em; }
.big-n span { display: block; margin-top: 10px; color: var(--text-3); max-width: 280px; }
.locks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-1); }
.locks li { display: flex; align-items: center; gap: 12px; height: 46px; border-bottom: 1px solid var(--line-1); color: var(--text-2); }
.locks li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--text-4); background: linear-gradient(45deg, transparent 44%, var(--text-4) 44% 56%, transparent 56%); }

/* Built */
.built { padding: 220px 0 0; }
.quote { margin: 20px 0 0; max-width: 1060px; font-size: 32px; line-height: 1.25; font-weight: var(--w-medium); letter-spacing: -0.022em; color: var(--text-1); }
.quote-note { margin-top: 24px; max-width: 720px; color: var(--text-3); font-size: 15px; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); margin: 88px 0 0; border-top: 1px solid var(--line-1); }
.numbers div { display: flex; flex-direction: column; gap: 6px; padding: 28px 24px 0 0; }
.numbers dd { margin: 0; font-size: 56px; line-height: 1; font-weight: var(--w-medium); letter-spacing: -0.03em; }
.numbers dt { color: var(--text-3); }

/* Changelog */
.changelog { padding: 200px 0 0; }
.cl-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 40px; }
.cl-head h2 { margin: 0; font-size: 48px; line-height: 1; font-weight: var(--w-medium); letter-spacing: -0.022em; }
.cl-head a { color: var(--text-3); font-size: 15px; transition: color 160ms; }
.cl-head a:hover { color: var(--text-1); }
.cl-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-1); }
.cl-card { padding: 24px 24px 0 0; }
.cl-card + .cl-card { padding-left: 24px; border-left: 1px solid var(--line-1); }
.cl-v { display: flex; gap: 10px; align-items: baseline; font-family: var(--mono); font-size: 12px; color: var(--text-4); }
.cl-v b { color: var(--violet); font-weight: 500; }
.cl-card h3 { margin: 14px 0 6px; font-size: 15px; font-weight: var(--w-medium); }
.cl-card p { color: var(--text-3); font-size: 14px; }

/* Pricing */
.pricing { padding: 200px 0 0; }
.plans { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; }
.plan { padding: 32px; border-radius: 16px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--hair-2); }
.plan-main { background: linear-gradient(180deg, #141320, var(--bg-1) 60%); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .22); }
.plan-name { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: var(--w-medium); }
.soon { padding: 1px 8px; border-radius: 9999px; box-shadow: inset 0 0 0 1px var(--line-1); color: var(--text-3); font-size: 12px; font-weight: 400; }
.plan-price { display: flex; align-items: baseline; gap: 10px; margin-top: 20px; font-size: 56px; line-height: 1; font-weight: var(--w-medium); letter-spacing: -0.03em; }
.plan-price small { font-size: 15px; font-weight: 400; letter-spacing: -0.011em; color: var(--text-3); }
.plan-alt { margin-top: 10px; color: var(--text-3); }
.plan-main .btn-primary { margin-top: 28px; width: 100%; }
.plan-founder { margin-top: 20px; color: var(--text-2); font-size: 14px; }
.badge { display: inline-block; margin-right: 10px; padding: 1px 8px; border-radius: 6px; background: rgba(167, 139, 250, .14); color: #c4b5fd; font-family: var(--mono); font-size: 12px; }
.plan-list { list-style: none; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line-1); display: grid; gap: 10px; }
.plan-list li { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 14px; }
.plan-list li::before { content: ''; width: 14px; height: 14px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.3l3 3 6-6.5' fill='none' stroke='%23a78bfa' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* FAQ */
.faq { padding: 200px 0 0; }
.faq-in { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.faq h2 { margin: 0; font-size: 48px; line-height: 1; font-weight: var(--w-medium); letter-spacing: -0.022em; }
.faq-list { border-top: 1px solid var(--line-1); }
.faq details { border-bottom: 1px solid var(--line-1); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; cursor: pointer; font-size: 15px; font-weight: var(--w-medium); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 10px; height: 10px; flex: none; background: linear-gradient(var(--text-3), var(--text-3)) center / 10px 1.5px no-repeat, linear-gradient(var(--text-3), var(--text-3)) center / 1.5px 10px no-repeat; transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--text-3); max-width: 62ch; }
.faq a, .ipanel a:not(.file) { text-decoration: underline; text-underline-offset: 3px; }

/* Install */
.install { padding: 200px 0 0; }
.seg { display: inline-flex; gap: 2px; padding: 3px; margin-bottom: 16px; border-radius: 10px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--hair-2); }
.seg button { height: 36px; padding: 0 16px; border: 0; border-radius: 8px; background: transparent; color: var(--text-3); font-family: var(--sans); font-size: 13px; font-weight: var(--w-medium); cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--bg-4); color: var(--text-1); }
.ipanel { position: relative; padding: 32px; border-radius: 16px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--hair-2); }
.ipanel[hidden] { display: none; }
.isteps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 24px; }
.isteps li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; row-gap: 8px; color: var(--text-3); }
.isteps li::before { content: counter(s); grid-row: 1 / span 3; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-1); font-family: var(--mono); font-size: 12px; color: var(--text-1); }
.isteps li > * { grid-column: 2; }
.isteps b { color: var(--text-1); font-weight: var(--w-medium); }
.isteps strong { color: var(--text-2); font-weight: var(--w-medium); }
.files { display: flex; flex-wrap: wrap; gap: 8px; }
.file { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-1); font-family: var(--mono); font-size: 12.5px; color: var(--text-1); }
.file:hover { background: var(--bg-2); }
.cmd { display: flex; align-items: center; gap: 8px; max-width: 620px; padding: 4px 4px 4px 14px; border-radius: 10px; background: #000; box-shadow: inset 0 0 0 1px var(--line-1); }
.cmd code { flex: 1; font-family: var(--mono); font-size: 13px; color: var(--text-1); overflow-x: auto; white-space: nowrap; }
.copy { height: 32px; padding: 0 12px; border: 0; border-radius: 7px; background: var(--bg-3); color: var(--text-2); font-family: var(--mono); font-size: 12px; cursor: pointer; }
.copy:hover { color: var(--text-1); }
.os-card-you::after { content: 'Seu sistema'; position: absolute; top: 24px; right: 24px; padding: 1px 8px; border-radius: 9999px; background: rgba(167, 139, 250, .14); color: #c4b5fd; font-family: var(--mono); font-size: 12px; }

/* Closing & footer */
.closing { position: relative; padding: 240px 0 200px; text-align: center; overflow: hidden; }
.closing::before { content: ''; position: absolute; left: 50%; bottom: -200px; width: 900px; height: 500px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(124, 99, 232, .22), transparent); filter: blur(20px); pointer-events: none; }
.closing h2 { position: relative; margin: 0; font-size: 64px; line-height: 1; font-weight: var(--w-medium); letter-spacing: -0.022em; }
.closing-cta { position: relative; display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.foot { border-top: 1px solid var(--line-1); }
.foot-in { display: flex; justify-content: space-between; gap: 40px; padding-top: 56px; padding-bottom: 72px; }
.foot-cols { display: flex; gap: 96px; }
.foot-cols h3 { margin: 0 0 14px; font-size: 13px; font-weight: var(--w-medium); color: var(--text-1); }
.foot-cols a { display: flex; align-items: center; min-height: 32px; color: var(--text-3); font-size: 13px; transition: color 160ms; }
.foot-cols a:hover { color: var(--text-1); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(16px); filter: blur(4px); transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .ch-think::after { animation: none; }
}

/* Responsive */
@media (max-width: 1180px) {
  .chat { display: none; }
  .board { grid-template-columns: repeat(3, minmax(200px, 1fr)); }
  .col-fade { display: none; }
}
@media (max-width: 960px) {
  :root { --gutter: 0px; }
  .container, .nav-in { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-right { margin-left: auto; border-left: 0; padding-left: 0; }
  .hero { padding-top: 120px; }
  .hero h1 { font-size: 44px; }
  .hero-row { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 24px; }
  .app { grid-template-columns: 1fr; height: 460px; }
  .app-side { display: none; }
  .board { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
  .statement { font-size: 32px; line-height: 1.12; }
  .figs { grid-template-columns: 1fr; margin-top: 64px; gap: 48px; }
  .fig { padding: 0; border-left: 0; }
  .feat-head, .faq-in { grid-template-columns: 1fr; gap: 16px; }
  .feat-head h2, .cl-head h2, .faq h2 { font-size: 36px; }
  .feat { padding-top: 140px; }
  .scene, .scene-build, .scene-review, .scene-ship, .scene-sleep { grid-template-columns: 1fr; padding: 24px 16px 0; margin-top: 40px; border-radius: 12px; }
  .win-table, .win-term, .win-time, .win-deploy { margin-top: 0; }
  .sublinks { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .cl-grid { grid-template-columns: 1fr 1fr; }
  .cl-card + .cl-card { padding-left: 0; border-left: 0; }
  .cl-card:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line-1); }
  .plans { grid-template-columns: 1fr; }
  .quote { font-size: 24px; }
  .closing h2 { font-size: 40px; }
  .soneca, .built, .changelog, .pricing, .faq, .install { padding-top: 140px; }
  .foot-in { flex-direction: column; }
  .foot-cols { gap: 48px; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .hero h1 br { display: none; }
  .hero h1 { font-size: 38px; }
  .board { grid-template-columns: minmax(240px, 1fr); }
  .board .col:nth-child(n+2) { display: none; }
  .am-meter { display: none; }
  .logo-row { justify-content: flex-start; gap: 18px 28px; }
  .logo-row li { font-size: 18px; }
  .statement { font-size: 28px; }
  .site { height: 340px; padding: 16px; }
  .s-h { font-size: 24px; }
  .pop { right: 12px; top: 150px; width: 220px; }
  .trow { grid-template-columns: 1fr 1fr .7fr; }
  .trow span:nth-child(4) { display: none; }
  .dl { font-size: 11.5px; }
  .cl-grid { grid-template-columns: 1fr; }
  .cl-card:nth-child(even) { padding-left: 0; border-left: 0; }
  .closing-cta { flex-direction: column; align-items: center; }
  .plan { padding: 24px; }
  .plan-price { font-size: 44px; }
}

.d-ai { width: 6px; height: 6px; background: var(--text-3); }
.logo-row li { font-size: 24px; color: var(--text-2); }

/* ---------- Own figures (branch, team, review) ---------- */
.fig-n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--text-4); text-transform: uppercase; }
.fig-art { max-width: 320px; margin: 32px 0 36px; color: inherit; overflow: visible; }
.f-line { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1.5; stroke-linecap: round; }
.f-br1 { stroke: rgba(242, 201, 76, .75); }
.f-br2 { stroke: rgba(242, 201, 76, .75); }
.f-node { fill: var(--bg); stroke: rgba(255, 255, 255, .45); stroke-width: 1.5; }
.f-node-v { stroke: var(--violet); fill: rgba(167, 139, 250, .18); }
.f-node-y { stroke: var(--amber); fill: rgba(242, 201, 76, .18); }
.f-node-g { stroke: var(--green); fill: rgba(76, 183, 130, .25); }
.f-lbl, .f-agent text, .f-hub-t { font-family: var(--mono); font-size: 10px; fill: var(--text-4); }
.f-agent text { text-anchor: middle; }
.f-hub-t { text-anchor: middle; fill: var(--text-1); font-size: 9.5px; }
.f-orbit { fill: none; stroke: rgba(255, 255, 255, .08); stroke-dasharray: 2 5; }
.f-hub { fill: rgba(167, 139, 250, .16); stroke: var(--violet); stroke-width: 1.5; }
.f-agent circle { fill: var(--bg-2); stroke: rgba(255, 255, 255, .35); stroke-width: 1.5; }
.f-pulse { fill: var(--violet); opacity: 0; }
.f-doc { fill: var(--bg-1); stroke: rgba(255, 255, 255, .16); }
.f-row { fill: rgba(255, 255, 255, .12); }
.f-bad { fill: rgba(235, 87, 87, .55); }
.f-scan { fill: var(--violet); opacity: 0; }
.f-ok circle { fill: rgba(76, 183, 130, .2); stroke: var(--green); stroke-width: 1.5; }
.f-ok path { fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.f-ok { opacity: 0; }

/* GSAP-driven states start visible; the script sets the from-states */
.statement .w { display: inline-block; }
.js .reveal { transition: none; }
.closing::before { opacity: calc(0.25 + var(--glow, 1) * 0.75); transform: translateX(-50%) scale(calc(0.8 + var(--glow, 1) * 0.3)); }
.board .card { will-change: transform; }

/* ---------- Real app recreation (TowerCTL 0.7) ---------- */
.app-real { display: flex; flex-direction: column; grid-template-columns: none; height: 640px; background: #0d0e11; font-size: 12px; }
.tb { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-bottom: 1px solid #1d1f25; white-space: nowrap; overflow: hidden; color: var(--text-2); }
.tb-brand { display: inline-flex; align-items: center; gap: 6px; color: #a78bfa; font-weight: var(--w-semi); }
.tb-brand img { border-radius: 3px; }
.tb-proj { margin: 0 6px 0 4px; font-weight: var(--w-semi); color: var(--text-1); }
.tb-btn { padding: 4px 9px; border-radius: 6px; background: #17181c; box-shadow: inset 0 0 0 1px #24262c; color: var(--text-2); }
.tb-on { box-shadow: inset 0 0 0 1px #a78bfa; color: #c4b5fd; }
.tb-sp { flex: 1; }
.tb-work { display: inline-flex; align-items: center; gap: 6px; padding: 0 6px; }
.tb-pill { padding: 4px 9px; border-radius: 6px; background: #17181c; box-shadow: inset 0 0 0 1px #24262c; color: var(--text-3); }
.tb-meter { display: inline-flex; align-items: center; gap: 6px; }
.tb-meter b { width: 26px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--green) var(--v), #2a2c33 var(--v)); }
.tb-meter span { color: var(--text-4); }
.tb-bell { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #8b5cf6; color: #fff; font-size: 10px; margin: 0 4px; }
.ar-body { display: grid; grid-template-columns: 210px minmax(0, 1fr); flex: 1; min-height: 0; }
.ar-side { padding: 10px 8px; border-right: 1px solid #1d1f25; color: var(--text-3); }
.ar-h { display: flex; align-items: center; gap: 6px; margin: 4px 6px 8px; font-size: 11px; font-weight: var(--w-semi); letter-spacing: .04em; color: var(--text-3); }
.ar-h b { color: var(--text-2); letter-spacing: 0; text-transform: none; }
.ar-h2 { margin-top: 18px; padding-top: 14px; border-top: 1px solid #1d1f25; }
.ar-plus { margin-left: auto; font-size: 14px; }
.chev { width: 6px; height: 6px; border-right: 1.5px solid var(--text-4); border-bottom: 1.5px solid var(--text-4); transform: rotate(45deg); margin-top: -3px; }
.chev-r { width: 5px; height: 5px; border-right: 1.5px solid var(--text-4); border-bottom: 1.5px solid var(--text-4); transform: rotate(-45deg); }
.ar-proj { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 6px; color: var(--text-2); }
.ar-proj.on { background: #1b1c22; color: var(--text-1); }
.ar-proj span { margin-left: auto; color: var(--text-4); }
.ar-add { color: var(--text-4); }
.d-off { background: transparent; box-shadow: inset 0 0 0 1px var(--text-4); }
.ar-search { height: 28px; margin: 0 2px 8px; padding: 0 10px; display: flex; align-items: center; border-radius: 6px; box-shadow: inset 0 0 0 1px #24262c; color: var(--text-4); }
.ar-f { display: flex; align-items: center; gap: 8px; height: 24px; padding: 0 8px; color: var(--text-2); }
.fold { width: 13px; height: 10px; border-radius: 2px; background: #e2b955; }
.ar-file { padding-left: 21px; }
.tagic { font-style: normal; color: #e8836b; font-size: 10px; font-family: var(--mono); }
.ar-main { display: flex; flex-direction: column; min-width: 0; }
.ar-tabs { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border-bottom: 1px solid #1d1f25; white-space: nowrap; overflow: hidden; }
.mt { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 6px 6px 0 0; color: var(--text-3); }
.mt.on { background: #15161b; box-shadow: inset 0 -2px 0 #a78bfa; color: var(--text-1); }
.mt em { font-style: normal; color: var(--text-4); }
.mt-add { color: var(--text-4); }
.mt-chip { padding: 3px 10px; border-radius: 9999px; box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .45); color: #c4b5fd; }
.ar-sub { display: flex; height: 32px; border-bottom: 1px solid #1d1f25; }
.ar-sub span { display: inline-flex; align-items: center; gap: 4px; padding: 0 14px; color: var(--text-3); border-right: 1px solid #1d1f25; }
.ar-sub span.on { color: var(--text-1); box-shadow: inset 0 2px 0 #a78bfa; }
.ar-sub em { font-style: normal; color: var(--text-4); }
.ar-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); flex: 1; min-height: 0; }
.ar-panes { display: grid; gap: 8px; padding: 8px; overflow: hidden; align-content: start; }
.pane { border-radius: 8px; box-shadow: inset 0 0 0 1px #24262c; background: #121318; overflow: hidden; }
.pn-h { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px; border-bottom: 1px solid #1d1f25; white-space: nowrap; overflow: hidden; color: var(--text-3); }
.pn-h b { color: var(--text-1); font-weight: var(--w-semi); }
.pn-v, .pn-h b.pn-v { color: #b9a6ff; }
.pn-st { color: #a78bfa; }
.pn-tag { padding: 1px 6px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .55); color: #c4b5fd; font-size: 11px; }
.pn-model { padding: 1px 6px; border-radius: 4px; box-shadow: inset 0 0 0 1px #2b2d34; color: var(--text-4); font-size: 11px; }
.pn-r { margin-left: auto; color: var(--text-4); }
.term { margin: 0; padding: 8px 12px 10px; font-family: var(--mono); font-size: 11px; line-height: 1.55; color: var(--text-1); white-space: pre; overflow: hidden; }
.t-l { display: block; }
.t-dim { color: #7c818a; } .t-o { color: #e8836b; } .t-c { color: #2dd4bf; } .t-r { color: #f2555a; } .t-g { color: #86d36b; } .t-p { color: #b27cc4; }
.ar-prev { display: flex; flex-direction: column; border-left: 2px solid #8b5cf6; min-width: 0; }
.bw { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px; background: #0f1014; border-bottom: 1px solid #1d1f25; white-space: nowrap; overflow: hidden; color: var(--text-4); }
.bw-url { padding: 3px 10px; border-radius: 9999px; box-shadow: inset 0 0 0 1px #24262c; color: var(--text-2); font-size: 11px; }
.bw-seg { display: inline-flex; border-radius: 6px; box-shadow: inset 0 0 0 1px #24262c; overflow: hidden; }
.bw-seg b, .bw-seg span { padding: 3px 8px; font-weight: 400; font-size: 11px; color: var(--text-3); }
.bw-seg b { color: var(--text-1); box-shadow: inset 0 -2px 0 #a78bfa; }
.bw-ap { color: var(--text-1); }
.site-real { flex: 1; height: auto; padding: 14px 18px; background: #fff; }
.site-real .s-nav span:nth-of-type(1) { margin-left: auto; }
.s-hero2 { display: flex; align-items: center; gap: 12px; margin: 14px -18px 0; padding: 22px 18px; background: linear-gradient(180deg, #eef8f7, #e6f4f3); }
.s-hero2 .s-h { font-size: 22px; max-width: 13ch; color: #12555a; }
.s-hero2 .s-p { margin-top: 8px; font-size: 11.5px; line-height: 1.5; color: #5b6b6a; max-width: 30ch; }
.s-hero2 .s-btn { margin-top: 12px; padding: 7px 12px; font-size: 11px; border-radius: 8px; background: #fbb636; }
.s-btn2 { display: inline-block; margin: 12px 0 0 6px; padding: 6px 11px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px #12555a; color: #12555a; font-weight: 700; font-size: 11px; }
.s-tooth { flex: none; width: 76px; height: 64px; margin-left: auto; border-radius: 16px; background: linear-gradient(135deg, #bfeceb, #7fcfcf); position: relative; }
.s-tooth::after { content: ''; position: absolute; left: 24px; top: 12px; width: 28px; height: 36px; border-radius: 12px 12px 8px 8px; background: #fff; box-shadow: inset 0 0 0 2px #1f8a8a; }
.s-stats { display: flex; gap: 22px; margin-top: 14px; font-size: 10px; color: #6b7a79; }
.s-stats b { display: block; font-size: 15px; color: #12555a; }
.s-sec { margin-top: 18px; font-size: 16px; font-weight: 700; color: #12555a; }

/* Planejar */
.opt-foot { padding: 10px 16px 6px; color: var(--text-4); font-size: 12px; border-top: 1px solid var(--line-3); }
.wt-lead { padding: 14px 16px 6px; color: var(--text-3); font-size: 12.5px; line-height: 1.5; }
.srow { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1fr; gap: 8px; padding: 6px 16px; }
.sel { position: relative; display: flex; align-items: center; height: 34px; padding: 0 26px 0 10px; border-radius: 6px; box-shadow: inset 0 0 0 1px #2a2c33; background: #0d0e11; color: var(--text-2); font-size: 12.5px; white-space: nowrap; overflow: hidden; }
.sel::after { content: ''; position: absolute; right: 10px; top: 13px; width: 5px; height: 5px; border-right: 1.5px solid var(--text-3); border-bottom: 1.5px solid var(--text-3); transform: rotate(45deg); }
.sel-in::after { display: none; }
.wt-btns { display: flex; gap: 8px; padding: 10px 16px 16px; }
.wt-btns span { padding: 6px 12px; border-radius: 6px; box-shadow: inset 0 0 0 1px #2a2c33; color: var(--text-2); }

/* Construir popover */
.pop { width: 290px; top: 150px; left: 26px; right: auto; padding: 14px; border-radius: 10px; background: #15161b; }
.pop-q { color: var(--text-1) !important; font-weight: var(--w-semi); margin-bottom: 10px; }
.pop-in { min-height: 54px; box-shadow: inset 0 0 0 1px #a78bfa; }
.pop-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.pop-c { padding: 6px 12px; border-radius: 6px; box-shadow: inset 0 0 0 1px #2a2c33; color: var(--text-1); }
.pop-go { float: none; margin: 0; padding: 6px 14px; background: #a78bfa; color: #120a2a; font-weight: var(--w-semi); }
.pop-hint { margin: 10px 0 0 !important; color: var(--text-4) !important; font-size: 11px; }
.pv-point { background: #a78bfa; color: #120a2a; }

/* Revisar */
.c-p { color: #b27cc4; } .c-r { color: #f2555a; }
.win-codex { align-self: start; margin-top: 40px; }
.win-revpanel { align-self: start; }
.rv-h { padding: 16px 16px 10px; }
.rv-h b { font-weight: var(--w-semi); }
.rv-h p { color: var(--text-3); font-size: 12.5px; }
.rv-btns { display: flex; gap: 8px; padding: 0 16px 12px; }
.rv-save { padding: 6px 12px; border-radius: 6px; background: #a78bfa; color: #120a2a; font-weight: var(--w-semi); }
.rv-disc { padding: 6px 12px; border-radius: 6px; box-shadow: inset 0 0 0 1px #2a2c33; color: #f2555a; }
.rv-files { border-top: 1px solid var(--line-2); padding: 6px 0; }
.rv-files p { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 16px; color: var(--text-2); font-family: var(--mono); font-size: 12px; }
.rv-files i { font-style: normal; color: var(--amber); }
.rv-files span { margin-left: auto; }
.rv-files .g { color: #86d36b; font-weight: 400; } .rv-files .r { color: #f2555a; font-weight: 400; }
.rv-tl-h { padding: 12px 16px 6px; border-top: 1px solid var(--line-2); color: var(--text-4); font-size: 11px; letter-spacing: .06em; font-weight: var(--w-semi); }
.rv-tl p { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 10px; height: 32px; padding: 0 16px; color: var(--text-2); }
.rv-tl code { font-family: var(--mono); font-size: 11.5px; color: var(--text-4); }
.rv-tl .v { color: #b9a6ff; }
.rv-tl em { font-style: normal; color: var(--text-4); font-size: 12px; }
.rv-tl u { text-decoration: none; padding: 3px 9px; border-radius: 6px; box-shadow: inset 0 0 0 1px #2a2c33; color: var(--text-2); font-size: 12px; }

/* Entregar menu */
.win-deliver { align-self: start; margin-top: 40px; padding: 6px 16px 16px; }
.dv-h { margin-top: 12px; font-weight: var(--w-semi); color: var(--text-1); }
.dv-p { margin-top: 4px; color: var(--text-3); font-size: 12.5px; line-height: 1.5; }
.dv-btn { display: inline-block; margin-top: 10px; padding: 6px 12px; border-radius: 6px; box-shadow: inset 0 0 0 1px #2a2c33; color: var(--text-1); }
.dv-primary { background: #a78bfa; color: #120a2a; box-shadow: none; font-weight: var(--w-semi); }
.dv-radio { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--text-2); }
.dv-radio .radio { margin-top: 0; }
.dv-radio .radio:nth-of-type(2) { margin-left: 10px; }
.dv-in { display: flex; align-items: center; height: 34px; margin-top: 8px; padding: 0 10px; border-radius: 6px; box-shadow: inset 0 0 0 1px #2a2c33; background: #0d0e11; color: var(--text-1); }
.dv-row { display: flex; align-items: center; gap: 12px; }
.dv-sel { flex: 1; }
.dv-chk { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--text-2); }
.dv-chk i { width: 14px; height: 14px; border-radius: 3px; background: #a78bfa; }

/* Soneca */
.sl-why span { display: block; color: var(--text-4); font-size: 12px; }
.sl-obj { margin: 6px 16px 0; color: var(--text-3); font-size: 12.5px; }
.sl-feito { margin: 12px 16px 0; font-weight: var(--w-semi); }
.sl-feito em { font-style: normal; color: var(--text-4); font-weight: 400; }
.sl-test-h { margin-top: 10px; font-weight: var(--w-semi); font-size: 12.5px; color: var(--text-1); }
.sl-chk { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--text-2); font-size: 12.5px; }
.sl-chk i { flex: none; width: 13px; height: 13px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--text-4); }
.sl-back { margin-top: 8px; color: #b9a6ff; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1180px) {
  .ar-split { grid-template-columns: 1fr; }
  .ar-prev { display: none; }
}
@media (max-width: 960px) {
  .ar-body { grid-template-columns: 1fr; }
  .ar-side { display: none; }
  .tb-btn, .tb-pill, .tb-bell { display: none; }
  .tb-btn.tb-on { display: inline-block; }
  .srow { grid-template-columns: 1fr 1fr; }
}

.term { white-space: normal; }
.term .t-l { white-space: pre; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Legal pages ---------- */
.legal { padding: 140px 0 120px; }
.legal-in { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 80px; }
.legal-side { position: sticky; top: 112px; align-self: start; display: grid; gap: 2px; }
.legal-side a { padding: 8px 12px; border-radius: 6px; color: var(--text-3); font-size: 14px; font-weight: var(--w-medium); }
.legal-side a:hover { color: var(--text-1); }
.legal-side a[aria-current="page"] { background: var(--bg-2); color: var(--text-1); }
.legal-doc h1 { margin: 14px 0 0; font-size: 48px; line-height: 1.05; font-weight: var(--w-medium); letter-spacing: -0.022em; }
.legal-lead { margin-top: 20px; font-size: 17px; color: var(--text-3); }
.legal-doc h2 { margin: 56px 0 0; padding-top: 28px; border-top: 1px solid var(--line-1); font-size: 20px; line-height: 1.3; font-weight: var(--w-semi); letter-spacing: -0.012em; }
.legal-doc h3 { margin: 24px 0 0; font-size: 15px; font-weight: var(--w-semi); color: var(--text-1); }
.legal-doc p, .legal-doc li { color: var(--text-2); font-size: 15px; line-height: 1.7; }
.legal-doc p { margin-top: 12px; }
.legal-doc ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.legal-doc b { color: var(--text-1); font-weight: var(--w-semi); }
.legal-doc a { color: var(--text-1); text-decoration: underline; text-decoration-color: var(--text-4); text-underline-offset: 3px; }
.legal-doc a:hover { text-decoration-color: var(--text-1); }
@media (max-width: 960px) {
  .legal { padding-top: 100px; }
  .legal-in { grid-template-columns: 1fr; gap: 24px; }
  .legal-side { position: static; display: flex; flex-wrap: wrap; }
  .legal-doc h1 { font-size: 36px; }
}

/* ============ Página Recursos (/recursos) ============ */
.rc-hero { position: relative; padding: 168px 0 96px; border-bottom: 1px solid var(--line-1); overflow: hidden; }
.rc-hero::before { content: ''; position: absolute; left: 50%; top: -260px; width: 1100px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(124, 99, 232, .16), transparent); pointer-events: none; }
.rc-kicker { display: flex; align-items: center; gap: 10px; }
.rc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 10px rgba(167, 139, 250, .7); }
.rc-hero h1 { position: relative; max-width: 960px; margin: 24px 0 0; font-size: 64px; line-height: 1; font-weight: var(--w-medium); letter-spacing: -0.022em; }
.rc-hero h1 span { color: var(--text-3); }
.rc-lead { position: relative; max-width: 560px; margin: 28px 0 0; font-size: 17px; line-height: 1.6; color: var(--text-3); }
.rc-list { padding: 72px 0 40px; }
.rc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.rc-card { display: flex; flex-direction: column; border-radius: 14px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--hair-2); overflow: hidden; transition: box-shadow 200ms var(--ease), transform 200ms var(--ease); }
.rc-card:hover { box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .35), 0 12px 40px rgba(0, 0, 0, .35); transform: translateY(-2px); }
.rc-art { position: relative; display: grid; place-items: center; height: 184px; padding: 20px; border-bottom: 1px solid var(--line-1); background: radial-gradient(120% 90% at 50% 0%, rgba(124, 99, 232, .10), transparent 60%), var(--bg-1); overflow: hidden; }
.rc-art::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 16px 16px; -webkit-mask-image: linear-gradient(#000, transparent 85%); mask-image: linear-gradient(#000, transparent 85%); pointer-events: none; }
.rc-art > * { position: relative; }
.rc-art-night { background: radial-gradient(120% 90% at 50% 0%, rgba(80, 90, 200, .14), transparent 60%), var(--bg-1); }
.rc-body { padding: 20px 22px 24px; }
.rc-body h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font-size: 15px; font-weight: var(--w-semi); letter-spacing: -0.012em; color: var(--text-1); }
.rc-body h3 > svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--text-3); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.rc-body p { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: var(--text-3); }
.rc-tag { padding: 2px 7px; border-radius: 5px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--violet); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .35); }
.rc-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; margin: 40px 0 0; padding: 22px 24px; border-radius: 14px; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--hair-2); font-size: 15px; color: var(--text-3); text-align: center; }
.rc-band strong { color: var(--text-1); font-weight: var(--w-semi); }
.rc-band a { color: var(--violet); font-weight: var(--w-medium); }
.rc-band a:hover { color: var(--text-1); }

/* mini-telas dos cards (decorativas, aria-hidden) */
.rc-art p { margin: 0; }
.a-panes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; max-width: 300px; }
.a-pane { display: grid; gap: 7px; align-content: start; height: 112px; padding: 12px 10px; border-radius: 8px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--hair-2); }
.a-pane .d { width: 7px; height: 7px; border-radius: 50%; margin-bottom: 4px; }
.d.v { background: var(--violet); box-shadow: 0 0 8px rgba(167, 139, 250, .8); }
.d.g { background: var(--green); }
.d.a { background: var(--amber); }
.a-pane b { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .12); }
.a-pane b.s { width: 62%; }
.a-pane b.hl { width: 80%; background: var(--violet-2); }
.a-hib .off { opacity: .55; }
.a-hib .off span { font-family: var(--mono); font-size: 9.5px; color: var(--text-3); margin-bottom: 6px; }
.a-tree, .a-branch { width: 100%; max-width: 300px; height: auto; }
.a-tree path, .a-branch path { fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 1.4; }
.a-tree rect { fill: var(--bg-2); stroke: rgba(255, 255, 255, .14); }
.a-tree rect.on { stroke: var(--violet); fill: rgba(124, 99, 232, .14); }
.a-tree text { fill: var(--text-2); font: 500 10.5px var(--sans); text-anchor: middle; dominant-baseline: middle; }
.a-branch path.m { stroke: rgba(255, 255, 255, .3); }
.a-branch circle { fill: var(--bg-2); stroke: var(--text-3); stroke-width: 1.4; }
.a-branch circle.on { fill: var(--violet); stroke: var(--violet); }
.a-quota { display: grid; gap: 9px; width: 100%; max-width: 280px; font-size: 11.5px; }
.a-quota p { display: grid; grid-template-columns: 52px 1fr 32px; align-items: center; gap: 10px; color: var(--text-3); }
.a-quota em { height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--violet-2) var(--w), rgba(255, 255, 255, .08) var(--w)); }
.a-quota small { font-family: var(--mono); font-size: 10.5px; text-align: right; }
.a-quota .pick { grid-template-columns: 52px 1fr; margin-top: 4px; padding: 8px 10px; border-radius: 7px; background: rgba(124, 99, 232, .12); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .3); }
.a-quota .pick strong { font-family: var(--mono); font-weight: 500; font-size: 11px; color: var(--text-1); }
.a-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; max-width: 290px; }
.a-chips span { padding: 5px 10px; border-radius: 9999px; font-size: 11.5px; color: var(--text-3); box-shadow: inset 0 0 0 1px var(--hair-2); background: var(--bg-2); }
.a-chips span.on { color: var(--text-1); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .4); background: rgba(124, 99, 232, .12); }
.a-seg { display: flex; padding: 3px; border-radius: 9px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--hair-2); font-size: 11.5px; }
.a-seg span { padding: 6px 10px; border-radius: 7px; color: var(--text-3); white-space: nowrap; }
.a-seg span.on { color: var(--text-1); background: var(--bg-4); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .4); }
.rc-art .a-note { position: absolute; bottom: 22px; left: 0; right: 0; font-family: var(--mono); font-size: 10px; color: var(--text-4); text-align: center; }
.a-rows, .a-time, .a-files, .a-sleep { display: grid; gap: 7px; width: 100%; max-width: 280px; font-size: 12px; }
.a-rows p, .a-files p { display: flex; align-items: center; gap: 9px; padding: 8px 11px; border-radius: 7px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--text-2); }
.a-rows i, .a-files i { width: 12px; height: 12px; border-radius: 3px; box-shadow: inset 0 0 0 1.4px var(--text-4); flex: none; }
.a-rows small, .a-files small { margin-left: auto; font-family: var(--mono); font-size: 10px; color: var(--text-4); }
.a-rows p.on { box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .4); background: rgba(124, 99, 232, .1); }
.a-rows p.on i { background: var(--violet); box-shadow: none; }
.a-files p.o { justify-content: center; color: var(--violet); background: transparent; box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .3); }
.a-files p.o i { display: none; }
.a-diff { width: 100%; max-width: 290px; padding: 12px; border-radius: 8px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--hair-2); font-family: var(--mono); font-size: 10.5px; line-height: 1.9; }
.a-diff .del { color: #e5848a; background: rgba(229, 72, 77, .08); padding: 0 6px; border-radius: 3px; }
.a-diff .add { color: #7fd1a5; background: rgba(76, 183, 130, .08); padding: 0 6px; border-radius: 3px; }
.a-diff .rev { display: flex; align-items: center; gap: 7px; margin-top: 8px; font-family: var(--sans); font-size: 11px; color: var(--text-2); }
.a-diff .rev i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.a-time { position: relative; padding-left: 16px; }
.a-time::before { content: ''; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 1px; background: var(--line-1); }
.a-time p { position: relative; display: flex; align-items: center; gap: 9px; padding: 6px 0; color: var(--text-3); }
.a-time i { position: absolute; left: -16px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg-1); box-shadow: inset 0 0 0 1.5px var(--text-4); }
.a-time small { margin-left: auto; font-family: var(--mono); font-size: 10px; color: var(--text-4); }
.a-time p.on { color: var(--text-1); }
.a-time p.on i { background: var(--violet); box-shadow: 0 0 8px rgba(167, 139, 250, .8); }
.a-devices { display: flex; align-items: flex-end; gap: 12px; }
.a-devices > div { display: grid; gap: 6px; align-content: start; padding: 10px 8px; border-radius: 6px; background: #f4f6f5; }
.a-devices b { height: 5px; border-radius: 2px; background: #1f6f5c; }
.a-devices b.s { width: 60%; background: #b9c6c1; }
.a-devices i { height: 14px; width: 40px; border-radius: 9999px; background: #1f6f5c; margin-top: 4px; }
.dv-pc { width: 150px; height: 96px; }
.dv-tab { width: 74px; height: 96px; }
.dv-ph { width: 42px; height: 78px; }
.dv-ph i { width: 22px; }
.a-point { position: relative; width: 100%; max-width: 280px; height: 130px; border-radius: 8px; background: #f4f6f5; padding: 16px; }
.pt-el { display: inline-block; padding: 4px 6px; font-size: 15px; font-weight: 600; line-height: 1.15; color: #1f6f5c; outline: 1.5px solid var(--violet-2); outline-offset: 2px; border-radius: 3px; max-width: 150px; }
.pt-pop { position: absolute; right: 12px; bottom: 12px; display: grid; gap: 8px; width: 150px; padding: 9px; border-radius: 8px; background: #141518; color: var(--text-2); font-size: 10.5px; line-height: 1.35; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.pt-pop span { justify-self: end; padding: 3px 9px; border-radius: 5px; background: var(--violet-2); color: #fff; font-size: 10px; }
.pt-cur { position: absolute; left: 96px; top: 36px; width: 16px; height: 16px; fill: #111; stroke: #fff; stroke-width: 1; }
.a-sleep p { display: flex; align-items: center; gap: 9px; color: var(--text-2); }
.a-sleep i { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.a-sleep .ok i { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%2308090a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.a-sleep .wait { margin-top: 4px; padding: 8px 10px; border-radius: 7px; color: var(--text-1); background: rgba(242, 201, 76, .08); box-shadow: inset 0 0 0 1px rgba(242, 201, 76, .3); }
.a-sleep .wait i { background: var(--amber); width: 8px; height: 8px; }
.a-locks { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; width: 100%; max-width: 290px; font-size: 11.5px; }
.a-locks p { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 7px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--text-3); text-decoration: line-through; text-decoration-color: rgba(229, 72, 77, .7); }
.a-locks i { width: 10px; height: 10px; flex: none; border-radius: 2px; box-shadow: inset 0 0 0 1.4px #e5848a; }
.a-locks strong { grid-column: 1 / -1; margin-top: 4px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; color: var(--text-2); text-align: center; }
.a-decide { display: grid; gap: 8px; width: 100%; max-width: 290px; font-size: 11.5px; }
.a-decide p { display: flex; justify-content: space-between; gap: 10px; padding: 9px 11px; border-radius: 7px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--text-2); }
.a-decide strong { font-weight: var(--w-medium); white-space: nowrap; }
.a-decide .ok { color: #7fd1a5; }
.a-decide .warn { color: var(--amber); }
.a-decide small { font-family: var(--mono); font-size: 10px; color: var(--text-4); text-align: center; }
.a-ship { display: grid; gap: 10px; justify-items: center; width: 100%; max-width: 260px; }
.sh-row { display: flex; gap: 6px; font-size: 11.5px; }
.sh-row span { padding: 5px 10px; border-radius: 7px; color: var(--text-3); box-shadow: inset 0 0 0 1px var(--hair-2); }
.sh-row span.on { color: var(--text-1); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .4); background: rgba(124, 99, 232, .12); }
.sh-btn { padding: 8px 28px; border-radius: 9999px; background: var(--text-1); color: var(--bg); font-size: 12.5px; font-weight: var(--w-medium); }
.sh-url { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10.5px; color: var(--text-2); }
.sh-url i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(76, 183, 130, .8); }
.a-doc { position: relative; display: grid; gap: 7px; width: 150px; padding: 14px; border-radius: 6px; background: #f6f6f4; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); transform: rotate(-2deg); }
.doc-head { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 600; color: #3a2d6b; margin-bottom: 4px; }
.doc-head i { width: 10px; height: 10px; border-radius: 3px; background: #6d55d8; }
.a-doc b { height: 4px; border-radius: 2px; background: #d9d9d4; }
.a-doc b.s { width: 64%; }
.rc-art .doc-k { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 4px; }
.doc-k span { padding: 5px; border-radius: 3px; background: #ecebf6; font-size: 8px; color: #3a2d6b; }
.doc-pdf { position: absolute; right: -12px; top: -10px; padding: 3px 7px; border-radius: 5px; background: #e5484d; color: #fff; font-family: var(--mono); font-size: 9.5px; font-weight: 600; }
.a-secrets { display: grid; gap: 8px; width: 100%; max-width: 270px; font-size: 11.5px; }
.a-secrets p { display: flex; justify-content: space-between; padding: 9px 11px; border-radius: 7px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--hair-2); }
.a-secrets span { font-family: var(--mono); font-size: 10.5px; color: var(--text-2); }
.a-secrets em { font-style: normal; letter-spacing: 1px; color: var(--text-4); }
.a-secrets small { font-family: var(--mono); font-size: 10px; color: var(--violet); text-align: center; }
.a-editor { display: grid; grid-template-columns: 82px 1fr; width: 100%; max-width: 300px; height: 118px; border-radius: 8px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--hair-2); overflow: hidden; font-family: var(--mono); font-size: 10px; }
.ed-tree { padding: 10px 8px; border-right: 1px solid var(--line-1); color: var(--text-3); }
.ed-tree p { padding: 2px 4px; border-radius: 3px; }
.ed-tree p.on { color: var(--text-1); background: rgba(124, 99, 232, .18); }
.ed-code { padding: 10px; line-height: 1.8; color: var(--text-2); white-space: nowrap; }
.ed-code .k { color: #c4a7ff; }
.ed-code .a { color: #7fc8e8; }
.ed-code .s { color: #7fd1a5; }
.a-prefs { display: grid; gap: 10px; justify-items: center; width: 100%; max-width: 270px; font-size: 11.5px; }
.pf-themes { display: flex; gap: 8px; }
.pf-themes span { width: 44px; height: 28px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--hair-2); }
.pf-themes .t1 { background: #0e0f13; }
.pf-themes .t2 { background: #2a2b30; }
.pf-themes .t3 { background: #eceef1; }
.pf-themes span.on { box-shadow: 0 0 0 2px var(--violet); }
.a-prefs p { display: flex; align-items: center; gap: 5px; color: var(--text-3); }
.a-prefs p span { margin-right: 6px; }
.a-prefs kbd { padding: 2px 6px; border-radius: 4px; background: var(--bg-3); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08), inset 0 0 0 1px var(--hair-2); font-family: var(--mono); font-size: 10px; color: var(--text-2); }
.a-prefs .bell { padding: 7px 11px; border-radius: 7px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--text-2); gap: 8px; }
.a-prefs .bell i { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }

@media (max-width: 1100px) {
  .rc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .rc-hero { padding: 128px 0 64px; }
  .rc-hero h1 { font-size: 44px; }
}
@media (max-width: 640px) {
  .rc-grid { grid-template-columns: minmax(0, 1fr); }
  .rc-hero h1 { font-size: 36px; line-height: 1.05; }
  .rc-lead { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .rc-card, .rc-card:hover { transition: none; transform: none; }
}

/* ============ Hero: app 0.12 (barra nova, painel em chat com enquete) ============ */
.tb svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.tb-skills { display: inline-flex; align-items: center; gap: 5px; }
.tb-remote { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); }
.tb-bellb, .tb-gear { display: inline-grid; place-items: center; padding: 4px 7px; color: var(--text-2); }
.tb-split { display: inline-flex; align-items: stretch; border-radius: 6px; background: #17181c; box-shadow: inset 0 0 0 1px #24262c; color: var(--text-1); }
.tb-split > span:first-child { padding: 4px 9px; }
.tb-caret { width: 20px; border-left: 1px solid #24262c; background: no-repeat center/8px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23d0d6e0' stroke-width='1.4'/%3E%3C/svg%3E"); }
.ar-side { display: flex; flex-direction: column; }
.ar-trial { margin: auto 2px 0; padding: 6px 10px; border-radius: 6px; box-shadow: inset 0 0 0 1px #24262c; color: var(--text-3); font-size: 11px; }
.pn-ic { color: var(--text-3); padding: 0 2px; }
.pane-chat { display: flex; flex-direction: column; }
.hc-sess { margin: 0; padding: 7px 12px; border-bottom: 1px solid #1d1f25; color: var(--text-3); font-size: 11px; font-weight: var(--w-medium); }
.hc-body { display: grid; gap: 6px; padding: 10px 12px 8px; }
.hc-tool { display: flex; align-items: center; gap: 8px; margin: 0; padding: 6px 10px; border-radius: 6px; background: #16171c; box-shadow: inset 0 0 0 1px #23252b; color: var(--text-2); font-size: 11.5px; white-space: nowrap; overflow: hidden; }
.hc-tool em { font-style: normal; color: var(--text-4); font-size: 10.5px; }
.hc-ti { font-style: normal; color: var(--text-3); width: 12px; text-align: center; }
.hc-ok, .hc-run { margin-left: auto; font-size: 10.5px; }
.hc-ok { color: #5fd0a0; }
.hc-run { color: #b9a6ff; }
.hc-q { margin-top: 2px; padding: 10px 12px; border-radius: 8px; background: rgba(124, 99, 232, .07); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .55); }
.hc-q p { margin: 0; }
.hc-qh { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .04em; color: var(--text-4); }
.hc-qh b { color: #b9a6ff; font-weight: var(--w-semi); }
.hc-qt { margin: 6px 0 8px !important; color: var(--text-1); font-weight: var(--w-semi); font-size: 12.5px; }
.hc-opt { display: flex; align-items: center; gap: 9px; margin-top: 5px !important; padding: 6px 10px; border-radius: 6px; background: #121318; box-shadow: inset 0 0 0 1px #24262c; transition: box-shadow 200ms, background-color 200ms; }
.hc-opt i { width: 11px; height: 11px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--text-4); transition: box-shadow 200ms; }
.hc-opt.on { background: rgba(124, 99, 232, .12); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .6); }
.hc-opt.on i { box-shadow: inset 0 0 0 3.5px #a78bfa; }
.hc-n { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; box-shadow: inset 0 0 0 1px #2b2d34; color: var(--text-3); font-size: 10px; }
.hc-opt span:last-child { display: grid; line-height: 1.3; }
.hc-opt b { color: var(--text-1); font-weight: var(--w-semi); font-size: 11.5px; }
.hc-opt small { color: var(--text-3); font-size: 10.5px; }
.hc-qa { display: flex; gap: 8px; margin-top: 9px !important; font-size: 11px; white-space: nowrap; }
.hc-qa span { flex: none; }
.hc-send { padding: 5px 11px; border-radius: 6px; background: #4b3d8f; color: #ece8ff; transition: background-color 200ms, transform 150ms; }
.hc-send.on { background: #7c63e8; }
.hc-skip { padding: 5px 11px; border-radius: 6px; box-shadow: inset 0 0 0 1px #2b2d34; color: var(--text-2); }
.hc-comp { margin: 2px 12px 12px; padding: 8px 10px; border-radius: 8px; background: #121318; box-shadow: inset 0 0 0 1px #24262c; }
.hc-comp p { margin: 0; }
.hc-in { color: var(--text-4); font-size: 11.5px; padding: 2px 0 8px; }
.hc-ctl { display: flex; align-items: center; gap: 10px; color: var(--text-3); font-size: 10.5px; white-space: nowrap; overflow: hidden; }
.hc-plan { padding: 1px 7px; border-radius: 5px; box-shadow: inset 0 0 0 1px #2b2d34; }
.hc-ctx { color: var(--amber); }
.hc-go { margin-left: auto; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: #4b3d8f; color: #fff; }
@media (max-width: 1180px) {
  .tb-remote { display: none; }
}

/* ============ Controle remoto (celular) ============ */
.scene-remote { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 48px; padding-bottom: 0; }
.win-rmset { margin-top: 40px; }
.ico-sm { color: var(--text-3); }
.rs-body { display: grid; gap: 14px; padding: 18px 20px 22px; }
.rs-body p { margin: 0; }
.rs-row { display: flex; gap: 14px; align-items: flex-start; }
.rs-row b { display: block; color: var(--text-1); font-weight: var(--w-medium); }
.rs-row small { color: var(--text-3); font-size: 12.5px; }
.rs-sw { position: relative; flex: none; width: 34px; height: 20px; margin-top: 2px; border-radius: 9999px; background: #2a2c33; }
.rs-sw i { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform 200ms var(--ease); }
.rs-sw.on { background: var(--violet-2); }
.rs-sw.on i { transform: translateX(14px); }
.rs-pair { display: flex; gap: 18px; align-items: center; padding: 14px; border-radius: 10px; background: #0f1012; box-shadow: inset 0 0 0 1px var(--line-1); }
.rs-pair p { color: var(--text-3); font-size: 13px; }
.rs-qr { position: relative; flex: none; width: 96px; height: 96px; border-radius: 8px; overflow: hidden; background:
  conic-gradient(from 90deg at 3px 3px, #fff 90deg, transparent 0) 0 0 / 12px 12px,
  #111; box-shadow: inset 0 0 0 6px #fff; filter: contrast(1.1); }
.rs-qr::before, .rs-qr::after { content: ''; position: absolute; width: 26px; height: 26px; border: 5px solid #111; box-shadow: 0 0 0 4px #fff; background: #fff; outline: 4px solid #111; outline-offset: -13px; }
.rs-qr::before { left: 10px; top: 10px; }
.rs-qr::after { right: 10px; top: 10px; }
.rs-scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--violet); box-shadow: 0 0 12px 2px rgba(167, 139, 250, .8); opacity: 0; }
.rs-h { margin-top: 4px !important; font-size: 11px; font-weight: var(--w-semi); letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
.rs-dev { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; background: #16171a; box-shadow: inset 0 0 0 1px var(--line-1); color: var(--text-1); font-size: 13px; }
.rs-dev small { margin-left: auto; color: var(--text-3); font-size: 12px; }
.rs-sync { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 8px; background: rgba(76, 183, 130, .08); box-shadow: inset 0 0 0 1px rgba(76, 183, 130, .3); color: #8fe0b6; font-size: 13px; }
.rs-sync i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(76, 183, 130, .8); }
.phone { position: relative; height: 580px; padding: 14px 14px 0; border-radius: 40px 40px 0 0; background: #0b0c0e; box-shadow: inset 0 0 0 1px #2a2c33, inset 0 0 0 7px #16171a, 0 30px 60px rgba(0, 0, 0, .5); overflow: hidden; }
.ph-notch { width: 92px; height: 22px; margin: 4px auto 10px; border-radius: 9999px; background: #000; }
.ph-top { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 10px; margin: 0 6px; border-radius: 9999px; background: #17181c; color: var(--text-3); font-size: 11px; }
.ph-proj { display: grid; margin: 16px 8px 10px; }
.ph-proj b { color: var(--text-1); font-size: 15px; font-weight: var(--w-semi); }
.ph-proj span { color: #b9a6ff; font-size: 12px; }
.ph-feed { display: grid; gap: 10px; padding: 0 8px; }
.ph-feed p { margin: 0; }
.ph-msg { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: 13px; line-height: 1.4; }
.ph-me { justify-self: end; background: #2b2d34; color: var(--text-1); border-bottom-right-radius: 4px; }
.ph-ai { justify-self: start; color: var(--text-2); background: #15161a; box-shadow: inset 0 0 0 1px #24262c; border-bottom-left-radius: 4px; }
.ph-q { padding: 12px; border-radius: 14px; background: rgba(124, 99, 232, .08); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .5); }
.ph-qt { color: var(--text-1); font-size: 13px; font-weight: var(--w-semi); margin-bottom: 8px !important; }
.ph-opt { display: flex; align-items: center; gap: 9px; margin-top: 6px !important; padding: 9px 11px; border-radius: 10px; background: #121318; box-shadow: inset 0 0 0 1px #2b2d34; color: var(--text-1); font-size: 13px; transition: box-shadow 200ms, background-color 200ms; }
.ph-opt i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--text-4); transition: box-shadow 200ms; }
.ph-opt.on { background: rgba(124, 99, 232, .14); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .7); }
.ph-opt.on i { box-shadow: inset 0 0 0 4px #a78bfa; }
.ph-send { margin-top: 10px !important; padding: 9px; border-radius: 10px; background: #4b3d8f; color: #ece8ff; font-size: 13px; text-align: center; transition: background-color 200ms; }
.ph-send.on { background: #7c63e8; }
.ph-keys { display: grid; margin: 14px 8px 0; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ph-keys span { padding: 7px 0; border-radius: 8px; background: #17181c; box-shadow: inset 0 0 0 1px #2b2d34; color: var(--text-2); font-size: 11.5px; text-align: center; }

/* ============ Skills (loja) ============ */
.scene-skills { grid-template-columns: minmax(0, 1fr); }
.win-store { font-size: 13px; }
.st-head { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 18px; border-bottom: 1px solid var(--line-1); }
.st-head b { color: var(--text-1); font-size: 16px; font-weight: var(--w-semi); }
.st-head span { color: var(--text-3); font-size: 12.5px; }
.st-head em { margin-left: auto; padding: 5px 12px; border-radius: 6px; box-shadow: inset 0 0 0 1px #2b2d34; font-style: normal; color: var(--text-1); font-size: 12.5px; }
.st-tabs { display: flex; gap: 6px; height: 40px; padding: 0 12px; border-bottom: 1px solid var(--line-1); }
.st-tabs span { display: inline-flex; align-items: center; padding: 0 12px; color: var(--text-3); }
.st-tabs span.on { color: var(--text-1); box-shadow: inset 0 -2px 0 var(--violet); }
.st-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); min-height: 380px; }
.st-body p { margin: 0; }
.st-list { display: grid; gap: 8px; align-content: start; padding: 16px; border-right: 1px solid var(--line-1); }
.st-search { display: flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px #2b2d34; color: var(--text-1); }
.st-caret { width: 1px; height: 16px; margin-left: 2px; background: var(--violet); animation: st-blink 1s steps(2) infinite; }
@keyframes st-blink { 50% { opacity: 0; } }
.st-cap { margin-top: 6px !important; color: var(--text-3); font-size: 12px; }
.st-item { display: grid; padding: 10px 12px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-1); transition: box-shadow 200ms, background-color 200ms; }
.st-item b { color: var(--text-1); font-family: var(--mono); font-size: 12.5px; font-weight: 500; }
.st-item small { color: var(--text-3); font-size: 12px; }
.st-item.on { background: rgba(124, 99, 232, .1); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .5); }
.st-detail { display: grid; gap: 10px; align-content: start; padding: 22px 24px; }
.st-name { color: var(--text-1); font-family: var(--mono); font-size: 15px; }
.st-desc { color: var(--text-3); font-size: 13.5px; line-height: 1.55; max-width: 460px; }
.st-lbl { margin-top: 6px !important; color: var(--text-3); font-size: 11px; font-weight: var(--w-semi); letter-spacing: .04em; text-transform: uppercase; }
.st-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.st-chips span { padding: 5px 11px; border-radius: 9999px; box-shadow: inset 0 0 0 1px #2b2d34; color: var(--text-3); font-size: 12px; }
.st-chips span.on { color: var(--text-1); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .5); background: rgba(124, 99, 232, .12); }
.st-install { position: relative; justify-self: start; margin-top: 8px !important; padding: 9px 22px; border-radius: 9999px; background: var(--text-1); color: var(--bg); overflow: hidden; }
.st-install b { position: relative; font-weight: var(--w-medium); }
.st-bar { position: absolute; inset: 0; width: 0; background: #c9f2dd; }

@media (max-width: 960px) {
  .scene-remote { grid-template-columns: minmax(0, 1fr); padding: 32px 20px 0; }
  .win-rmset { display: none; }
  .phone { width: 300px; margin: 0 auto; }
  .st-body { grid-template-columns: minmax(0, 1fr); }
  .st-detail { display: none; }
}

/* recursos: cards da 0.10–0.12 */
.a-chat { display: grid; gap: 7px; width: 100%; max-width: 270px; font-size: 11.5px; }
.cq-tool { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 6px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--text-2); }
.cq-tool i { width: 8px; height: 8px; border-radius: 2px; box-shadow: inset 0 0 0 1.4px var(--text-3); }
.cq-tool span { margin-left: auto; color: #7fd1a5; font-size: 10.5px; }
.cq-q { padding: 9px 10px; border-radius: 8px; background: rgba(124, 99, 232, .08); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .5); }
.cq-t { color: var(--text-1); font-weight: var(--w-semi); margin-bottom: 5px !important; }
.cq-o { display: flex; align-items: center; gap: 8px; margin-top: 4px !important; padding: 5px 9px; border-radius: 6px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--text-1); transition: box-shadow 200ms, background-color 200ms; }
.cq-o i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.4px var(--text-4); transition: box-shadow 200ms; }
.cq-o.on { background: rgba(124, 99, 232, .14); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .6); }
.cq-o.on i { box-shadow: inset 0 0 0 3.5px #a78bfa; }
.cq-in { display: flex; justify-content: space-between; padding: 6px 10px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--text-4); }
.cq-in span { color: var(--text-3); font-size: 10.5px; }
.a-remote { display: grid; justify-items: center; gap: 10px; }
.ar-ph { display: grid; gap: 6px; align-content: start; width: 128px; height: 132px; padding: 12px 9px; border-radius: 18px; background: #0b0c0e; box-shadow: inset 0 0 0 1px #2a2c33, inset 0 0 0 4px #16171a; }
.rp-m { max-width: 92%; padding: 5px 8px; border-radius: 9px; font-size: 10px; line-height: 1.3; }
.rp-me { justify-self: end; background: #2b2d34; color: var(--text-1); }
.rp-ai { justify-self: start; background: #15161a; box-shadow: inset 0 0 0 1px #24262c; color: var(--text-2); }
.rp-k { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: auto !important; }
.rp-k span { padding: 4px 0; border-radius: 6px; background: #17181c; box-shadow: inset 0 0 0 1px #2b2d34; color: var(--text-2); font-size: 9.5px; text-align: center; }
.ar-lock { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10px; color: #8fe0b6; }
.ar-lock i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(76, 183, 130, .8); }
.a-skills { display: grid; gap: 7px; width: 100%; max-width: 280px; }
.sk-s { padding: 6px 10px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--hair-2); font-family: var(--mono); font-size: 10.5px; color: var(--text-3); }
.sk-i { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 7px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--hair-2); }
.sk-i b { font-family: var(--mono); font-size: 10.5px; font-weight: 500; color: var(--text-1); }
.sk-i span { flex: none; padding: 2px 9px; border-radius: 9999px; background: var(--text-1); color: var(--bg); font-size: 10px; transition: background-color 200ms, color 200ms; }
.sk-i span.done { background: rgba(76, 183, 130, .18); color: #8fe0b6; }

@media (max-width: 960px) {
  .ar-side { display: none; }
}

/* ============ Hero: demo navegável ============ */
.app-real button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.app-real { overflow: visible; }
.app-real .ar-body { overflow: hidden; border-radius: 0 0 16px 16px; }
button.ar-proj { width: 100%; transition: background-color 160ms, color 160ms; }
button.ar-proj:hover { background: #17181d; color: var(--text-1); }
.ar-files[hidden], .ar-tabs[hidden], .ar-grid[hidden], .ar-prev[hidden] { display: none !important; }
button.mt { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 6px; color: var(--text-3); transition: color 160ms, background-color 160ms; }
button.mt:hover { color: var(--text-1); background: #17181d; }
button.mt.on { color: var(--text-1); box-shadow: inset 0 -2px 0 #a78bfa; border-radius: 0; }
button.mt em { font-style: normal; color: var(--text-4); }
.ar-sub button { display: inline-flex; align-items: center; gap: 4px; padding: 0 14px; color: var(--text-3); border-right: 1px solid #1d1f25; transition: color 160ms; }
.ar-sub button:hover { color: var(--text-1); }
.ar-sub button.on { color: var(--text-1); box-shadow: inset 0 2px 0 #a78bfa; }
.ar-sub em { font-style: normal; color: var(--text-4); }
.ar-area { flex: 1; min-height: 0; display: flex; }
.ar-area > * { flex: 1; min-width: 0; }
.ar-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: 8px; padding: 8px; align-content: start; overflow: hidden; }
.ar-grid .pane { min-height: 196px; }
.ar-grid .pane-chat { grid-row: span 2; }
.ar-grid-2 .pane { min-height: 300px; }
.ar-prev { border-left: 0; }
.pn-wait { color: var(--amber); }
.pn-done { color: #5fd0a0; }
.pane .pn-model { margin-left: auto; }
.pane .pn-tag + .pn-model { margin-left: 0; }
.pane .pn-h { gap: 7px; }
.pane .pn-h .pn-tag { margin-left: auto; }
/* menu + Novo */
.tb { overflow: visible; position: relative; z-index: 3; }
.tb-split { position: relative; }
button.tb-caret { width: 22px; border-left: 1px solid #24262c; background: no-repeat center/8px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23d0d6e0' stroke-width='1.4'/%3E%3C/svg%3E"); border-radius: 0 6px 6px 0; }
button.tb-caret:hover, button.tb-caret[aria-expanded="true"] { background-color: #23252c; box-shadow: inset 0 0 0 1px #a78bfa; }
.tb-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 10; display: grid; width: 280px; padding: 6px; border-radius: 10px; background: #15161b; box-shadow: inset 0 0 0 1px #2b2d34, 0 18px 40px rgba(0, 0, 0, .55); white-space: normal; }
.tb-menu[hidden] { display: none; }
.tm-i { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 9px; border-radius: 6px; color: var(--text-1); font-size: 12px; }
.tm-i:hover { background: #1d1e24; }
.tm-on { box-shadow: inset 0 0 0 1px #a78bfa; }
.tm-i kbd, .tm-i small { font-family: inherit; font-size: 10.5px; color: var(--text-3); }
.tm-cap { margin: 6px 9px 2px; padding-top: 6px; border-top: 1px solid #23252b; color: var(--text-3); font-size: 11px; }
@media (max-width: 960px) {
  .ar-grid { grid-template-columns: minmax(0, 1fr); }
  .ar-grid .pane-chat { grid-row: auto; }
  .tb-menu { right: -40px; }
}

/* título: palavra que gira */
.rot { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.rot-w { display: inline-block; color: var(--violet); }

/* ============ Paralelo (corrida) ============ */
.race { padding: 200px 0 0; }
.race-box { position: relative; display: grid; gap: 22px; margin-top: 64px; padding: 32px 32px 26px; border-radius: 16px; background: linear-gradient(180deg, var(--bg-1), var(--bg) 90%); box-shadow: inset 0 1px 0 var(--hair-2), inset 0 0 0 1px var(--line-1); overflow: hidden; }
.race-lane { display: grid; gap: 8px; }
.race-lane p { margin: 0; }
.race-h { display: flex; align-items: baseline; gap: 14px; margin-bottom: 4px !important; }
.race-h b { font-size: 15px; font-weight: var(--w-semi); color: var(--text-2); }
.race-tc .race-h b { color: var(--text-1); }
.race-st { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.race-ok { color: #5fd0a0; }
.rc-row { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: center; gap: 16px; }
.rc-n { display: flex; justify-content: space-between; gap: 8px; color: var(--text-2); font-size: 13px; }
.rc-n small { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.rc-track { position: relative; height: 12px; border-radius: 9999px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-1); }
.rc-bar { position: absolute; top: 2px; bottom: 2px; left: var(--s); width: var(--w); border-radius: 9999px; transform-origin: left center; }
.rc-seq { background: #3a3c44; }
.rc-par { background: linear-gradient(90deg, var(--violet-2), var(--violet)); box-shadow: 0 0 12px rgba(167, 139, 250, .45); }
.race-head { position: absolute; top: 24px; bottom: 50px; left: calc(32px + 190px + 16px); width: 1px; background: rgba(255, 255, 255, .5); box-shadow: 0 0 10px rgba(255, 255, 255, .6); opacity: 0; pointer-events: none; }
.race-note { margin: 4px 0 0; font-size: 12px; color: var(--text-3); }
@media (max-width: 960px) {
  .race { padding-top: 140px; }
  .race-box { padding: 22px 18px; }
  .rc-row { grid-template-columns: 1fr; gap: 6px; }
  .race-head { display: none; }
}

/* revisão: celular */
@media (max-width: 960px) {
  .ar-sub [data-prevtab] { display: none; }
  .ar-grid .pn-tag, .ar-grid .pn-model, .mt-chip, .mt-add { display: none; }
  .hc-tool em { display: none; }
}
@media (max-width: 640px) {
  .hero h1 { min-height: 3.15em; }
}
/* recursos: o card de chat cabe na arte */
.a-chat { gap: 5px; }
.a-chat .cq-o { padding: 4px 9px; }

.promo { padding: 24px 0 72px; }
.promo-table-wrap { max-width: 640px; margin: 0 auto; overflow-x: auto; }
.promo-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.promo-table th, .promo-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line-1); }
.promo-table th { color: var(--text-2); font-weight: 500; font-size: 13px; }
.promo-table tbody tr:first-child td:nth-child(2) { color: #c4b5fd; font-weight: 600; }
.promo-rules { max-width: 640px; margin: 24px auto 0; padding-left: 20px; color: var(--text-2); font-size: 14px; display: grid; gap: 8px; }
.plan-founder a { color: #c4b5fd; }

/* instalar: aviso de versão por sistema */
.ver-note { display: block; margin-top: 6px; font-size: 13px; color: var(--amber); }

/* selo da hero quebra linha no celular */
@media (max-width: 640px) {
  .hero-new { white-space: normal; flex-wrap: wrap; max-width: 100%; }
}
