/* Gestão.IA — identidade visual */
:root {
  --color-pink: #EE05F2;
  --color-purple: #73378C;
  --color-blue: #0511F2;
  --color-gray: #6E6E73;
  --color-black: #0D0D0D;
  --bg: #ffffff;
  --bg-soft: #f4f4f4;
  --bg-mute: #f1f1f1;
  --line: #cccccc;
  --text: #0D0D0D;
  --muted: #2e2e33;
  --quiet: #4a4a50;
  --card: #ffffff;
  --header-h: 88px;
  --display: "Space Grotesk", sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --section: clamp(4.5rem, 8vw, 7.25rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1000px 520px at 88% -8%, rgba(5, 17, 242, 0.06), transparent 55%),
    radial-gradient(820px 480px at -12% 12%, rgba(238, 5, 242, 0.05), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 992px) {
  body { background-attachment: fixed; }
}

img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.12; margin: 0 0 0.75rem; font-weight: 600; color: var(--text); }
ul { margin: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
::selection { background: rgba(115, 55, 140, 0.22); color: #0D0D0D; }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #f4f4f4; }
::-webkit-scrollbar-thumb { background: #cccccc; border-radius: 99px; border: 3px solid #f4f4f4; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  background: #fff;
  color: #0D0D0D;
  padding: 8px 12px;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.grad {
  background: linear-gradient(105deg, #b000b6 0%, #73378C 46%, #0511F2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3a1848;
}
.kicker a { color: inherit; text-decoration: none; }
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-pink), var(--color-blue));
}

.section { padding-block: var(--section); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 68ch; }
.muted { color: var(--muted); }
.quiet { color: var(--quiet); }

.band {
  background: #f4f4f4;
  border-block: 1px solid #cccccc;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: transparent;
  border: 0;
  pointer-events: none;
}
.header-shell,
.nav-mobile { pointer-events: auto; }
.header-shell {
  width: min(1120px, calc(100% - 28px));
  height: 64px;
  margin: 12px auto 0;
  padding: 0 12px 0 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #cccccc;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(13, 13, 13, 0.05);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.site-header.is-scrolled .header-shell {
  box-shadow: 0 14px 36px rgba(13, 13, 13, 0.1);
}
.brand { display: inline-flex; align-items: center; justify-self: start; text-decoration: none; min-width: 0; max-width: 100%; }
.header-shell .brand img {
  display: block;
  width: clamp(132px, calc(100vw - 128px), 230px);
  max-width: 100%;
  height: auto;
  aspect-ratio: 262 / 32;
}
.nav-desktop {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 2px;
  min-width: 0;
}
.nav-desktop a {
  position: relative;
  text-decoration: none;
  color: #3a3a42;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 11px;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-desktop a:hover { color: #0D0D0D; background: #f4f4f4; }
.nav-desktop a.is-active { color: #0D0D0D; }
.nav-desktop a.is-active::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: #73378C;
}
.nav-drop { position: relative; }
.nav-drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-drop-toggle i {
  font-size: 0.68rem;
  transition: transform 0.2s ease;
}
.nav-drop:hover .nav-drop-toggle i,
.nav-drop:focus-within .nav-drop-toggle i { transform: rotate(180deg); }
.nav-drop-panel {
  position: absolute;
  z-index: 80;
  top: calc(100% - 2px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 280px;
  padding: 10px 8px 8px;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(13, 13, 13, 0.12);
  display: grid;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%);
}
.nav-drop-panel a {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-drop-panel a:first-child { font-weight: 600; color: #0D0D0D; }
.nav-drop-panel a[aria-current="page"] { background: #f4f4f4; color: #0D0D0D; }
.nav-drop-panel a.is-active::after { content: none; }
.header-cta { justify-self: end; }

.nav-toggle {
  list-style: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #ffffff;
  display: grid;
  place-items: center;
  gap: 5px;
}
.nav-toggle::-webkit-details-marker { display: none; }
.ham,
.ham::before,
.ham::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #0D0D0D;
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.ham::before,
.ham::after { content: ""; position: absolute; left: 0; }
.ham::before { top: -6px; }
.ham::after { top: 6px; }
.nav-mobile[open] .ham { background: transparent; }
.nav-mobile[open] .ham::before { top: 0; transform: rotate(45deg); }
.nav-mobile[open] .ham::after { top: 0; transform: rotate(-45deg); }

.nav-mobile {
  position: absolute;
  top: 21px;
  right: max(24px, calc((100% - 1120px) / 2 + 16px));
}
.nav-panel {
  display: none;
  position: fixed;
  z-index: 70;
  top: 84px;
  left: 0;
  right: 0;
  height: calc(100dvh - 84px);
  padding: 20px 24px 36px;
  background: #ffffff;
  overflow: auto;
}
.nav-mobile[open] .nav-panel { display: flex; flex-direction: column; animation: menuIn 0.35s ease; }
.nav-label {
  margin: 8px 0 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6E6E73;
}
.nav-panel a:not(.button) {
  text-decoration: none;
  color: #0D0D0D;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  padding: 14px 0;
  border-bottom: 1px solid #f1f1f1;
}
.nav-panel a:not(.button).is-active { color: #73378C; }
.nav-panel .nav-label:not(:first-of-type) { margin-top: 22px; }
.nav-panel .button { margin-top: 28px; width: 100%; }
body:has(.nav-mobile[open]) { overflow: hidden; }

@keyframes menuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1199.98px) {
  .header-shell .header-cta { display: none; }
  .header-shell { grid-template-columns: 1fr; padding-right: 62px; }
}
@media (min-width: 1200px) {
  .nav-desktop { display: flex; }
  .nav-mobile { display: none; }
}

/* Buttons */
.button {
  --pad-y: 12px;
  --pad-x: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.button:hover { transform: translateY(-2px); }
.button:disabled { opacity: 0.65; cursor: progress; transform: none; }
.button-grad {
  color: #fff;
  background: linear-gradient(105deg, #8d128f 0%, #5a277f 46%, #1a22c4 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 10px 30px rgba(5, 17, 242, 0.28);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.button-grad::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}
.button-grad:hover::after { transform: translateX(120%); }
.button-grad:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 12px 34px rgba(238, 5, 242, 0.22); }
.button-ghost {
  color: #0D0D0D;
  background: #ffffff;
  border-color: #cccccc;
}
.button-ghost:hover { border-color: #73378C; background: #f4f4f4; color: #0D0D0D; }
.button-sm { --pad-y: 10px; --pad-x: 14px; min-height: 44px; font-size: 0.92rem; }

/* Hero */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 36px);
  padding-bottom: 72px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-fade {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 13, 13, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 13, 13, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 72%);
}
.orb {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.45;
}
.orb-blue { right: -80px; top: 40px; background: rgba(5, 17, 242, 0.16); }
.orb-pink { left: -120px; bottom: -40px; background: rgba(238, 5, 242, 0.12); }
.hero h1 { font-size: clamp(2.35rem, 4.4vw, 3.85rem); }
.hero .lead { font-size: 1.05rem; margin-top: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 1.25rem; }
.hero-points { list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 0.95rem; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; }
.hero-points i { color: #0511F2; margin-top: 3px; }

.ai-stage {
  position: relative;
  width: min(100%, 560px);
  margin-inline: auto;
  aspect-ratio: 1;
}
.ai-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.spin-ring { transform-box: view-box; transform-origin: center; animation: spin 36s linear infinite; }
.packet { filter: drop-shadow(0 0 4px rgba(238, 5, 242, 0.8)); }

.node {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #cccccc;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #0D0D0D;
  box-shadow: 0 10px 24px rgba(13, 13, 13, 0.08);
  white-space: nowrap;
}
.node i { color: #73378C; font-size: 0.85rem; }
.node-erp { left: 50%; top: 31.56%; }
.node-vendas { left: 65.94%; top: 40.78%; }
.node-financeiro { left: 65.94%; top: 59.22%; }
.node-estoque { left: 50%; top: 68.44%; }
.node-compras { left: 34.06%; top: 59.22%; }
.node-producao { left: 34.06%; top: 40.78%; }

.ai-core {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 118px;
  height: 118px;
  transform: translate(-50%, -50%);
}
.core-glow {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 5, 242, 0.45), rgba(5, 17, 242, 0.05) 68%, transparent 72%);
  animation: pulse 4.8s ease-in-out infinite;
}
.core-mark {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  background: radial-gradient(circle at 50% 42%, #3a1458, #241044 46%, #12144a 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 0 28px rgba(238, 5, 242, 0.35);
}

.float-card {
  position: absolute;
  z-index: 5;
  width: 148px;
  padding: 10px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #cccccc;
  box-shadow: 0 14px 32px rgba(13, 13, 13, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: floaty 7s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 0.82rem; font-family: var(--display); letter-spacing: -0.02em; }
.float-card span { display: block; color: var(--quiet); font-size: 0.72rem; }
.fc-1 { top: 8px; left: 8px; }
.fc-2 { top: 8px; right: 8px; animation-delay: -2.2s; }
.fc-3 { bottom: 8px; left: 8px; animation-delay: -3.6s; }
.fc-4 { right: 8px; bottom: 8px; width: 158px; animation: none; }
.card-k { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: #3a1848; margin-bottom: 4px; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 36px; margin: 8px 0 4px; }
.bars i {
  display: block;
  width: 8px;
  height: var(--h);
  border-radius: 99px;
  background: linear-gradient(180deg, #EE05F2, #0511F2);
  transform-origin: bottom;
  animation: grow 1.4s ease both;
}
.spark { width: 100%; height: 36px; margin: 6px 0; }
.spark path { fill: none; stroke: url(#sparkStroke); stroke-width: 2; }
.feed-line { min-height: 2.6em; color: var(--muted); font-size: 0.78rem; margin: 6px 0 0; transition: opacity 0.2s ease; }
.feed-line.is-swapping { opacity: 0; }
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EE05F2;
  box-shadow: 0 0 8px #EE05F2;
  display: inline-block;
  margin-right: 6px;
  animation: blink 1.8s ease-in-out infinite;
}
.stage-caption { margin: 14px auto 0; text-align: center; color: var(--quiet); font-size: 0.8rem; max-width: 46ch; }

.particles { position: absolute; inset: 0; pointer-events: none; }
.particles i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #73378C;
  box-shadow: 0 0 8px rgba(115, 55, 140, 0.45);
  animation: twinkle 3.6s ease-in-out infinite;
}
.particles i:nth-child(1) { top: 18%; left: 22%; }
.particles i:nth-child(2) { top: 30%; left: 78%; animation-delay: .4s; }
.particles i:nth-child(3) { top: 62%; left: 16%; animation-delay: .8s; }
.particles i:nth-child(4) { top: 72%; left: 84%; animation-delay: 1.1s; }
.particles i:nth-child(5) { top: 46%; left: 48%; animation-delay: 1.6s; }
.particles i:nth-child(6) { top: 12%; left: 58%; animation-delay: .2s; }
.particles i:nth-child(7) { top: 84%; left: 40%; animation-delay: 1.9s; }
.particles i:nth-child(8) { top: 40%; left: 8%; animation-delay: 2.2s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.05); }
}
@keyframes grow {
  from { transform: scaleY(0.2); }
  to { transform: scaleY(1); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}

@media (min-width: 992px) {
  .hero { min-height: 100vh; display: flex; align-items: center; padding-top: var(--header-h); }
}
@media (max-width: 1199.98px) {
  .fc-3 { display: none; }
}
@media (max-width: 575.98px) {
  .hero-actions .button { width: 100%; }
  .float-card { display: none; }
  .kicker { letter-spacing: 0.08em; font-size: 0.68rem; }
  .node { font-size: 0.68rem; padding: 5px 7px; }
  .ai-core { width: 92px; height: 92px; }
  .core-mark { inset: 14px; font-size: 0.82rem; }
}

/* Panels and cards */
.panel {
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(13, 13, 13, 0.05);
}
.icon-chip {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #f1f1f1;
  border: 1px solid #cccccc;
  color: #0D0D0D;
  font-size: 1.1rem;
}

.problem-card, .auto-card, .price-card, .benefit-item {
  height: 100%;
  padding: 22px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.problem-card:hover, .auto-card:hover, .price-card:hover, .benefit-item:hover {
  transform: translateY(-4px);
  border-color: rgba(238, 5, 242, 0.32);
  box-shadow: 0 16px 36px rgba(13, 13, 13, 0.08);
}
.problem-card h3, .auto-card h3, .price-card h3 { font-size: 1.15rem; }
.problem-card p, .auto-card p, .price-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.problem-card .icon-chip, .auto-card .icon-chip { margin-bottom: 16px; }

.raw-log { padding: 18px 18px 8px; height: 100%; }
.raw-log header, .raw-log footer { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--quiet); }
.raw-log ul { list-style: none; margin: 12px 0; }
.raw-log li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.raw-log li span { color: #73378C; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 3px; }
.raw-log footer { padding: 8px 0 12px; }

/* Flow */
.flow-wrap { position: relative; }
.flow {
  list-style: none;
  display: grid;
  gap: 18px;
}
.flow-item {
  position: relative;
  padding: 18px;
  min-height: 100%;
}
.flow-item .icon-chip { margin-bottom: 12px; }
.flow-item h3 { font-size: 1.02rem; }
.flow-item p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.flow-index { font-family: var(--display); font-size: 0.75rem; letter-spacing: 0.14em; color: var(--quiet); }
.flow-line, .flow-dot { display: none; }
@media (min-width: 760px) and (max-width: 1099.98px) {
  .flow { grid-template-columns: 1fr 1fr; }
}
.note {
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 2px solid transparent;
  border-image: linear-gradient(var(--color-pink), var(--color-blue)) 1;
  background: #f4f4f4;
  color: var(--muted);
}

@media (min-width: 1100px) {
  .flow { grid-template-columns: repeat(6, 1fr); gap: 12px; padding-top: 8px; }
  .flow-line {
    display: block;
    position: absolute;
    top: 46px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(90deg, rgba(238, 5, 242, 0.15), #EE05F2, #73378C, #0511F2, rgba(5, 17, 242, 0.15));
    opacity: 0.85;
  }
  .flow-dot {
    display: block;
    position: absolute;
    top: 41px;
    left: 5%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0511F2;
    box-shadow: 0 0 12px rgba(5, 17, 242, 0.45);
    animation: travelX 4.8s linear infinite;
  }
}
@keyframes travelX {
  from { left: 5%; }
  to { left: calc(95% - 12px); }
}

/* Areas */
.area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.area-card { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.area-top { display: flex; gap: 14px; }
.area-top h3 { font-size: 1.2rem; margin-bottom: 4px; }
.area-top p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.area-more-btn {
  align-self: flex-start;
  background: transparent;
  border: 0;
  color: #0511F2;
  padding: 6px 0;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.area-more-btn i { transition: transform 0.25s ease; }
.area-card.is-open button.area-more-btn i { transform: rotate(45deg); }
a.area-more-btn {
  margin-top: auto;
  padding: 8px 0 0;
  text-decoration: none;
  color: #0D0D0D;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  gap: 10px;
}
a.area-more-btn i {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f4f4f4;
  border: 1px solid #cccccc;
  color: #0D0D0D;
  font-size: 0.85rem;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
a.area-more-btn:hover { color: #0D0D0D; background: transparent; }
a.area-more-btn:hover i {
  transform: translateX(3px);
  background: #0D0D0D;
  border-color: #0D0D0D;
  color: #ffffff;
}
a.area-more-btn:focus-visible {
  outline: 2px solid #73378C;
  outline-offset: 4px;
  border-radius: 8px;
}
.area-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.area-card.is-open .area-more { grid-template-rows: 1fr; }
.area-more-inner { overflow: hidden; }
.area-more ul { list-style: none; padding: 4px 0 6px; display: grid; gap: 8px; }
.area-more li { color: var(--muted); font-size: 0.92rem; padding-left: 16px; position: relative; }
.area-more li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(var(--color-pink), var(--color-blue));
  position: absolute;
  left: 0;
  top: 0.55em;
}
.area-gestao { background: linear-gradient(180deg, #f4f4f4, #ffffff); }

@media (min-width: 768px) {
  .area-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .area-grid { grid-template-columns: 1fr 1fr 1fr; }
  .area-gestao { grid-column: 1 / -1; }
  .area-gestao .area-top { max-width: 860px; }
}

/* Automations */
.auto-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .auto-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .auto-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }

.runner { margin-top: 28px; padding: 18px; }
.runner-top { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.runner-tabs, .step-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .step-btn {
  border: 1px solid var(--line);
  background: #ffffff;
  color: #2e2e33;
  border-radius: 999px;
  min-height: 40px;
  padding: 8px 12px;
}
.chip[aria-selected="true"], .step-btn[aria-pressed="true"] {
  color: #0D0D0D;
  border-color: #73378C;
  background: #f4f4f4;
}
.runner-grid { display: grid; gap: 16px; }
.step-list { flex-direction: column; align-items: stretch; }
.step-btn { border-radius: 16px; text-align: left; width: 100%; }
.step-btn small { display: block; color: var(--quiet); letter-spacing: 0.08em; font-size: 0.72rem; }
.step-btn b { display: block; font-family: var(--display); font-weight: 600; color: #0D0D0D; }
.step-btn span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.84rem; font-weight: 400; line-height: 1.45; }
.runner-stage { padding: 18px; min-height: 280px; display: flex; flex-direction: column; }
.runner-visual { position: relative; flex: 1; min-height: 210px; border-radius: 16px; background: #f4f4f4; border: 1px solid #cccccc; overflow: hidden; }
.rv { position: absolute; inset: 0; padding: 18px; opacity: 0; transform: translateY(6px); transition: opacity 0.35s ease, transform 0.35s ease; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.runner-visual[data-visual="1"] .rv-1,
.runner-visual[data-visual="2"] .rv-2,
.runner-visual[data-visual="3"] .rv-3,
.runner-visual[data-visual="4"] .rv-4,
.runner-visual[data-visual="5"] .rv-5 { opacity: 1; transform: none; }
.rv strong { font-family: var(--display); font-size: 1.15rem; }
.rv p { margin: 0; color: var(--muted); }
.perm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0D0D0D;
  border: 1px solid #cccccc;
  background: #ffffff;
  border-radius: 999px;
  padding: 5px 8px;
  width: fit-content;
}
.data-row { display: flex; flex-wrap: wrap; gap: 8px; }
.data-row span, .log-line {
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 10px;
  padding: 6px 8px;
  font-size: 0.82rem;
  color: var(--muted);
}
.signal {
  width: 14px; height: 14px; border-radius: 50%;
  background: #EE05F2;
  box-shadow: 0 0 0 6px rgba(238, 5, 242, 0.15);
}
@media (max-width: 991.98px) {
  .runner-stage { order: -1; }
}
@media (min-width: 992px) {
  .runner-grid { grid-template-columns: 0.92fr 1.08fr; align-items: stretch; }
}

/* Dashboard */
.dash {
  padding: 16px;
  background: #f4f4f4;
}
.dash-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 6px 6px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #cccccc; display: block; }
.dots i:first-child { background: #EE05F2; }
.dots i:nth-child(2) { background: #73378C; }
.dots i:nth-child(3) { background: #0511F2; }
.sim-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5c1468;
  border: 1px solid rgba(238, 5, 242, 0.35);
  background: rgba(238, 5, 242, 0.08);
  border-radius: 999px;
  padding: 6px 10px;
}
.dash-grid { display: grid; gap: 12px; }
.kpi-row { display: grid; gap: 12px; }
.kpi { padding: 14px; }
.kpi span { color: var(--quiet); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.kpi strong { display: block; margin-top: 6px; font-family: var(--display); font-size: 1.45rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; color: var(--quiet); font-size: 0.78rem; }
.chart-card, .side-card, .chat { padding: 14px; }
.chart-card h3, .side-card h3, .chat h3 { font-size: 0.95rem; margin-bottom: 8px; }
.chart-svg { width: 100%; height: auto; }
.chart-line {
  fill: none;
  stroke: #EE05F2;
  stroke-width: 2.4;
  stroke-linecap: round;
}
.chart-line.alt { stroke: #0511F2; }
.js .chart-card.is-in .chart-line {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 1.6s ease forwards;
}
.js .chart-card.is-in .chart-line.alt { animation-delay: 0.15s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.alert-list, .history { list-style: none; display: grid; gap: 8px; }
.alert-list li, .history li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.9rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.alert-list li:last-child, .history li:last-child { border-bottom: 0; padding-bottom: 0; }
.tag {
  flex: 0 0 auto;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3a1848;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 6px;
  margin-top: 3px;
}
.chat { display: flex; flex-direction: column; gap: 10px; min-height: 100%; }
.bubble { border-radius: 16px; padding: 12px 14px; font-size: 0.95rem; }
.bubble.user { background: #ffffff; border: 1px solid #cccccc; }
.bubble.ai {
  background: linear-gradient(180deg, #f4f4f4, #ffffff);
  border: 1px solid #cccccc;
}
.bubble p { margin: 0; }
.who { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--quiet); margin-bottom: 4px; }
.status-line { min-height: 1.3em; color: #73378C; font-size: 0.88rem; }
.scan { display: none; height: 8px; border-radius: 99px; overflow: hidden; background: #cccccc; }
.chat.is-running .scan { display: block; }
.scan i {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent, #EE05F2, #0511F2, transparent);
  animation: load 1s linear infinite;
}
@keyframes load { from { transform: translateX(-120%); } to { transform: translateX(320%); } }
.chat-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

@media (min-width: 768px) {
  .kpi-row { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .dash-grid { grid-template-columns: 1.35fr 0.85fr; }
  .kpi-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .chart-card { grid-column: 1 / 2; }
  .stack-side { display: grid; gap: 12px; }
  .chat { grid-column: 2; grid-row: 2 / span 2; }
}

/* Benefits */
.benefit-list { display: grid; gap: 12px; }
.benefit-item { display: flex; gap: 12px; align-items: flex-start; padding: 16px; }
.benefit-item h3 { font-size: 1rem; margin: 0; }
.benefit-visual { padding: 22px; height: 100%; }
.read-core {
  width: 148px;
  height: 148px;
  margin: 8px auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  color: #ffffff;
  background: radial-gradient(circle at 50% 45%, #2a1244, #12132e 70%);
  box-shadow: 0 0 0 1px #cccccc, 0 0 32px rgba(5, 17, 242, 0.18);
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.read-core::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px dashed rgba(238, 5, 242, 0.45);
  animation: spin 28s linear infinite;
}
.read-list { list-style: none; display: grid; gap: 10px; }
.read-list li { display: grid; grid-template-columns: 88px 1fr; gap: 8px; font-size: 0.92rem; color: var(--muted); }
.read-list b { color: #0D0D0D; font-weight: 700; }
@media (min-width: 768px) { .benefit-list { grid-template-columns: 1fr 1fr; } }

/* Timeline */
.timeline { list-style: none; display: grid; gap: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 28px 72px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--color-pink), var(--color-purple), var(--color-blue));
  opacity: 0.7;
}
.timeline li:last-child::before { bottom: auto; height: 8px; }
.t-index {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 0.85rem;
  background: #ffffff;
  border: 1px solid #cccccc;
  color: #0D0D0D;
  box-shadow: 0 0 0 4px #f4f4f4;
}
.timeline h3 { font-size: 1.25rem; }
.timeline p { margin: 0; color: var(--muted); max-width: 36ch; }
@media (min-width: 992px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .timeline.steps-3 { grid-template-columns: repeat(3, 1fr); }
  .timeline li { padding: 72px 12px 0 0; }
  .timeline li::before { left: 0; right: 18px; top: 23px; bottom: auto; width: auto; height: 2px; }
  .timeline li:last-child::before { height: 2px; width: 24px; }
  .t-index { top: 0; left: 0; }
}

/* Pricing */
.price-grid { display: grid; gap: 14px; }
.price-card { display: flex; flex-direction: column; align-items: flex-start; }
.price { font-family: var(--display); font-size: 1.55rem; letter-spacing: -0.03em; margin: 8px 0; }
.price small { display: block; font-family: var(--body); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--quiet); font-weight: 600; }
@media (min-width: 700px) { .price-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { padding: 0; overflow: hidden; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; color: #0D0D0D; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); max-width: 78ch; }

/* CTA */
.cta { position: relative; overflow: hidden; }
.cta-wrap {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  border-radius: 32px;
  background:
    radial-gradient(500px 240px at 12% 20%, rgba(238, 5, 242, 0.28), transparent 60%),
    radial-gradient(520px 280px at 90% 80%, rgba(5, 17, 242, 0.45), transparent 62%),
    linear-gradient(120deg, #2a1248 0%, #1a1468 48%, #101446 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}
.cta-wrap h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 16em;
  color: #ffffff;
}
.cta-wrap .kicker,
.cta-wrap .lead { color: #ffffff; }
.rings {
  position: absolute;
  right: -40px;
  top: 50%;
  width: 280px;
  height: 280px;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}
.rings::before, .rings::after {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  border: 1px solid rgba(238, 5, 242, 0.35);
}
.rings::after { inset: 64px; border-color: rgba(5, 17, 242, 0.5); }
@media (max-width: 767px) { .rings { display: none; } }

/* Contact */
.form { padding: 22px; display: grid; gap: 12px; }
.field label { display: block; font-size: 0.85rem; margin-bottom: 6px; color: #0D0D0D; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  background: #ffffff;
  color: #0D0D0D;
  border: 1px solid #cccccc;
  border-radius: 12px;
  min-height: 48px;
  padding: 12px 14px;
  outline: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(238, 5, 242, 0.7); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #9d1740; }
.field-error { min-height: 1.1em; margin: 4px 0 0; color: #9d1740; font-size: 0.82rem; }
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-success { padding: 22px; }
.form-success h3 { font-size: 1.4rem; }
.intent { font-size: 0.85rem; color: #73378C; min-height: 1.2em; font-weight: 600; }

/* Footer */
.site-footer {
  padding: 72px 0 116px;
  border-top: 0;
  background:
    radial-gradient(880px 320px at 92% -8%, rgba(115, 55, 140, 0.22), transparent 62%),
    radial-gradient(560px 260px at -6% 88%, rgba(5, 17, 242, 0.1), transparent 58%),
    #34343a;
  color: #ececef;
}
.foot-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
}
.foot-contact .kicker { color: rgba(255, 255, 255, 0.72); margin-bottom: 12px; }
.foot-contact .kicker { display: none; }
.foot-contact-title {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.25;
}
.foot-contact-copy p:last-child { margin: 0; max-width: 52ch; color: rgba(236, 236, 239, 0.78); line-height: 1.65; }
.foot-contact .button { flex: 0 0 auto; white-space: nowrap; }
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(150px, 0.72fr) minmax(160px, 0.82fr);
  gap: 48px 40px;
  margin-top: 52px;
}
.foot-grid:has(> :last-child:nth-child(2)) {
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.72fr);
}
.foot-brand .brand { display: inline-flex; }
.foot-brand .brand img { height: 30px; width: auto; filter: brightness(0) invert(1); }
.foot-brand p { margin: 18px 0 0; color: rgba(236, 236, 239, 0.74); max-width: 36ch; line-height: 1.7; }
.foot-title {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  margin: 0 0 16px;
}
.foot-links { list-style: none; display: grid; gap: 2px; margin: 0; padding: 0; }
.foot-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  text-decoration: none;
  color: rgba(243, 243, 245, 0.82);
  transition: color 0.25s ease;
}
.foot-links a:hover { color: #ffffff; }
.foot-links a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 3px;
  border-radius: 4px;
}
.subfoot {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  color: rgba(236, 236, 240, 0.58);
  font-size: 0.84rem;
}
.subfoot a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.subfoot a:hover { color: #ffffff; }
.subfoot-links { display: inline-flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-note {
  margin: 12px 0 0;
  max-width: 46ch;
  color: rgba(236, 236, 240, 0.5);
  font-size: 0.8rem;
  line-height: 1.5;
}
.wa-float {
  position: fixed;
  z-index: 40;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 18px 0 16px;
  border-radius: 999px;
  background: #128C4A;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(18, 140, 74, 0.32);
  animation: wa-pulse 2.8s ease-in-out infinite;
}
.wa-float i { font-size: 1.45rem; line-height: 1; }
.wa-float:hover,
.wa-float:focus-visible {
  color: #ffffff;
  transform: translateY(-2px);
  animation: none;
  box-shadow: 0 16px 32px rgba(18, 140, 74, 0.38);
}
.wa-float:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }
body:has(.nav-mobile[open]) .wa-float { opacity: 0; pointer-events: none; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(18, 140, 74, 0.32); }
  50% { box-shadow: 0 12px 28px rgba(18, 140, 74, 0.32), 0 0 0 8px rgba(18, 140, 74, 0.12); }
}
@media (min-width: 768px) {
  .subfoot { padding-right: 300px; }
}
@media (max-width: 991.98px) {
  .foot-grid,
  .foot-grid:has(> :last-child:nth-child(2)) { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .site-footer { padding-top: 48px; }
  .foot-contact { flex-direction: column; align-items: flex-start; gap: 22px; padding: 22px; }
  .wa-float-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .wa-float { width: 56px; padding: 0; justify-content: center; }
}

/* Legal */
.editorial { padding-top: calc(var(--header-h) + 56px); padding-bottom: 80px; }
.editorial h1 { font-size: clamp(2.15rem, 4vw, 3.3rem); max-width: 18ch; }
.blog-lead { max-width: 62ch; color: var(--muted); font-size: 1.08rem; }
.post-list { display: grid; gap: 16px; margin-top: 40px; }
.post-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px;
  max-width: 760px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(238, 5, 242, 0.32);
  box-shadow: 0 16px 36px rgba(13, 13, 13, 0.08);
  color: inherit;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  color: var(--quiet);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.post-card h2 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); margin: 0; max-width: 22ch; }
.post-card p { margin: 0; color: var(--muted); max-width: 62ch; }
.post-go {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  color: #0D0D0D;
}
.post-go i {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f4f4f4;
  border: 1px solid #cccccc;
  font-size: 0.85rem;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.post-card:hover .post-go i {
  transform: translateX(3px);
  background: #0D0D0D;
  border-color: #0D0D0D;
  color: #ffffff;
}
.post-article { max-width: 740px; }
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  text-decoration: none;
  font-weight: 600;
  color: #0D0D0D;
}
.post-back:hover { color: #73378C; }
.post-body { color: var(--muted); font-size: 1.05rem; }
.post-body h2 { color: var(--text); font-size: 1.5rem; margin: 2.4rem 0 0.75rem; }
.post-body ul,
.post-body ol { margin: 0 0 1rem; padding-left: 1.15rem; display: grid; gap: 8px; }
.post-body a { color: #0511F2; }
.post-end {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.blog-tools { display: grid; gap: 14px; margin-top: 32px; }
.blog-search { display: flex; flex-wrap: wrap; gap: 8px; max-width: 520px; }
.blog-search input {
  flex: 1 1 220px;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #cccccc;
  border-radius: 999px;
  background: #ffffff;
  color: #0D0D0D;
  font: inherit;
  font-size: 0.95rem;
}
.blog-search input:focus { outline: 2px solid #73378C; outline-offset: 2px; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-cats a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #cccccc;
  border-radius: 999px;
  background: #ffffff;
  color: #0D0D0D;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}
.blog-cats a[aria-current="page"],
.blog-cats a:hover { background: #0D0D0D; border-color: #0D0D0D; color: #ffffff; }
.post-cover,
.post-hero {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  background: #f4f4f4;
}
.post-hero { height: auto; max-height: 420px; margin: 8px 0 4px; }
.blog-empty { margin: 8px 0 0; color: var(--muted); }
.blog-pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.blog-pager a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #cccccc;
  border-radius: 999px;
  background: #ffffff;
  color: #0D0D0D;
  text-decoration: none;
  font-weight: 600;
}
.blog-pager a[aria-current="page"],
.blog-pager a:hover { background: #0D0D0D; border-color: #0D0D0D; color: #ffffff; }
.post-meta a { color: inherit; text-decoration: none; }
.post-meta a:hover { color: #73378C; }
.post-body img { max-width: 100%; height: auto; border-radius: 14px; }
.post-faq-answer { margin: 0; padding: 0 20px 18px; color: var(--muted); }
.post-faq-answer p:last-child { margin-bottom: 0; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.post-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f4f4f4;
  color: #0D0D0D;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
}

.blog-home h1 { max-width: 14ch; }
.blog-mast {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 28px 48px;
  align-items: end;
  margin-bottom: 28px;
}
.blog-stats {
  display: flex;
  gap: 22px;
  margin: 0;
}
.blog-stats div {
  min-width: 108px;
  padding: 14px 16px 12px;
  border: 1px solid #cccccc;
  border-radius: 16px;
  background: #ffffff;
}
.blog-stats dt {
  margin: 0;
  color: var(--quiet);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.blog-stats dd {
  margin: 4px 0 0;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.blog-sentinel { height: 1px; margin: 0; }
.blog-bar {
  position: sticky;
  top: 84px;
  z-index: 30;
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid #cccccc;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(13, 13, 13, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.blog-bar.is-stuck { box-shadow: 0 16px 36px rgba(13, 13, 13, 0.1); }
.blog-home .blog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: none;
  margin: 0;
  padding: 6px 6px 6px 16px;
  border: 1px solid #cccccc;
  border-radius: 999px;
  background: #f7f7f8;
}
.blog-home .blog-search:focus-within {
  border-color: #73378C;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(115, 55, 140, 0.16);
}
.blog-home .blog-search i { color: #4a4a50; font-size: 1rem; }
.blog-home .blog-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.blog-home .blog-search input:focus { outline: none; }
.blog-search-clear {
  color: #4a4a50;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.blog-search-clear:hover { color: #73378C; }
.blog-home .blog-cats { gap: 8px; }
.blog-home .blog-cats a {
  gap: 8px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.blog-home .blog-cats a span {
  min-width: 1.4em;
  padding: 0 6px;
  border-radius: 999px;
  background: #f1f1f1;
  color: #2e2e33;
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
}
.blog-home .blog-cats a[aria-current="page"] span,
.blog-home .blog-cats a:hover span { background: rgba(255, 255, 255, 0.18); color: #ffffff; }
.blog-home .blog-cats a:focus-visible { outline: 2px solid #73378C; outline-offset: 2px; }
.blog-count {
  margin: 18px 0 0;
  color: var(--quiet);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.blog-home .post-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}
.blog-home .post-card {
  max-width: none;
  height: 100%;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.blog-home .post-card:focus-visible { outline: 2px solid #73378C; outline-offset: 3px; }
.blog-home .post-media { display: block; overflow: hidden; background: #f4f4f4; }
.blog-home .post-cover {
  display: block;
  height: 190px;
  border-radius: 0;
  transition: transform 0.45s ease;
}
.blog-home .post-card:hover .post-cover { transform: scale(1.045); }
.blog-home .post-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 22px;
}
.blog-home .post-card h2 { max-width: 22ch; }
.blog-home .post-card .post-copy > p:not(.post-meta) { max-width: 46ch; }
.blog-home .post-go { margin-top: auto; }
.blog-home .post-card.is-feature { grid-column: 1 / -1; }
.blog-home .post-card.is-feature.has-media {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}
.blog-home .post-card.is-feature .post-cover { height: 100%; min-height: 320px; }
.blog-home .post-card.is-feature .post-copy { padding: 36px 32px; justify-content: center; }
.blog-home .post-card.is-feature h2 { max-width: 16ch; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.blog-empty.panel {
  display: grid;
  justify-items: start;
  gap: 8px;
  max-width: 640px;
  margin-top: 18px;
  padding: 32px;
}
.blog-empty i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 6px;
  border-radius: 14px;
  background: #f4f4f4;
  border: 1px solid #cccccc;
  font-size: 1.2rem;
}
.blog-empty h2 { margin: 0; font-size: 1.45rem; }
.blog-empty p { margin: 0 0 8px; color: var(--muted); max-width: 48ch; }
@media (max-width: 860px) {
  .blog-mast { grid-template-columns: 1fr; }
  .blog-home .post-list { grid-template-columns: 1fr; }
  .blog-home .post-card.is-feature.has-media { grid-template-columns: 1fr; }
  .blog-home .post-card.is-feature .post-cover { height: 220px; min-height: 0; }
  .blog-bar { top: 76px; }
}

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 3px;
  pointer-events: none;
  background: transparent;
}
.read-progress span {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #73378C, #0511F2);
}
.post-page h1 {
  max-width: 16em;
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  line-height: 1.08;
}
.post-intro { max-width: 760px; padding-bottom: 8px; }
.post-intro .post-meta {
  align-items: center;
  gap: 0;
}
.post-intro .post-meta > * {
  display: inline-flex;
  align-items: center;
}
.post-intro .post-meta > * + *::before {
  content: "";
  width: 5px;
  height: 5px;
  margin: 0 12px;
  border-radius: 99px;
  background: #73378C;
  flex: 0 0 auto;
}
.post-intro .post-meta a {
  color: #73378C;
}
.post-intro .post-meta a:hover {
  color: #4d2463;
}
.post-share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.post-share a,
.post-share button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #cccccc;
  border-radius: 999px;
  background: #ffffff;
  color: #0D0D0D;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.post-share a:hover,
.post-share button:hover { border-color: #0D0D0D; background: #0D0D0D; color: #ffffff; }
.post-share a:focus-visible,
.post-share button:focus-visible { outline: 2px solid #73378C; outline-offset: 2px; }
.post-page .post-hero {
  display: block;
  width: 100%;
  height: min(52vw, 460px);
  margin: 8px 0 28px;
  object-fit: cover;
}
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 68ch);
  justify-content: center;
  gap: 36px;
  align-items: start;
}
.post-layout.has-toc {
  grid-template-columns: 200px minmax(0, 68ch);
  justify-content: center;
}
.post-toc {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow: auto;
}
.post-toc p,
.post-toc-mobile summary {
  margin: 0 0 10px;
  color: var(--quiet);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.post-toc ol,
.post-toc-mobile ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.post-toc a,
.post-toc-mobile a {
  color: #2e2e33;
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.35;
}
.post-toc a:hover,
.post-toc a.is-active,
.post-toc-mobile a:hover,
.post-toc-mobile a.is-active { color: #73378C; }
.post-toc .is-sub a,
.post-toc-mobile .is-sub a { padding-left: 12px; font-size: 0.86rem; }
.post-toc-mobile { display: none; }
.post-read { min-width: 0; }
.post-page .post-body {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #2e2e33;
}
.post-page .post-body p { max-width: 68ch; margin: 0 0 1.15em; }
.editorial .post-body h2,
.editorial .post-body h3,
.editorial .post-body h4,
.editorial .post-body h5 { scroll-margin-top: 108px; color: #0D0D0D; }
.editorial .post-body h2 {
  position: relative;
  margin: 2.7rem 0 0.8rem;
  padding-top: 0.95rem;
  font-size: clamp(1.42rem, 2.1vw, 1.7rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
}
.editorial .post-body h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.15rem;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #73378C, #0511F2);
}
.editorial .post-body h3 {
  margin: 1.85rem 0 0.5rem;
  font-size: 1.22rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.editorial .post-body h4 {
  margin: 1.45rem 0 0.4rem;
  font-size: 1.05rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.editorial .post-body h5 {
  margin: 1.2rem 0 0.35rem;
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a4a50;
}
.editorial .post-body a {
  color: #73378C;
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}
.editorial .post-body a:hover {
  color: #4d2463;
  text-decoration: none;
}
.editorial .post-body a:focus-visible {
  outline: 2px solid #73378C;
  outline-offset: 3px;
  border-radius: 3px;
}
.editorial .post-body ul,
.editorial .post-body ol {
  margin: 0.15rem 0 1.35rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  max-width: 68ch;
}
.editorial .post-body li {
  position: relative;
  padding-left: 1.2rem;
  line-height: 1.65;
}
.editorial .post-body li > ul,
.editorial .post-body li > ol { margin: 0.5rem 0 0.1rem; }
.editorial .post-body li p { margin: 0; max-width: none; }
.editorial .post-body li p + p { margin-top: 0.4em; }
.editorial .post-body ul > li::before {
  content: "";
  position: absolute;
  left: 0.05rem;
  top: 0.68em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 99px;
  background: #73378C;
}
.editorial .post-body ul ul > li::before {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px #73378C;
}
.editorial .post-body ol { counter-reset: post-step; }
.editorial .post-body ol > li {
  counter-increment: post-step;
  padding-left: 2.05rem;
}
.editorial .post-body ol > li::before {
  content: counter(post-step);
  position: absolute;
  left: 0;
  top: 0.12em;
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 0.28rem;
  border-radius: 99px;
  background: #f4f4f4;
  border: 1px solid #cccccc;
  color: #0D0D0D;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.post-page .post-body blockquote {
  margin: 1.4rem 0;
  padding: 4px 0 4px 16px;
  border-left: 3px solid #73378C;
  color: #0D0D0D;
}
.post-page .post-body img,
.post-page .post-body video,
.post-page .post-body iframe { max-width: 100%; }
.post-page .post-body iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 14px; }
.post-page .post-body pre { overflow: auto; padding: 14px; border-radius: 14px; background: #f4f4f4; }
.editorial .post-body .post-table {
  margin: 1.45rem 0 1.7rem;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #d5d5db;
  border-radius: 16px;
  background: #ffffff;
}
.editorial .post-body table {
  width: 100%;
  margin: 1.45rem 0 1.7rem;
  border-collapse: collapse;
  font-size: 0.94rem;
  line-height: 1.5;
}
.editorial .post-body .post-table table {
  margin: 0;
  min-width: 540px;
}
.editorial .post-body th,
.editorial .post-body td {
  padding: 0.72rem 0.95rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e4e4e8;
  color: #2e2e33;
}
.editorial .post-body th {
  background: #f4f4f4;
  color: #0D0D0D;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.editorial .post-body tbody tr:last-child td { border-bottom: 0; }
.editorial .post-body tbody tr:nth-child(even) td { background: #fafafa; }
.editorial .post-body caption {
  caption-side: bottom;
  padding: 0.65rem 0.95rem 0.2rem;
  text-align: left;
  color: #4a4a50;
  font-size: 0.84rem;
}
.post-toc-mobile {
  margin-bottom: 22px;
  padding: 4px 16px 12px;
  border: 1px solid #cccccc;
  border-radius: 16px;
  background: #ffffff;
}
.post-toc-mobile summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 12px 0;
  list-style: none;
}
.post-toc-mobile summary::-webkit-details-marker { display: none; }
.post-toc-mobile summary::after { content: "+"; color: #0D0D0D; font-size: 1.1rem; }
.post-toc-mobile[open] summary::after { content: "–"; }
.post-related { margin-top: 56px; }
.post-related h2 { margin: 0 0 16px; font-size: 1.6rem; }
.post-related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.post-next {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 100%;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.post-next:hover { transform: translateY(-3px); border-color: rgba(238, 5, 242, 0.32); color: inherit; }
.post-next h3 { margin: 0; font-size: 1.15rem; line-height: 1.25; }
.post-next .post-go { margin-top: auto; }
@media (max-width: 980px) {
  .post-layout,
  .post-layout.has-toc { grid-template-columns: 1fr; }
  .post-toc { display: none; }
  .post-toc-mobile { display: block; }
  .post-related-list { grid-template-columns: 1fr; }
  .post-page .post-hero { height: 220px; }
}
.legal { padding-top: calc(var(--header-h) + 48px); padding-bottom: 72px; }
.legal h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal p, .legal li { color: var(--muted); max-width: 72ch; }
.legal ul { padding-left: 1.1rem; display: grid; gap: 6px; }
.back { color: #0511F2; font-weight: 600; }

/* Reveal */
.js .reveal.is-in { animation: rise 0.7s ease both; animation-delay: var(--d, 0ms); }
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 991.98px) {
  .nav-desktop .button { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .packet, .flow-dot, .live-dot { animation: none !important; }
  .js .reveal.is-in { animation: none; }
}

@media (forced-colors: active) {
  .grad { background: none; color: LinkText; }
  .button-grad { border: 1px solid ButtonText; }
}

@media print {
  .site-header, .hero-bg, .ai-stage, .nav-mobile, .cta-wrap .rings, .wa-float { display: none !important; }
  body { background: #fff; color: #000; }
  .panel, .problem-card { border: 1px solid #ccc; }
}
