/* Static illustration for Como funciona. All rules are scoped to this fragment. */
.portal-demo {
  --portal-ink: #173f43;
  --portal-muted: #526c70;
  --portal-line: #d7e9e5;
  width: min(100%, 540px);
  margin: 0 auto;
  color: var(--portal-ink);
  font-family: inherit;
  font-size: 1rem;
  text-align: left;
}
.portal-demo *, .portal-demo *::before, .portal-demo *::after { box-sizing: border-box; }
.portal-demo-caption { display: flex; justify-content: flex-end; margin: 0 6px 14px; }
.portal-demo-label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #ead788; border-radius: 999px; background: #fff7d4; color: #635014; font-size: .72em; font-weight: 600; line-height: 1.3; }
.portal-demo-label > span { width: 6px; height: 6px; border-radius: 50%; background: #a88515; flex-shrink: 0; }
.portal-demo-window { overflow: hidden; border: 1px solid var(--portal-line); border-radius: 24px; background: #fff; box-shadow: 0 24px 60px -32px #0d6d6659, 0 4px 16px #234b4908; }
.portal-demo-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; padding: 17px 26px; border-bottom: 1px solid #e7f0ed; }
.portal-demo-logo { display: block; width: 116px; height: 52px; max-width: 45%; object-fit: contain; object-position: left center; }
.portal-demo-app-name { color: var(--portal-muted); font-size: .68em; line-height: 1.4; text-align: right; }
.portal-demo-app-name strong { color: var(--portal-ink); font-size: 1.14em; font-weight: 600; }
.portal-demo-content { padding: 25px 26px 28px; background: linear-gradient(180deg, #fff 0%, #f5faf8 100%); }
.portal-demo-heading h3 { margin: 0; font-size: clamp(1.2rem, 2.5vw, 1.55rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.2; }
.portal-demo-heading p { margin: 8px 0 20px; color: var(--portal-muted); font-size: .77em; line-height: 1.5; }
.portal-demo-plan { position: relative; isolation: isolate; overflow: hidden; padding: 20px 22px 18px; border-radius: 17px; background: linear-gradient(115deg, #087e74 0%, #07867a 56%, #0b9789 100%); color: #fff; box-shadow: 0 10px 22px -16px #06685b99; }
.portal-demo-plan-art { position: absolute; z-index: -1; right: -17px; bottom: -37px; width: 194px; height: 194px; fill: none; stroke: #8be8d1; stroke-width: .55; opacity: .24; transform: rotate(-16deg); pointer-events: none; }
.portal-demo-plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .67em; line-height: 1.3; }
.portal-demo-plan-type { padding: 5px 9px; border: 1px solid #ffffff4d; border-radius: 999px; background: #ffffff0d; }
.portal-demo-plan h4 { margin: 16px 0 20px; color: #fff; font-size: clamp(1.4rem, 3vw, 1.85rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.15; }
.portal-demo-plan-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: .72em; font-weight: 500; line-height: 1.3; }
.portal-demo-plan-bottom > span:last-child { color: #ffdf62; font-size: 1.75em; line-height: 1; }
.portal-demo-shortcuts-title { margin: 24px 0 12px; color: var(--portal-muted); font-size: .72em; font-weight: 500; line-height: 1.5; }
.portal-demo-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.portal-demo-shortcuts li { display: flex; align-items: flex-start; gap: 11px; min-width: 0; padding: 16px 13px; border: 1px solid #dfece7; border-radius: 13px; background: #fff; }
.portal-demo-icon { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; background: #eaf7f2; color: #08776e; }
.portal-demo-icon-search { background: #fff6d5; color: #80651a; }
.portal-demo-icon svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.portal-demo-shortcut-copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.portal-demo-shortcut-copy strong, .portal-demo-shortcut-copy > span { overflow-wrap: normal; word-break: normal; }
.portal-demo-shortcut-copy strong { color: var(--portal-ink); font-size: .83em; font-weight: 600; line-height: 1.3; }
.portal-demo-shortcut-copy > span { color: var(--portal-muted); font-size: .75em; line-height: 1.4; }
.portal-demo-note { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1050px) {
  .portal-demo-caption { justify-content: flex-start; margin-left: 0; }
  .portal-demo-window { border-radius: 20px; }
  .portal-demo-topbar { min-height: 76px; padding: 12px 20px; }
  .portal-demo-content { padding: 22px 20px; }
  .portal-demo-plan { padding: 18px 19px; }
  .portal-demo-shortcuts li { flex-direction: column; gap: 11px; padding: 14px; }
  .portal-demo-shortcut-copy strong { font-size: .83em; }
  .portal-demo-shortcut-copy > span { font-size: .75em; }
}
@media (max-width: 350px) {
  .portal-demo-content { padding: 18px 15px; }
  .portal-demo-topbar { padding-inline: 15px; }
  .portal-demo-plan-top { flex-wrap: wrap; }
  .portal-demo-shortcuts { gap: 8px; }
  .portal-demo-shortcuts li { padding: 12px; }
}
@media (forced-colors: active) {
  .portal-demo-window, .portal-demo-plan, .portal-demo-shortcuts li, .portal-demo-label, .portal-demo-plan-type { border: 1px solid CanvasText; }
  .portal-demo-plan, .portal-demo-plan h4 { background: Canvas; color: CanvasText; }
  .portal-demo-plan-art { display: none; }
}
