/* oakia — warm paper, carbon workspaces and spectrum accents. */
:root {
  --paper: #fff;
  --carbon: #111;
  --orange: #ff5100;
  --bg: var(--paper);
  --bg-2: #f3f3f3;
  --panel: #fff;
  --panel-2: #e9e9e9;
  --line: #dbdbdb;
  --line-2: #d0d0d0;
  --text: var(--carbon);
  --muted: #525252;
  --dim: #5e5e5e;
  --accent: #ab3700;
  --ok: #a3a3a3;
  --warn: #a7a7a7;
  --info: #bfbfbf;
  --bad: #a9a9a9;
  --max: 1200px;
  --radius: 20px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-size: 15px; line-height: 1.5; letter-spacing: -0.005em; }
a { color: inherit; text-decoration: none; }
code, pre { font-family: var(--mono); font-size: 0.86em; }
:not(pre) > code { background: var(--panel-2); border: 1px solid var(--line); border-radius: 5px; padding: 0 5px; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.muted { color: var(--muted); }
.fine { color: var(--dim); font-size: 0.84rem; margin: 10px 0 0; }

/* Navigation: full-width bar, brand at the far left, actions at the far right. */
.nav-wrap { position: sticky; top: 0; z-index: 20; background: var(--carbon);
  backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.window, .flow, .footer {
  --text: var(--paper);
  --muted: #cecece;
  --dim: #afafaf;
  --line: #3f3f3f;
  --line-2: #4e4e4e;
  --panel-2: #282828;
  --accent: #bababa;
  color: var(--text);
}
.nav-wrap.scrolled { border-bottom-color: var(--line); }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; max-width: calc(var(--max) + 48px); margin: auto; padding: 12px 24px; }
.brand { display: flex; align-items: center; gap: 9px; justify-self: start; }
.logo { display: block; width: 100px; height: auto; }
.nav-links { display: flex; gap: 30px; font-size: 0.92rem; }
.nav-links a { color: #cccccc; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 8px; justify-self: end; }
@media (max-width: 900px) { .nav { grid-template-columns: 1fr auto; } .nav-links { display: none; } }
@media (max-width: 640px) {
  .nav { padding: 9px 16px; }
  .logo { width: 88px; }
  .nav-cta .pill-outline { display: none; }
  .window-title { display: none; }
  .window-bar { grid-template-columns: auto 1fr; }
  .badge { justify-self: end; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
}

/* Pills */
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 8px 16px; font-size: 0.9rem;
  font-weight: 500; border: 1px solid transparent; cursor: pointer; font-family: inherit; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .15s; }
.pill:active { transform: translateY(1px); }
.pill-light { background: var(--carbon); color: var(--paper); }
.pill-light:hover { background: #373737; }
.pill-dark { background: var(--panel-2); color: var(--text); border-color: var(--line); }
.pill-dark:hover { background: #dddddd; }
.pill-outline { color: var(--text); border-color: var(--line-2); }
.pill-outline:hover { border-color: #383838; }
.pill-lg { padding: 11px 20px; font-size: 1rem; }

/* Hero */
.hero { padding: clamp(56px, 8vw, 112px) 0 clamp(32px, 4vw, 64px); }
.hero-title { font-weight: 700; font-size: clamp(2.35rem, 5.8vw, 3.625rem); line-height: 1.04; letter-spacing: -0.04em; text-wrap: balance;
  max-width: 20ch; margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* Textured canvases (original abstract texture; no third-party imagery) */
.canvas { position: relative; border-radius: var(--radius); overflow: hidden; padding: clamp(16px, 4vw, 48px);
  background: var(--bg-2); isolation: isolate; }
.canvas::before { content: ""; position: absolute; inset: 0; z-index: -2; }
.canvas::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.canvas-hero::before { background:
  linear-gradient(var(--line-2) 1px, transparent 1px) 0 0 / 52px 52px,
  linear-gradient(90deg, var(--line-2) 1px, transparent 1px) 0 0 / 52px 52px,
  radial-gradient(120% 90% at 10% 20%, #434343 0%, transparent 55%),
  radial-gradient(90% 80% at 85% 10%, #545454 0%, transparent 55%),
  radial-gradient(100% 90% at 70% 100%, #303030 0%, transparent 60%),
  radial-gradient(80% 70% at 20% 100%, #383838 0%, transparent 60%), #2e2e2e; }
.canvas-a::before { background: linear-gradient(128deg, #e8e8e8, #d0d0d0); }
.canvas-b::before { background: linear-gradient(130deg, #e1e1e1, #c8c8c8); }
.canvas-c::before { background: linear-gradient(115deg, #2c2c2c, #454545); }
.canvas-d::before { background: linear-gradient(135deg, #6c6c6c, #565656); }

/* App windows */
.window { background: var(--carbon); border: 1px solid #373737; border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 2px 0 rgba(255, 255, 255, .03) inset; }
.window-bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 9px 12px;
  border-bottom: 1px solid #1b1b1b; font-size: 0.78rem; color: var(--muted); }
.window-title { text-align: center; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #252525; }
.badge { font-size: 0.72rem; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.badge.ok { color: var(--ok); border-color: #3a3a3a; }
.badge.bad { color: var(--bad); border-color: #3c3c3c; }

/* Demo layout inside the window */
.demo { display: grid; grid-template-columns: 180px minmax(0, 0.95fr) minmax(0, 1.55fr); min-height: 430px; }
.demo-side { border-right: 1px solid #1b1b1b; padding: 12px 8px; }
.side-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); margin: 2px 8px 8px; }
.fact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.fact-list button { width: 100%; text-align: left; background: none; border: 0; color: #d6d6d6; font: inherit; font-size: 0.82rem;
  padding: 7px 8px; border-radius: 7px; cursor: pointer; display: grid; gap: 2px; }
.fact-list button:hover { background: #151515; }
.fact-list button[aria-pressed="true"] { background: #1b1b1b; color: var(--text); }
.fact-list .f-sub { font-size: 0.72rem; color: var(--dim); }
.demo-detail { padding: 16px 18px; border-right: 1px solid #1b1b1b; font-size: 0.85rem; overflow-wrap: anywhere; }
.demo-detail h3 { font-size: 0.95rem; margin: 0 0 2px; font-weight: 600; }
.demo-detail .kind { color: var(--dim); font-size: 0.75rem; margin: 0 0 12px; }
.demo-detail dl { display: grid; grid-template-columns: max-content 1fr; gap: 7px 12px; margin: 0 0 12px; }
.demo-detail dt { color: var(--dim); } .demo-detail dd { margin: 0; }
.demo-detail .note { color: #c5c5c5; border-left: 2px solid var(--accent); padding-left: 10px; margin: 0; }
.demo-page { display: flex; flex-direction: column; background: #0c0c0c; }
.page-bar { display: flex; justify-content: space-between; padding: 8px 12px; font-size: 0.75rem; color: var(--muted); border-bottom: 1px solid #1b1b1b; }
#demo-svg { width: 100%; height: auto; display: block; padding: 8px; }
#demo-svg text { fill: #d4d4d4; font-family: var(--serif); }
#demo-svg rect.hl { fill: rgb(255 81 0 / 16%); stroke: var(--accent); stroke-width: 1.2; }
.status { font-size: 0.7rem; border-radius: 5px; padding: 1px 6px; width: fit-content; }
.status.pendente_revisao { background: #2d2d2d; color: var(--info); }
.status.incerto { background: #282828; color: var(--warn); }
.caption { color: var(--dim); font-size: 0.85rem; margin: 12px 2px 0; }
@media (max-width: 960px) {
  .demo { grid-template-columns: 1fr; }
  .demo-side, .demo-detail { border-right: 0; border-bottom: 1px solid #1b1b1b; }
  .fact-list { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

/* Feature rows */
.features { display: grid; gap: 40px; padding: 110px 0 40px; }
.feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center;
  border-top: 1px solid var(--line-2); padding-top: clamp(24px, 4vw, 52px); }
.feature-reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
.feature-reverse .canvas { order: 2; }
.feature-text { padding: 12px 12px 12px 0; }
.feature-text h2 { font-size: clamp(1.55rem, 2.7vw, 2.4rem); font-weight: 500; line-height: 1.32; letter-spacing: -0.015em; margin: 0 0 16px; }
.feature-text h2 span { display: block; margin-top: 14px; font-size: 1rem; line-height: 1.55; letter-spacing: normal; color: var(--muted); font-weight: 400; }
.link { color: var(--accent); font-size: 0.95rem; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .feature, .feature-reverse { grid-template-columns: 1fr; } .feature-reverse .canvas { order: 0; } .feature-text { padding: 4px; } }
.window-sm { max-width: 560px; margin: 0 auto; }
.code, .term { margin: 0; padding: 16px 18px; color: #d4d4d4; overflow: auto; line-height: 1.6; font-size: 0.8rem; }
.t-ok { color: var(--ok); } .t-warn { color: var(--warn); } .t-mute { color: var(--dim); }
.table { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
.table th, .table td { text-align: left; padding: 8px 12px; border-bottom: 1px solid #181818; vertical-align: top; }
.table th { color: var(--dim); font-weight: 500; }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { color: var(--bad); }
.table td:last-child { color: #c5c5c5; }

/* Sections */
.section { padding: 90px 0 0; }
.section-title { font-size: 1.625rem; font-weight: 600; letter-spacing: -0.03em; margin: 0 0 18px; }
.section-center { padding: 110px 0 0; text-align: center; }
.display-sm { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 450; letter-spacing: -0.025em; margin: 0 0 34px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: left; }
.cards-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .cards-3, .cards-5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards-3, .cards-5 { grid-template-columns: 1fr; } }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 2vw, 32px); transition: background .2s; }
.card:hover { background: var(--panel); }
.card h3 { font-size: 0.98rem; font-weight: 500; margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.card-quote { color: var(--text) !important; font-size: 1.02rem !important; line-height: 1.45; }
.step-n { display: block; color: var(--dim); font-size: 0.82rem; margin-bottom: 18px; font-family: var(--mono); }

.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flow li { background: rgba(0, 0, 0, 0.82); border: 1px solid #252525; border-radius: 10px; padding: 14px 16px;
  display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; backdrop-filter: blur(4px); }
.flow span { grid-row: span 2; color: var(--accent); font-family: var(--mono); font-size: 0.85rem; padding-top: 2px; }
.flow strong { font-weight: 500; }
.flow em { font-style: normal; color: var(--muted); font-size: 0.88rem; }

.faq-list { display: grid; gap: 8px; }
.faq-list details { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 24px; }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-list summary::after { content: "+"; color: var(--muted); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list p { color: var(--muted); margin: 12px 0 2px; }

/* Form */
.form { display: grid; gap: 12px; padding: 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-size: 0.85rem; color: var(--muted); }
.form input, .form textarea { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 16px; transition: border-color .15s; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 14px; }
.form-foot .fine { margin: 0; }

/* Closing + footer */
.closing { text-align: center; padding: 170px 0 150px; }
.display { font-size: clamp(2.6rem, 6.4vw, 4.4rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.04; margin: 0 0 28px; }
.footer { background: var(--carbon); padding: 60px 0 30px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid a { display: block; color: #d6d6d6; margin: 0 0 9px; }
.footer-grid a:hover { color: var(--text); }
.f-head { color: var(--dim); margin: 0 0 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 56px; color: var(--muted); font-size: 0.82rem; }

/* Reveal on scroll (progressive: content is visible without JS) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } }

/* 404 page */
.notfound { min-height: 70vh; display: grid; place-content: center; text-align: center; padding: 80px 24px; }
.notfound p { color: var(--muted); max-width: 520px; margin: 0 auto 26px; }

/* Navigation and disclosures */
.announcement { display:block; padding:7px 16px; background:#eeeeee; color:#4c4c4c; text-align:center; font-size:.82rem }
.nav { position:relative; gap:16px }
.nav-links,.nav-cta,.hero-cta,.modes,.case-controls { align-items:center; flex-wrap:wrap }
.nav-links { gap:18px }
.mega summary { cursor:pointer; list-style:none; color:#ddd }
.mega summary::-webkit-details-marker { display:none }
.mega summary::after { content:'⌄'; color:var(--accent); margin-left:6px }
.mega-panel { position:absolute; left:0; right:0; top:100%; display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:24px; padding:28px; background:#151515; border:1px solid #313131; border-radius:0 0 12px 12px; box-shadow:0 20px 50px #0009; max-height:55vh; overflow:auto }
.mega-panel strong,.mega-panel a { display:block; padding:6px 0 }
.mega-panel strong,.trace-bar,.case-card small { font:500 .75rem/1.4 var(--mono); color:#cdcdcd; letter-spacing:.05em }
#menu-produtos > div:last-child { padding:14px 18px; border:1px solid #676767; background:linear-gradient(130deg,#353535,#292929) }
.orange { background:var(--orange); color:var(--carbon); font-weight:650 }
.orange:hover { background:#ababab }
:focus-visible { outline:2px solid var(--orange); outline-offset:3px }
.hero { display:grid; grid-template-columns:1.15fr 1fr; align-items:center; gap:clamp(28px,6vw,88px); padding-block:clamp(52px,7vw,104px) }
.hero-title { max-width:15ch; margin:0; font-size:clamp(2.7rem,5.3vw,4.8rem); line-height:1.01 }
.hero-summary { max-width:42ch; color:var(--muted); margin:20px 0 26px }
.hero-cta { gap:16px }
.trace,.case-card { background:linear-gradient(135deg,#f9f9f9,#f4f4f4 96%); border:1px solid #dbdbdb; border-radius:12px; padding:clamp(20px,3vw,40px) }
.trace { min-height:280px; display:grid; align-content:center; border-top:2px solid var(--accent) }
.trace h2,.case-card h3 { font-size:clamp(1.35rem,2.5vw,2rem); margin:12px 0 }
.trace strong,.metrics b { color:#545454; font-size:clamp(2rem,4vw,3.4rem); line-height:1.15 }
.trace code { display:inline-block; font-size:.8rem }
blockquote { border-left:2px solid var(--accent); padding-left:12px; margin:16px 0; color:var(--text) }
.modes,.case-controls { display:flex; gap:8px }
.modes button,.case-controls button { color:var(--text); background:var(--panel-2); border:1px solid var(--line-2); border-radius:6px; padding:8px 12px; cursor:pointer; font:inherit }
.modes button[aria-pressed=true] { background:#f1f1f1; color:#4c4c4c; border-color:#9a9a9a }
.scene-progress { height:2px; background:var(--accent); transform-origin:left; margin:14px 0 }
.rejection { color:var(--bad) }
.metrics { display:grid; grid-template-columns:repeat(3,1fr); border-block:1px solid var(--line-2) }
.metrics div { display:grid; gap:8px; padding:24px 12px }
.metrics span,.case-card p { color:var(--muted) }
.case-card { display:flex; align-items:end; justify-content:space-between; gap:20px }
.case-controls { flex-shrink:0 }
.plan { display:grid; gap:12px }
.plan b { font-size:1.45rem }
.compare summary::after { content:'⌄' }
.sr-only { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden }
@keyframes enter-panel { from { opacity:0; transform:translateY(-5px) } to { opacity:1; transform:none } }
@media (prefers-reduced-motion:no-preference) {
 .mega[open] .mega-panel,details[open] > table,details[open] > p { animation:enter-panel .18s ease-out }
}
@media(max-width:1050px) {
 .nav { grid-template-columns:1fr auto }
 .nav-links { display:flex; grid-row:2; grid-column:1/-1; gap:8px 16px }
 .nav-cta { grid-column:2; grid-row:1 }
 html { scroll-padding-top:150px }
}
@media(max-width:760px) {
 .hero { grid-template-columns:1fr }
 .metrics div { padding:16px 4px }
 .nav-links { font-size:.85rem }
 .case-card { align-items:start; flex-direction:column }
 .mega-panel { gap:12px; padding:16px }
 .nav-cta { font-size:.8rem }
 .metrics { column-gap:12px }
}

.trace-bar,.case-card small { color:#656565 }
.scene-progress { background:var(--orange) }
.canvas-hero::before { background:linear-gradient(118deg,#353535,#545454 42%,#606060 78%,#2c2c2c) }

/* White canvas, black ink, orange actions. */
.nav-wrap,.mega-panel { background:#fff; border-color:rgb(0 0 0 / 14%); color:#111 }
.nav-links a,.mega summary,.mega-panel strong,.metrics b,.trace strong,.trace-bar,.case-card small { color:#111 }
.nav-links a:hover,.mega summary:hover { color:var(--accent) }
.logo { filter:brightness(0) }
.announcement { background:#111; color:#fff }
#menu-produtos > div:last-child,.trace,.case-card { background:#fff; border-color:rgb(0 0 0 / 16%) }
.trace { border-top-color:#111 }
.orange,.pill-light,.modes button[aria-pressed=true] { background:var(--orange); color:#111; border-color:var(--orange) }
.orange:hover,.pill-light:hover { background:#ff732e; color:#111 }
.window,.flow,.footer { --accent:#ff874d; --ok:#fff; --info:#fff; --warn:#fff; --bad:#fff }
.fact-list button[aria-pressed=true] { box-shadow:inset 3px 0 var(--orange) }
.compare .table td,.compare .table th { color:#111 }
.hero { position:relative; isolation:isolate; overflow:hidden }
.hero::before {
  content:""; position:absolute; inset:-32px; z-index:-1; pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M20 24h8m-4-4v8' fill='none' stroke='%23000' stroke-opacity='.22'/%3E%3C/svg%3E");
  mask-image:linear-gradient(110deg,transparent 0%,rgb(0 0 0 / 35%) 34%,black 75%);
}
@keyframes drift-crosses { to { background-position:48px 48px } }
@media (prefers-reduced-motion:no-preference) {
  .hero::before { animation:drift-crosses 24s linear infinite }
}

/* Diagnóstico de eficiência */
.efficiency-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr)); gap: 16px; }
#eficiencia fieldset { min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); }
#eficiencia legend { font-weight: 600; padding-inline: 4px; }
#eficiencia label + label { margin-top: 12px; }
#eficiencia input { min-width: 0; width: 100%; }
#eficiencia .pill { justify-self: start; white-space: normal; }
#efficiency-result { border-top: 1px solid var(--line); overflow-wrap: anywhere; }
#efficiency-result h4 { margin: 0 0 8px; }

/* Entrada da sandbox e guia de conexão */
.nav { grid-template-columns: auto 1fr auto; }
.nav-links { justify-self: center; }
.social-x,.social-grid > * { display: inline-flex; align-items: center; gap: 7px; }
.social-x { justify-content: center; min-width: 36px; min-height: 36px; }
.launch { border-bottom: 1px solid #ddd; background-color: #fbfaf8; background-image: radial-gradient(#d2ccc4 1px,transparent 1px); background-size: 23px 23px; }
.launch-inner { display: grid; justify-items: center; padding: clamp(42px,6vw,80px) 0 48px; text-align: center; }
.agent-pill,.examples button,.quick-grid button { font: inherit; cursor: pointer; color: inherit; }
.agent-pill { display: inline-flex; align-items: center; gap: 10px; border: 1px solid #bdb9b2; border-radius: 30px; background: white; padding: 7px 14px; font-size: .86rem; }
.agent-icons { display: inline-flex; gap: 3px; align-items: center; }
.agent-icons svg:first-child { color: #ab3700; }
.launch h1 { margin: 24px 0 12px; font-size: clamp(2.4rem,5.3vw,4.8rem); line-height: 1.02; letter-spacing: -.055em; max-width: 23ch; text-wrap: balance; }
.launch h1 em { color: #ab3700; font-style: normal; }
.launch-summary { max-width: 62ch; margin: 0; color: #47433e; font-size: clamp(1rem,1.5vw,1.16rem); }
.launch-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.connector { position: relative; }
.connector > button { background: white; }
.connection-guide { text-align: left; z-index: 5; position: absolute; top: calc(100% + 8px); right: 0; width: min(340px,calc(100vw - 48px)); padding: 16px 20px; border: 1px solid #bdb9b2; border-radius: 16px; background: white; box-shadow: 0 12px 32px #0002; }
.workbench { width: min(100%,760px); min-width: 0; text-align: left; background: white; border: 1px solid #c9c6c1; border-radius: 18px; box-shadow: 0 10px 24px #3427160c; }
.bench-head,.query-row,.examples { display: flex; align-items: center; gap: 8px; }
.bench-head { justify-content: space-between; border-bottom: 1px solid #ddd; padding: 12px 18px; }
.bench-model { color: #59544d; font: .72rem var(--mono); }
.examples button { border: 1px solid #c8c4bd; background: white; border-radius: 8px; padding: 6px 10px; font-size: .84rem; }
#consultar { padding: 18px; }
.query-row { margin: 8px 0 12px; }
.query-row input { min-width: 0; width: 100%; padding: 12px; border-radius: 8px; border: 1px solid #817d75; font: inherit; }
.examples { flex-wrap: wrap; }
.examples button { font-size: .78rem; border-radius: 20px; }
#query-answer:not(:empty) { border-top: 1px solid #ddd; margin-top: 14px; padding-top: 12px; }
#query-answer blockquote { margin: 8px 0; }
.quick-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.quick-grid { border: 1px solid #d2cec7; margin: 22px auto 36px; }
.quick-grid > * { border: 0; background: white; text-align: left; padding: 20px; }
.quick-grid > * + * { border-left: 1px solid #d2cec7; }
.quick-grid span { display: block; color: #514e48; font-size: .9rem; margin-top: 4px; }
.quick-grid > :hover,.examples button:hover { background: #f6f4f1; }
.social-grid { display: flex; border: 1px solid #777; }
.social-grid > * { padding: 18px; }
:focus-visible { outline: 3px solid #883100; outline-offset: 3px; }
.footer :focus-visible,.window :focus-visible { outline-color: #ffa675; }
@media(max-width:1050px) {
  .nav { grid-template-columns: auto 1fr; }
  .nav-links { justify-self: start; }
}
@media(max-width:700px) {
  .nav { gap: 8px; }
  .nav-cta { justify-content: end; gap: 5px; }
  .nav-cta .pill { padding: 5px 8px; }
  .nav-cta .pill-outline { display: inline-flex; }
  .launch-actions { position: relative; }
  .connector { position: static; }
  .connection-guide { left: 50%; right: auto; transform: translateX(-50%); }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-grid > * + * { border-left: 0; border-top: 1px solid #aaa; }
  .bench-head { padding: 10px; }
  .bench-model { font-size: .63rem; }
  .query-row { align-items: stretch; }
}

.connection-guide > a { display: block; padding: .4rem 0; }
.connection-guide p { margin: .65rem 0 0; padding-top: .7rem; border-top: 1px solid var(--line); }
.footer { padding: 1.75rem 0; }

.contact-page, .dev-page { width: min(100% - 2rem, 55rem); margin: clamp(3rem, 7vw, 6rem) auto; }
.contact-page { max-width: 35rem; }
.contact-page h1, .dev-page h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); letter-spacing: -.055em; line-height: 1.05; margin: 0 0 1rem; }
.contact-page .form { margin-top: 2rem; }
.dev-page > section { padding-block: 2rem; border-top: 1px solid var(--line); scroll-margin-top: 8rem; }
.dev-page h2 { margin: 0 0 1rem; font-size: clamp(1.6rem, 4vw, 2.25rem); letter-spacing: -.04em; }
.dev-page h3 { margin: 1.5rem 0 .4rem; overflow-wrap: anywhere; }
.dev-page p { max-width: 70ch; }
.copy, .client-switch button { cursor: pointer; font: inherit; background: white; border: 1px solid #aaa; border-radius: .45rem; padding: .5rem .85rem; color: #222; }
#copy-page { margin-bottom: 2rem; }
.client-switch { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.5rem 0 1rem; }
.client-switch button[aria-pressed=true] { background: #21201e; border-color: #21201e; color: white; }
.dev-page pre { color: #faf7f3; background: #252320; border-radius: .6rem; padding: 1.1rem; overflow-x: auto; }
.concept-flow { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; list-style: none; gap: 1.25rem; }
.concept-flow li { position: relative; border: 1px solid var(--line); padding: 1rem; border-radius: .45rem; display: grid; align-items: center; }
.concept-flow li + li::before { content: '→'; position: absolute; left: -1.1rem; color: #9f400d; }
.limits { list-style: none; padding: 0; }
.limits li { display: grid; grid-template-columns: 2rem 1fr; gap: .6rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.limits strong { color: #943700; }
#copy-status:not(:empty) { position: fixed; bottom: 1rem; right: 1rem; margin: 0; background: #252320; color: white; padding: .75rem 1rem; border-radius: .5rem; }
@media (max-width: 650px) {
  .concept-flow { grid-template-columns: 1fr; }
  .concept-flow li + li::before { content: '↓'; left: 1rem; top: -1.4rem; }
}

.manual-contact { margin: 1rem 0 0; border-top: 1px solid var(--line); padding-top: .8rem; }
.contact-page [hidden] { display: none; }
#diagnostico pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }

.audit-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.audit-tabs button { background: white; color: #292622; border: 1px solid #aaa; padding: .5rem .85rem; border-radius: .5rem; font: inherit; cursor: pointer; }
.audit-tabs [aria-selected=true] { background: #26231f; border-color: #26231f; color: white; }
#auditar { padding: 1.15rem; overflow-wrap: anywhere; }
#audit-form { display: grid; gap: 1rem; }
#audit-form label { display: grid; gap: .3rem; }
#audit-form input { min-width: 0; max-width: 100%; padding: .5rem; font: inherit; }
#audit-page { width: 8rem; }
#audit-submit { justify-self: start; }
#audit-submit:disabled { cursor: wait; }
#audit-result:not(:empty) { border-top: 1px solid var(--line); margin-top: 1rem; }
.audit-deleted { border-radius: 1rem; padding: .25rem .7rem; color: #234b32; background: #e4f2e8; }
.audit-lines li { white-space: pre-wrap; }
